Change cell_type values in nova-manage
Modify 'nova-manage cell create' desciption can support parent, child, api and compute. Change-Id: I9654efba180a8c793a82302783caf3442f06e5eb Closes-Bug: 1418203
This commit is contained in:
parent
d4544afaa9
commit
63685718f2
@ -145,24 +145,35 @@ cell_type = compute</programlisting></para>
|
|||||||
<para>Use the <command>nova-manage cell create</command>
|
<para>Use the <command>nova-manage cell create</command>
|
||||||
command to add this information to the database in each
|
command to add this information to the database in each
|
||||||
cell:<screen><prompt>#</prompt> <userinput>nova-manage cell create -h</userinput>
|
cell:<screen><prompt>#</prompt> <userinput>nova-manage cell create -h</userinput>
|
||||||
<computeroutput>Options:
|
<computeroutput>usage: nova-manage cell create [-h] [--name <name>]
|
||||||
|
[--cell_type <parent|api|child|compute>]
|
||||||
|
[--username <username>] [--password <password>]
|
||||||
|
[--broker_hosts <broker_hosts>]
|
||||||
|
[--hostname <hostname>] [--port <number>]
|
||||||
|
[--virtual_host <virtual_host>]
|
||||||
|
[--woffset <float>] [--wscale <float>]
|
||||||
|
|
||||||
|
optional arguments:
|
||||||
-h, --help show this help message and exit
|
-h, --help show this help message and exit
|
||||||
--name=<name> Name for the new cell
|
--name <name> Name for the new cell
|
||||||
--cell_type=<parent|child>
|
--cell_type <parent|api|child|compute>
|
||||||
Whether the cell is a parent or child
|
Whether the cell is parent/api or child/compute
|
||||||
--username=<username>
|
--username <username>
|
||||||
Username for the message broker in this cell
|
Username for the message broker in this cell
|
||||||
--password=<password>
|
--password <password>
|
||||||
Password for the message broker in this cell
|
Password for the message broker in this cell
|
||||||
--hostname=<hostname>
|
--broker_hosts <broker_hosts>
|
||||||
|
Comma separated list of message brokers in this cell.
|
||||||
|
Each Broker is specified as hostname:port with both
|
||||||
|
mandatory. This option overrides the --hostname and
|
||||||
|
--port options (if provided).
|
||||||
|
--hostname <hostname>
|
||||||
Address of the message broker in this cell
|
Address of the message broker in this cell
|
||||||
--port=<number> Port number of the message broker in this cell
|
--port <number> Port number of the message broker in this cell
|
||||||
--virtual_host=<virtual_host>
|
--virtual_host <virtual_host>
|
||||||
The virtual host of the message broker in this cell
|
The virtual host of the message broker in this cell
|
||||||
--woffset=<float>
|
--woffset <float>
|
||||||
(weight offset) It might be used by some cell scheduling code in the future
|
--wscale <float></computeroutput></screen></para>
|
||||||
--wscale=<float>
|
|
||||||
(weight scale) It might be used by some cell scheduling code in the future</computeroutput></screen></para>
|
|
||||||
<para>As an example, assume an API cell named
|
<para>As an example, assume an API cell named
|
||||||
<literal>api</literal> and a child cell named
|
<literal>api</literal> and a child cell named
|
||||||
<literal>cell1</literal>.</para>
|
<literal>cell1</literal>.</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user