aboutsummaryrefslogtreecommitdiffstats
path: root/ceph-storage.yaml
diff options
context:
space:
mode:
authorDan Sneddon <dsneddon@redhat.com>2015-04-14 17:21:49 -0700
committerDan Sneddon <dsneddon@redhat.com>2015-04-24 16:51:41 -0700
commit476a1b347d85c5fb119d428159e9dcd498f0bbd3 (patch)
tree21d27c6fc589ee845a99a5ccfc7ff001cfc2f0d0 /ceph-storage.yaml
parent723db1317cd62a8772c764847c80a339eae4c03f (diff)
Separate the network configuration per flavor.
This change allows a different network config for each family of hosts. For instance, the controller may have a different network configuration than a block storage node. This change adds a declaration for each family in the overcloud-resource-registry.yaml & overcloud-resource-registry-puppet.yaml. Change-Id: I083df7ebbb535f97d8ddec2ac0e06281c55986cd
Diffstat (limited to 'ceph-storage.yaml')
-rw-r--r--ceph-storage.yaml10
1 files changed, 10 insertions, 0 deletions
diff --git a/ceph-storage.yaml b/ceph-storage.yaml
index 93b4deb6..f89d5f3a 100644
--- a/ceph-storage.yaml
+++ b/ceph-storage.yaml
@@ -28,6 +28,7 @@ parameters:
default: ''
description: The list of ip/names to use as Ceph monitors
type: json
+
resources:
CephStorage:
type: OS::Nova::Server
@@ -44,6 +45,15 @@ resources:
NodeUserData:
type: OS::TripleO::NodeUserData
+ NetworkConfig:
+ type: OS::TripleO::CephStorage::Net::SoftwareConfig
+
+ NetworkDeployment:
+ type: OS::TripleO::SoftwareDeployment
+ properties:
+ config: {get_attr: [NetworkConfig, config_id]}
+ server: {get_resource: CephStorage}
+
CephStorageDeployment:
type: OS::Heat::StructuredDeployment
properties: