Skip to content
Snippets Groups Projects
Commit 40be5646 authored by Daneyon Hansen's avatar Daneyon Hansen
Browse files

Partially Implements: Container set compute-operation-neutron

Adds the neutron-linuxbridge-agent to the neutron container set.

Change-Id: I20752611c24a3110cc5d2e4fca2d501fc32a4d87
parent afcc1569
No related branches found
No related tags found
No related merge requests found
linuxbridge:
image: kollaglue/centos-rdo-linux-bridge
name: neutron-linuxbridge-agent
net: "host"
restart: always
env_file:
- openstack.env
......@@ -5,18 +5,14 @@ set -e
. /opt/kolla/config-neutron.sh
. /sudoers.sh
: ${BRIDGE_PHYSICAL_INTERFACE:=eth1}
: ${ML2_FLAT_NETWORK:=physnet1}
: ${NEUTRON_FLAT_NETWORK_NAME:=physnet1}
: ${NEUTRON_FLAT_NETWORK_INTERFACE:=eth1}
check_required_vars PUBLIC_IP
cfg=/etc/neutron/plugins/ml2/ml2_conf.ini
# Configure ml2_conf.ini
crudini --set $cfg \
ml2_type_flat \
flat_networks \
"${ML2_FLAT_NETWORK}"
crudini --set $cfg \
vxlan \
local_ip \
......@@ -24,7 +20,7 @@ crudini --set $cfg \
crudini --set $cfg \
linux_bridge \
physical_interface_mappings \
"${ML2_FLAT_NETWORK}:${BRIDGE_PHYSICAL_INTERFACE}"
"${NEUTRON_FLAT_NETWORK_NAME}:${NEUTRON_FLAT_NETWORK_INTERFACE}"
#Initialization scripts expect a symbolic link
/usr/bin/ln -s /etc/neutron/plugins/ml2/ml2_conf.ini /etc/neutron/plugin.ini
......
......@@ -67,6 +67,10 @@ CONFIG_NETWORK=True
ENABLED_APIS=ec2,osapi_compute,metadata
METADATA_HOST=$HOST_IP
# Neutron Linux Bridge Agent
NEUTRON_FLAT_NETWORK_NAME=physnet1
NEUTRON_FLAT_NETWORK_INTERFACE=eth1
# Heat
HEAT_DB_NAME=heat
HEAT_DB_PASSWORD=kolla
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment