summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2016-04-14 19:55:54 +0000
committerGerrit Code Review <review@openstack.org>2016-04-14 19:55:54 +0000
commitef68f23de3886cac3e92a45537d5eb2136ae150a (patch)
tree2748a1e22fdb818af4cfd2efa17819a5910d5dfc /doc
parente1305185d33f0d760de7c665fc2b673b625949e5 (diff)
parent3a3f33b9265b63b681727f220d26286c763e67e3 (diff)
downloadpython-openstackclient-ef68f23de3886cac3e92a45537d5eb2136ae150a.tar.gz
Merge "Add network options to security group rule create"
Diffstat (limited to 'doc')
-rw-r--r--doc/source/command-objects/security-group-rule.rst23
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)