kuryr-libnetwork/kuryr_libnetwork
Hongbin Lu 2842e1c428 Make the name of existing net tag unique
In before, the existing net tag is static. This doesn't work well
if there are two docker network creating from the same neutron net.
In this senario, each docker network will tag the neutron net on
creation and untag the neutron net on deletion. Neutron net will
be tag/untag multiple times with the same value which leads to bugs.

This commit enhance the existing net tag. It makes each tag unique
by appending the first 12 chars of the docker network id. If there
are two docker networks, they will have a different tag. Each tag
will be cleanup on the deletion of its corresponsing network.

Change-Id: I4fe8a7e13832202dae026b0b4df788f95c41de3c
Closes-Bug: #1695682
2017-08-07 17:19:53 +00:00
..
port_driver Enforce multiple previously ignored pep8 rules 2017-07-05 13:25:32 +03:00
schemata Allow new network ID pattern 2017-07-31 08:05:55 +00:00
tests Make the name of existing net tag unique 2017-08-07 17:19:53 +00:00
__init__.py versioning: let pbr handle versioning from tags 2016-08-18 10:50:14 +02:00
config.py Tls support configurations 2017-01-27 05:22:25 +03:00
constants.py Support tagging existing subnetpool 2017-06-21 18:29:32 +00:00
controllers.py Make the name of existing net tag unique 2017-08-07 17:19:53 +00:00
opts.py auth: Add keystonev3 support 2016-09-13 08:18:53 +02:00
server.py Use Neutron tag-ext extension 2017-02-07 19:38:13 +08: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