cd5cd9b523
Quantum is now called neutron, so we should do the renaming, too. This commit is the result of simple mechanical search-and-replace followed by renaming files, followed by reordering imports to make pep8 happy. Building of binary RPMs is still broken, as well as many other things, but this will be fixed in separate changes. Partial-bug: #1198041 Co-authored-by: Joshua Harlow <harlowja@gmail.com> Change-Id: Idd1cce74309e67fd6bbb1348f40fcc9946703fc2
142 lines
4.4 KiB
YAML
142 lines
4.4 KiB
YAML
# Settings for component nova
|
|
---
|
|
|
|
# Where we download this from...
|
|
get_from: "git://github.com/openstack/nova.git?branch=master"
|
|
|
|
# Host and ports for the different nova services
|
|
api_host: "$(auto:ip)"
|
|
api_port: 8774
|
|
s3_host: "$(auto:ip)"
|
|
s3_port: 3333
|
|
volume_host: "$(auto:ip)"
|
|
volume_port: 8776
|
|
ec2_host: "$(auto:ip)"
|
|
ec2_port: 8773
|
|
ec2_admin_host: "$(auto:ip)"
|
|
ec2_admin_port: 8773
|
|
protocol: http
|
|
|
|
# Very useful to read over the following
|
|
#
|
|
# http://docs.openstack.org/trunk/openstack-compute/admin/content/configuring-networking-on-the-compute-node.html
|
|
# https://github.com/openstack/nova/blob/master/etc/nova/nova.conf.sample
|
|
|
|
# Set api_rate_limit = 0 (or blank) to turn OFF rate limiting
|
|
api_rate_limit: False
|
|
|
|
# The internal ip of the ec2 api server
|
|
ec2_dmz_host: "$(auto:ip)"
|
|
|
|
# A fixed network will be created for you (unless disabled)
|
|
enable_fixed: True
|
|
fixed_network_size: 256
|
|
fixed_range: "10.0.0.0/24"
|
|
|
|
# Used however you want - ensure you know nova's conf file format if you use this!
|
|
extra_flags: ""
|
|
|
|
# DHCP Warning: If your flat interface device uses DHCP, there will be a hiccup while the network
|
|
# is moved from the flat interface to the flat network bridge. This will happen when you launch
|
|
# your first instance. Upon launch you will lose all connectivity to the node, and the vm launch will probably fail.
|
|
#
|
|
# If you are running on a single node and don't need to access the VMs from devices other than
|
|
# that node, you can set the flat interface to the same value as FLAT_NETWORK_BRIDGE.
|
|
# This will stop the network hiccup from occurring.
|
|
|
|
# If using a flat manager (not dhcp) then you probably want this on
|
|
flat_injected: False
|
|
flat_interface: eth0
|
|
flat_network_bridge: br100
|
|
|
|
# A floating network will be created for you (unless disabled)
|
|
enable_floating: True
|
|
floating_range: "172.24.4.224/28"
|
|
test_floating_pool: test
|
|
test_floating_range: "192.168.253.0/29"
|
|
|
|
# Force backing images to raw format?
|
|
force_raw_images: True
|
|
checksum_base_images: True
|
|
glance_server: "$(glance:host):$(glance:api_port)"
|
|
img_service: nova.image.glance.GlanceImageService
|
|
|
|
# Force the config drive to turn on?
|
|
force_cfg_drive: False
|
|
|
|
# How instances will be named and where
|
|
instance_name_postfix: "%08x"
|
|
instance_name_prefix: "instance-"
|
|
|
|
# Defaults to $NOVA_DIR/instances if empty
|
|
instances_path: ""
|
|
|
|
# This decides which firewall driver to use:
|
|
# The default here should work with linux + iptables + libvirt special sauce...
|
|
libvirt_firewall_driver: nova.virt.libvirt.firewall.IptablesFirewallDriver
|
|
|
|
# Only useful if above virt_driver is "libvirt"
|
|
# Types known (qemu, kvm, xen, uml, lxc)
|
|
# Defaults to qemu (the most compatible) if unknown (or blank).
|
|
libvirt_type: "qemu"
|
|
|
|
# This is just a firewall based on iptables, for non-libvirt usage
|
|
basic_firewall_driver: nova.virt.firewall.IptablesFirewallDriver
|
|
|
|
# Multi-host is a mode where each compute node runs its own network node.
|
|
# This allows network operations and routing for a VM to occur on the server
|
|
# that is running the VM - removing a SPOF and bandwidth bottleneck.
|
|
multi_host: False
|
|
|
|
# Which network manager and which interface should be used
|
|
network_manager: nova.network.manager.FlatDHCPManager
|
|
|
|
# Interface for public IP addresses
|
|
public_interface: eth0
|
|
|
|
neutron:
|
|
api_host: "$(neutron:api_host)"
|
|
api_port: "$(neutron:api_port)"
|
|
|
|
# Currently novaclient needs you to specify the *compute api* version.
|
|
nova_version: "1.1"
|
|
|
|
# Which scheduler will nova be running with?
|
|
# Nova supports pluggable schedulers. FilterScheduler should work in most cases.
|
|
scheduler: nova.scheduler.filter_scheduler.FilterScheduler
|
|
|
|
# Should nova be in verbose mode?
|
|
log_verbose: True
|
|
|
|
# Virtualization settings
|
|
# Drivers known (libvirt, xensever, vmware, baremetal)
|
|
# Defaults to libvirt (the most compatible) if unknown.
|
|
virt_driver: libvirt
|
|
vlan_interface: $(nova:public_interface)
|
|
|
|
# Vnc server settings
|
|
vncproxy_url: "http://$(auto:ip):6080/vnc_auto.html"
|
|
vncserver_listen: 127.0.0.1
|
|
vncserver_proxyclient_address: ""
|
|
xvpvncproxy_url: "http://$(auto:ip):6081/console"
|
|
|
|
# Test exclusions...
|
|
#
|
|
# TODO(harlowja) these should probably be bugs...
|
|
exclude_tests:
|
|
# Disable since neutronclient is not always installed.
|
|
- test_neutronv2
|
|
# Will fail if ipv6 turned off
|
|
- test_service_random_port_with_ipv6
|
|
- test_start_random_port_with_ipv6
|
|
- test_app_using_ipv6_and_ssl
|
|
# Bug in tests if libvirt installed
|
|
- test_libvirt
|
|
# Bug
|
|
- test_archive_deleted_rows_fk_constraint
|
|
|
|
exclude_tests_dir:
|
|
- smoketests
|
|
|
|
...
|