← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1465614] [NEW] "--protocol None" is rejected in security-group-rule-create

 

Public bug reported:

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.

However, neutron-server rejects "None" for protocol.

% neutron security-group-rule-create --protocol None bar
Security group rule protocol None not supported. Only protocol values [None, 'tcp', 'udp', 'icmp', 'icmpv6'] and integer representations [0 to 255] are supported.

I think this behavior is confusing.

** Affects: neutron
     Importance: Undecided
     Assignee: Masaki Matsushita (mmasaki)
         Status: In Progress

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1465614

Title:
  "--protocol None" is rejected in security-group-rule-create

Status in OpenStack Neutron (virtual network service):
  In Progress

Bug description:
  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.

  However, neutron-server rejects "None" for protocol.

  % neutron security-group-rule-create --protocol None bar
  Security group rule protocol None not supported. Only protocol values [None, 'tcp', 'udp', 'icmp', 'icmpv6'] and integer representations [0 to 255] are supported.

  I think this behavior is confusing.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1465614/+subscriptions


Follow ups

References