kuryr/kuryr/lib/segmentation_type_drivers
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
..
__init__.py Nested-Containers: vlan driver 2016-11-28 14:52:10 +00:00
vlan.py Add randomness to the returned vlan_ids 2017-02-01 09:34:21 +00:00