diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-08-25 04:15:32 +0000 |
---|---|---|
committer | Linda Wang <wangwulin@huawei.com> | 2017-08-25 04:15:32 +0000 |
commit | 5f18bc39015c906767b27596a0db6e7077500ff1 (patch) | |
tree | 88f8a1e5d87a4d568d073f14e8760bc19ef3fe22 /functest/opnfv_tests/openstack/vping/vping_base.py | |
parent | ad44bfd97555a7372269db539857fd53fffb0460 (diff) |
Fix the config of vping net
Change-Id: I71cea850985c67cf4c4e42a29600f9d63291fc94
Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/vping/vping_base.py')
-rw-r--r-- | functest/opnfv_tests/openstack/vping/vping_base.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/opnfv_tests/openstack/vping/vping_base.py b/functest/opnfv_tests/openstack/vping/vping_base.py index 40fcb07f..6e908065 100644 --- a/functest/opnfv_tests/openstack/vping/vping_base.py +++ b/functest/opnfv_tests/openstack/vping/vping_base.py @@ -113,13 +113,13 @@ class VPingBase(testcase.TestCase): vping_physical_network = None vping_segmentation_id = None - if (hasattr(CONST, 'network_type')): + if (hasattr(CONST, 'vping_network_type')): vping_network_type = CONST.__getattribute__( 'vping_network_type') - if (hasattr(CONST, 'physical_network')): + if (hasattr(CONST, 'vping_physical_network')): vping_physical_network = CONST.__getattribute__( 'vping_physical_network') - if (hasattr(CONST, 'segmentation_id')): + if (hasattr(CONST, 'vping_segmentation_id')): vping_segmentation_id = CONST.__getattribute__( 'vping_segmentation_id') |