ListSlices no longer exists
[tests.git] / system / macros.py
index 6d4ceaa..3fc7dc8 100644 (file)
@@ -10,6 +10,7 @@ sequences['sfa_restart'] = [
     'sfa_stop',
     'sfa_plcclean',
     'sfa_dbclean',
+    'sfa_fsclean',
     'sfa_configure',
     'sfa_start',
     'sfa_import',
@@ -24,6 +25,7 @@ sequences['sfa'] = [
     'sfa_add_pi',
     'sfa_add_user', 
     'sfa_add_slice',
+    'sfa_renew_slice',
     'sfa_discover', 
     'sfa_create_slice', 
     'sfa_check_slice_plc', 
@@ -37,13 +39,26 @@ sequences['sfa'] = [
 
 sequences['sfa_create'] = [
     'sfa_plcclean', 
+    # nuke sometimes requires the service to be stopped b/c of db locks apparently
+    'sfa_stop',
     'sfa_dbclean',
+    'sfa_start',
     'sfa_import', 
+    'sfi_clean',
     'sfi_configure', 
+    'sfa_add_site',
+    'sfa_add_pi',
     'sfa_add_user', 
     'sfa_add_slice',
 ]
 
+sequences['sfa_provision'] = [ 
+    'sfa-discover',
+    'sfa-create_slice',
+    'sfa_check_slice_plc',
+    'sfi_view_all',
+]
+
 # run the whole SFA stuff but from scratch, new vs all reinstalled and all
 sequences['sfa_scratch'] = [
     'show',
@@ -62,11 +77,14 @@ sequences['sfa_scratch'] = [
 sequences['sfi_view_all'] = [
     'sfi_list',
     'sfi_show',
-    'sfi_slices',
 ]
 
-# something that can given to the nightly to prepare a standalone sfa setup
-# after what you'll want to tweak the config to point to a myplc some place else
+# macro to exercice the registry only
+# this requires the sfavoid config
+# so that flavour=void and thus sfa-plc is not required
+# xxx todo
+# this initially was just a convenience to setup a reduced depl.
+# clearly there is a lot more to check here in terms of consistency
 sequences['sfa_standalone'] = [
     'show',
     'vs_delete',
@@ -77,15 +95,16 @@ sequences['sfa_standalone'] = [
     'sfa_configure',
     'cross_sfa_configure',
     'sfa_start',
+    'sfa_import',
     'sfi_configure',
     'sfa_add_site',
     'sfa_add_pi',
     'sfa_add_user',
     'sfa_add_slice',
-    'sfi_view_all',
+    'sfi_list',
+    'sfi_show',
     'sfa_delete_slice',
     'sfa_delete_user',
-    'sfi_view_all',
+    'sfi_list',
+    'sfi_show',
 ]
-
-