def __init__(self):
bigswitch_config.register_config()
networking_bigswitch_l3_pe.lib.config.register_config()
api_url = cfg.CONF.networking_bigswitch_l3_pe.api_url
username, password = cfg.CONF.RESTPROXY.server_auth.split(':')
self.neutron_id = cfg.CONF.RESTPROXY.neutron_id
exclude_physical_networks = \
cfg.CONF.networking_bigswitch_l3_pe.exclude_physical_networks
self.sync = Synchronizer(api_url, username, password, self.neutron_id,
exclude_physical_networks)
self.notifier = EventNotifier()
self.watcher = EventWatcher()
self.keystone_client = KeystoneClient()
self.db_plugin = db_base_plugin_v2.NeutronDbPluginV2()
eventlet.spawn(self.watcher.watch)
eventlet.spawn(self._bcf_sync,
cfg.CONF.networking_bigswitch_l3_pe.sync_interval)
评论列表
文章目录