Public bug reported:

## 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)

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: l3-dvr-backlog lbaas

** Tags added: l3-dvr-backlog lbaas

-- 
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:
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to