diff --git a/nova/exception.py b/nova/exception.py index f0f47754d..d06cf7f38 100644 --- a/nova/exception.py +++ b/nova/exception.py @@ -579,6 +579,10 @@ class NoNetworksFound(NotFound): msg_fmt = _("No networks defined.") +class NoMoreNetworks(NovaException): + msg_fmt = _("No more available networks.") + + class NetworkNotFoundForProject(NotFound): msg_fmt = _("Either Network uuid %(network_uuid)s is not present or " "is not assigned to the project %(project_id)s.")