[[local|localrc]]
enable_plugin networking-odl https://github.com/openstack/networking-odl stable/pike
LOGFILE=stack.sh.log
SCREEN_LOGDIR=/opt/stack/data/log
LOG_COLOR=False
#OFFLINE=True
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 q-lbaas
#enable_service q-lbaasv2
enable_service tempest

HOST_IP=10.5.23.210
HOST_NAME=23-210
SERVICE_HOST=$HOST_IP
SERVICE_HOST_NAME=$HOST_NAME


NEUTRON_CREATE_INITIAL_NETWORKS=False
Q_ML2_TENANT_NETWORK_TYPE=vxlan
ENABLE_TENANT_TUNNELS=True
Q_ML2_PLUGIN_MECHANISM_DRIVERS=opendaylight,logger



# https://github.com/openstack/networking-odl/blob/master/devstack/settings
ODL_MODE=externalodl  ; # allinone is the default mode. This line is here just to make that point.
ODL_MGR_IP=10.5.23.211
ODL_PORT=8080

VNCSERVER_PROXYCLIENT_ADDRESS=${HOST_IP}
VNCSERVER_LISTEN=0.0.0.0
MYSQL_HOST=$SERVICE_HOST
RABBIT_HOST=$SERVICE_HOST
GLANCE_HOSTPORT=$SERVICE_HOST:9292
KEYSTONE_AUTH_HOST=$SERVICE_HOST
KEYSTONE_SERVICE_HOST=$SERVICE_HOST


DATABASE_PASSWORD=mysql
RABBIT_PASSWORD=rabbit
SERVICE_TOKEN=service
SERVICE_PASSWORD=admin
ADMIN_PASSWORD=admin


BRANCH=stable/pike
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_BRIDGE=br-physnet1
PUBLIC_PHYSICAL_NETWORK=physnet1
ML2_VLAN_RANGES=physnet1
ODL_PROVIDER_MAPPINGS=${PUBLIC_PHYSICAL_NETWORK}:br-physnet1
[[post-config|$NEUTRON_CONF]]

[DEFAULT]
service_plugins = networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin

[ml2_odl]
url=http://10.5.23.211:8080/controller/nb/v2/neutron
username=admin
password=admin


[[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]

[agent]

minimize_polling=True
