projects
/
osm
/
tests.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated SA02 test: CPU threshold read from VNF package
[osm/tests.git]
/
robot-systest
/
resources
/
sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
diff --git
a/robot-systest/resources/sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
b/robot-systest/resources/sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
index
15a4477
..
1824990
100644
(file)
--- a/
robot-systest/resources/sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
+++ b/
robot-systest/resources/sa_02-vnf_with_vim_metrics_and_autoscaling_data.py
@@
-21,9
+21,8
@@
from common_helpers import get_prometheus_info
# Prometheus polling interval and retries
prometheus_poll_retries = '15 times'
prometheus_poll_timeout = '1 minute'
# Prometheus polling interval and retries
prometheus_poll_retries = '15 times'
prometheus_poll_timeout = '1 minute'
-# Prometheus metric
and threshold
+# Prometheus metric
metric_name = 'osm_cpu_utilization'
metric_name = 'osm_cpu_utilization'
-metric_threshold = 40
# Get ${HOME} from local machine
home = str(Path.home())
# NS and VNF descriptor package folder
# Get ${HOME} from local machine
home = str(Path.home())
# NS and VNF descriptor package folder
@@
-33,7
+32,7
@@
nsd_pkg = 'hackfest_basic_metrics_ns'
vnfd_name = 'hackfest_basic_metrics-vnf'
nsd_name = 'hackfest_basic-ns-metrics'
# NS instance name
vnfd_name = 'hackfest_basic_metrics-vnf'
nsd_name = 'hackfest_basic-ns-metrics'
# NS instance name
-ns_name = 'sa_02
-vnf_with_vim_metrics_and_autoscaling_test
'
+ns_name = 'sa_02'
# SSH keys to be used
publickey = home + '/.ssh/id_rsa.pub'
privatekey = home + '/.ssh/id_rsa'
# SSH keys to be used
publickey = home + '/.ssh/id_rsa.pub'
privatekey = home + '/.ssh/id_rsa'