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"
31 'sfa_check_slice_plc',
40 sequences['sfa_create'] = [
42 # nuke sometimes requires the service to be stopped b/c of db locks apparently
55 sequences['sfa_user_slice'] = [
56 'sfa_remove_user_from_slice',
57 'sfi_show_slice_researchers',
58 'sfa_insert_user_in_slice',
59 'sfi_show_slice_researchers',
62 sequences['sfa_provision'] = [
65 'sfa_check_slice_plc',
69 # run the whole SFA stuff but from scratch, new vs all reinstalled and all
70 sequences['sfa_scratch'] = [
72 'plcvm_delete','plcvm_timestamp','plcvm_create',
73 'plc_install', 'plc_configure', 'plc_start',
74 'keys_fetch', 'keys_store', 'keys_clear_known_hosts',
75 'initscripts', 'sites', 'nodes', 'slices', 'nodegroups', 'leases',
76 'nodestate_reinstall', 'qemu_local_init','bootcd', 'qemu_local_config',
77 'qemu_export', 'qemu_kill_mine', 'qemu_start', 'qemu_timestamp',
78 'sfa_install_all', 'sfa_configure', 'cross_sfa_configure', 'sfa_start', 'sfa_import',
79 'sfi_configure', 'sfa_add_user', 'sfa_add_slice', 'sfa_discover',
80 'sfa_create_slice', 'sfa_check_slice_plc',
81 'sfa_update_user', 'sfa_update_slice', 'sfi_view_all', 'sfa_utest',
84 sequences['sfi_view_all'] = [
90 # macro to exercice the registry only
91 # this requires the sfavoid config
92 # so that flavour=void and thus sfa-plc is not required
94 # this initially was just a convenience to setup a reduced depl.
95 # clearly there is a lot more to check here in terms of consistency
96 sequences['sfa_standalone'] = [
101 'sfa_install_client',
104 'cross_sfa_configure',
122 # re-run a qemu node when things go wrong
123 # we need a scheme where we can select another qemu box
124 # this is based on a 2-step mechanism
127 # rm arg-ips-bnode (or echo anotherbox > arg-ips-bnode)
130 sequences['qemu_again1'] = [
134 sequences['qemu_again2']=[
136 'nodestate_reinstall', 'qemu_local_init','bootcd', 'qemu_local_config',
137 'qemu_clean_mine', 'qemu_export', 'qemu_start', 'qemu_timestamp',
138 'ping_node', 'ssh_node_debug',
139 'ssh_node_boot', 'node_bmlogs', 'ssh_slice', 'ssh_slice_basics', 'check_initscripts',
142 # same but only up to ping
143 sequences['qemu_again2_ping']=[
145 'nodestate_reinstall', 'qemu_local_init','bootcd', 'qemu_local_config',
146 'qemu_clean_mine', 'qemu_export', 'qemu_start', 'qemu_timestamp',