aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/integration.py
diff options
context:
space:
mode:
authorChristian Trautman <ctrautma@redhat.com>2016-07-08 01:31:25 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-08 01:31:25 +0000
commitcead9a3d0571b8afc5ed680475e9bc3ea92c7d79 (patch)
tree7815463e32d54a69cf8f406dd94452638e3716a0 /testcases/integration.py
parent26a7262cee1a2961ed5aa76bd969dddeff8ea472 (diff)
parentfc09b7f0b6e036651fd4c101d9b8492c4cccfe0c (diff)
Merge "Namespace_veth: Add funtionality for network namespace, veth ports"
Diffstat (limited to 'testcases/integration.py')
-rw-r--r--testcases/integration.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/testcases/integration.py b/testcases/integration.py
index fdd8b09c..ffde5822 100644
--- a/testcases/integration.py
+++ b/testcases/integration.py
@@ -22,10 +22,13 @@ import copy
from testcases import TestCase
from conf import settings as S
from collections import OrderedDict
+from tools import namespace
+from tools import veth
from core.loader import Loader
CHECK_PREFIX = 'validate_'
+
class IntegrationTestCase(TestCase):
"""IntegrationTestCase class
"""
@@ -115,6 +118,10 @@ class IntegrationTestCase(TestCase):
step_ok = False
if step[0] == 'vswitch':
test_object = self._vswitch_ctl.get_vswitch()
+ elif step[0] == 'namespace':
+ test_object = namespace
+ elif step[0] == 'veth':
+ test_object = veth
elif step[0] == 'trafficgen':
test_object = self._traffic_ctl
# in case of send_traffic method, ensure that specified