no way to query ports by ip address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Invalid
|
Undecided
|
Salvatore Orlando |
Bug Description
It is important to be able to query for a port based on IP address. Aside from being generally useful, this is required for implementing the metadata functionality used by Nova.
From db_base_
filtering on fixed_ip is someone of a special case, as fixed_ip is not a primitive value, yet it includes something we want to search over. We had a long thread on the ML a while back, but never reached a real conclusion. See "V2 IP Address Allocations" at https:/
The easiest solution would probably be to just define two extra filter fields: fixed_ip_address and fixed_ip_subnet that can be included in the set of filters, but clearly there are many opinions on the topic.
Changed in quantum: | |
milestone: | none → folsom-3 |
assignee: | nobody → Salvatore Orlando (salvatore-orlando) |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in quantum: | |
importance: | Critical → Undecided |
milestone: | folsom-3 → none |
Hi,
Via the client one is able to do the search as follows.
port-list -- --fixed_ips type=dict list=true ip_address= 192.168. 100.2
Thanks
Gary