aboutsummaryrefslogtreecommitdiffstats
path: root/lcm/ns_vnfs/const.py
diff options
context:
space:
mode:
Diffstat (limited to 'lcm/ns_vnfs/const.py')
-rw-r--r--lcm/ns_vnfs/const.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/lcm/ns_vnfs/const.py b/lcm/ns_vnfs/const.py
index 4a67826b..d3edfe47 100644
--- a/lcm/ns_vnfs/const.py
+++ b/lcm/ns_vnfs/const.py
@@ -13,4 +13,16 @@
# limitations under the License.
DATETIME_FORMAT = '%Y-%m-%d %H:%M:%S'
+JOB_ERROR = 255
NFVO_VNF_INST_TIMEOUT_SECOND = 3000
+SCALAR_UNIT_DICT = {
+ "B": 1,
+ "kB": 1000,
+ "KiB": 1024,
+ "MB": 1000000,
+ "MiB": 1048576,
+ "GB": 1000000000,
+ "GiB": 1073741824,
+ "TB": 1000000000000,
+ "TiB": 1099511627776
+}