Set allocationpool for netprobber

MOSSUST-118

Change-Id: I2eb6f9a41e608b0f7b5c9b21d91f4b0815532c87
diff --git a/tcp_tests/templates/_heat_environments/fragments/SubnetsWithFloating.yaml b/tcp_tests/templates/_heat_environments/fragments/SubnetsWithFloating.yaml
index f57f8c6..6c2a763 100644
--- a/tcp_tests/templates/_heat_environments/fragments/SubnetsWithFloating.yaml
+++ b/tcp_tests/templates/_heat_environments/fragments/SubnetsWithFloating.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 ]
+                - '150'
+          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 ]
+                - '155'
       tags:
       - external-pool01