summaryrefslogtreecommitdiff
path: root/openstack/etc/nova/nova.conf
diff options
context:
space:
mode:
Diffstat (limited to 'openstack/etc/nova/nova.conf')
-rw-r--r--openstack/etc/nova/nova.conf41
1 files changed, 40 insertions, 1 deletions
diff --git a/openstack/etc/nova/nova.conf b/openstack/etc/nova/nova.conf
index 0d6cdf9..d00bd70 100644
--- a/openstack/etc/nova/nova.conf
+++ b/openstack/etc/nova/nova.conf
@@ -241,6 +241,23 @@ linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
###firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
firewall_driver=nova.virt.firewall.NoopFirewallDriver
+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
+
#######################
# NETWORK (linux net) #
#######################
@@ -614,7 +631,8 @@ auth_version = v2.0
###########
# COMPUTE #
###########
-compute_driver=libvirt.LibvirtDriver
+# compute_driver=libvirt.LibvirtDriver
+compute_driver=nova.virt.ironic.IronicDriver
instance_name_template=instance-%08x
api_paste_config=/etc/nova/api-paste.ini
@@ -637,3 +655,24 @@ 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##