openstack-python-openstackc.../openstackclient/network
Johannes Kulik aa227f8d16 Fix --security-group for port list
"openstack port list --security-group <id>" was using a filter that
didn't exist in `openstacksdk`: "security_groups". Up until version
1.0.1, `openstacksdk` did not support filtering `Port` objects by
security groups. Later versions will support the filtering (via [1]),
but the filter is called the same way the attribute on the `Port` object
is called: `security_group_ids`.

We're not bumping the `openstacksdk` version here, because the feature
we're using [1] is merged too recently and a bump of min requirements
thus unlikely. `openstackclient` continue to work with older versions of
`openstacksdk` - the "--security-group" filter will just do nothing like
before.

[1] https://review.opendev.org/c/openstack/openstacksdk/+/866008

Change-Id: I07088484592e99ce0a12b67d68a3e47ae7c7af81
2023-03-20 15:19:46 +01:00
..
v2 Fix --security-group for port list 2023-03-20 15:19:46 +01:00
__init__.py Network CRUD 2014-06-24 15:00:25 -06:00
client.py Make Profile fallback go bye-bye 2018-03-14 10:57:13 -05:00
common.py Allow to send extra attributes in Neutron related commands 2021-05-26 09:29:15 +02:00
utils.py Allow to send extra attributes in Neutron related commands 2021-05-26 09:29:15 +02:00