neutron/neutron/tests/unit/agent/l3/extensions
zhouhenglc 3a6a8c334a Provide correct fip cidr when deleting port forwarding
The second parameter of fip_id_cidrs requires a cidr, but now is address. this
causes function `_sync_and_remove_fip` fail to remove vip as expected.

if current is ha router, in function _sync_and_remove_fip will call
`ri._remove_vip(fip_id_cidr[1])`. the final parameter is passed to
KeepalivedInstance.remove_vip_by_ip_address and compare with attribute vips.
the values of vips are of type CIDR.

if not ha, the following process processing use netaddr.IPNetwork and can be
performed as expected.

Closes-bug: #1873708

Change-Id: I2ae2ade29700a56dc340256389bf8b0efd697ba4
2020-04-21 08:39:49 +08:00
..
qos Remove L3 IP QoS cache when router is down 2019-08-16 23:36:27 +08:00
__init__.py [L3][QoS] L3 agent side Floating IP rate limit 2017-12-20 10:20:05 +08:00
test_conntrack_helper.py Agent - Conntrack Helper 2019-08-29 10:41:13 +02:00
test_port_forwarding.py Provide correct fip cidr when deleting port forwarding 2020-04-21 08:39:49 +08:00
test_snat_log.py remove neutron.common.rpc 2019-02-06 11:05:55 -07:00