Bridge between container framework networking and storage models to OpenStack networking and storage abstractions.
Go to file
Taku Fukushima 61a0350695 Implement /NetworkDriver.Join
This patch implements /NetworkDriver.Join, which goes through the
following steps:

1. Find the Neutron port associated with the given EndpointID
2. Create the veth pair based on the info of the retrieved port
3. Bind the port to the veth endpoint
4. Construct the response with the port and return it

In the process 3, Kuryr executes the binding script specified in the
binding:vif_type attribute of the retrieved Neutron port. Although
Neutron plugin can put arbitrary types in that attribute, if the
attribute was not specified it defaults to "unbound" and Kuryr invokes
"unbound" executable, which always fails with the status code 1.

This patch also includes the unit tests cover the successful case and
the failures.

Change-Id: Id3a8288199975d86812c7c1d210c7e11ae58d7b8
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
2015-11-04 17:03:49 +09:00
contrib/vagrant Update vagrant support to use docker 1.9.0 rather experimental 2015-10-19 10:43:42 +05:30
doc/source Update devref to catchup with libnetwork 0.5.0 2015-10-22 22:21:34 +05:30
etc Adding configurations for Kuryr 2015-09-17 02:50:45 -04:00
kuryr Implement /NetworkDriver.Join 2015-11-04 17:03:49 +09:00
scripts Add entry point for kuryr-server 2015-09-24 13:45:49 -04:00
tools Stop unneeded cloning of Neutron during CI 2015-09-08 11:07:11 +00:00
usr/libexec/kuryr Implement /NetworkDriver.Join 2015-11-04 17:03:49 +09:00
__init__.py Add entrypoint of Kuryr 2015-07-27 19:40:49 +09:00
.coveragerc Exclude tests from coverage 2015-10-08 21:37:54 +09:00
.gitignore Add .gitignore file 2015-07-15 07:46:16 +00:00
.gitreview Added .gitreview 2015-07-14 18:00:33 +00:00
.testr.conf Initial template commit 2015-07-15 10:00:44 +03:00
babel.cfg Initial template commit 2015-07-15 10:00:44 +03:00
CONTRIBUTING.rst Initial template commit 2015-07-15 10:00:44 +03:00
HACKING.rst Initial template commit 2015-07-15 10:00:44 +03:00
LICENSE Initial template commit 2015-07-15 10:00:44 +03:00
MANIFEST.in Initial template commit 2015-07-15 10:00:44 +03:00
openstack-common.conf Initial template commit 2015-07-15 10:00:44 +03:00
README.rst Wrap readme to 80 chars 2015-09-11 20:28:35 -07:00
requirements.txt Implement /NetworkDriver.Join 2015-11-04 17:03:49 +09:00
setup.cfg Add entry point for kuryr-server 2015-09-24 13:45:49 -04:00
setup.py Initial template commit 2015-07-15 10:00:44 +03:00
test-requirements.txt Removing unused dependency: discover 2015-08-28 17:50:42 +02:00
tox.ini Merge "Activate pep8 check that _ is imported" 2015-09-17 08:47:51 +00:00

kuryr

Docker for Openstack Neutron

Kuryr is a Docker network plugin that uses Neutron to provide networking services to Docker containers. It provides containerised images for the common Neutron plugins.

Features

  • TODO

Prerequisites

$ sudo pip install -r requirements.txt

Running Kuryr

Please run the following script, it creates /usr/lib/docker/plugins/kuryr and the JSON spec file, /usr/lib/docker/plugins/kuryr/kuryr.json, if they don't exist.

$ ./scripts/run_kuryr.sh

Testing Kuryr

$ tox