NSX REST API

curl -k -u admin:default -H 'ContentType:application/json' -X GET https://10.144.138.170:443/api/v1/logical-switches

curl -k -u admin:default -H 'ContentType:application/json' -X GET https://10.144.138.170:443/api/v1/transport-zones

curl -k -u admin:default -H 'ContentType:application/json' -X GET https://10.144.138.170:443/api/v1/transport-nodes

curl -k -u admin:default -H 'ContentType:application/json' -X GET https://10.144.138.198:443/api/v1/host-switch-profiles

猜你喜欢

转载自mikeching.iteye.com/blog/2160362