コード例 #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)