summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-05-11 06:42:25 +0000
committerGerrit Code Review <review@openstack.org>2016-05-11 06:42:25 +0000
commit2aa99b4d502960754ef70631ad2d027a69f28f26 (patch)
tree0b6db840e3145ecb7ed53c673f1beea21faec5bd /doc/source
parente0573d34ebb1dee9bd6d95df50e2fe1e9615ed46 (diff)
parent98bee08e0ff9bd0eae185265d20ee3b40a12efd4 (diff)
downloadpython-openstackclient-2aa99b4d502960754ef70631ad2d027a69f28f26.tar.gz
Merge "Implement "address scope create" command"
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/command-objects/address-scope.rst48
-rw-r--r--doc/source/commands.rst1
2 files changed, 49 insertions, 0 deletions
diff --git a/doc/source/command-objects/address-scope.rst b/doc/source/command-objects/address-scope.rst
new file mode 100644
index 00000000..d7eac283
--- /dev/null
+++ b/doc/source/command-objects/address-scope.rst
@@ -0,0 +1,48 @@
+=============
+address scope
+=============
+
+An **address scope** is a scope of IPv4 or IPv6 addresses that belongs
+to a given project and may be shared between projects.
+
+Network v2
+
+address scope create
+--------------------
+
+Create new address scope
+
+.. program:: address scope create
+.. code:: bash
+
+ os address scope create
+ [--project <project> [--project-domain <project-domain>]]
+ [--ip-version <ip-version>]
+ [--share | --no-share]
+ <name>
+
+.. option:: --project <project>
+
+ Owner's project (name or ID)
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
+.. option:: --ip-version <ip-version>
+
+ IP version (4 or 6, default is 4)
+
+.. option:: --share
+
+ Share the address scope between projects
+
+.. option:: --no-share
+
+ Do not share the address scope between projects (default)
+
+.. _address_scope_create-name:
+.. describe:: <name>
+
+ New address scope name
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index da5604fe..7e6e5589 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -70,6 +70,7 @@ the API resources will be merged, as in the ``quota`` object that has options
referring to both Compute and Volume quotas.
* ``access token``: (**Identity**) long-lived OAuth-based token
+* ``address scope``: (**Network**) a scope of IPv4 or IPv6 addresses
* ``aggregate``: (**Compute**) a grouping of compute hosts
* ``availability zone``: (**Compute**, **Network**, **Volume**) a logical partition of hosts or block storage or network services
* ``backup``: (**Volume**) a volume copy