kuryr-libnetwork/kuryr/tests
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
..
__init__.py Initial template commit 2015-07-15 10:00:44 +03:00
base.py Implement /NetworkDriver.Join 2015-11-04 17:03:49 +09:00
test_config.py Adding configurations for Kuryr 2015-09-17 02:50:45 -04:00
test_join.py Implement /NetworkDriver.Join 2015-11-04 17:03:49 +09:00
test_kuryr.py Implement /NetworkDriver.Join 2015-11-04 17:03:49 +09:00
test_kuryr_endpoint.py Add device_owner while creating neutron port. 2015-10-20 00:37:37 +08:00
test_kuryr_network.py Add the validation for /NetworkDriver.DeleteNetwork 2015-09-15 19:50:41 +09:00
test_utils.py Add get_neutron_port_name 2015-10-15 17:55:08 +09:00