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 "re-run a complete sfa cycle from a nightly test"
22 sequences['sfa_populate'] = [
31 'sfa_check_slice_plc',
34 # xxx this behaves weird in this context, needs more care apparently
35 # looks like at that point the PI is not allowed, while the regular is allowed to
36 # remove himself (!) and to add himself back in (!!)
42 sequences['sfa-delete'] = [
52 sequences['sfa_create'] = [
54 # nuke sometimes requires the service to be stopped b/c of db locks apparently
67 sequences['sfa_user_slice'] = [
68 'sfa_remove_user_from_slice',
69 'sfi_show_slice_researchers',
70 'sfa_insert_user_in_slice',
71 'sfi_show_slice_researchers',
74 sequences['sfa_provision'] = [
77 'sfa_check_slice_plc',
81 # run the whole SFA stuff but from scratch, new vs all reinstalled and all
82 sequences['sfa_scratch'] = [
84 'plcvm_delete','plcvm_timestamp','plcvm_create',
85 'plc_install', 'plc_configure', 'plc_start',
86 'keys_fetch', 'keys_store', 'keys_clear_known_hosts',
87 'initscripts', 'sites', 'nodes', 'slices', 'nodegroups', 'leases',
88 'nodestate_reinstall', 'qemu_local_init','bootcd', 'qemu_local_config',
89 'qemu_export', 'qemu_kill_mine', 'qemu_start', 'qemu_timestamp',
90 'sfa_install_all', 'sfa_configure', 'cross_sfa_configure', 'sfa_start', 'sfa_import',
91 'sfi_configure', 'sfa_register_user', 'sfa_register_slice', 'sfa_discover',
92 'sfa_create_slice', 'sfa_check_slice_plc',
93 'sfa_update_user', 'sfa_update_slice', 'sfi_view_all', 'sfa_utest',
96 sequences['sfi_view_all'] = [
102 # macro to exercice the registry only
103 # this requires the sfavoid config
104 # so that flavour=void and thus sfa-plc is not required
106 # this initially was just a convenience to setup a reduced depl.
107 # clearly there is a lot more to check here in terms of consistency
108 sequences['sfa_standalone'] = [
113 'sfa_install_client',
116 'cross_sfa_configure',
123 'sfa_register_slice',
134 # re-run a qemu node when things go wrong
135 # we need a scheme where we can select another qemu box
136 # this is based on a 2-step mechanism
139 # rm arg-ips-bnode (or echo anotherbox > arg-ips-bnode)
142 sequences['qemu_again1'] = [
146 sequences['qemu_again2']=[
148 'nodestate_reinstall', 'qemu_local_init','bootcd', 'qemu_local_config',
149 'qemu_clean_mine', 'qemu_export', 'qemu_start', 'qemu_timestamp',
150 'ping_node', 'ssh_node_debug',
151 'ssh_node_boot', 'node_bmlogs', 'ssh_slice', 'ssh_slice_basics', 'check_initscripts',
154 # same but only up to ping
155 sequences['qemu_again2_ping']=[
157 'nodestate_reinstall', 'qemu_local_init','bootcd', 'qemu_local_config',
158 'qemu_clean_mine', 'qemu_export', 'qemu_start', 'qemu_timestamp',