Revision 2f907a8c scripts/gnt-instance
b/scripts/gnt-instance | ||
---|---|---|
826 | 826 |
|
827 | 827 |
The migrate is done without shutdown. |
828 | 828 |
|
829 |
Args:
|
|
830 |
opts - class with options as members
|
|
831 |
args - list with a single element, the instance name
|
|
832 |
Opts used:
|
|
833 |
force - whether to migrate without asking questions.
|
|
829 |
@param opts: the command line options selected by the user
|
|
830 |
@type args: list
|
|
831 |
@param args: should contain only one element, the instance name
|
|
832 |
@rtype: int
|
|
833 |
@return: the desired exit code
|
|
834 | 834 |
|
835 | 835 |
""" |
836 | 836 |
instance_name = args[0] |
Also available in: Unified diff