ipv6 slaac cases fixed

Change-Id: Idfd9f0de1263a66899b1488e89cb58336b6c5623
This commit is contained in:
pbharathbhu 2020-09-10 04:43:28 +00:00
parent 55d06487d0
commit 85081e2101
2 changed files with 8 additions and 8 deletions

View File

@ -152,7 +152,8 @@ class IPv6RoutersTest(feature_manager.FeatureManager):
networks_client = self.cmgr_adm.networks_client networks_client = self.cmgr_adm.networks_client
network = self.create_topology_network( network = self.create_topology_network(
name, networks_client=networks_client) 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") rtr_name = data_utils.rand_name("ipv6-rtr")
router = self.create_topology_router( router = self.create_topology_router(
rtr_name, routers_client=self.cmgr_adm.routers_client) rtr_name, routers_client=self.cmgr_adm.routers_client)
@ -177,7 +178,8 @@ class IPv6RoutersTest(feature_manager.FeatureManager):
subnet_name, network, subnet_name, network,
subnets_client=subnet_client, subnets_client=subnet_client,
cidr='20.20.0.0/16') 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") rtr_name = data_utils.rand_name("ipv6-rtr")
router = self.create_topology_router( router = self.create_topology_router(
rtr_name, routers_client=self.cmgr_adm.routers_client) rtr_name, routers_client=self.cmgr_adm.routers_client)
@ -395,11 +397,9 @@ class IPv6RoutersTest(feature_manager.FeatureManager):
"nexthop": next_hop "nexthop": next_hop
}] }]
router_id = router_state['id'] router_id = router_state['id']
router = self.cmgr_adm.routers_client.update_router( self.assertRaises(exceptions.BadRequest,
router_id, routes=routes)['router'] self.cmgr_adm.routers_client.update_router,
self.assertEqual(router['routes'][0]['nexthop'], next_hop) router_id, routes=routes)
self.assertEqual(router['routes'][0]['destination'], dest)
self.cmgr_adm.routers_client.update_router(router_id, routes=[])
@decorators.attr(type=['nsxv3', 'positive']) @decorators.attr(type=['nsxv3', 'positive'])
@decorators.idempotent_id('8155be15-cdc4-4834-be1a-99dbddbee920') @decorators.idempotent_id('8155be15-cdc4-4834-be1a-99dbddbee920')

View File

@ -1208,7 +1208,7 @@ class OctaviaRoundRobin(feature_manager.FeatureManager):
timeout=self.hm_timeout, timeout=self.hm_timeout,
max_retries=self.hm_max_retries, max_retries=self.hm_max_retries,
delay=self.hm_delay, default_pool=True, delay=self.hm_delay, default_pool=True,
fip_disassociate=True) create_fip=False)
@decorators.attr(type='nsxv3') @decorators.attr(type='nsxv3')
@decorators.idempotent_id('c5ac8546-6867-4b7a-8704-3844b11b1b43') @decorators.idempotent_id('c5ac8546-6867-4b7a-8704-3844b11b1b43')