Filtering of port list by fixed-ip doesn't work
Bug #1712527 reported by
Dr. Jens Harbott
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
Fix Released
|
Undecided
|
Dr. Jens Harbott | ||
python-openstackclient |
Invalid
|
Undecided
|
Unassigned |
Bug Description
The recently added option to filter the port list output does not work for me. The following commands all produce identical output, even when there are ports with different addresses and subnets:
- openstack port list
- openstack port list --fixed-ip subnet=<valid subnet id>
- openstack port list --fixed-ip ip-address=<any ip>
- openstack port list --fixed-ip subnet=<valid subnet id>,ip-address=<any ip>
I do get an error when I specify a non-existing subnet id.
openstack --version: openstack 3.12.0
The cloud I am testing against is based on Ocata.
Changed in python-openstackclient: | |
status: | New → Invalid |
To post a comment you must log in.
So it seems like the patch introduced in https:/ /review. openstack. org/388575 is incomplete, it needs a matching patch in openstacksdk in order to allow filtering by fixed_ips there.
Also the tests in that patch are bogus, they in fact verify exactly the behaviour described above.