Exemple #1
0
    def __init__(self):
        super(OpenDaylightL3RouterPlugin, self).__init__()

        # TODO(rcurran): Continue investigation into how many journal threads
        # to run per neutron controller deployment.
        self.journal = journal.OpenDaylightJournalThread()
        full_sync.register(plugin_constants.L3, L3_RESOURCES)
 def __init__(self, driver, obj_type):
     LOG.debug("Initializing OpenDaylight LBaaS driver")
     super(OpenDaylightManager, self).__init__(driver)
     self.journal = journal.OpenDaylightJournalThread()
     self.obj_type = obj_type
     full_sync.register(nlib_const.LOADBALANCERV2, LBAAS_RESOURCES)
     self.driver = driver
Exemple #3
0
 def __init__(self, service_plugin):
     LOG.info("Initializing OpenDaylight BGPVPN v2 driver")
     super(OpenDaylightBgpvpnDriver, self).__init__(service_plugin)
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(bgpvpn_const.ALIAS, BGPVPN_RESOURCES,
                        self.get_resources)
     if odl_features.has(BGPVPN_VNI):
         self.more_supported_extension_aliases = [bgpvpn_vni_def.ALIAS]
 def __init__(self, l3_plugin):
     super(ODLL3ServiceProvider, self).__init__(l3_plugin)
     self.journal = journal.OpenDaylightJournalThread()
     # TODO(yamahata): add method for fullsync to retrieve
     # all the router with odl service provider.
     # other router with other service provider should be filtered.
     full_sync.register(plugin_constants.L3, L3_RESOURCES)
     self.odl_provider = __name__ + "." + self.__class__.__name__
 def __init__(self, driver, obj_type):
     LOG.debug("Initializing OpenDaylight LBaaS driver")
     super(OpenDaylightManager, self).__init__(driver)
     self.journal = journal.OpenDaylightJournalThread()
     self.obj_type = obj_type
     full_sync.register(nlib_const.LOADBALANCERV2, LBAAS_RESOURCES,
                        self.get_resources)
     self.driver = driver
Exemple #6
0
 def __init__(self, service_plugin):
     LOG.info("Initializing OpenDaylight BGPVPN v2 driver")
     super(OpenDaylightBgpvpnDriver, self).__init__(service_plugin)
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(bgpvpn_const.ALIAS, BGPVPN_RESOURCES,
                        self.get_resources)
     if odl_features.has(BGPVPN_VNI):
         self.more_supported_extension_aliases = [bgpvpn_vni_def.ALIAS]
