diff options
author | 2017-09-04 14:18:56 +0000 | |
---|---|---|
committer | 2017-09-04 14:18:56 +0000 | |
commit | 506ef8bdcb772637be4dc01c5afc0e583f7ae3d3 (patch) | |
tree | c5886557f4c65c5c3ec6b58eb7d953b02f1303d4 /functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py | |
parent | 96eb11c116a15893a8e6af780fde3d675ad1b4d7 (diff) | |
parent | fff71f30410d33919e9ceddd8e5ff87f7e6630d5 (diff) |
Merge "Fix get_port_by_name in ims testcases"
Diffstat (limited to 'functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py')
-rw-r--r-- | functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py index 5154dea2..216632ee 100644 --- a/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py +++ b/functest/opnfv_tests/vnf/ims/orchestra_clearwaterims.py @@ -661,8 +661,9 @@ class ClearwaterImsVnf(vnf.VnfOnBoarding): try: neutron_client = os_utils.get_neutron_client(self.creds) self.logger.info("Deleting Open Baton Port...") - port = snaps_utils.neutron_utils.get_port_by_name( - neutron_client, '%s_port' % self.case_name) + port = snaps_utils.neutron_utils.get_port( + neutron_client, + port_name='%s_port' % self.case_name) snaps_utils.neutron_utils.delete_port(neutron_client, port) time.sleep(10) except Exception as exc: |