diff options
author | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-09-22 12:23:36 -0700 |
---|---|---|
committer | Trevor Bramwell <tbramwell@linuxfoundation.org> | 2017-09-22 12:23:36 -0700 |
commit | 4b269fba0ca273dfa3acf44c9f5490f01e0c3d87 (patch) | |
tree | 909b5262b46306eb78327e535f2e14120e45116a /validator/src/validation_tool/src/const.py | |
parent | d46ab54583a6c20bfa5bea581f512474f488e788 (diff) |
Rename pharos-dashboard and pharos-validator
As subdirectories of the pharos-tools repo, there is little need to keep
the pharos prefix.
Change-Id: Ica3d79411f409df638647300036c0664183c2725
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
Diffstat (limited to 'validator/src/validation_tool/src/const.py')
-rw-r--r-- | validator/src/validation_tool/src/const.py | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/validator/src/validation_tool/src/const.py b/validator/src/validation_tool/src/const.py new file mode 100644 index 0000000..a204a96 --- /dev/null +++ b/validator/src/validation_tool/src/const.py @@ -0,0 +1,48 @@ +############################################################################## +# Copyright (c) 2015 Todd Gaunt and others. +# +# All rights reserved. This program and the accompanying materials +# are made available under the terms of the Apache License, Version 2.0 +# which accompanies this distribution, and is available at +# http://www.apache.org/licenses/LICENSE-2.0 +############################################################################## + +## Various constant strings used throughout program +HARDWARE_TEST="pharos-validator-node" + +## Pharos hardware specification +# memory +MIN_MEMSIZE = 32000000 # In Kb + +# cpu +MIN_CPUFREQ = 1800.000 # In Mhz +MIN_CORECOUNT = 4 + +# storage +MIN_DISKCOUNT = 3 +MIN_SSDCOUNT = 1 +MIN_HDDSIZE = 1000 # In Gb +MIN_SSDSIZE = 100 # In Gb +# Smallest possible disk size +MIN_DISKSIZE = min(MIN_HDDSIZE, MIN_SSDSIZE) + +# Virtual deployments +# Requirements are per node +APEX_REQ = {"cores": 2, \ + "ram": 8000000, \ + "disk": 40} + +# Requirements are per node +COMPASS_REQ = {"cores": 4, \ + "ram": 4000000, \ + "disk": 100} + +# Requirements are per node +JOID_REQ = {"cores": 4, \ + "ram": 4000000, \ + "disk": 100} + +# Requirements are per node +FUEL_REQ = {"cores": 4, \ + "ram": 4000000, \ + "disk": 100} |