kuryr-libnetwork/kuryr_libnetwork/tests
Hongbin Lu 68cb29267a Handle single ip port on dual-stack
In the case of dual-stack network, users might create a container
with existing neutron port. In before, kuryr assumes the
existing port is a dual-port (with both v4 and v6 addresses)
but this assumption is not always true. In face, it is
possible to create a v4 only port in a dual-stack network and
use it as an existing port.

This commit handle the case that the container is created from
a dual-net with a specified v4-only port. In this case, kuryr
will create a v6 port in ipam_request_address as a place holder.
The v6 port will be removed at network_driver_create_endpoint.

Related-Bug: #1800375
Change-Id: Id988abf1b6560332b18a60d99658a8768d46c343
2018-10-29 04:42:41 +00:00
..
contrib Fix post gate hook to accommodate for new os-testr 2017-09-15 13:33:36 +07:00
fullstack add python 3.6 unit test job 2018-08-24 19:44:09 +08:00
unit Handle single ip port on dual-stack 2018-10-29 04:42:41 +00:00
__init__.py Drop common code and add kuryr_lib as requirement 2016-07-05 16:02:44 +05:30