Ask Your Question
1

how to find whether the project has instance by search with router gateway ip address?

asked 2016-08-09 02:54:29 -0500

genie gravatar image

updated 2016-08-09 02:59:38 -0500

how to find whether the project has instance by search with router gateway ip address

i use neutron port-list but the floating ip which is an instance's floating ip do not have tenant id

is it possible to find whether project has instance from router gateway ip address with python?

how to know the floating ip address of instance are related with gateway's floating ip address

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-08-09 04:25:42 -0500

have you tried with something like this?

neutron port-list -c tenant_id -c id -c name

edit flag offensive delete link more

Comments

what is the name after id -c ?

genie gravatar imagegenie ( 2016-10-25 01:50:50 -0500 )edit

usually neutron never set the name, but if you create a port, or you update a port, you can set the name

amedeo-salvati gravatar imageamedeo-salvati ( 2016-10-25 02:12:16 -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

2 followers

Stats

Asked: 2016-08-09 02:54:29 -0500

Seen: 93 times

Last updated: Aug 09 '16