rename cluster levels to non-underscore names

Change-Id: Ic9bdafbeb1333699ce424612f8b2e8d8dafb7be2
diff --git a/classes/cluster/model-manager/infra/config.yml b/classes/cluster/model-manager/infra/config.yml
new file mode 100644
index 0000000..ac19fcc
--- /dev/null
+++ b/classes/cluster/model-manager/infra/config.yml
@@ -0,0 +1,78 @@
+classes:
+- service.git.client
+- system.linux.system.single
+- system.linux.system.repo.mcp.salt
+- system.openssh.client.lab
+- system.salt.master.api
+- system.salt.master.pkg
+- system.reclass.storage.salt
+- system.salt.minion.ca.salt_master
+- system.salt.minion.cert.proxy
+- system.sphinx.server.doc.reclass
+- cluster.model-manager.model_manager.proxy
+- cluster.model-manager
+parameters:
+  _param:
+    reclass_data_repository: https://gerrit.mcp.mirantis.net/salt-models/mcp-virtual-lab
+    reclass_data_revision: master
+    salt_master_environment_repository: "https://github.com/salt-formulas"
+    salt_master_environment_revision: master
+    reclass_config_master: ${_param:infra_config_deploy_address}
+    single_address: ${_param:infra_config_address}
+    salt_master_host: 127.0.0.1
+    salt_master_base_environment: prd
+    salt_minion_ca_host: ${linux:network:fqdn}
+    salt_api_password_hash: "$6$sGnRlxGf$al5jMCetLP.vfI/fTl3Z0N7Za1aeiexL487jAtyRABVfT3NlwZxQGVhO7S1N8OwS/34VHYwZQA8lkXwKMN/GS1"
+  linux:
+    network:
+      interface:
+        ens4:
+          enabled: true
+          type: eth
+          proto: static
+          address: ${_param:single_address}
+          netmask: 255.255.255.0
+  salt:
+    master:
+      reactor:
+        reclass/minion/classify:
+        - salt://reclass/reactor/node_register.sls
+      environment:
+        prd:
+          formula:
+            model_manager:
+              source: git
+              address: '${_param:salt_master_environment_repository}/salt-formula-model-manager.git'
+              revision: ${_param:salt_master_environment_revision}
+  reclass:
+    storage:
+      class_mapping:
+        common_node:
+          expression: all
+          node_param:
+            single_address:
+              value_template: <<node_control_ip>>
+            linux_system_codename:
+              value_template: <<node_os>>
+            salt_master_host:
+              value_template: <<node_master_ip>>
+        infra_config:
+          expression: <<node_hostname>>__startswith__cfg
+          cluster_param:
+            infra_config_address:
+              value_template: <<node_control_ip>>
+            infra_config_deploy_address:
+              value_template: <<node_deploy_ip>>
+            cluster_domain:
+              value_template: <<node_domain>>
+        model_manager:
+          expression: <<node_hostname>>__startswith__web
+          node_class:
+            value_template:
+              - cluster.<<node_cluster>>.model_manager.dashboard
+        model_manager_node00:
+          expression: <<node_hostname>>__equals__web0
+          cluster_param:
+            model_manager_node00_address:
+              value_template: <<node_control_ip>>
+
diff --git a/classes/cluster/model-manager/infra/init.yml b/classes/cluster/model-manager/infra/init.yml
new file mode 100644
index 0000000..4478e59
--- /dev/null
+++ b/classes/cluster/model-manager/infra/init.yml
@@ -0,0 +1,21 @@
+parameters:
+  _param:
+    cluster_domain: model-manager.local
+    cluster_name: model_manager
+    infra_config_deploy_address: 192.168.10.100
+    infra_config_address: 172.16.10.100
+    cluster_public_host: mm.mcp.mirantis.net
+  linux:
+    network:
+      host:
+        cfg01:
+          address: ${_param:infra_config_address}
+          names:
+          - cfg01
+          - cfg01.${_param:cluster_domain}
+          - mm.mcp.mirantis.net
+        cfg:
+          address: ${_param:infra_config_address}
+          names:
+          - cfg
+          - cfg.${_param:cluster_domain}