示例#1
0
 def __init__(self, connection, config):
     SimpleL2LearningSwitch.__init__(self, connection, False)
     self._connection = connection
     self._serverip = config['server_ip']
     self._serverport = int(config['server_port'])
     self._proxyip = config['proxy_ip']
     self._proxyport = int(config['proxy_port'])
示例#2
0
 def __init__(self, connection, config):
     SimpleL2LearningSwitch.__init__(self, connection, False)
     self._connection = connection;
     self._serverip = config['server_ip']
     self._serverport = int(config['server_port'])
     self._proxyip = config['proxy_ip']
     self._proxyport = int(config['proxy_port'])
 def __init__(self, connection, duplicate_port):
     SimpleL2LearningSwitch.__init__(self, connection, False)
     self._connection = connection;
     self._duplicate_port=duplicate_port 
     self._of_duplicate_port=getOpenFlowPort(connection, duplicate_port)
 def __init__(self, connection, config):
     SimpleL2LearningSwitch.__init__(self, connection, False)
     self._connection = connection
     self._serverip = config['server_ip']
     self._origport = int(config['orig_port'])
     self._forwport = int(config['forw_port'])
示例#5
0
 def __init__(self, connection, src_ip, dst_port):
     SimpleL2LearningSwitch.__init__(self, connection, False)
     self._connection = connection
     self._src_ip = src_ip
     self._dst_port = getOpenFlowPort(connection, dst_port)
 def __init__(self, connection, config):
     SimpleL2LearningSwitch.__init__(self, connection, False)
     self._connection = connection;
     self._serverip = config['server_ip']
     self._origport = int(config['orig_port'])
     self._forwport = int(config['forw_port'])
示例#7
0
 def __init__(self, connection, duplicate_port):
     SimpleL2LearningSwitch.__init__(self, connection, False)
     self._connection = connection;
     self._duplicate_port=duplicate_port
     self._of_duplicate_port=getOpenFlowPort(connection, duplicate_port)
示例#8
0
 def __init__(self, connection, src_ip, dst_port):
     SimpleL2LearningSwitch.__init__(self, connection, False)
     self._connection = connection
     self._src_ip = src_ip
     self._dst_port = getOpenFlowPort(connection, dst_port)