When neutron configured with linux bridge driver, kuryr will bind
port error. The linux bridge name should be "brq"+network_id[0,11].
Change-Id: I07be68bbfe7b1384f4e946664aed41546ff9ddce
Closes-bug: #1638041
Allows the OVS binding script to recognize if it
has to do hybrid binding or not and operate accordingly.
Closes-Bug: #1535828
Change-Id: I7c7d7b115b546c136a07880bc568662558dbc950
The networking-calico Neutron driver/plugin uses VIF_TYPE_TAP, so this
change enables using Kuryr with networking-calico
Change-Id: Ic5a079ad4e4d7be73e9fc81145e28bc6ee59bc36
This patch fix the mac address of the port to the right value.
It also creates the port atomically (with the various details),
avoiding it to be misinterpreted by ovs-agent.
Change-Id: I16f89a30ac3b47eeaa5edddd37712934729fdf93
Closes-Bug: 1569412
The external_ids which created by nova and kuryr is different.
Nova use "vm-uuid=" in external_ids but kuryr use "vm-id=".
Change-Id: Ic3f96fa1e7ac8227390b7afcc0237b39aad18836
Closes-bug: #1543927
This patch modifies the permission of usr/libexec/kuryr/unbound and
makes it executable.
Change-Id: I7f898763a45b9ee09d3876df73836df13d1bea4c
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
Closes-Bug: #1516871
This patch implements /NetworkDriver.Leave, which unbinds the Neutron
port from the veth pair on the host and delete the veth pair.
Change-Id: If02f52594924811180acfaac0ec29d10c25c6869
Signed-off-by: Taku Fukushima <f.tac.mac@gmail.com>
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>