diff options
author | yatinkarel <ykarel@redhat.com> | 2021-12-16 11:38:20 +0530 |
---|---|---|
committer | yatinkarel <ykarel@redhat.com> | 2021-12-16 16:31:44 +0530 |
commit | 7b61adbb4a0e3147e08e511cdf40a4073c00d099 (patch) | |
tree | 1de6d83b42be7283b6a6cbe817647167226c1a49 /requirements.txt | |
parent | c788f09f1bf6e448c19fd71e39da7707845ca36c (diff) | |
download | neutron-7b61adbb4a0e3147e08e511cdf40a4073c00d099.tar.gz |
List ports when attempt to delete network with ports
When there is attempt to delete network with ports,
a general error message is displayed that one or more
ports are in use on the network. This patch proposes
to also return the ports which are in use as part of
the message.
Also modify test_delete_network_if_port_exists unit
test to check for port id and network id in Error
message.
Also bump required version of neutron-lib to 2.18.0
as that's needed for custom message in NetworkInUse
Exception.
Depends-On: https://review.opendev.org/c/openstack/neutron-lib/+/821806
Closes-Bug: #1953716
Change-Id: Ib0b40402746c6a487a226b238907142384608d3c
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt index 79eee84f8c..9b9551740a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ Jinja2>=2.10 # BSD License (3 clause) keystonemiddleware>=5.1.0 # Apache-2.0 netaddr>=0.7.18 # BSD netifaces>=0.10.4 # MIT -neutron-lib>=2.17.0 # Apache-2.0 +neutron-lib>=2.18.0 # Apache-2.0 python-neutronclient>=6.7.0 # Apache-2.0 tenacity>=6.0.0 # Apache-2.0 SQLAlchemy>=1.4.23 # MIT |