Comment 5 for bug 1953716

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/821935
Committed: https://opendev.org/openstack/neutron/commit/7b61adbb4a0e3147e08e511cdf40a4073c00d099
Submitter: "Zuul (22348)"
Branch: master

commit 7b61adbb4a0e3147e08e511cdf40a4073c00d099
Author: yatinkarel <email address hidden>
Date: Thu Dec 16 11:38:20 2021 +0530

    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