Add production setup to LXD
[osm/devops.git] / robot-systest / testsuite / cli / TS05__Hackfest_Multivdu_NS.robot
index dd6ee10..e3cc440 100644 (file)
@@ -65,12 +65,18 @@ Create Hackfest Multivdu NS Descriptor
 Network Service Instance Test
     [Documentation]  Launch and terminate network services
     [Tags]   comprehensive   hackfest_multivdu
-    [Teardown]  Run Keyword And Ignore Error    Network Service Instance Cleanup
 
     :FOR    ${vim_name}    IN    @{vim}
     \    Launch Network Services and Return    ${vim_name}
 
 
+Delete NS Instance Test
+    [Tags]    comprehensive   hackfest_multivdu
+
+    :FOR    ${ns}  IN   @{ns_ids}
+    \   Delete NS   ${ns}
+
+
 Delete NS Descriptor Test
     [Tags]   comprehensive   hackfest_multivdu
 
@@ -87,17 +93,16 @@ Delete VNF Descriptor Test
 
 *** Keywords ***
 Test Cleanup
-    [Documentation]  Test Suit Cleanup: Forcefully delete NSD and VNFD
-
-    :FOR    ${nsd}  IN   @{nsd_ids}
-    \   Force Delete NSD      ${nsd_id}
+    [Documentation]  Test Suit Cleanup: Deliting Descriptor, instance and vim
 
-    :FOR    ${vnfd_id}  IN   @{vnfd_ids}
-    \   Force Delete VNFD     ${vnfd_id}
+    :FOR    ${ns}  IN   @{ns_ids}
+    \   Delete NS   ${ns}
 
+    :FOR    ${nsd}  IN   @{nsd_ids}
+    \   Delete NSD      ${nsd}
 
-Network Service Instance Cleanup
-    [Documentation]  Forcefully delete created network service instances and vim account
+    :FOR    ${vnfd}  IN   @{vnfd_ids}
+    \   Delete VNFD     ${vnfd}
 
-    :FOR    ${ns_id}  IN   @{ns_ids}
-    \   Force Delete NS   ${ns_id}
+#    :FOR    ${vim_id}  IN   @{vim}
+#    \   Delete Vim Account    ${vim_id}