Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ML2 plugin should not delete ports on subnet deletion
On subnet deletion ports are deleted asynchronously by dhcp agent so plugin doesn't need to delete them itself. Instead Ml2Plugin.delete_subnet() method should call update_port() for each allocation to remove the IP from the port and call the MechanismDrivers. The patch also adds subnets test suite from test_db_plugin to test_ml2_plugin. Closes-Bug: #1246737 Change-Id: I7cf0461e9a3cfec4921e2de41fb1ab3fc119fddc
- Loading branch information
Oleg Bondarev
committed
Nov 22, 2013
1 parent
67fa30f
commit 0d131ff
Showing
3 changed files
with
61 additions
and
12 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
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