Merge "Add trunk subports to be one of dvr serviced device owners" into stable/rocky

changes/91/720691/1
Zuul 2 years ago committed by Gerrit Code Review
commit e1c0b8dd43
  1. 4
      neutron/common/utils.py

@ -46,6 +46,7 @@ import neutron
from neutron._i18n import _
from neutron.api import api_common
from neutron.db import api as db_api
from neutron.services.trunk import constants as trunk_constants
TIME_FORMAT = "%Y-%m-%dT%H:%M:%SZ"
LOG = logging.getLogger(__name__)
@ -169,7 +170,8 @@ def get_other_dvr_serviced_device_owners(host_dvr_for_dhcp=True):
separately (see is_dvr_serviced() below)
"""
device_owners = [n_const.DEVICE_OWNER_LOADBALANCER,
n_const.DEVICE_OWNER_LOADBALANCERV2]
n_const.DEVICE_OWNER_LOADBALANCERV2,
trunk_constants.TRUNK_SUBPORT_OWNER]
if host_dvr_for_dhcp:
device_owners.append(n_const.DEVICE_OWNER_DHCP)
return device_owners

Loading…
Cancel
Save