diff options
author | JingLu5 <lvjing5@huawei.com> | 2017-07-03 10:34:53 +0000 |
---|---|---|
committer | Jing Lu <lvjing5@huawei.com> | 2017-07-04 09:39:24 +0000 |
commit | ffe83c920736716f0caea36dceeff7b7e910db7c (patch) | |
tree | 5270c2488280199d9a527106e511f097cd8d0f9a /tests/unit/apiserver/utils/test_common.py | |
parent | 8e2da9dd467f0e0a28bb92097d80d707d579bd4f (diff) |
support segmentation_id for vlan provider network
If a network specified in the test case is a vlan provider network, new attribute "segmentation_id" can be used to specify the desired vlan tag in the test case network section:
networks:
test-net:
cidr: '192.168.1.0/24'
provider: "vlan"
physical_network: 'physnet1'
segmentation_id: "1000"
If the "segmentation_id" attribute is absent, a random vlan tag will be allocated to the network.
Change-Id: Ic53852447a3c1bd8feb9ebd42d35f1ade3684be1
Signed-off-by: JingLu5 <lvjing5@huawei.com>
Diffstat (limited to 'tests/unit/apiserver/utils/test_common.py')
0 files changed, 0 insertions, 0 deletions