cbb94b94fc005befd0b85756c2f791a37361ebac
[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 ScaleType {
42                 SCALE_OUT, SCALE_IN
43         }
44
45         public enum Deletionpending {
46                 TRUR, fALSE
47         }
48
49         // GrantVnf
50         public enum LifecycleOperation {
51                 Instantiate, Scaleout, Scalein, Scaleup, Scaledown, Terminal
52         }
53
54         public enum type {
55                 VDU, VL, CP, Strorage
56         }
57
58         // NotifyLcmEvents
59         public enum status {
60                 start, result
61         }
62
63         public enum changeType {
64                 vl_added, vl_removed, vl_modified
65
66         }
67
68         public enum resourceType
69
70         {
71                 vm, volume, network, port
72         }
73         
74         public enum AffectchangeType{
75                 added,removed, modified
76         }
77
78 }