Ejemplo n.º 1
0
 def get_port_uuid(self, port):
     phy_device_fixture = PhysicalDeviceFixture(self.name, self.mgmt_ip)
     phy_device_fixture.setUp()
     phy_device_uuid = phy_device_fixture.phy_device.uuid
     pif_fixture = PhysicalInterfaceFixture(port, device_id=phy_device_uuid)
     pif_fixture.setUp()
     return pif_fixture.uuid
Ejemplo n.º 2
0
 def get_port_uuid(self,port,inputs=None):
     phy_device_fixture=PhysicalDeviceFixture(self.name,self.mgmt_ip,inputs=inputs)
     phy_device_fixture.setUp()
     phy_device_uuid = phy_device_fixture.phy_device.uuid
     pif_fixture=PhysicalInterfaceFixture(port,device_id=phy_device_uuid,inputs=inputs)
     pif_fixture.setUp()
     return pif_fixture.uuid
Ejemplo n.º 3
0
 def get_port_uuid(self,port,inputs=None):
     phy_device_fixture=PhysicalDeviceFixture(self.name,self.mgmt_ip,inputs=inputs)
     phy_device_fixture.setUp()
     phy_device_uuid = phy_device_fixture.phy_device.uuid
     pif_fixture=PhysicalInterfaceFixture(name=port,device_id=phy_device_uuid,inputs=inputs)
     pif_fixture.setUp()
     return pif_fixture.uuid