yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47095
[Bug 1551163] Re: confusion on security group rules on icmp setting
** Changed in: neutron
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1551163
Title:
confusion on security group rules on icmp setting
Status in neutron:
Invalid
Bug description:
-------
Request body: {u'security_group_rule': {u'remote_group_id': None, u'direction': u'ingress', u'protocol': u'icmp', u'ethertype': u'IPv4', u'port_range_max': None, u'security_group_id': u'b2f57cd6-e466-4e92-9670-571334188394', u'port_range_min': None, u'remote_ip_prefix': u'0.0.0.0/0'}} from (pid=13486) prepare_request_body /opt/stack/neutron/neutron/api/v2/base.py:654
will create rules
0 0 RETURN icmp -- * * 0.0.0.0/0
0.0.0.0/0 icmptype 0 code 0
------
Request body: {u'security_group_rule': {u'remote_group_id': None,
u'direction': u'ingress', u'protocol': u'icmp', u'remote_ip_prefix':
u'0.0.0.0/0', u'port_range_max': u'0', u'security_group_id': u
'2a5124cf-527d-4812-8d1a-17b78dee0cea', u'port_range_min': u'0',
u'ethertype': u'IPv4'}} from (pid=13486) prepare_request_body
/opt/stack/neutron/neutron/api/v2/base.py:654
will create rules
1 84 RETURN icmp -- * * 0.0.0.0/0 0.0.0.0/0
----
the difference is that the input arg in request: 'port_range_max': '0' or 'None', I guess it's a bug, we need clear definition on the arg in API.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1551163/+subscriptions
References