From 4b269fba0ca273dfa3acf44c9f5490f01e0c3d87 Mon Sep 17 00:00:00 2001 From: Trevor Bramwell Date: Fri, 22 Sep 2017 12:23:36 -0700 Subject: 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 --- validator/src/validation_tool/src/const.py | 48 ++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 validator/src/validation_tool/src/const.py (limited to 'validator/src/validation_tool/src/const.py') 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} -- cgit 1.2.3-korg