Fix bug when removing a port from the firewall group
When removing a port from the firewall group, the last port is detected as
true or false based on the old port and the new port, but it ignores the
specific number of ports, which causes the fwg status to be inactive regardless
of whether there is a port after the firewall group is reset.
Reviewed: https:/ /review. opendev. org/670496 /git.openstack. org/cgit/ openstack/ neutron- fwaas/commit/ ?id=90a2707ccff d2175d76e0e2ac5 a4cd87e5faa7ef
Committed: https:/
Submitter: Zuul
Branch: master
commit 90a2707ccffd217 5d76e0e2ac5a4cd 87e5faa7ef
Author: zhanghao2 <email address hidden>
Date: Fri Jul 12 07:08:28 2019 -0400
Fix bug when removing a port from the firewall group
When removing a port from the firewall group, the last port is detected as
true or false based on the old port and the new port, but it ignores the
specific number of ports, which causes the fwg status to be inactive regardless
of whether there is a port after the firewall group is reset.
Change-Id: I887e06893f3e11 031548767272e95 afee40462d8
Closes-Bug: #1817455