Parameterise more settings for nova and quantum.
authorRobert Collins <rbtcollins@hp.com>
Wed, 12 Jun 2013 05:12:32 +0000 (17:12 +1200)
committerRobert Collins <rbtcollins@hp.com>
Wed, 12 Jun 2013 05:12:32 +0000 (17:12 +1200)
Change-Id: Ia35431302848666ad013adaeae1d06482cd3117a

nova-compute-instance.yaml

index f508377..d885cba 100644 (file)
@@ -36,6 +36,14 @@ Parameters:
     Type: String
   QuantumDSN:
     Type: String
+  QuantumBridgeMappings:
+    Type: String
+  QuantumNetworkVLANRanges:
+    Type: String
+  QuantumNetworkType:
+    Type: String
+  QuantumEnableTunnelling:
+    Type: String
 Resources:
   AccessPolicy:
     Type: OS::Heat::AccessPolicy
@@ -83,10 +91,10 @@ Resources:
         ovs:
           local_ip:
             Fn::GetAtt: [ NovaCompute, PrivateIp ]
-          tenant_network_type: gre
-          network_vlan_ranges: ''
-          bridge_mappings: ''
-          enable_tunneling: 'True'
+          tenant_network_type: {Ref: QuantumNetworkType}
+          network_vlan_ranges: {Ref: QuantumNetworkVLANRanges}
+          bridge_mappings: {Ref: QuantumBridgeMappings}
+          enable_tunneling: {Ref: QuantumEnableTunnelling}
 
       service-password: {Ref: ServicePassword}
       admin-password: {Ref: ServicePassword}