diff options
| author | Nam Nguyen Hoai <namnh@vn.fujitsu.com> | 2016-08-17 13:40:52 +0700 |
|---|---|---|
| committer | Ha Van Tu <tuhv@vn.fujitsu.com> | 2016-10-14 02:59:07 +0000 |
| commit | 291b66e983dd4652839be0dd765616b65fd4c54b (patch) | |
| tree | 01a6425e9b1d8fb48baf1eebf7e84406a812f98d /doc/source/command-objects | |
| parent | 43d1646058a5faa917f2e7ed073c710180da8bd3 (diff) | |
| download | python-openstackclient-291b66e983dd4652839be0dd765616b65fd4c54b.tar.gz | |
Add direction and protocol options to os security group rule list cmd
This patch added direction options (--ingress, --egress) and protocol
option (--protocol) to filter rules by os security group rule list command.
Change-Id: I56ace3f97eb927fd2a868f728c7347a29d028b67
Closes-Bug: #1613533
Partially-Implements: blueprint network-commands-options
Diffstat (limited to 'doc/source/command-objects')
| -rw-r--r-- | doc/source/command-objects/security-group-rule.rst | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/source/command-objects/security-group-rule.rst b/doc/source/command-objects/security-group-rule.rst index 5284b2dc..69869dc1 100644 --- a/doc/source/command-objects/security-group-rule.rst +++ b/doc/source/command-objects/security-group-rule.rst @@ -126,6 +126,8 @@ List security group rules os security group rule list [--all-projects] + [--protocol <protocol>] + [--ingress | --egress] [--long] [<group>] @@ -142,6 +144,28 @@ List security group rules *Compute version 2 does not have additional fields to display.* + +.. option:: --protocol + + List rules by the IP protocol (ah, dhcp, egp, esp, gre, icmp, igmp, + ipv6-encap, ipv6-frag, ipv6-icmp, ipv6-nonxt,ipv6-opts, ipv6-route, + ospf, pgm, rsvp, sctp, tcp, udp, udplite, vrrp and integer + representations [0-255]) + + *Network version 2* + +.. option:: --ingress + + List rules applied to incoming network traffic + + *Network version 2 only* + +.. option:: --egress + + List rules applied to outgoing network traffic + + *Network version 2 only* + .. describe:: <group> List all rules in this security group (name or ID) |
