3 # Copyright (c) 2018 Orange and others.
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 """Module to define pythonsdk-test exceptions."""
11 __author__ = ("Morgan Richomme <morgan.richomme@orange.com>")
14 class TestConfigurationException(Exception):
15 """Raise when configutation of the use cases is not complete or buggy."""
18 class ServiceDistributionException(Exception):
19 """Service not properly distributed."""
22 class ServiceInstantiateException(Exception):
23 """Service cannot be instantiate."""
26 class ServiceCleanupException(Exception):
27 """Service cannot be cleaned."""
30 class VnfInstantiateException(Exception):
31 """VNF cannot be instantiate."""
34 class VnfCleanupException(Exception):
35 """VNF cannot be cleaned."""
38 class VfModuleInstantiateException(Exception):
39 """VF Module cannot be instantiate."""
42 class VfModuleCleanupException(Exception):
43 """VF Module cannot be instantiate."""
46 class NetworkInstantiateException(Exception):
47 """Network cannot be instantiate."""
50 class NetworkCleanupException(Exception):
51 """Network cannot be cleaned."""
53 class ProfileInformationException(Exception):
54 """Missing k8s profile information."""
56 class ProfileCleanupException(Exception):
57 """K8s profile cannot be cleaned."""