[[local|localrc]]
#enable_plugin networking-odl https://github.com/openstack/networking-odl stable/kilo
#enable_plugin networking-odl /vagrant/x/networking-odl.git plugin
enable_plugin networking-odl  http://git.openstack.org/openstack/networking-odl

LOGFILE=stack.sh.log
SCREEN_LOGDIR=/opt/stack/data/log
LOG_COLOR=False
#OFFLINE=True
#RECLONE=no
RECLONE=yes

disable_service swift
disable_service cinder
disable_service n-net
disable_service q-vpn
enable_service q-svc
enable_service q-dhcp
enable_service q-meta
enable_service n-novnc
#enable_service q-lbaas
#enable_service q-lbaasv2
enable_service tempest

HOST_IP=10.30.3.231
HOST_NAME=ctrl
SERVICE_HOST=$HOST_IP
SERVICE_HOST_NAME=$HOST_NAME
MULTIHOST=1

NEUTRON_CREATE_INITIAL_NETWORKS=False
Q_PLUGIN=ml2
Q_ML2_TENANT_NETWORK_TYPE=vxlan

# https://github.com/openstack/networking-odl/blob/master/devstack/settings
ODL_MODE=externalodl

ODL_NETVIRT_DEBUG_LOGS=True
ODL_MGR_IP=10.30.3.234
ODL_PORT=8080
ODL_ARGS="-Xmx3096m -XX:MaxPermSize=512m"
ODL_PROVIDER_MAPPINGS=phynet1:eth1

ENABLE_TENANT_TUNNELS=True

VNCSERVER_PROXYCLIENT_ADDRESS=${HOST_IP}
VNCSERVER_LISTEN=0.0.0.0

FLOATING_RANGE=172.16.0.0/24
PUBLIC_NETWORK_GATEWAY=172.16.0.1

#Q_HOST=$SERVICE_HOST
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
KEYSTONE_AUTH_HOST=$SERVICE_HOST
KEYSTONE_SERVICE_HOST=$SERVICE_HOST

ADMIN_PASSWORD=stack
DATABASE_PASSWORD=$ADMIN_PASSWORD
RABBIT_PASSWORD=$ADMIN_PASSWORD
SERVICE_PASSWORD=$ADMIN_PASSWORD
SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50

BRANCH=stable/kilo
GLANCE_BRANCH=$BRANCH
HORIZON_BRANCH=$BRANCH
KEYSTONE_BRANCH=$BRANCH
NOVA_BRANCH=$BRANCH
NEUTRON_BRANCH=$BRANCH
SWIFT_BRANCH=$BRANCH
##CLIFF_BRANCH=$BRANCH
##TEMPEST_BRANCH=$BRANCH
CINDER_BRANCH=$BRANCH
HEAT_BRANCH=$BRANCH
TROVE_BRANCH=$BRANCH
CEILOMETER_BRANCH=$BRANCH

# Disable q-l3 and uncomment the lines below if ODL is being configured to perform l3fwd
# For more info:  https://github.com/openstack/networking-odl/blob/master/devstack/README.rst
#enable_service q-l3
disable_service q-l3
Q_L3_ENABLED=True
ODL_L3=True
#PUBLIC_INTERFACE=eth0
[[post-config|$NEUTRON_CONF]]
[DEFAULT]
service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin

[[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]
[agent]
minimize_polling=True
