Beispiel #1
0
 def __init__(self, *args, **kwargs):
     self.nw = kwargs['network']
     self.mac2port = mac_to_port.MacToPortTable()
     self.mac2net = mac_to_network.MacToNetwork(self.nw)
Beispiel #2
0
 def __init__(self, *args, **kwargs):
     super(SimpleIsolation, self).__init__(*args, **kwargs)
     self.nw = kwargs['network']
     self.dpset = kwargs['dpset']
     self.mac2port = mac_to_port.MacToPortTable()
     self.mac2net = mac_to_network.MacToNetwork(self.nw)
Beispiel #3
0
 def __init__(self, *args, **kwargs):
     self.mac2port = mac_to_port.MacToPortTable()