kuryr/kuryr/tests/unit
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 Fix mock order 2016-12-12 13:36:45 +08:00
segmentation_type_drivers Add randomness to the returned vlan_ids 2017-02-01 09:34:21 +00:00
__init__.py Separate unit tests from fullstack tests 2015-12-08 09:08:04 +02:00
base.py binding: Add driver based subsystem 2016-10-03 12:28:01 +02:00
test_config.py Avoid hard-coding of 'neutron' config group 2016-12-27 18:13:21 -06:00
test_opts.py binding: Add driver based subsystem 2016-10-03 12:28:01 +02:00
test_utils.py Refactor out keystoneauth code from neutron 2016-12-27 22:32:00 -06:00