summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-01 09:04:13 +0000
committerTiago Gomes <tiago.gomes@codethink.co.uk>2015-04-09 15:12:09 +0000
commit295b0853268543143b0764ab2c0fcf5dcf9d3b69 (patch)
tree4dbeee328b13a8714528bd81e6b7725024fc5c2e
parent63b4e44cbaf28196b00c61940f8e6e627b42c626 (diff)
downloaddefinitions-baserock/tiagogomes/baserock/tiagogomes/openstack-v5/ironic-with-fran-patches.tar.gz
-rw-r--r--openstack/etc/nova/nova.conf40
1 files changed, 39 insertions, 1 deletions
diff --git a/openstack/etc/nova/nova.conf b/openstack/etc/nova/nova.conf
index ca009273..3b520151 100644
--- a/openstack/etc/nova/nova.conf
+++ b/openstack/etc/nova/nova.conf
@@ -619,7 +619,7 @@ auth_version = v2.0
###########
# COMPUTE #
###########
-compute_driver=libvirt.LibvirtDriver
+compute_driver=nova.virt.ironic.IronicDriver
instance_name_template=instance-%08x
api_paste_config=/etc/nova/api-paste.ini
@@ -627,6 +627,24 @@ api_paste_config=/etc/nova/api-paste.ini
# # this flag is required for both nova-api and nova-compute
allow_resize_to_same_host=True
+scheduler_host_manager=nova.scheduler.ironic_host_manager.IronicHostManager
+
+# Virtual ram to physical ram allocation ratio which affects
+# all ram filters. This configuration specifies a global ratio
+# for RamFilter. For AggregateRamFilter, it will fall back to
+# this configuration value if no per-aggregate setting found.
+# (floating point value)
+ram_allocation_ratio=1.0
+
+# Amount of disk in MB to reserve for the host (integer value)
+# reserved_host_disk_mb=0
+reserved_host_memory_mb=0
+
+# Full class name for the Manager for compute (string value)
+# compute_manager=nova.compute.manager.ComputeManager
+compute_manager=ironic.nova.compute.manager.ClusteredComputeManager
+
+
############
## LIBVIRT #
############
@@ -642,3 +660,23 @@ virt_type=qemu
[serial_console]
serialproxy_host=127.0.0.1
enabled=true
+
+##########
+# IRONIC #
+##########
+[ironic]
+
+# Ironic keystone admin name
+admin_username=##IRONIC_SERVICE_USER##
+
+# Ironic keystone admin password.
+admin_password=##IRONIC_SERVICE_PASSWORD##
+
+# keystone API endpoint
+admin_url=##IDENTITY_URI##
+
+# Ironic keystone tenant name.
+admin_tenant_name=service
+
+# URL for Ironic API endpoint.
+api_endpoint=##IRONIC_PUBLIC_URL##