kuryr-libnetwork/kuryr_libnetwork
Hongbin Lu 3299f82199 Fix an issue on release_address
On ipam_release_address, kuryr unset all the neutron ports with
the released IP address. This is incorrect because IP address
is not unique across an OpenStack deployment.

This patch adds a check for verifying the subnet of a port
before reseting the port. If the port's subnet doesn't
match the subnet of the pool, the port is not the target and
won't be reset.

In order to identify the subnet given a pool ID. This patch
tags each kuryr created subnet with the pool ID.

Change-Id: I8f85ae53c924aa1f4ff877f52a56d267f984dbf5
Closes-Bug: #1782947
Related-Bug: #1782942
2018-07-22 23:06:27 +00:00
..
port_driver Merge "Introduce sriov port driver" 2018-01-08 11:36:10 +00:00
schemata Allow new network ID pattern 2017-07-31 08:05:55 +00:00
tests Fix an issue on release_address 2018-07-22 23:06:27 +00:00
__init__.py versioning: let pbr handle versioning from tags 2016-08-18 10:50:14 +02:00
config.py Allow skip processing exposed ports 2018-04-22 17:11:24 +00:00
constants.py Introduce sriov port driver 2018-01-03 07:51:05 +00:00
controllers.py Fix an issue on release_address 2018-07-22 23:06:27 +00:00
opts.py auth: Add keystonev3 support 2016-09-13 08:18:53 +02:00
server.py Check for `standard-attr-tag` Neutron extension 2018-03-19 15:06:56 +01:00
utils.py Make the name of existing net tag unique 2017-08-07 17:19:53 +00:00
version.py Add reno support to kuryr-libnetwork 2017-02-06 09:30:43 -06:00