Beispiel #1
0
 def __init__(self,node1,port1,node2,port2,props={}):
     GenericLink.__init__(self,node1,port1,node2,port2)
     Properties.__init__(self,self.getResourceName(),props)
     node1.props['links'].append(self)
     node2.props['links'].append(self)
Beispiel #2
0
 def __init__(self, node1, port1, node2, port2, props={}):
     GenericLink.__init__(self, node1, port1, node2, port2)
     Properties.__init__(self, self.getResourceName(), props)
     node1.props['links'].append(self)
     node2.props['links'].append(self)
Beispiel #3
0
 def __init__(self,node1,port1,node2,port2,props={}):
     GenericLink.__init__(self,node1,port1,node2,port2)
     Properties.__init__(self,self.getResourceName(),props)
     node1.props['links'].append(self)
     node2.props['links'].append(self)
     self.setSpeed(10*1024) # Assume 10G speed is in Mbps
Beispiel #4
0
 def __init__(self,node1,port1,node2,port2,props={}):
     GenericLink.__init__(self,node1,port1,node2,port2)
     Properties.__init__(self,self.getResourceName(),props)
     node1.props['links'].append(self)
     node2.props['links'].append(self)
     self.setSpeed(10*1024) # Assume 10G speed is in Mbps