X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2Fmacros.py;h=85a570bdb822a09f5c383c2fc4bd4d4c05462044;hb=c3fff6c23d45a25e889a1dc8af7bd8fb1e03bd4c;hp=f5585f30df6c1a9269e8c15873c7de0f977cd6c5;hpb=86a4fa16fea07411dc6613750c10eb539fe453d9;p=tests.git diff --git a/system/macros.py b/system/macros.py index f5585f3..85a570b 100644 --- a/system/macros.py +++ b/system/macros.py @@ -178,3 +178,16 @@ sequences['slice_up_down']=[ 'slice_down', ] +## dealing with nodes +# useful also. for bonding +# alias nodes to node since we mostly have one node +sequences['node'] = [ 'nodes' ] + +sequences['restart_node'] = sequences['start_node'] = """ +qemu_kill_mine nodestate_reinstall qemu_local_init bootcd qemu_local_config +qemu_clean_mine qemu_export qemu_start qemu_timestamp +""".split() + +sequences['bonding_node'] = 'node start-node'.split() + +sequences['wait_node'] = 'ping_node ssh_node_debug ssh_node_boot'.split()