Use hostname -s instead of hostnamectl --transient
[apex-tripleo-heat-templates.git] / network / storage.yaml
index 1f60adf..35dae17 100644 (file)
@@ -12,10 +12,10 @@ parameters:
   StorageNetValueSpecs:
     default: {'provider:physical_network': 'storage', 'provider:network_type': 'flat'}
     description: Value specs for the storage network.
-    type: string
+    type: json
   StorageNetAdminStateUp:
     default: false
-    description: This admin state of of the network.
+    description: This admin state of the network.
     type: boolean
   StorageNetEnableDHCP:
     default: false
@@ -33,6 +33,10 @@ parameters:
     default: storage_subnet
     description: The name of the storage subnet in Neutron.
     type: string
+  StorageAllocationPools:
+    default: [{'start': '172.16.1.4', 'end': '172.16.1.250'}]
+    description: Ip allocation pool range for the storage network.
+    type: json
 
 resources:
   StorageNetwork:
@@ -50,6 +54,8 @@ resources:
       enable_dhcp: {get_param: StorageNetEnableDHCP}
       name: {get_param: StorageSubnetName}
       network: {get_resource: StorageNetwork}
+      allocation_pools: {get_param: StorageAllocationPools}
+      gateway_ip: null
 
 outputs:
   OS::stack_id: