summaryrefslogtreecommitdiff
path: root/doc/source/command-objects/subnet.rst
diff options
context:
space:
mode:
authorBrian Haley <brian.haley@hpe.com>2016-07-15 13:20:10 -0400
committerBrian Haley <brian.haley@hpe.com>2016-08-19 11:05:33 -0400
commitcf9ad08ab6fd5e6ed5f68208a39b0014b0af5f8a (patch)
treee3748429db13d716dc8d96f55453c4ead387c8e5 /doc/source/command-objects/subnet.rst
parent34f5515a329d7bdd9b945e256729cd4c97595201 (diff)
downloadpython-openstackclient-cf9ad08ab6fd5e6ed5f68208a39b0014b0af5f8a.tar.gz
Add Subnet service-types to subnets
Add '--service-type' to subnet arguments to support Subnet service-types. Change-Id: I215d83e4d4cf53e03fa35041c5e41a328641b3a9 Partially-implements: blueprint service-subnets
Diffstat (limited to 'doc/source/command-objects/subnet.rst')
-rw-r--r--doc/source/command-objects/subnet.rst31
1 files changed, 31 insertions, 0 deletions
diff --git a/doc/source/command-objects/subnet.rst b/doc/source/command-objects/subnet.rst
index e8740e53..16092bcd 100644
--- a/doc/source/command-objects/subnet.rst
+++ b/doc/source/command-objects/subnet.rst
@@ -29,6 +29,7 @@ Create new subnet
[--ipv6-ra-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
[--ipv6-address-mode {dhcpv6-stateful,dhcpv6-stateless,slaac}]
[--network-segment <network-segment>]
+ [--service-type <service-type>]
--network <network>
<name>
@@ -116,6 +117,13 @@ Create new subnet
to change. Use global option ``--os-beta-command``
to enable this command option.
+.. option:: --service-type <service-type>
+
+ Service type for this subnet e.g.:
+ ``network:floatingip_agent_gateway``.
+ Must be a valid device owner value for a network port
+ (repeat option to set multiple service types)
+
.. option:: --network <network>
Network this subnet belongs to (name or ID)
@@ -171,6 +179,13 @@ List subnets
List subnets which have DHCP disabled
+.. option:: --service-type <service-type>
+
+ List only subnets of a given service type in output
+ e.g.: ``network:floatingip_agent_gateway``.
+ Must be a valid device owner value for a network port
+ (repeat option to list multiple service types)
+
subnet set
----------
@@ -185,6 +200,7 @@ Set subnet properties
[--dns-nameserver <dns-nameserver>]
[--gateway <gateway-ip>]
[--host-route destination=<subnet>,gateway=<ip-address>]
+ [--service-type <service-type>]
[--name <new-name>]
<subnet>
@@ -221,6 +237,13 @@ Set subnet properties
gateway: nexthop IP address
(repeat option to add multiple routes)
+.. option:: --service-type <service-type>
+
+ Service type for this subnet e.g.:
+ ``network:floatingip_agent_gateway``.
+ Must be a valid device owner value for a network port
+ (repeat option to set multiple service types)
+
.. option:: --name
Updated name of the subnet
@@ -259,6 +282,7 @@ Unset subnet properties
[--allocation-pool start=<ip-address>,end=<ip-address> [...]]
[--dns-nameserver <dns-nameserver> [...]]
[--host-route destination=<subnet>,gateway=<ip-address> [...]]
+ [--service-type <service-type>]
<subnet>
.. option:: --dns-nameserver <dns-nameserver>
@@ -280,6 +304,13 @@ Unset subnet properties
gateway: nexthop IP address
(repeat option to unset multiple host routes)
+.. option:: --service-type <service-type>
+
+ Service type to be removed from this subnet e.g.:
+ ``network:floatingip_agent_gateway``.
+ Must be a valid device owner value for a network port
+ (repeat option to unset multiple service types)
+
.. _subnet_unset-subnet:
.. describe:: <subnet>