VMware Networking Community
continuitysw
Contributor
Contributor

NSX Server IP using vCenter SDK

Hi,

I have both vCenter and NSX.

I would like to be able to get the NSX Manager IP address using the vCenter SDK in java.

I'm using yavijava.

Is there a way to do it?

Thanks for the help.

Reply
0 Kudos
2 Replies
cnrz
Expert
Expert

Does yavijava support API calls in REST API format? If supported this could be get with curl or Rest Api client as following link:

Retrieving NSX Manager System Info Using Rest API – Virtual Reality

Reply
0 Kudos
continuitysw
Contributor
Contributor

Yavijava is a JAR file that I use to query the vCenter using sdk.

I'm looking to get the NSX server IP using the vCenter sdk, so querying the NSX directly won't help me because that would require me to know the IP of the NSX server and at this point(when I query the vCenter - I don't know it. That's what I'm looking to find.

Thanks.

Reply
0 Kudos