From cf9ad08ab6fd5e6ed5f68208a39b0014b0af5f8a Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Fri, 15 Jul 2016 13:20:10 -0400 Subject: 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 --- doc/source/command-objects/subnet.rst | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'doc/source/command-objects') 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 ] + [--service-type ] --network @@ -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 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 this subnet belongs to (name or ID) @@ -171,6 +179,13 @@ List subnets List subnets which have DHCP disabled +.. option:: --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 ] [--gateway ] [--host-route destination=,gateway=] + [--service-type ] [--name ] @@ -221,6 +237,13 @@ Set subnet properties gateway: nexthop IP address (repeat option to add multiple routes) +.. option:: --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=,end= [...]] [--dns-nameserver [...]] [--host-route destination=,gateway= [...]] + [--service-type ] .. option:: --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 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:: -- cgit v1.2.1