From: Thierry Parmentelat Date: Wed, 7 Dec 2011 08:21:48 +0000 (+0100) Subject: the 'sfa' macro step involves reconfiguring/restarting sfa X-Git-Tag: tests-5.0-32~1 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=98e636b47bcf2e8409772a53492553915657d0c2;p=tests.git the 'sfa' macro step involves reconfiguring/restarting sfa --- diff --git a/system/config_apiv2.py b/system/config_apiv2.py index 7e3d70a..91c9281 100644 --- a/system/config_apiv2.py +++ b/system/config_apiv2.py @@ -1,4 +1,3 @@ - def config (plc_specs, options): for plc_spec in plc_specs: plc_spec['sfa']['SFA_AGGREGATE_API_VERSION']=2 diff --git a/system/macros.py b/system/macros.py index 56d77af..78d8cb0 100644 --- a/system/macros.py +++ b/system/macros.py @@ -6,12 +6,20 @@ sequences={} "release local resources (stop vs, kill qemus, clean trackers)" sequences['free_all'] = [ 'vs_stop', 'qemu_kill_mine', ] +sequences['sfa_restart'] = [ + 'sfa_plcclean', + 'sfa_dbclean', + 'sfa_stop', + 'sfa_configure', + 'sfa_start', + 'sfa_import', + 'sfi_clean', + 'sfi_configure', + ] + "re-run a complete sfa cycle from a nightly test" sequences['sfa'] = [ - 'sfa_plcclean', - 'sfa_dbclean', - 'sfa_import', - 'sfi_configure', + 'sfa_restart', 'sfa_add_user', 'sfa_add_slice', 'sfa_discover', @@ -34,17 +42,6 @@ sequences['sfa_create'] = [ 'sfa_add_slice', ] -sequences['sfa_restart'] = [ - 'sfa_plcclean', - 'sfa_dbclean', - 'sfa_stop', - 'sfi_clean', - 'sfa_configure', - 'sfa_import', - 'sfa_start', - 'sfi_configure', - ] - # run the whole SFA stuff but from scratch, new vs all reinstalled and all sequences['sfa_scratch'] = [ 'show',