def __init__(self):
     super(NeutronPluginContrailCoreBase, self).__init__()
     if hasattr(portbindings_base, 'register_port_dict_function'):
         portbindings_base.register_port_dict_function()
     utils.register_vnc_api_options()
     self._parse_class_args()
     self.api_servers = utils.RoundRobinApiServers()
Exemple #2
0
 def __init__(self):
     super(NeutronPluginContrailCoreV3, self).__init__()
     self._vnc_lib = None
     utils.register_vnc_api_extra_options()
     self._vnc_lib = utils.get_vnc_api_instance()
     self._res_handlers = {}
     self._prepare_res_handlers()
     self.api_servers = utils.RoundRobinApiServers()
 def __init__(self):
     # some extensions should be added only for supported versions
     if (int(version.version_info.version_string().split('.')[0]) >= 13
             and "port-mac-address-regenerate"
             not in self.supported_extension_aliases):
         self.supported_extension_aliases.append(
             "port-mac-address-regenerate")
     super(NeutronPluginContrailCoreBase, self).__init__()
     if hasattr(portbindings_base, 'register_port_dict_function'):
         portbindings_base.register_port_dict_function()
     utils.register_vnc_api_options()
     self._parse_class_args()
     self.api_servers = utils.RoundRobinApiServers()