Add the missing AddressInUseException

Commit fd904a6a656e338ece36f5353273bcb7220066ee uses an exception from
kuryr lib. However, it missed to add the exception.

Change-Id: I52507a547a5f20254e86a0b5cda9eb0b70617ead
Closes-Bug: #1651062
This commit is contained in:
Hong Hui Xiao 2016-12-19 03:54:31 -05:00
parent 4c860226c7
commit 3f88afa5a9
1 changed files with 8 additions and 0 deletions

View File

@ -110,3 +110,11 @@ class SegmentationDriverBindingDriverCompatibilityFailure(KuryrException):
This exception is thrown when configured binding driver does not have
a supporting segmentation type driver.
"""
class AddressInUseException(KuryrException):
"""Exception represents the requested ip address is used.
This exception is thrown when a specific address is requested and the
requested ip address already exists and is used.
"""