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_multi.yml b/reclass/storage/system/openstack_share_multi.yml
new file mode 100644
index 0000000..a347aec
--- /dev/null
+++ b/reclass/storage/system/openstack_share_multi.yml
@@ -0,0 +1,42 @@
+parameters:
+ _param:
+ openstack_share_node01_hostname: share01
+ openstack_share_node02_hostname: share02
+ openstack_share_node03_hostname: share03
+
+ openstack_share_node01_share_address: ${_param:single_address}
+ openstack_share_node02_share_address: ${_param:single_address}
+ openstack_share_node03_share_address: ${_param:single_address}
+ 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}
+ openstack_share_node02:
+ name: ${_param:openstack_share_node02_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_node02_address}
+ share_address: ${_param:openstack_share_node02_share_address}
+ openstack_share_node03:
+ name: ${_param:openstack_share_node03_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_node03_address}
+ share_address: ${_param:openstack_share_node03_share_address}