Is there a way to fetch the ip addresses of a guest from the API?

Asked by titog

Is there a function that would tell me the network interface + ip address set for a guest?

Thanks

Question information

Language:
English Edit question
Status:
Open
For:
zVM Cloud Connector Edit question
Assignee:
Ya Lian Pan Edit question
Last query:
Last reply:
Revision history for this message
Ya Lian Pan (yalian) said :
#1

Currently, there is no way from sdk to get the ip address of the guest. The user has to logon to the guest to get it. The reason is when the guest is crated through sdk, an IP address is required to set the network interface. So it should be know by the user. Besides, there is possibility that user may change the IP address after logon to it, and sdk has know way to find to for now.

Maybe we could add more functions in the future to control the IP address and track it.

Can you help with this problem?

Provide an answer of your own, or ask titog for more information if necessary.

To post a message you must log in.