Use hostname -s instead of hostnamectl --transient
[apex-tripleo-heat-templates.git] / network / external.yaml
index bf4bdfe..4dfbc77 100644 (file)
@@ -12,10 +12,10 @@ parameters:
   ExternalNetValueSpecs:
     default: {'provider:physical_network': 'external', 'provider:network_type': 'flat'}
     description: Value specs for the external network.
-    type: string
+    type: json
   ExternalNetAdminStateUp:
     default: false
-    description: This admin state of of the network.
+    description: This admin state of the network.
     type: boolean
   ExternalNetEnableDHCP:
     default: false
@@ -37,6 +37,10 @@ parameters:
     default: [{'start': '10.0.0.4', 'end': '10.0.0.250'}]
     description: Ip allocation pool range for the external network.
     type: json
+  ExternalInterfaceDefaultRoute:
+    default: '10.0.0.1'
+    description: default route for the external network
+    type: string
 
 resources:
   ExternalNetwork:
@@ -55,6 +59,7 @@ resources:
       name: {get_param: ExternalSubnetName}
       network: {get_resource: ExternalNetwork}
       allocation_pools: {get_param: ExternalAllocationPools}
+      gateway_ip: {get_param: ExternalInterfaceDefaultRoute}
 
 outputs:
   OS::stack_id: