summaryrefslogtreecommitdiff
path: root/doc/source/command-objects
diff options
context:
space:
mode:
authorRichard Theis <rtheis@us.ibm.com>2016-04-04 16:20:20 -0500
committerRichard Theis <rtheis@us.ibm.com>2016-04-11 10:05:24 -0500
commita5a9caea2b06a69953f692289866e59f52d78a4c (patch)
tree9c82d9603791f1f9b955438de63fa45215c5ec82 /doc/source/command-objects
parent3a3f33b9265b63b681727f220d26286c763e67e3 (diff)
downloadpython-openstackclient-a5a9caea2b06a69953f692289866e59f52d78a4c.tar.gz
Add project options to security group rule create
Add the --project and --project-domain options to the 'os security group rule create' command. These options are for Network v2 only. Change-Id: Ie3e136be076f0f2c22fbe7048d1d6eaebf5aa655 Partial-Bug: #1519512 Implements: blueprint neutron-client
Diffstat (limited to 'doc/source/command-objects')
-rw-r--r--doc/source/command-objects/security-group-rule.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/source/command-objects/security-group-rule.rst b/doc/source/command-objects/security-group-rule.rst
index 9aa82cd3..2f212e5e 100644
--- a/doc/source/command-objects/security-group-rule.rst
+++ b/doc/source/command-objects/security-group-rule.rst
@@ -18,6 +18,7 @@ Create a new security group rule
[--dst-port <port-range>]
[--ingress | --egress]
[--ethertype <ethertype>]
+ [--project <project> [--project-domain <project-domain>]]
<group>
.. option:: --proto <proto>
@@ -56,6 +57,19 @@ Create a new security group rule
*Network version 2 only*
+.. option:: --project <project>
+
+ Owner's project (name or ID)
+
+ *Network version 2 only*
+
+.. option:: --project-domain <project-domain>
+
+ Domain the project belongs to (name or ID).
+ This can be used in case collisions between project names exist.
+
+ *Network version 2 only*
+
.. describe:: <group>
Create rule in this security group (name or ID)