diff options
| author | Richard Theis <rtheis@us.ibm.com> | 2015-12-04 16:37:40 -0600 |
|---|---|---|
| committer | Richard Theis <rtheis@us.ibm.com> | 2015-12-07 12:42:10 -0600 |
| commit | 566388ab1eddd339b054c2046d41e2b01476f4e2 (patch) | |
| tree | 5cd6bd9c4c4a0e0f6dfb00f1bf24119f66aafabf /doc/source/command-objects | |
| parent | a207c27fc87595d8f59bb29436b7ccb2243a5682 (diff) | |
| download | python-openstackclient-566388ab1eddd339b054c2046d41e2b01476f4e2.tar.gz | |
Add source security group support to create rule
The 'security group rule create' command was updated to support a
source security group. Now either a source IP address block or source
security group can be specified when creating a rule. The default
remains the same.
Change-Id: If57de2871810caddeeaee96482eb34146968e173
Closes-Bug: #1522969
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/security-group-rule.rst | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/source/command-objects/security-group-rule.rst b/doc/source/command-objects/security-group-rule.rst index 8bd0d061..ce2e4d34 100644 --- a/doc/source/command-objects/security-group-rule.rst +++ b/doc/source/command-objects/security-group-rule.rst @@ -14,7 +14,7 @@ Create a new security group rule os security group rule create [--proto <proto>] - [--src-ip <ip-address>] + [--src-ip <ip-address> | --src-group <group>] [--dst-port <port-range>] <group> @@ -24,7 +24,11 @@ Create a new security group rule .. option:: --src-ip <ip-address> - Source IP (may use CIDR notation; default: 0.0.0.0/0) + Source IP address block (may use CIDR notation; default: 0.0.0.0/0) + +.. option:: --src-group <group> + + Source security group (ID only) .. option:: --dst-port <port-range> |
