aboutsummaryrefslogtreecommitdiffstats
path: root/nfs-server-source.yaml
diff options
context:
space:
mode:
authorRyan Brady <rbrady@redhat.com>2014-02-20 07:40:31 -0500
committerRyan Brady <rbrady@redhat.com>2014-03-07 14:58:02 -0500
commita2602039fc66891bb9d08dbd5963c9968e1a8ee8 (patch)
tree54de004c78d8879cfb1700aa97a651beaa026ba2 /nfs-server-source.yaml
parentc12483397cd1483ebe09a422477ac42a32bd9005 (diff)
Adds block-storage-nfs template
To support the changes to the cinder element to allow the nfs backend to be utilized, this template has been added to show the usage of the nfs_shares key in the cinder metadata. The value is a list of strings containing share addresses. This change is added to facilitate an example to test the cinder element change: https://review.openstack.org/#/c/74563/ You may setup the nfs server manually or use the nfs-server element at https://review.openstack.org/#/c/74712/. Change-Id: I5b6cb118b34421ea07a81ed1fe68db24b1d4f19d
Diffstat (limited to 'nfs-server-source.yaml')
-rw-r--r--nfs-server-source.yaml28
1 files changed, 28 insertions, 0 deletions
diff --git a/nfs-server-source.yaml b/nfs-server-source.yaml
new file mode 100644
index 00000000..22214ae0
--- /dev/null
+++ b/nfs-server-source.yaml
@@ -0,0 +1,28 @@
+Description: 'NFS server share configuration for testing'
+Resources:
+ notCompute0Config:
+ Type: AWS::AutoScaling::LaunchConfiguration
+ Metadata:
+ nfs_server:
+ shares:
+ Merge::Map:
+ NovaCompute0:
+ Fn::Join:
+ - ' '
+ - - Fn::Select:
+ - 0
+ - Fn::Select:
+ - ctlplane
+ - Fn::GetAtt:
+ - NovaCompute0
+ - networks
+ BlockStorage0:
+ Fn::Join:
+ - ' '
+ - - Fn::Select:
+ - 0
+ - Fn::Select:
+ - ctlplane
+ - Fn::GetAtt:
+ - BlockStorage0
+ - networks \ No newline at end of file