Set allocationtool for BM lab
MOSSUST-118
Change-Id: Ib20db10c7f12dd7a5ee25299616b865b2d7ad6a8
diff --git a/tcp_tests/templates/_heat_environments/fragments/Subnets.yaml b/tcp_tests/templates/_heat_environments/fragments/Subnets.yaml
index b4000e4..7f471e7 100644
--- a/tcp_tests/templates/_heat_environments/fragments/Subnets.yaml
+++ b/tcp_tests/templates/_heat_environments/fragments/Subnets.yaml
@@ -59,6 +59,21 @@
#enable_dhcp: { get_param: control_net_dhcp }
dns_nameservers: [0.0.0.0]
gateway_ip: null
+ allocation_pools:
+ - start:
+ list_join:
+ - '.'
+ - - str_split: [ '.', { get_param: control_subnet_cidr }, 0 ]
+ - str_split: [ '.', { get_param: control_subnet_cidr }, 1 ]
+ - str_split: [ '.', { get_param: control_subnet_cidr }, 2 ]
+ - '150'
+ end:
+ list_join:
+ - '.'
+ - - str_split: [ '.', { get_param: control_subnet_cidr }, 0 ]
+ - str_split: [ '.', { get_param: control_subnet_cidr }, 1 ]
+ - str_split: [ '.', { get_param: control_subnet_cidr }, 2 ]
+ - '155'
tags:
- private-pool01
@@ -71,6 +86,21 @@
#enable_dhcp: { get_param: tenant_net_dhcp }
dns_nameservers: [0.0.0.0]
gateway_ip: null
+ allocation_pools:
+ - start:
+ list_join:
+ - '.'
+ - - str_split: [ '.', { get_param: tenant_subnet_cidr }, 0 ]
+ - str_split: [ '.', { get_param: tenant_subnet_cidr }, 1 ]
+ - str_split: [ '.', { get_param: tenant_subnet_cidr }, 2 ]
+ - '150'
+ end:
+ list_join:
+ - '.'
+ - - str_split: [ '.', { get_param: tenant_subnet_cidr }, 0 ]
+ - str_split: [ '.', { get_param: tenant_subnet_cidr }, 1 ]
+ - str_split: [ '.', { get_param: tenant_subnet_cidr }, 2 ]
+ - '155'
tags:
- tenant-pool01
@@ -98,6 +128,21 @@
enable_dhcp: { get_param: external_net_dhcp }
dns_nameservers: [0.0.0.0]
gateway_ip: null
+ allocation_pools:
+ - start:
+ list_join:
+ - '.'
+ - - str_split: [ '.', { get_param: external_subnet_cidr }, 0 ]
+ - str_split: [ '.', { get_param: external_subnet_cidr }, 1 ]
+ - str_split: [ '.', { get_param: external_subnet_cidr }, 2 ]
+ - '62'
+ end:
+ list_join:
+ - '.'
+ - - str_split: [ '.', { get_param: external_subnet_cidr }, 0 ]
+ - str_split: [ '.', { get_param: external_subnet_cidr }, 1 ]
+ - str_split: [ '.', { get_param: external_subnet_cidr }, 2 ]
+ - '62'
tags:
- external-pool01