Skip to content

Instantly share code, notes, and snippets.

@coredump
Created November 5, 2012 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coredump/47c9e6df9968c64a704d to your computer and use it in GitHub Desktop.
Save coredump/47c9e6df9968c64a704d to your computer and use it in GitHub Desktop.
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet manual
bond-master bond0
auto eth1
iface eth1 inet manual
bond-master bond0
auto eth2
iface eth2 inet manual
bond-master bond0
auto eth3
iface eth3 inet manual
bond-master bond0
auto bond0
iface bond0 inet manual
bond-mode 802.3ad
bond-lacp-rate 1
bond-miimon 100
slaves eth0 eth1 eth2 eth3
# Bridge network interface for VM networks
auto br100
iface br100 inet static
address x
gateway x
netmask x
bridge_ports bond0
bridge_stp off
bridge_fd 0
dns-nameservers x x
dns-search x x
[DEFAULT]
ec2_private_dns_show_ip=True
multi_host=True
rootwrap_config=/etc/nova/rootwrap.conf
# LOGS/STATE
verbose=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
# AUTHENTICATION
auth_strategy=keystone
# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler
# VOLUMES
volume_driver=nova.volume.driver.ISCSIDriver
volume_group=nova-volumes
iscsi_helper=tgtadm
# DATABASE
sql_connection=mysql://nova:<password>@10.0.0.200/nova
# COMPUTE
libvirt_type=qemu
compute_driver=libvirt.LibvirtDriver
instance_name_template=instance-%08x
api_paste_config=/etc/nova/api-paste.ini
allow_resize_to_same_host=True
# APIS
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
ec2_dmz_host=10.0.0.200
s3_host=10.0.0.200
# RABBITMQ
rabbit_host=10.0.0.200
# GLANCE
image_service=nova.image.glance.GlanceImageService
glance_api_servers=10.0.0.200:9292
# NETWORK
libvirt_use_virtio_for_bridges=True
dhcpbridge=/usr/bin/nova-dhcpbridge
network_manager=nova.network.manager.FlatDHCPManager
force_dhcp_release=True
dhcpbridge_flagfile=/etc/nova/nova.conf
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
# Change my_ip to match each host
my_ip=10.0.0.200
public_interface=br100
flat_network_bridge=br100
fixed_range=10.0.12.0/24
flat_interface=bond0
# NOVNC CONSOLE
novncproxy_base_url=http://10.0.0.200:6080/vnc_auto.html
# Change vncserver_proxyclient_address and vncserver_listen to match each compute host
vncserver_proxyclient_address=10.0.0.200
vncserver_listen=10.0.0.200
[keystone_authtoken]
auth_host = 10.0.0.200
auth_port = 35357
auth_protocol = http
auth_uri = http://10.0.0.200:5000/
admin_tenant_name = service
admin_user = xxxxxxxxxxx
admin_password = xxxxxxxxxxx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment