Add ExportPortFailure exception
When creating security group rule failed, kuryr-libnetwork raise an exception: 'module' object has no attribute 'ExportPortFailure'. Meanwhile ExportPortFailure is missing in the imported module. This patch add missing ExportPortFailure in kuryr-lib. Change-Id: Ia5cbe785d3bdecf0981438aa850d9d9da3ab38c8 Closes-Bug: #1627911
This commit is contained in:
parent
d5e87557f1
commit
4ade0e23a6
@ -86,3 +86,11 @@ class VethDeletionFailure(KuryrException):
|
||||
This exception is thrown when the veth pair is not deleted appropriately
|
||||
and Kuryr can't proceed the unbinding further.
|
||||
"""
|
||||
|
||||
|
||||
class ExportPortFailure(KuryrException):
|
||||
"""Exception represents setting up exported port is failed.
|
||||
|
||||
This exception is thrown when performing Neutron security group failed
|
||||
for an exported port and Kuryr can't proceed the expose further.
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user