diff options
| author | Richard Theis <rtheis@us.ibm.com> | 2016-03-31 16:19:20 -0500 |
|---|---|---|
| committer | Richard Theis <rtheis@us.ibm.com> | 2016-04-11 09:49:21 -0500 |
| commit | 3a3f33b9265b63b681727f220d26286c763e67e3 (patch) | |
| tree | f5a2166cda91762e90999e90b068a822c6434841 /doc/source/command-objects | |
| parent | cba37d0031696a908df5229e6fc39b3a08aa47f4 (diff) | |
| download | python-openstackclient-3a3f33b9265b63b681727f220d26286c763e67e3.tar.gz | |
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
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/security-group-rule.rst | 23 |
1 files changed, 22 insertions, 1 deletions
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 <proto>] [--src-ip <ip-address> | --src-group <group>] [--dst-port <port-range>] + [--ingress | --egress] + [--ethertype <ethertype>] <group> .. option:: --proto <proto> @@ -24,7 +26,8 @@ Create a new security group rule .. option:: --src-ip <ip-address> - 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 <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> + + Ethertype of network traffic (IPv4, IPv6; default: IPv4) + + *Network version 2 only* + .. describe:: <group> Create rule in this security group (name or ID) |
