aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/unit_tests/unit/lib/test_cleanup.py
diff options
context:
space:
mode:
authorgvrangan <venkatrangang@hcl.com>2019-01-03 11:32:11 +0000
committerananth.y <ananth.y@hcl.com>2019-01-25 22:52:13 +0900
commit50ad0d757b2015067c2b13adbbe59b746477b207 (patch)
treebb9be072a0cef8fd32898a375285fd2c19844397 /sfc/unit_tests/unit/lib/test_cleanup.py
parenta4b8b22caf02f46e2019a957af782a4fd77b9bea (diff)
Fix Two Chains Test and Enabled all Testcases
- Method added to support Port Chain update - Used the new method to modify the test as follows - Create two Port Chains (one VNF per chain) - Block ssh in one vnf and http in the other - Test communication - Swap the flow classifiers in the chains so that ssh packets are sent to vnf where http is blocked and vice versa - Fix extracting odl username/password from ml2_conf - Checking flow classifiers are implemented - Fixed odl cleanup Change-Id: I1f0f3a3b829d6c73d1bb1a774ebf3484912b84b7 Signed-off-by: gvrangan <venkatrangang@hcl.com>
Diffstat (limited to 'sfc/unit_tests/unit/lib/test_cleanup.py')
-rw-r--r--sfc/unit_tests/unit/lib/test_cleanup.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/sfc/unit_tests/unit/lib/test_cleanup.py b/sfc/unit_tests/unit/lib/test_cleanup.py
index 8e68ce5b..e6f59d23 100644
--- a/sfc/unit_tests/unit/lib/test_cleanup.py
+++ b/sfc/unit_tests/unit/lib/test_cleanup.py
@@ -275,10 +275,7 @@ class SfcCleanupTesting(unittest.TestCase):
def test_cleanup_odl(self,
mock_del_odl_ietf,
mock_del_odl_res):
- resources = ['service-function-forwarder',
- 'service-function-chain',
- 'service-function-path',
- 'service-function']
+ resources = ['service-function-forwarder']
odl_res_calls = [call(self.odl_ip, self.odl_port, item)
for item in resources]