Browse Source

Adding the router code back

IT got removed in previous commit

Change-Id: I52449794361a23d4a271244ea6e5180cf28e589d
changes/31/671531/1
saiprasannasastry 2 years ago
parent
commit
7ed8c3b451
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      networking_infoblox/neutron/common/constants.py

+ 4
- 0
networking_infoblox/neutron/common/constants.py View File

@ -160,6 +160,8 @@ IS_DEFAULT = 'is_default'
NEUTRON_DEVICE_OWNER_TO_PATTERN_MAP = {
n_const.DEVICE_OWNER_DHCP: 'dhcp-port-{ip_address}',
n_const.DEVICE_OWNER_ROUTER_INTF: 'router-iface-{ip_address}',
n_const.DEVICE_OWNER_ROUTER_HA_INTF: 'router-ha-iface-{ip_address}',
n_const.DEVICE_OWNER_HA_REPLICATED_INT: 'router-ha-iface-{ip_address}',
n_const.DEVICE_OWNER_ROUTER_GW: 'router-gw-{ip_address}',
n_const.DEVICE_OWNER_FLOATINGIP: 'floating-ip-{ip_address}',
'neutron:' + p_const.LOADBALANCER: 'lb-vip-{ip_address}'
@ -168,6 +170,8 @@ NEUTRON_DEVICE_OWNER_TO_PATTERN_MAP = {
NEUTRON_INTERNAL_SERVICE_DEVICE_OWNERS = [
n_const.DEVICE_OWNER_DHCP,
n_const.DEVICE_OWNER_ROUTER_INTF,
n_const.DEVICE_OWNER_ROUTER_HA_INTF,
n_const.DEVICE_OWNER_HA_REPLICATED_INT,
n_const.DEVICE_OWNER_ROUTER_GW,
'neutron:' + p_const.LOADBALANCER
]


Loading…
Cancel
Save