Move the l3 agent to the neutron_controller

This commit is contained in:
Egon Rijpkema 2018-07-16 14:16:45 +02:00
parent e1c49aca56
commit 2fc520a2ab
4 changed files with 15 additions and 14 deletions

View File

@ -29,6 +29,13 @@ neutron-metadata-agent \
--config-dir /etc/neutron/ \ --config-dir /etc/neutron/ \
-v -d & -v -d &
sleep 3
neutron-l3-agent \
--config-file /etc/neutron/l3_agent.ini \
--config-file /etc/neutron/neutron.conf \
--config-file /etc/neutron/metadata_agent.ini \
--config-dir /etc/neutron/ \
-v -d &
# If any process fails, kill the rest. # If any process fails, kill the rest.
# This ensures the container stops and systemd will restart it. # This ensures the container stops and systemd will restart it.

View File

@ -74,13 +74,6 @@ metadata_proxy_shared_secret = $METADATA_SECRET
EOF EOF
cat << EOF > /etc/neutron/l3_agent.ini
[DEFAULT]
interface_driver = linuxbridge
external_network_bridge =
EOF
cat << EOF > /etc/neutron/plugins/ml2/linuxbridge_agent.ini cat << EOF > /etc/neutron/plugins/ml2/linuxbridge_agent.ini

View File

@ -27,13 +27,6 @@ neutron-metadata-agent \
--config-dir /etc/neutron/ \ --config-dir /etc/neutron/ \
-v -d & -v -d &
sleep 3
neutron-l3-agent \
--config-file /etc/neutron/l3_agent.ini \
--config-file /etc/neutron/neutron.conf \
--config-file /etc/neutron/metadata_agent.ini \
--config-dir /etc/neutron/ \
-v -d &
# If any process fails, kill the rest. # If any process fails, kill the rest.
# This ensures the container stops and systemd will restart it. # This ensures the container stops and systemd will restart it.

View File

@ -297,3 +297,11 @@ osd pool default size = $OSD_POOL_DEFAULT_SIZE
[client.compute] [client.compute]
keyring = /etc/ceph/ceph.client.compute.keyring keyring = /etc/ceph/ceph.client.compute.keyring
EOF EOF
cat << EOF > /etc/neutron/l3_agent.ini
[DEFAULT]
interface_driver = linuxbridge
external_network_bridge =
EOF