From 3a3f33b9265b63b681727f220d26286c763e67e3 Mon Sep 17 00:00:00 2001 From: Richard Theis Date: Thu, 31 Mar 2016 16:19:20 -0500 Subject: 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 --- functional/tests/network/v2/test_security_group_rule.py | 1 + 1 file changed, 1 insertion(+) (limited to 'functional/tests') 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') -- cgit v1.2.1