Browse Source

Merge "Use correct device_owner prefix in functional tests"

changes/12/733512/4
Zuul 1 week ago
committed by Gerrit Code Review
parent
commit
8fa0663fc7
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      neutron/tests/functional/services/l3_router/test_l3_dvr_ha_router_plugin.py
  2. +2
    -2
      neutron/tests/functional/services/l3_router/test_l3_dvr_router_plugin.py

+ 1
- 1
neutron/tests/functional/services/l3_router/test_l3_dvr_ha_router_plugin.py View File

@@ -142,7 +142,7 @@ class L3DvrHATestCase(test_l3_dvr_router_plugin.L3DvrTestCase):
arg_list=arg_list,
**{portbindings.HOST_ID: HOST2}), \
self.port(subnet=subnet3,
device_owner=constants.DEVICE_OWNER_NEUTRON_PREFIX,
device_owner=constants.DEVICE_OWNER_NETWORK_PREFIX,
arg_list=arg_list,
**{portbindings.HOST_ID: HOST3}):
# make net external


+ 2
- 2
neutron/tests/functional/services/l3_router/test_l3_dvr_router_plugin.py View File

@@ -1298,7 +1298,7 @@ class L3DvrTestCase(L3DvrTestCaseBase):
arg_list=arg_list,
**{portbindings.HOST_ID: HOST2}),\
self.port(subnet=subnet3,
device_owner=constants.DEVICE_OWNER_NEUTRON_PREFIX,
device_owner=constants.DEVICE_OWNER_NETWORK_PREFIX,
arg_list=arg_list,
**{portbindings.HOST_ID: HOST3}):
# make net external
@@ -1448,7 +1448,7 @@ class L3DvrTestCase(L3DvrTestCaseBase):
self.port(subnet=subnet2,
device_owner=constants.DEVICE_OWNER_DHCP) as p2,\
self.port(subnet=subnet3,
device_owner=constants.DEVICE_OWNER_NEUTRON_PREFIX)\
device_owner=constants.DEVICE_OWNER_NETWORK_PREFIX)\
as p3,\
self.port(subnet=subnet3,
device_owner=constants.DEVICE_OWNER_COMPUTE_PREFIX)\


Loading…
Cancel
Save