Add classes for Ironic
Change-Id: Ia265bea6ee95435e25110d85d1c8e0eef7c11a3b
diff --git a/ironic/conductor/cluster.yml b/ironic/conductor/cluster.yml
new file mode 100644
index 0000000..0b16953
--- /dev/null
+++ b/ironic/conductor/cluster.yml
@@ -0,0 +1,10 @@
+classes:
+- service.ironic.conductor.single
+- system.ironic.common
+parameters:
+ _param:
+ ironic_baremetal_address: ${_param:cluster_local_address}
+ ironic:
+ deploy:
+ http_url: 'http://${_param:ironic_baremetal_address}'
+ transport_url: rabbit://openstack:${_param:rabbitmq_openstack_password}@${_param:openstack_message_queue_node01_address}:5672,openstack:${_param:rabbitmq_openstack_password}@${_param:openstack_message_queue_node01_address}:5672,openstack:${_param:rabbitmq_openstack_password}@${_param:openstack_message_queue_node03_address}:5672//openstack
diff --git a/ironic/conductor/single.yml b/ironic/conductor/single.yml
new file mode 100644
index 0000000..a464378
--- /dev/null
+++ b/ironic/conductor/single.yml
@@ -0,0 +1,9 @@
+classes:
+- service.ironic.conductor.single
+- system.ironic.common
+parameters:
+ _param:
+ ironic_baremetal_address: ${_param:single_address}
+ ironic:
+ deploy:
+ http_url: 'http://${_param:ironic_baremetal_address}'