예제 #1
0
파일: __init__.py 프로젝트: yxdh/vmware-nsx
def get_logical_port(logical_port_id):
    resource = "logical-ports/%s" % logical_port_id
    return client.get_resource(resource)
예제 #2
0
파일: __init__.py 프로젝트: yxdh/vmware-nsx
def get_qos_switching_profile(profile_id):
    resource = 'switching-profiles/%s' % profile_id
    return client.get_resource(resource)