kuryr/kuryr/lib
Luis Tomas Bolivar af9d0eb0d6 Add randomness to the returned vlan_ids
This patch modifies allocate_segmentation_id so that the vlan_id
returned is randomly selected between the available ids.
The main rationale behind is to avoid vlan_id collisions, for
instance in active-active deployments, among different calls.
Note this will minimize the collision if nested containers are
created by using both kubernetes and docker in the same VM.

Partially Implements blueprint containers-in-instances

Change-Id: Iba2c94707c4932d59483c793452da88c43d4215c
2017-02-01 09:34:21 +00:00
..
binding Passing port's project_id in port_bind 2016-12-12 08:48:51 +00:00
segmentation_type_drivers Add randomness to the returned vlan_ids 2017-02-01 09:34:21 +00:00
__init__.py Refactoring: Drop all the code except common one 2016-07-19 14:56:17 +05:30
_i18n.py Refactoring: Drop all the code except common one 2016-07-19 14:56:17 +05:30
config.py Refactor out keystoneauth code from neutron 2016-12-27 22:32:00 -06:00
constants.py mac and mtu is not configured in macvlan and ipvlan driver 2016-12-07 22:38:40 +08:00
exceptions.py Add the missing AddressInUseException 2016-12-19 04:02:32 -05:00
opts.py Refactor out keystoneauth code from neutron 2016-12-27 22:32:00 -06:00
utils.py Refactor out keystoneauth code from neutron 2016-12-27 22:32:00 -06:00
version.py fix python packaging 2016-08-18 03:47:38 +02:00