summaryrefslogtreecommitdiff
path: root/functional
diff options
context:
space:
mode:
authorRichard Theis <rtheis@us.ibm.com>2016-03-31 16:19:20 -0500
committerRichard Theis <rtheis@us.ibm.com>2016-04-11 09:49:21 -0500
commit3a3f33b9265b63b681727f220d26286c763e67e3 (patch)
treef5a2166cda91762e90999e90b068a822c6434841 /functional
parentcba37d0031696a908df5229e6fc39b3a08aa47f4 (diff)
downloadpython-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 'functional')
-rw-r--r--functional/tests/network/v2/test_security_group_rule.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functional/tests/network/v2/test_security_group_rule.py b/functional/tests/network/v2/test_security_group_rule.py
index 9c0b66e8..26e6e0e4 100644
--- a/functional/tests/network/v2/test_security_group_rule.py
+++ b/functional/tests/network/v2/test_security_group_rule.py
@@ -38,6 +38,7 @@ class SecurityGroupRuleTests(test.TestCase):
raw_output = cls.openstack('security group rule create ' +
cls.SECURITY_GROUP_NAME +
' --proto tcp --dst-port 80:80' +
+ ' --ingress --ethertype IPv4' +
opts)
cls.SECURITY_GROUP_RULE_ID = raw_output.strip('\n')