-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cleanup ports after IPAM failure (#259)
* Test cleanup after ADD failure Signed-off-by: Petr Horáček <[email protected]> * Cleanup ports after IPAM failure While most of the configuration gets cleaned up on ADD failure through the removal of containers netns, OVS ports do not. In case port attachment succeeded but the following IPAM configuration failed, we end up with the port left behind. With this patch, the port gets explicitly deleted on IPAM failure. Signed-off-by: Petr Horáček <[email protected]> Signed-off-by: Petr Horáček <[email protected]>
- Loading branch information
Showing
2 changed files
with
81 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters