aboutsummaryrefslogtreecommitdiffstats
path: root/compute.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'compute.yaml')
-rw-r--r--compute.yaml19
1 files changed, 17 insertions, 2 deletions
diff --git a/compute.yaml b/compute.yaml
index c2e9d218..66d4bef0 100644
--- a/compute.yaml
+++ b/compute.yaml
@@ -70,7 +70,6 @@ parameters:
Flavor:
description: Flavor for the nova compute node
type: string
- default: baremetal
constraints:
- custom_constraint: nova.flavor
GlanceHost:
@@ -144,7 +143,7 @@ parameters:
description: An OVS bridge to create for accessing external networks.
type: string
NeutronPublicInterface:
- default: eth0
+ default: nic1
description: A port to add to the NeutronPhysicalBridge.
type: string
NeutronTunnelTypes:
@@ -241,8 +240,24 @@ resources:
- network: ctlplane
user_data_format: SOFTWARE_CONFIG
+ NetworkConfig:
+ type: OS::TripleO::Net::SoftwareConfig
+
+ NetworkDeployment:
+ type: OS::TripleO::SoftwareDeployment
+ properties:
+ signal_transport: NO_SIGNAL
+ config: {get_attr: [NetworkConfig, config_id]}
+ server: {get_resource: NovaCompute}
+ input_values:
+ bridge_name: {get_param: NeutronPhysicalBridge}
+ interface_name: {get_param: NeutronPublicInterface}
+
NovaComputeConfig:
type: OS::TripleO::Compute::SoftwareConfig
+ properties:
+ # allow configs to create sub-resources attached to the server
+ server_id: {get_resource: NovaCompute}
NovaComputeDeployment:
type: OS::TripleO::SoftwareDeployment