def __init__(self, *args, **kwargs): super(ProviderNetworksApp, self).__init__(*args, **kwargs) self.integration_bridge = cfg.CONF.df.integration_bridge self.logical_networks = logical_networks.LogicalNetworks() self.bridge_mappings = self._parse_bridge_mappings( cfg.CONF.df_provider_networks.bridge_mappings) self.int_ofports = {}
def __init__(self, *args, **kwargs): super(ProviderApp, self).__init__(*args, **kwargs) self.integration_bridge = cfg.CONF.df.integration_bridge self.logical_networks = logical_networks.LogicalNetworks() self.bridge_mappings = self._parse_bridge_mappings( cfg.CONF.df_provider_networks.bridge_mappings) self.reverse_bridge_mappings = { v: k for (k, v) in self.bridge_mappings.items() } self.int_ofports = {} self.bridge_macs = {}
def __init__(self, *args, **kwargs): super(TunnelingApp, self).__init__(*args, **kwargs) self.tunnel_types = cfg.CONF.df.tunnel_types self.local_networks = logical_networks.LogicalNetworks()
def setUp(self): super(TestLogicalNetworks, self).setUp() self.logical_networks = logical_networks.LogicalNetworks()