From 3a3f33b9265b63b681727f220d26286c763e67e3 Mon Sep 17 00:00:00 2001 From: Richard Theis Date: Thu, 31 Mar 2016 16:19:20 -0500 Subject: Add network options to security group rule create Add the following network options to the "os security group rule" command: (1) --ingress and --egress (2) --ethertype These options enable egress and IPv6 security group rules for Network v2. Change-Id: Ie30b5e95f94e0c087b0ce81e518de72d2dda25ad Partial-Bug: #1519512 Implements: blueprint neutron-client --- doc/source/command-objects/security-group-rule.rst | 23 +++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'doc/source/command-objects') diff --git a/doc/source/command-objects/security-group-rule.rst b/doc/source/command-objects/security-group-rule.rst index fa07c377..9aa82cd3 100644 --- a/doc/source/command-objects/security-group-rule.rst +++ b/doc/source/command-objects/security-group-rule.rst @@ -16,6 +16,8 @@ Create a new security group rule [--proto ] [--src-ip | --src-group ] [--dst-port ] + [--ingress | --egress] + [--ethertype ] .. option:: --proto @@ -24,7 +26,8 @@ Create a new security group rule .. option:: --src-ip - Source IP address block (may use CIDR notation; default: 0.0.0.0/0) + Source IP address block + (may use CIDR notation; default for IPv4 rule: 0.0.0.0/0) .. option:: --src-group @@ -35,6 +38,24 @@ Create a new security group rule Destination port, may be a single port or port range: 137:139 (only required for IP protocols tcp and udp) +.. option:: --ingress + + Rule applies to incoming network traffic (default) + + *Network version 2 only* + +.. option:: --egress + + Rule applies to outgoing network traffic + + *Network version 2 only* + +.. option:: --ethertype + + Ethertype of network traffic (IPv4, IPv6; default: IPv4) + + *Network version 2 only* + .. describe:: Create rule in this security group (name or ID) -- cgit v1.2.1