Improve unit-test coverage
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / org / onap / vfc / nfvo / driver / vnfm / svnfm / constant / CommonEnum.java
1 /*
2 * Copyright 2016-2017 Nokia Corporation
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *     http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.onap.vfc.nfvo.driver.vnfm.svnfm.constant;
17
18 public class CommonEnum {
19
20         // Termination
21         public enum TerminationType {
22                 GRACEFUL, FORCEFUL
23         }
24
25         // Instantiation
26
27         public enum InstantiationState {
28                 NOT_INSTANTIATED, INSTANTIATED
29         }
30         // operation status
31
32         public enum OperationStatus {
33                 STARTED, FINISHED, FAILED, OTHER
34         }
35
36         // scale
37         public enum ScaleDirection {
38                 OUT, IN
39         }
40
41         public enum Deletionpending {
42                 TRUR, fALSE
43         }
44
45         // GrantVnf
46         public enum LifecycleOperation {
47                 Instantiate, Scaleout, Scalein, Scaleup, Scaledown, Terminal,Heal
48         }
49
50         public enum type {
51                 VDU, VL, CP, Strorage
52         }
53
54         // NotifyLcmEvents
55         public enum status {
56                 start, result
57         }
58
59         public enum changeType {
60                 vl_added, vl_removed, vl_modified
61
62         }
63
64         public enum resourceType
65
66         {
67                 vm, volume, network, port
68         }
69         
70         public enum AffectchangeType{
71                 added,removed, modified
72         }
73
74 }