Beispiel #1
0
 def __init__(self):
     dvs_utils.dvs_register_exceptions()
     self._extension_manager = nsx_managers.ExtensionManager()
     super(NsxDvsV2, self).__init__()
     LOG.debug('Driver support: DVS: %s' % dvs_utils.dvs_is_enabled())
     self._extension_manager.initialize()
     self.supported_extension_aliases.extend(
         self._extension_manager.extension_aliases())
     neutron_extensions.append_api_extensions_path(
         [vmware_nsx.NSX_EXT_PATH])
     self.cfg_group = 'dvs'  # group name for dvs section in nsx.ini
     self._dvs = dvs.SingleDvsManager()
     self.setup_dhcpmeta_access()
Beispiel #2
0
    def __init__(self):
        self._extension_manager = nsx_managers.ExtensionManager()
        LOG.info("Start NSX TVD Plugin")
        # Validate configuration
        config.validate_nsx_config_options()
        super(NsxTVDPlugin, self).__init__()

        # init the different supported plugins
        self.init_plugins()

        # init the extensions supported by any of the plugins
        self.init_extensions()
        self.lbv2_driver = lb_driver_v2.EdgeLoadbalancerDriverV2()

        self._unsubscribe_callback_events()
Beispiel #3
0
    def __init__(self):
        self._extension_manager = nsx_managers.ExtensionManager()
        LOG.info("Start NSX TVD Plugin")
        self.init_is_complete = False
        # Validate configuration
        config.validate_nsx_config_options()
        super(NsxTVDPlugin, self).__init__()

        # init the different supported plugins
        self.init_plugins()

        # init the extensions supported by any of the plugins
        self.init_extensions()
        self.lbv2_driver = lb_driver_v2.EdgeLoadbalancerDriverV2()

        self._unsubscribe_callback_events()

        registry.subscribe(self.spawn_complete, resources.PROCESS,
                           events.AFTER_SPAWN)

        registry.subscribe(self.init_complete, resources.PROCESS,
                           events.AFTER_INIT)