@pytest.fixture
def port_1():
    port = vnc_api.Port('port-1')
    esxi_port_info = vnc_api.ESXIProperties(dvs_name='dvs-1')
    port.set_esxi_port_info(esxi_port_info)
    return port
@pytest.fixture
def port_1():
    port = vnc_api.Port('port-1')
    esxi_port_info = vnc_api.ESXIProperties(dvs_name='dvs-1')
    port.set_esxi_port_info(esxi_port_info)
    return port