diff options
| author | Cao Xuan Hoang <hoangcx@vn.fujitsu.com> | 2016-08-18 16:50:52 +0700 |
|---|---|---|
| committer | Cao Xuan Hoang <hoangcx@vn.fujitsu.com> | 2016-09-20 10:12:42 +0700 |
| commit | 4265002e599af332f2e6288814dcaefa0dcb1be0 (patch) | |
| tree | ef94ff6bd258aaf9585f6a3178e908b01e90e840 /doc/source/command-objects | |
| parent | 7e990ba1e2ae0ecb804287212797ebad84d7b56b (diff) | |
| download | python-openstackclient-4265002e599af332f2e6288814dcaefa0dcb1be0.tar.gz | |
Add 'description' option to os subnet (pool) create/set cmd
This patch adds '--description' option to the commands.
Change-Id: Ifc2828670c3c48a87a0493d98686a5babf9b2ae7
Closes-Bug: #1614458
Closes-Bug: #1614823
Partially-Implements: blueprint network-commands-options
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/subnet-pool.rst | 10 | ||||
| -rw-r--r-- | doc/source/command-objects/subnet.rst | 9 |
2 files changed, 19 insertions, 0 deletions
diff --git a/doc/source/command-objects/subnet-pool.rst b/doc/source/command-objects/subnet-pool.rst index 005b8357..b59cd286 100644 --- a/doc/source/command-objects/subnet-pool.rst +++ b/doc/source/command-objects/subnet-pool.rst @@ -19,6 +19,7 @@ Create subnet pool [--default-prefix-length <default-prefix-length>] [--min-prefix-length <min-prefix-length>] [--max-prefix-length <max-prefix-length>] + [--description <description>] [--project <project> [--project-domain <project-domain>]] [--address-scope <address-scope>] [--default | --no-default] @@ -38,6 +39,10 @@ Create subnet pool Set subnet pool maximum prefix length +.. option:: --description <description> + + Set subnet pool description + .. option:: --project <project> Owner's project (name or ID) @@ -125,6 +130,7 @@ Set subnet pool properties [--max-prefix-length <max-prefix-length>] [--address-scope <address-scope> | --no-address-scope] [--default | --no-default] + [--description <description>] <subnet-pool> .. option:: --name <name> @@ -165,6 +171,10 @@ Set subnet pool properties Set this as a non-default subnet pool +.. option:: --description <description> + + Set subnet pool description + .. _subnet_pool_set-subnet-pool: .. describe:: <subnet-pool> diff --git a/doc/source/command-objects/subnet.rst b/doc/source/command-objects/subnet.rst index 4566d74d..35a76553 100644 --- a/doc/source/command-objects/subnet.rst +++ b/doc/source/command-objects/subnet.rst @@ -26,6 +26,7 @@ Create new subnet [--gateway <gateway>] [--host-route destination=<subnet>,gateway=<ip-address>] [--ip-version {4,6}] + [--description <description>] [--ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}] [--ipv6-address-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}] [--network-segment <network-segment>] @@ -100,6 +101,10 @@ Create new subnet IP version is determined from the subnet pool and this option is ignored. +.. option:: --description <description> + + Set subnet description + .. option:: --ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac} IPv6 RA (Router Advertisement) mode, @@ -202,6 +207,7 @@ Set subnet properties [--host-route destination=<subnet>,gateway=<ip-address>] [--service-type <service-type>] [--name <new-name>] + [--description <description>] <subnet> .. option:: --allocation-pool start=<ip-address>,end=<ip-address> @@ -243,6 +249,9 @@ Set subnet properties ``network:floatingip_agent_gateway``. Must be a valid device owner value for a network port (repeat option to set multiple service types) +.. option:: --description <description> + + Set subnet description .. option:: --name |
