Ask Your Question
0

How can I get VM IP details once it's deployed

asked 2020-05-01 19:32:28 -0500

New_bee gravatar image

Can I pull IP details using API once the VM is deployed

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2020-05-02 00:44:06 -0500

The API is https://docs.openstack.org/api-ref/co.... I believe you want the addresses field in the response.

edit flag offensive delete link more

Comments

I tried this option /servers/{server_id} but the "accessIPv4": "", (is blank). I tried for all the servers still the same. Is there anyway to get this. This is private cloud with fixed IP.

New_bee gravatar imageNew_bee ( 2020-05-03 00:04:56 -0500 )edit

This is why I suggested the addresses field.

Bernd Bausch gravatar imageBernd Bausch ( 2020-05-03 02:55:26 -0500 )edit

I tried with /servers/{server_id}/ips I get only VLAN information "PROD VLAN 417". I don't see any other information

New_bee gravatar imageNew_bee ( 2020-05-03 04:31:57 -0500 )edit

Yes, It's working. The previous VM had some network issue. Thank you so MUCH!

New_bee gravatar imageNew_bee ( 2020-05-03 04:37:28 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2020-05-01 19:32:28 -0500

Seen: 24 times

Last updated: May 02