From 63685718f2b36c89cf21b76e24e201ca66773b3c Mon Sep 17 00:00:00 2001 From: thorking Date: Thu, 16 Jul 2015 10:43:57 +0800 Subject: [PATCH] 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 --- .../compute/section_compute-cells.xml | 37 ++++++++++++------- 1 file changed, 24 insertions(+), 13 deletions(-) diff --git a/doc/config-reference/compute/section_compute-cells.xml b/doc/config-reference/compute/section_compute-cells.xml index 99787d6f65..ede2d8c975 100644 --- a/doc/config-reference/compute/section_compute-cells.xml +++ b/doc/config-reference/compute/section_compute-cells.xml @@ -145,24 +145,35 @@ cell_type = compute Use the nova-manage cell create command to add this information to the database in each cell:# nova-manage cell create -h -Options: +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 - --name=<name> Name for the new cell - --cell_type=<parent|child> - Whether the cell is a parent or child - --username=<username> + --name <name> Name for the new cell + --cell_type <parent|api|child|compute> + Whether the cell is parent/api or child/compute + --username <username> Username for the message broker in this cell - --password=<password> + --password <password> 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 - --port=<number> Port number of the message broker in this cell - --virtual_host=<virtual_host> + --port <number> Port number of the message broker in this cell + --virtual_host <virtual_host> The virtual host of the message broker in this cell - --woffset=<float> - (weight offset) It might be used by some cell scheduling code in the future - --wscale=<float> - (weight scale) It might be used by some cell scheduling code in the future + --woffset <float> + --wscale <float> As an example, assume an API cell named api and a child cell named cell1.