Hiera optimization: use a new hiera hook
[apex-tripleo-heat-templates.git] / network / management.yaml
index 9bfaafa..6798e11 100644 (file)
@@ -13,10 +13,10 @@ parameters:
   ManagementNetValueSpecs:
     default: {'provider:physical_network': 'management', 'provider:network_type': 'flat'}
     description: Value specs for the management network.
-    type: string
+    type: json
   ManagementNetAdminStateUp:
     default: false
-    description: This admin state of of the network.
+    description: The admin state of the network.
     type: boolean
   ManagementNetEnableDHCP:
     default: false
@@ -38,6 +38,10 @@ parameters:
     default: [{'start': '10.0.1.4', 'end': '10.0.1.250'}]
     description: Ip allocation pool range for the management network.
     type: json
+  ManagementInterfaceDefaultRoute:
+    default: null
+    description: The default route of the management network.
+    type: string
 
 resources:
   ManagementNetwork:
@@ -56,6 +60,7 @@ resources:
       name: {get_param: ManagementSubnetName}
       network: {get_resource: ManagementNetwork}
       allocation_pools: {get_param: ManagementAllocationPools}
+      gateway_ip: {get_param: ManagementInterfaceDefaultRoute}
 
 outputs:
   OS::stack_id: