Move interface creation and deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kuryr-libnetwork |
New
|
Undecided
|
Unassigned |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/
commit 56d288f5085b077
Author: Louise Daly <email address hidden>
Date: Tue Nov 8 06:03:45 2016 +1300
Move interface creation and deletion
The current implementation calls interface create/delete in
NetworkDriv
release the interface to the default namespace in
NetworkDriv
compliant with Docker Libnetwork, interface creation and deletion should
be done in NetworkDriver.
Please note that while the implementation before this patch works anyway
for vEth pairs, it is not compatible with other interface types (e.g.
IPVlan) as it would be impossible for Kuryr to delete the endpoint until
Docker moves it to the default namespace
This patch moves the current interface creation/deletion from
NetworkDriv
NetworkDriv
_create_
subnets associated with the interface_cidr, the interface_response
message creation has been moved to NetworkDriver.
DocImpact
Co-Authored-By: Marco Chiappero <email address hidden>
Change-Id: I84999989cec34a