Merge "[AIM] Fixed external subnet ANY_CIDRs for l3out EPGs for SVI" into stable/ocata

This commit is contained in:
Zuul 2020-03-27 22:19:36 +00:00 committed by Gerrit Code Review
commit ad0322c76c
1 changed files with 10 additions and 2 deletions

View File

@ -699,9 +699,17 @@ class ApicMechanismDriver(api_plus.MechanismDriver,
tenant_name=tenant_aname, tenant_name=tenant_aname,
l3out_name=aname, l3out_name=aname,
external_network_name=L3OUT_EXT_EPG, external_network_name=L3OUT_EXT_EPG,
cidr=aim_cst.IPV4_ANY_CIDR, cidr='0.0.0.0/1',
scope=scope, scope=scope,
aggregate=aggregate) aggregate="")
self.aim.create(aim_ctx, aim_ext_subnet_ipv4)
aim_ext_subnet_ipv4 = aim_resource.ExternalSubnet(
tenant_name=tenant_aname,
l3out_name=aname,
external_network_name=L3OUT_EXT_EPG,
cidr='128.0.0.0/1',
scope=scope,
aggregate="")
self.aim.create(aim_ctx, aim_ext_subnet_ipv4) self.aim.create(aim_ctx, aim_ext_subnet_ipv4)
aim_ext_subnet_ipv6 = aim_resource.ExternalSubnet( aim_ext_subnet_ipv6 = aim_resource.ExternalSubnet(
tenant_name=tenant_aname, tenant_name=tenant_aname,