1 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
2 # Copyright (C) 2010 INRIA
6 "release local resources (stop vs, kill qemus)"
7 sequences['free_all'] = [ 'plcvm_stop', 'qemu_kill_mine', ]
9 sequences['sfa_restart'] = [
21 sequences ['sfa_create_slice'] = [
27 "re-run a complete sfa cycle from a nightly test"
28 sequences['sfa_populate'] = [
37 'sfa_check_slice_plc',
40 # xxx this behaves weird in this context, needs more care apparently
41 # looks like at that point the PI is not allowed, while the regular is allowed to
42 # remove himself (!) and to add himself back in (!!)
48 sequences['sfa_delete'] = [
58 sequences['sfa_create'] = [
60 # nuke sometimes requires the service to be stopped b/c of db locks apparently
73 sequences['sfa_user_slice'] = [
74 'sfa_remove_user_from_slice',
75 'sfi_show_slice_researchers',
76 'sfa_insert_user_in_slice',
77 'sfi_show_slice_researchers',
80 sequences['sfa_provision'] = [
83 'sfa_check_slice_plc',
87 # run the whole SFA stuff but from scratch, new vs all reinstalled and all
88 sequences['sfa_scratch'] = [
90 'plcvm_delete','plcvm_timestamp','plcvm_create',
91 'plc_install', 'plc_configure', 'plc_start',
92 'keys_fetch', 'keys_store', 'keys_clear_known_hosts',
93 'initscripts', 'sites', 'nodes', 'slices', 'nodegroups', 'leases',
94 'nodestate_reinstall', 'qemu_local_init','bootcd', 'qemu_local_config',
95 'qemu_export', 'qemu_kill_mine', 'qemu_start', 'qemu_timestamp',
96 'sfa_install_all', 'sfa_configure', 'cross_sfa_configure', 'sfa_start', 'sfa_import',
97 'sfi_configure', 'sfa_register_user', 'sfa_register_slice', 'sfa_discover',
98 'sfa_create_slice', 'sfa_check_slice_plc',
99 'sfa_update_user', 'sfa_update_slice', 'sfi_view_all', 'sfa_utest',
102 sequences['sfi_view_all'] = [
108 # macro to exercice the registry only
109 # this requires the sfavoid config
110 # so that flavour=void and thus sfa-plc is not required
112 # this initially was just a convenience to setup a reduced depl.
113 # clearly there is a lot more to check here in terms of consistency
114 sequences['sfa_standalone'] = [
119 'sfa_install_client',
122 'cross_sfa_configure',
129 'sfa_register_slice',
140 # re-run a qemu node when things go wrong
141 # we need a scheme where we can select another qemu box
142 # this is based on a 2-step mechanism
145 # rm arg-ips-bnode (or echo anotherbox > arg-ips-bnode)
148 sequences['qemu_again1'] = [
152 sequences['qemu_again2']=[
154 'nodestate_reinstall', 'qemu_local_init','bootcd', 'qemu_local_config',
155 'qemu_clean_mine', 'qemu_export', 'qemu_start', 'qemu_timestamp',
156 'ping_node', 'ssh_node_debug',
157 'ssh_node_boot', 'node_bmlogs', 'ssh_slice', 'ssh_slice_basics', 'check_initscripts',
160 # same but only up to ping
161 sequences['qemu_again2_ping']=[
163 'nodestate_reinstall', 'qemu_local_init','bootcd', 'qemu_local_config',
164 'qemu_clean_mine', 'qemu_export', 'qemu_start', 'qemu_timestamp',
168 sequences['slice_up']=[
172 sequences['slice_down']=[
176 sequences['slice_up_down']=[