Merge "Add FirewallGroupPortNotSupported exception"

This commit is contained in:
Zuul 2023-06-06 23:31:56 +00:00 committed by Gerrit Code Review
commit 4d1e022083

View File

@ -175,3 +175,8 @@ class FirewallGroupDefaultAlreadyExists(exceptions.InUse):
"""
message = _("Default firewall group already exists. 'default' is the "
"reserved name for firewall group.")
class FirewallGroupPortNotSupported(exceptions.Conflict):
message = _("Port %(port_id)s is not supported by firewall driver "
"'%(driver_name)s'.")