Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle exceptions on create_dhcp_port
If a network/subnet is deleted while creating the dhcp port, the agent will detect a conflict on state of the network and deal with it accordingly. A concurrent delete may manifest itself via a number of exceptions, IPAddressGenerationFailure amongst others, hence the refactoring of the error handling logic into its own utility method. Partial-bug: #1253344 Related-bug: #1243726 Change-Id: I442beb5f82f3db8786eea53926903ef0ba0efbf1
- Loading branch information
1 parent
8faa5f0
commit bff120a
Showing
5 changed files
with
125 additions
and
51 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
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