Allows neutron-agents l3 agent to communicate with OVS

The neutron-agents l3 agent requires access to the OVS database via
access to /run.  It also needs to have ovs-vsctl binary available in
the container.

Change-Id: I903537b570cd60c9bb1088e9408a5f6ea4988d8f
Closes-Bug: #1477376
This commit is contained in:
Steven Dake 2015-07-22 20:15:50 -07:00
parent 6d4a55060e
commit 4789f9188a
2 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@
container_name: "neutron_agents" container_name: "neutron_agents"
container_privileged: "True" container_privileged: "True"
container_volumes: container_volumes:
- "/run:/run"
- "{{ node_config_directory }}/neutron-agents/:/opt/kolla/neutron-agents/:ro" - "{{ node_config_directory }}/neutron-agents/:/opt/kolla/neutron-agents/:ro"
when: inventory_hostname in groups['neutron-agents'] when: inventory_hostname in groups['neutron-agents']

View File

@ -4,6 +4,7 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum -y install openstack-neutron \ RUN yum -y install openstack-neutron \
openstack-neutron-ml2 \ openstack-neutron-ml2 \
python-neutron-client \ python-neutron-client \
openvswitch \
&& yum clean all && yum clean all
COPY config-neutron.sh config-sudoers.sh /opt/kolla/ COPY config-neutron.sh config-sudoers.sh /opt/kolla/