neutron/neutron
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
..
agent Provide correct fip cidr when deleting port forwarding 2020-04-21 08:39:49 +08:00
api Merge "Remove leftovers of get_external_network_id for router" 2020-03-10 21:33:48 +00:00
cmd mech_driver.OVNMechanismDriver "_ovn_client" is a read-only property 2020-03-27 09:59:33 +00:00
common Add "rbac-address-scope" to OVN supported extensions 2020-04-15 17:29:04 +00:00
conf Merge "[OVN] Add IGMP snooping support" 2020-03-09 15:29:33 +00:00
core_extensions Add "qos_network_policy_id" to port definition 2020-01-17 17:57:11 +00:00
db Merge "Allow sharing of subnet pools via RBAC mechanism" 2020-04-12 17:20:24 +00:00
debug Fix neutron debug probe to use integration_bridge 2020-03-31 11:17:47 +00:00
extensions Merge "Allow sharing of subnet pools via RBAC mechanism" 2020-04-12 17:20:24 +00:00
hacking Allow usage of assert_called_once method in unit tests 2020-03-02 14:17:26 +02:00
ipam IPv6 accepts first address only for routers 2020-01-12 20:39:07 +00:00
locale Imported Translations from Zanata 2019-12-21 07:16:10 +00:00
notifiers Use openstacksdk for ironic notifiers 2019-09-19 06:56:24 +00:00
objects Merge "Allow sharing of subnet pools via RBAC mechanism" 2020-04-12 17:20:24 +00:00
pecan_wsgi Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-08 15:34:17 +04:00
plugins Merge "Allow sharing of subnet pools via RBAC mechanism" 2020-04-12 17:20:24 +00:00
privileged Replace ctype.CDLL by ctypes.PyDLL in linux.ip_lib 2020-04-02 13:59:29 +00:00
profiling Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00
quota Set DB retry for quota_enforcement pecan_wsgi hook 2019-11-08 15:34:17 +04:00
scheduler [OVN] Import OVN Client, L3 and QoS related code 2019-12-14 19:17:40 +00:00
server Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
services Merge "Don't reschedule hosts unless we need to" 2020-04-08 19:31:59 +00:00
tests Provide correct fip cidr when deleting port forwarding 2020-04-21 08:39:49 +08:00
__init__.py Fix incorrect usage of '# flake8: noqa' 2018-10-29 15:27:50 -04:00
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Support L3 agent cleanup on shutdown 2019-12-16 17:01:31 -05:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Fix duplicate ID warning during doc build 2020-02-04 12:13:14 -05:00
policy.py List SG rules which belongs to tenant's SG 2019-11-27 15:45:09 +01:00
service.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00
version.py
worker.py Change process name of neutron-server to match worker role 2019-03-01 14:18:09 -05:00
wsgi.py Re-use existing ProcessLauncher from wsgi in RPC workers 2020-02-07 14:51:06 +01:00