[DEFAULT]
dhcpbridge_flagfile=/etc/nova/nova.conf
iscsi_helper=tgtadm
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
ec2_private_dns_show_ip=True
api_paste_config=/etc/nova/api-paste.ini
#dhcpbridge=/usr/bin/nova-dhcpbridge
nova_url=http://192.168.0.12:8774/v1.1/
cc_host=192.168.0.12
metadata_host=192.168.0.12
metadata_listen=0.0.0.0
ec2_dmz_host=192.168.0.12
s3_host=192.168.0.11
s3_port=3333
enabled_apis=ec2,osapi_compute,metadata
osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
allow_resize_to_same_host=True

## LOGS/STATE
verbose=True
logdir=/var/log/nova
state_path=/var/lib/nova
lock_path=/var/lock/nova
#logging_context_format_string=%(asctime)s %(color)s%(levelname)s %(name)s [^[[01;36m%(request_id)s ^[[00;36m%(user_name)s %(project_name)s%(color)s] ^[[01;35m%(instance)s%(color)s%(message)s^[[00m
#logging_default_format_string=%(asctime)s %(color)s%(levelname)s %(name)s [^[[00;36m-%(color)s] ^[[01;35m%(instance)s%(color)s%(message)s^[[00m
#logging_debug_format_suffix=^[[00;33mfrom (pid=%(process)d) %(funcName)s %(pathname)s:%(lineno)d^[[00m
#logging_exception_prefix=%(color)s%(asctime)s TRACE %(name)s ^[[01;35m%(instance)s^[[00m

# AUTH
auth_strategy=keystone

# SCHEDULER
compute_scheduler_driver=nova.scheduler.filter_scheduler.FilterScheduler

## CINDER
volume_api_class=nova.volume.cinder.API
osapi_volume_listen_port=5900

# DATABASE
sql_connection=mysql://nova:nova123@localhost/nova

## COMPUTE - KVM
libvirt_use_virtio_for_bridges=True
#connection_type=libvirt
#compute_driver=libvirt.LibvirtDriver
compute_driver=nova.virt.libvirt.LibvirtDriver
libvirt_type=kvm
libvirt_cpu_mode=none
instance_name_template=instance-%08x
instances_path=/var/lib/nova/instances

# RABBITMQ
rabbit_host=192.168.0.12
rabbit_password=openstack

## VIF-PLUGGING, using Nova Security Groups:
#libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtHybirdOVSBridgeDriver
libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchVirtualPortDriver

## QUANTUM and other network stuff
network_api_class=nova.network.quantumv2.api.API
quantum_url=http://192.168.0.13:9696
quantum_auth_strategy=keystone
quantum_admin_tenant_name=service
quantum_admin_username=quantum
quantum_admin_password=openstack
quantum_admin_auth_url=http://192.168.0.13:35357/v2.0
force_dhcp_release=True
linuxnet_interface_driver=nova.network.linux_net.LinuxOVSInterfaceDriver
firewall_driver=nova.virt.libvirt.firewall.IptablesFirewallDriver
fixed_range=192.168.0.22/28

### Proveri ovo, ne znam da li treba zbog Quantuma i OVS:
#network_manager=nova.network.manager.FlatDHCPManager
#public_interface=br100
#vlan_interface=eth0
#flat_network_bridge=br100
#flat_interface=eth0

# GLANCE
image_service=nova.image.glance.GlanceImageService
glance_api_servers=192.168.0.12:9292

# NOVNC CONSOLE
novnc_enabled=true
novncproxy_base_url=http://192.168.0.12:6080/vnc_auto.html
xvpvncproxy_base_url=http://192.168.0.12:6081/console
novncproxy_port=6080
# Change vncserver_proxyclient_address and vncserver_listen to match each compute host
vncserver_proxyclient_address=192.168.0.12
vncserver_listen=192.168.0.12
my_ip=192.168.0.12

[keystone_authtoken]
auth_host = 192.168.0.12
auth_port = 35357
auth_protocol = http
auth_uri = http://192.168.0.12:5000/
admin_tenant_name = ubuntu
admin_user = admin
admin_password = openstack

