Revision 7c0d6283 scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
39 | 39 |
_SHUTDOWN_NODES_SEC = "nodes-sec" |
40 | 40 |
_SHUTDOWN_INSTANCES = "instances" |
41 | 41 |
|
42 |
|
|
42 | 43 |
def _ExpandMultiNames(mode, names): |
43 | 44 |
"""Expand the given names using the passed mode. |
44 | 45 |
|
... | ... | |
382 | 383 |
SubmitOpCode(op) |
383 | 384 |
return 0 |
384 | 385 |
|
386 |
|
|
385 | 387 |
def RebootInstance(opts, args): |
386 | 388 |
"""Reboot an instance |
387 | 389 |
|
... | ... | |
407 | 409 |
SubmitOpCode(op) |
408 | 410 |
return 0 |
409 | 411 |
|
412 |
|
|
410 | 413 |
def ShutdownInstance(opts, args): |
411 | 414 |
"""Shutdown an instance. |
412 | 415 |
|
Also available in: Unified diff