Add reclass/storage metadata for manila share node
This patch adds reclass.storage metadata to generate
node.yml for manila share nodes.
Change-Id: Ie346e2bc29e923189e40ff7bbc2ad9f54f9291a4
diff --git a/reclass/storage/system/openstack_share_single.yml b/reclass/storage/system/openstack_share_single.yml
new file mode 100644
index 0000000..cb33dde
--- /dev/null
+++ b/reclass/storage/system/openstack_share_single.yml
@@ -0,0 +1,16 @@
+parameters:
+ _param:
+ openstack_share_node01_hostname: share01
+ reclass:
+ storage:
+ node:
+ openstack_share_node01:
+ name: ${_param:openstack_share_node01_hostname}
+ domain: ${_param:cluster_domain}
+ classes:
+ - cluster.${_param:cluster_name}.openstack.share
+ params:
+ salt_master_host: ${_param:reclass_config_master}
+ linux_system_codename: ${_param:linux_system_codename}
+ single_address: ${_param:openstack_share_node01_address}
+ share_address: ${_param:openstack_share_node01_share_address}