1 ##############################################################################
2 # Copyright (c) 2018 Parker Berberian, Sawyer Bergeron, and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
11 class ResourceProvisioningException(Exception):
13 Resources could not be provisioned
18 class ModelValidationException(Exception):
20 Validation before saving model returned issues
25 class ResourceAvailabilityException(ResourceProvisioningException):
27 Requested resources are not *currently* available
32 class ResourceExistenceException(ResourceAvailabilityException):
34 Requested resources do not exist or do not match any known resources
39 class NonUniqueHostnameException(Exception):
43 class InvalidHostnameException(Exception):
47 class InvalidVlanConfigurationException(Exception):
51 class NetworkExistsException(Exception):