diff --git a/senlin/common/exception.py b/senlin/common/exception.py index 5d6bcef69..ec6a08b61 100644 --- a/senlin/common/exception.py +++ b/senlin/common/exception.py @@ -270,6 +270,14 @@ class RequestLimitExceeded(SenlinException): msg_fmt = _('Request limit exceeded: %(message)s') +class ActionMissingTarget(SenlinException): + msg_fmt = _('Action "%(action)s" must have target specified') + + +class ActionMissingPolicy(SenlinException): + msg_fmt = _('Action "%(action)s" must have policy specified') + + class ActionNotSupported(SenlinException): msg_fmt = _('Action "%(action)s" not supported by %(object)s')