yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #11305
[Bug 1290252] [NEW] Router RA rule need to be updated when router is created after VM port
Public bug reported:
Router RA rule is added to compute node to allow VM to accept RA from
router interface on network node. However, this is only added when
router port which sends RA is created before VM port is created.
We should add trigger to allow RA from router port when router port is
created after VM port is created.
Looking at the code, we can change notify_security_groups_member_updated in securitygroups_rpc_base.py from
if port['device_owner'] == q_const.DEVICE_OWNER_DHCP:
self.notifier.security_groups_provider_updated(context)
else:
self.notifier.security_groups_member_updated(
context, port.get(ext_sg.SECURITYGROUPS))
To:
if port['device_owner'] in [q_const.DEVICE_OWNER_DHCP,
q_const.DEVICE_OWNER_ROUTER_INTF]:
self.notifier.security_groups_provider_updated(context)
else:
self.notifier.security_groups_member_updated(
context, port.get(ext_sg.SECURITYGROUPS))
To get provider rule update triggered when route port is created.
** Affects: neutron
Importance: Undecided
Assignee: Xu Han Peng (xuhanp)
Status: New
** Tags: ipv6
** Changed in: neutron
Assignee: (unassigned) => Xu Han Peng (xuhanp)
** Tags added: ipv6
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1290252
Title:
Router RA rule need to be updated when router is created after VM port
Status in OpenStack Neutron (virtual network service):
New
Bug description:
Router RA rule is added to compute node to allow VM to accept RA from
router interface on network node. However, this is only added when
router port which sends RA is created before VM port is created.
We should add trigger to allow RA from router port when router port is
created after VM port is created.
Looking at the code, we can change notify_security_groups_member_updated in securitygroups_rpc_base.py from
if port['device_owner'] == q_const.DEVICE_OWNER_DHCP:
self.notifier.security_groups_provider_updated(context)
else:
self.notifier.security_groups_member_updated(
context, port.get(ext_sg.SECURITYGROUPS))
To:
if port['device_owner'] in [q_const.DEVICE_OWNER_DHCP,
q_const.DEVICE_OWNER_ROUTER_INTF]:
self.notifier.security_groups_provider_updated(context)
else:
self.notifier.security_groups_member_updated(
context, port.get(ext_sg.SECURITYGROUPS))
To get provider rule update triggered when route port is created.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1290252/+subscriptions
Follow ups
References