aboutsummaryrefslogtreecommitdiffstats
path: root/docs/platform/cli-userguide/register_all_clouds/index.rst
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-09-25 10:22:32 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-09-26 09:57:04 +0800
commit2502331b4dbd34a877424c32729072d634c945e1 (patch)
treee3bba4658cfb82d3db0c629daff0af656eec5be3 /docs/platform/cli-userguide/register_all_clouds/index.rst
parent6d9042a3d2a95fce731e1f8afa86d9050d62f0ee (diff)
update part of cli command guide about vfc test
Change-Id: I9976923abea976e12d092a752de3b38a2d316b99 Issue-ID: VFC-1524 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docs/platform/cli-userguide/register_all_clouds/index.rst')
-rw-r--r--docs/platform/cli-userguide/register_all_clouds/index.rst33
1 files changed, 33 insertions, 0 deletions
diff --git a/docs/platform/cli-userguide/register_all_clouds/index.rst b/docs/platform/cli-userguide/register_all_clouds/index.rst
new file mode 100644
index 00000000..34f978bf
--- /dev/null
+++ b/docs/platform/cli-userguide/register_all_clouds/index.rst
@@ -0,0 +1,33 @@
+Cli Regist Clouds Command Guide
+===============================
+
+1. Register-all-clouds
+----------------------
+
+::
+
+ usage: oclip cloud-create
+ Create a cloud region in Onap
+ Options:
+ [-e | --esr-id] [-V | --verify] [-f | --format]
+ [-h | --help] [-t | --no-title] [-v | --version]
+ [-c | --cloud-domain] [-s | --long] [-b | --user-name]
+ [-r | --owner-type] [-S | --sriov-automation] [-I | --extra-info]
+ [-x | --cloud-owner] [-Q | --system-type] [-y | --region-name]
+ [-j | --password] [-a | --no-auth] [-w | --cloud-region-version]
+ [-p | --host-password] [-m | --host-url] [-C | --no-catalog]
+ [-i | --identity-url] [-d | --debug] [-g | --cloud-zone]
+ [-l | --default-tenant] [-url | --service-url] [-n | --complex-name]
+ [-q | --cloud-type] [-D | --context] [-z | --ssl-insecure]
+ [-k | --system-status] [-u | --host-username]
+ Error:
+ On error, it prints <STATUS CODE>::<ERROR CODE>::<ERROR MESSAGE>
+ For example:
+ 'oclip cloud-create -e {} -b {} -I {{\\\\\\"openstack-region-id\\\\\\":\\\\\\"{}\\\\\\"}} \
+ -x {} -y {} -j {} -w {} -l {} -url {} -n {} -q {} -r {} -Q {} -i {} -g {} -z {} -k {} -c {} -m {} -u {} -p {}'.format(
+ values.get("esr-system-info-id"), values.get("user-name"), cloud_region, parameters["cloud-owner"], \
+ cloud_region, values.get("password"), values.get("cloud-region-version"), values.get("default-tenant"), \
+ values.get("service-url"), parameters["complex_name"], values.get("cloud-type"), parameters["owner-defined-type"], \
+ values.get("system-type"), values.get("identity-url"), parameters["cloud-zone"], values.get("ssl-insecure"), \
+ values.get("system-status"), values.get("cloud-domain"), parameters["aai_url"], parameters["aai_username"], \
+ parameters["aai_password"]) \ No newline at end of file