← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1290252] Re: Router RA rule need to be updated when router is created after VM port

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => juno-2

-- 
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):
  Fix Released

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


References