6 Commits

Author SHA1 Message Date
Sam Yaple
3cfd5265ae Remove config-internal for openvswitch
Change-Id: I4b8f275b670a1ac3b72b2af34b53bddca4a63cb2
Partially-Implements: blueprint remove-config-internal
2015-08-07 17:52:20 +00:00
Sam Yaple
77f71b9f59 Adds the appropriate tools to addin the ovs bridge
Ansible will exec a script in the OVS container to ensure the bridge and
ports are properly setup. The script is idempotent.

Change-Id: I5adca595a4d2ef4edf26c9635cfa5ceb30ca4a59
Closes-Bug: #1466375
2015-07-23 12:15:31 +00:00
Martin André
9becd325cd Fix symlinks to config-{internal,external}.sh
Many of these were actually files containing the path to the real
script, instead of being symlinks.

config-{internal,external}.sh files in openvswitch/ovs-base were not
needed and were thus deleted.

Also update minimal-environment-vars.md after symlinks were fixed.

Change-Id: I11c3e735067b1feb83c3184c32333e598fbdf590
Closes-Bug: #1474227
2015-07-15 09:47:51 +09:00
digambar
d2d3e74e19 Add config-internal/config-external to OpenvSwitch containers
Partially Implements: Blueprint standard-start

Co-Authored-By: Swapnil Kulkarni <me@coolsvap.net>
Change-Id: I52ed4b56efe3fc4ebbc108b2fe7e9d69eb0f0928
2015-07-09 12:15:18 -04:00
Martin André
69e79b56d8 Fix build link for ovs container
Change-Id: Ia296239bbf2d242403885d3ad5005479159c8aff
Closes-Bug: #1468591
2015-06-25 12:29:49 +09:00
Fang Fenghua
0971e7eed6 Add openvswitch container
Add openvswitch containers. Openvswitch is seperated into two running
containers:
  ovs-db-server
  ovs-vswitchd

The db container is what everything interacts with. Neutron tells the db
its information, the vswitchd container reads this db and talks to the
kernel module.

The db does not need to be persistent since the plugin agent will
repopulate all the information each time it is restarted and the plugin
agent is required to be restarted when the ovs-vswitchd container is
stopped/started to ensure the ports are setup properly.

This container requires /run for the socket and /lib/modules:ro to load
the appropriate host kernel module.

This userspace tools and the kernel module do _not_ have to match
versions. Additionally, even though it is recommended that the userspace
tool be newer than the kernel version to take advantage of all the
features, it is not required.

Partially Implements blueprint: openvswitch-container

Co-Authored-By: Sam Yaple <sam@yaple.net>

Change-Id: I70e3807be32c9a07346d316e7856421ecf468b9a
2015-06-20 08:23:12 +00:00