yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #38268
[Bug 1470051] Re: Make security-group-rule-create accept "any" protocol
It seems you are talking about the neutronclient options.
In the FWaaS API, there is no definition in "any".
In neutronclient code (fw/firewallrule.py), there is the following code:
protocol = parsed_args.protocol
if protocol == 'any':
protocol = None
Thus, this bug report is related to neutronclient side.
** Project changed: neutron => python-neutronclient
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1470051
Title:
Make security-group-rule-create accept "any" protocol
Status in python-neutronclient:
Incomplete
Bug description:
Related Bug: https://bugs.launchpad.net/python-
neutronclient/+bug/1469642
When invalid protocol specified in security-group-rule-create, neutron
server returns "protocol values [None, 'tcp', 'udp', 'icmp', 'icmpv6']
are supported" as below:
% neutron security-group-rule-create --protocol foo bar
Security group rule protocol foo not supported. Only protocol values [None, 'tcp', 'udp', 'icmp', 'icmpv6'] and integer representations [0 to 255] are supported.
I think "None" to specify any protocols is confusing and inconsistent
with FWaaS CLI options (it accepts "any" protocol).
To manage notifications about this bug go to:
https://bugs.launchpad.net/python-neutronclient/+bug/1470051/+subscriptions
References