Initial commit
diff --git a/classes/cluster/dev-mcp-ovs/infra/config.yml b/classes/cluster/dev-mcp-ovs/infra/config.yml
new file mode 100644
index 0000000..e2c4ec7
--- /dev/null
+++ b/classes/cluster/dev-mcp-ovs/infra/config.yml
@@ -0,0 +1,75 @@
+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.git
+- system.reclass.storage.salt
+- system.salt.minion.ca.salt_master
+- system.salt.minion.cert.proxy
+- system.sphinx.server.doc.reclass
+#- system.keystone.client.single
+#- system.keystone.client.service.ceilometer
+#- system.keystone.client.service.nova21
+#- system.keystone.client.service.nova-placement
+#- system.keystone.client.service.glare
+#- system.keystone.client.service.cinder3
+#- system.keystone.client.service.ironic
+#- system.mysql.client.single
+- cluster.dev-mcp-ovs
+parameters:
+ _param:
+ apt_mk_version: nightly
+ linux_system_codename: xenial
+ reclass_data_repository: https://github.com/andreyshestakov/mcp-aio
+ reclass_data_revision: dev
+# salt_master_environment_repository: "https://github.com/tcpcloud"
+# salt_master_environment_revision: master
+ reclass_config_master: 192.168.10.100
+ single_address: 172.16.10.100
+ salt_master_host: ${_param:reclass_config_master}
+ salt_master_base_environment: dev
+ 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
+ host:
+ ctl:
+ address: ${_param:openstack_control_address}
+ names:
+ - ctl
+ - ctl.${_param:cluster_domain}
+ cmp:
+ address: ${_param:openstack_compute_address}
+ names:
+ - cmp
+ - cmp.${_param:cluster_domain}
+ reclass:
+ storage:
+ node:
+ openstack_control_node:
+# classes:
+# - cluster.${_param:cluster_name}.openstack.control
+ name: ctl
+ domain: ${_param:cluster_domain}
+ params:
+ single_address: ${_param:openstack_control_address}
+ tenant_address: 10.1.0.101
+ external_address: 10.16.0.101
+ openstack_compute_node:
+# classes:
+# - cluster.${_param:cluster_name}.openstack.compute
+ name: cmp
+ domain: ${_param:cluster_domain}
+ params:
+ single_address: ${_param:openstack_compute_address}
+ tenant_address: 10.1.0.102
+ external_address: 10.16.0.102
diff --git a/classes/cluster/dev-mcp-ovs/infra/init.yml b/classes/cluster/dev-mcp-ovs/infra/init.yml
new file mode 100644
index 0000000..9140bd0
--- /dev/null
+++ b/classes/cluster/dev-mcp-ovs/infra/init.yml
@@ -0,0 +1,14 @@
+parameters:
+ linux:
+ network:
+ host:
+ cfg01:
+ address: ${_param:infra_config_address}
+ names:
+ - cfg01
+ - cfg01.${_param:cluster_domain}
+ cfg:
+ address: ${_param:infra_config_address}
+ names:
+ - cfg
+ - cfg.${_param:cluster_domain}
diff --git a/classes/cluster/dev-mcp-ovs/init.yml b/classes/cluster/dev-mcp-ovs/init.yml
new file mode 100644
index 0000000..74102f9
--- /dev/null
+++ b/classes/cluster/dev-mcp-ovs/init.yml
@@ -0,0 +1,13 @@
+classes:
+- system.linux.system.single
+- cluster.virtual-mcp-ocata-ovs.infra
+
+parameters:
+ _param:
+ cluster_domain: dev-mcp-ovs.local
+ cluster_name: dev-mcp-ovs
+ cluster_public_host: 172.16.10.101
+ # infra service addresses
+ infra_config_address: 172.16.10.100
+ openstack_control_address: 172.16.10.101
+ openstack_compute_address: 172.16.10.102