diff options
-rw-r--r-- | sfc/lib/cleanup.py | 2 | ||||
-rw-r--r-- | sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sfc/lib/cleanup.py b/sfc/lib/cleanup.py index 7936600b..a5512c66 100644 --- a/sfc/lib/cleanup.py +++ b/sfc/lib/cleanup.py @@ -49,7 +49,7 @@ def delete_vnffgs(): vnffgs = os_tacker.list_vnffgs(t) if vnffgs is None: return - for vnffg in vnffgs: + for vnffg in reversed(vnffgs): logger.info("Removing vnffg: {0}".format(vnffg)) os_tacker.delete_vnffg(t, vnffg_id=vnffg) diff --git a/sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml b/sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml index 606d363d..27c7d545 100644 --- a/sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml +++ b/sfc/tests/functest/vnffgd-templates/test-vnffgd.yaml @@ -5,7 +5,7 @@ description: test-case1 topology_template: description: topology-template-test1 inputs: - net_src_id: + net_src_port_id: type: string node_templates: @@ -17,7 +17,7 @@ topology_template: policy: type: ACL criteria: - - network_src_port_id:{ get_input: net_src_id } + - network_src_port_id: {get_input: net_src_port_id} - destination_port_range: 80-80 - ip_proto: 6 path: |