diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-08 20:54:36 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-08 20:54:36 +0000 |
| commit | b4307b1ef61e957536dd1a77e459a5343c367064 (patch) | |
| tree | 947389e0e7ebaceb507c594d0c403d82343d6074 /doc/source/command-objects | |
| parent | 085bc5255d8537cba9aded23e492c11b9d265c8b (diff) | |
| parent | cf9ad08ab6fd5e6ed5f68208a39b0014b0af5f8a (diff) | |
| download | python-openstackclient-b4307b1ef61e957536dd1a77e459a5343c367064.tar.gz | |
Merge "Add Subnet service-types to subnets"
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/subnet.rst | 31 |
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> |
