コード例 #1
0
 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 = {}
コード例 #2
0
ファイル: provider.py プロジェクト: rubiruchi/dragonflow
 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 = {}
コード例 #3
0
ファイル: tunneling.py プロジェクト: dimakuz/dragonflow
 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()
コード例 #4
0
 def setUp(self):
     super(TestLogicalNetworks, self).setUp()
     self.logical_networks = logical_networks.LogicalNetworks()