summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/nf/vnfs/const.py
diff options
context:
space:
mode:
authorying.yunlong <ying.yunlong@zte.com.cn>2017-02-15 16:52:53 +0800
committerying.yunlong <ying.yunlong@zte.com.cn>2017-02-15 16:52:53 +0800
commit64e3ae6de960c1ec7a7c6af87d01439b775b2f09 (patch)
tree9db117419eeb2aa73859d507714dda4b7bca0123 /lcm/lcm/nf/vnfs/const.py
parent9a8f9cd744b44514cf94e15c84f315751f493c3c (diff)
Add code of grant resource
Change-Id: I1df0b67005e7342455bc27582fa88001cd6254c2 Issue-Id: GVNFM-14 Signed-off-by: ying.yunlong <ying.yunlong@zte.com.cn>
Diffstat (limited to 'lcm/lcm/nf/vnfs/const.py')
-rw-r--r--lcm/lcm/nf/vnfs/const.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/lcm/lcm/nf/vnfs/const.py b/lcm/lcm/nf/vnfs/const.py
new file mode 100644
index 00000000..cf18a2de
--- /dev/null
+++ b/lcm/lcm/nf/vnfs/const.py
@@ -0,0 +1,19 @@
+# Copyright 2017 ZTE Corporation.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from lcm.pub.utils.jobutil import enum
+
+VNF_STATUS = enum(NULL='null', INSTANTIATING="instantiating", INACTIVE='inactive', ACTIVE="active",
+ FAILED="failed", TERMINATING="terminating", SCALING="scaling", OPERATING="operating",
+ UPDATING="updating", HEALING="healing") \ No newline at end of file