← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1493809] Re: loadbalancer V2 ports are not serviced by DVR

 

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

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

Title:
  loadbalancer V2 ports are not serviced by DVR

Status in neutron:
  Fix Released
Status in neutron kilo series:
  Fix Released

Bug description:
  
  ## common/constants.py
  DEVICE_OWNER_LOADBALANCER = "neutron:LOADBALANCER"
  DEVICE_OWNER_LOADBALANCERV2 = "neutron:LOADBALANCERV2"

  
  ## common/utils.py
  def is_dvr_serviced(device_owner):
      """Check if the port need to be serviced by DVR

      Helper function to check the device owners of the
      ports in the compute and service node to make sure
      if they are required for DVR or any service directly or
      indirectly associated with DVR.
      """
      dvr_serviced_device_owners = (q_const.DEVICE_OWNER_LOADBALANCER,
                                    q_const.DEVICE_OWNER_DHCP)
      return (device_owner.startswith('compute:') or
              device_owner in dvr_serviced_device_owners)

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


References