Exemple #7
0
 def __init__(self, l3_plugin):
     super(ODLL3ServiceProvider, self).__init__(l3_plugin)
     self.journal = journal.OpenDaylightJournalThread()
     # TODO(yamahata): add method for fullsync to retrieve
     # all the router with odl service provider.
     # other router with other service provider should be filtered.
     full_sync.register(plugin_constants.L3, L3_RESOURCES)
     self.odl_provider = __name__ + "." + self.__class__.__name__
 def __init__(self, supported_rules,
              name='OpenDaylightQosDriver',
              vif_types=VIF_TYPES,
              vnic_types=VNIC_TYPES,
              requires_rpc_notifications=False):
     super(OpenDaylightQosDriver, self).__init__(
         name, vif_types, vnic_types, supported_rules,
         requires_rpc_notifications)
     LOG.debug("Initializing OpenDaylight Qos driver")
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(nlib_const.QOS, QOS_RESOURCES)
Exemple #9
0
 def __init__(self,
              supported_rules,
              name='OpenDaylightQosDriver',
              vif_types=VIF_TYPES,
              vnic_types=VNIC_TYPES,
              requires_rpc_notifications=False):
     super(OpenDaylightQosDriver,
           self).__init__(name, vif_types, vnic_types, supported_rules,
                          requires_rpc_notifications)
     LOG.debug("Initializing OpenDaylight Qos driver")
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(nlib_const.QOS, QOS_RESOURCES)
Exemple #10
0
    def initialize(self):
        LOG.debug("Initializing OpenDaylight ML2 driver")
        cfg.CONF.register_opts(odl_conf.odl_opts, "ml2_odl")
        self.sg_handler = callback.OdlSecurityGroupsHandler(
            self.sync_from_callback_precommit,
            self.sync_from_callback_postcommit)
        self.journal = journal.OpenDaylightJournalThread()
        self.port_binding_controller = port_binding.PortBindingManager.create()
        self.trunk_driver = trunk_driver.OpenDaylightTrunkDriverV2.create()
        if odl_const.ODL_QOS in cfg.CONF.ml2.extension_drivers:
            qos_driver.OpenDaylightQosDriver.create()
        if cfg.CONF.ml2_odl.enable_dhcp_service:
            self.dhcp_driver = dhcp_driver.OdlDhcpDriver()

        full_sync.register(nlib_const.CORE, L2_RESOURCES)
        odl_features.init()
    def initialize(self):
        LOG.debug("Initializing OpenDaylight ML2 driver")
        cfg.CONF.register_opts(odl_conf.odl_opts, "ml2_odl")
        self.sg_handler = callback.OdlSecurityGroupsHandler(
            self.sync_from_callback_precommit,
            self.sync_from_callback_postcommit)
        self.journal = journal.OpenDaylightJournalThread()
        self.port_binding_controller = port_binding.PortBindingManager.create()
        self.trunk_driver = trunk_driver.OpenDaylightTrunkDriverV2.create()
        if cfg.CONF.ml2_odl.enable_dhcp_service:
            self.dhcp_driver = dhcp_driver.OdlDhcpDriver()

        full_sync.register(nlib_const.CORE, self.RESOURCES)
        odl_features.init()

        if odl_const.ODL_QOS in cfg.CONF.ml2.extension_drivers:
            qos_driver.OpenDaylightQosDriver.create()
Exemple #12
0
 def __init__(self):
     cfg.CONF.register_opts(odl_conf.odl_opts, "ml2_odl")
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(t_consts.TRUNK, TRUNK_RESOURCES)
     LOG.info('initialized trunk driver for OpendayLight')
 def __init__(self):
     super(OpenDaylightL3RouterPlugin, self).__init__()
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(plugin_constants.L3, L3_RESOURCES)
 def __init__(self):
     cfg.CONF.register_opts(odl_conf.odl_opts, "ml2_odl")
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(resources.TRUNK, TRUNK_RESOURCES)
     LOG.info('initialized trunk driver for OpendayLight')
 def initialize(self):
     LOG.debug("Initializing OpenDaylight Networking SFC driver(Version 2)")
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(sfc_const.SFC_EXT, SFC_RESOURCES)
Exemple #16
0
 def __init__(self):
     super(OpenDaylightL3RouterPlugin, self).__init__()
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(plugin_constants.L3, L3_RESOURCES)
Exemple #17
0
 def initialize(self):
     LOG.debug("Initializing OpenDaylight Networking SFC driver(Version 2)")
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(sfc_const.SFC_EXT, SFC_RESOURCES)
 def __init__(self, service_plugin, validator=None):
     super(OpenDaylightL2gwDriver, self).__init__(service_plugin, validator)
     self.service_plugin = service_plugin
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(constants.L2GW, L2GW_RESOURCES)
     LOG.info("ODL: Started OpenDaylight L2Gateway V2 driver")
Exemple #19
0
 def __init__(self, service_plugin):
     LOG.info("Initializing OpenDaylight BGPVPN v2 driver")
     super(OpenDaylightBgpvpnDriver, self).__init__(service_plugin)
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(bgpvpn_const.LABEL, BGPVPN_RESOURCES)
 def initialize(self):
     LOG.debug("Initializing OpenDaylight Networking "
               "SFC Flow Classifier driver Version 2")
     self.journal = journal.OpenDaylightJournalThread()
     full_sync.register(fc_const.FLOW_CLASSIFIER_EXT, SFC_FC_RESOURCES)