yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #42992
[Bug 1523835] [NEW] Call fun _ip_prefix_arg twice but only one play a role
Public bug reported:
In file neutron/agent/linux/iptables_firewall.py, when exec fun
_generate_plain_rule_args(self, sg_rule) for sg_rule using remote_ip,
the fun _ip_prefix_arg was called twice for 'source_ip_prefix' and
'source_ip_prefix'.
But for a sg_rule with direction, the ingress sg_rule only need:
_ip_prefix_arg('s', sg_rule.get('source_ip_prefix'))
The egress_rule only need:
_ip_prefix_arg('d', sg_rule.get('dest_ip_prefix'))
** Affects: neutron
Importance: Undecided
Assignee: yujie (16189455-d)
Status: New
** Changed in: neutron
Assignee: (unassigned) => yujie (16189455-d)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1523835
Title:
Call fun _ip_prefix_arg twice but only one play a role
Status in neutron:
New
Bug description:
In file neutron/agent/linux/iptables_firewall.py, when exec fun
_generate_plain_rule_args(self, sg_rule) for sg_rule using remote_ip,
the fun _ip_prefix_arg was called twice for 'source_ip_prefix' and
'source_ip_prefix'.
But for a sg_rule with direction, the ingress sg_rule only need:
_ip_prefix_arg('s', sg_rule.get('source_ip_prefix'))
The egress_rule only need:
_ip_prefix_arg('d', sg_rule.get('dest_ip_prefix'))
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1523835/+subscriptions
Follow ups