Browse Source

ipv6 slaac cases fixed

Change-Id: Idfd9f0de1263a66899b1488e89cb58336b6c5623
changes/68/750868/1
pbharathbhu 1 month ago
parent
commit
85081e2101
2 changed files with 8 additions and 8 deletions
  1. +7
    -7
      vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_ipv6_router.py
  2. +1
    -1
      vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_octavia_loadbalancers.py

+ 7
- 7
vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_ipv6_router.py View File

@@ -152,7 +152,8 @@ class IPv6RoutersTest(feature_manager.FeatureManager):
networks_client = self.cmgr_adm.networks_client
network = self.create_topology_network(
name, networks_client=networks_client)
subnet = self._create_ipv6_subnet(network, cidr="5200::/64")
subnet = self._create_ipv6_subnet(network, cidr="5200::/64",
slaac=True)
rtr_name = data_utils.rand_name("ipv6-rtr")
router = self.create_topology_router(
rtr_name, routers_client=self.cmgr_adm.routers_client)
@@ -177,7 +178,8 @@ class IPv6RoutersTest(feature_manager.FeatureManager):
subnet_name, network,
subnets_client=subnet_client,
cidr='20.20.0.0/16')
subnet = self._create_ipv6_subnet(network, cidr="5201::/64")
subnet = self._create_ipv6_subnet(network, cidr="5201::/64",
slaac=True)
rtr_name = data_utils.rand_name("ipv6-rtr")
router = self.create_topology_router(
rtr_name, routers_client=self.cmgr_adm.routers_client)
@@ -395,11 +397,9 @@ class IPv6RoutersTest(feature_manager.FeatureManager):
"nexthop": next_hop
}]
router_id = router_state['id']
router = self.cmgr_adm.routers_client.update_router(
router_id, routes=routes)['router']
self.assertEqual(router['routes'][0]['nexthop'], next_hop)
self.assertEqual(router['routes'][0]['destination'], dest)
self.cmgr_adm.routers_client.update_router(router_id, routes=[])
self.assertRaises(exceptions.BadRequest,
self.cmgr_adm.routers_client.update_router,
router_id, routes=routes)

@decorators.attr(type=['nsxv3', 'positive'])
@decorators.idempotent_id('8155be15-cdc4-4834-be1a-99dbddbee920')


+ 1
- 1
vmware_nsx_tempest_plugin/tests/nsxv3/scenario/test_octavia_loadbalancers.py View File

@@ -1208,7 +1208,7 @@ class OctaviaRoundRobin(feature_manager.FeatureManager):
timeout=self.hm_timeout,
max_retries=self.hm_max_retries,
delay=self.hm_delay, default_pool=True,
fip_disassociate=True)
create_fip=False)

@decorators.attr(type='nsxv3')
@decorators.idempotent_id('c5ac8546-6867-4b7a-8704-3844b11b1b43')


Loading…
Cancel
Save