Make it clear that host-servers-migrate is a cold migration
Let's be clear in the help text that host-servers-migrate is a cold migration since we have similar sounding commands host-evacuate and host-evacuate-live (which is not actually evacuate, it's live migration). Change-Id: I17ee230fc1c29369c40492523c9d97d25f7ee023
This commit is contained in:
parent
df80402fa7
commit
d8e2f0c1a4
@ -38,7 +38,9 @@ def _server_migrate(cs, server):
|
|||||||
|
|
||||||
@utils.arg('host', metavar='<host>', help='Name of host.')
|
@utils.arg('host', metavar='<host>', help='Name of host.')
|
||||||
def do_host_servers_migrate(cs, args):
|
def do_host_servers_migrate(cs, args):
|
||||||
"""Migrate all instances of the specified host to other available hosts."""
|
"""Cold migrate all instances off the specified host to other available
|
||||||
|
hosts.
|
||||||
|
"""
|
||||||
hypervisors = cs.hypervisors.search(args.host, servers=True)
|
hypervisors = cs.hypervisors.search(args.host, servers=True)
|
||||||
response = []
|
response = []
|
||||||
for hyper in hypervisors:
|
for hyper in hypervisors:
|
||||||
|
Loading…
Reference in New Issue
Block a user