X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2Ftests.git;a=blobdiff_plain;f=robot-systest%2Ftestsuite%2Fsa_02-vnf_with_vim_metrics_and_autoscaling.robot;h=74b56ddf109a4fef6c737793be40aaba3a3b7e30;hp=fb6616f0ae204b19fe8b905af33a0d0cb1cfd49f;hb=fccb028b493afafb8a602953ed5125303423d3ff;hpb=58710335f2db1e82ec171784891b7cbee71fd360 diff --git a/robot-systest/testsuite/sa_02-vnf_with_vim_metrics_and_autoscaling.robot b/robot-systest/testsuite/sa_02-vnf_with_vim_metrics_and_autoscaling.robot index fb6616f..74b56dd 100644 --- a/robot-systest/testsuite/sa_02-vnf_with_vim_metrics_and_autoscaling.robot +++ b/robot-systest/testsuite/sa_02-vnf_with_vim_metrics_and_autoscaling.robot @@ -32,13 +32,37 @@ Suite Teardown Run Keyword And Ignore Error Suite Cleanup *** Variables *** +# NS instantiation parameters +${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ] } + +# NS and VNF descriptor package folder and ids +${vnfd_pkg} hackfest_basic_metrics_vnf +${vnfd_name} hackfest_basic_metrics-vnf +${nsd_pkg} hackfest_basic_metrics_ns +${nsd_name} hackfest_basic-ns-metrics + +# NS instance name and id ${ns_id} ${EMPTY} +${ns_name} sa_02 + +# SSH keys and username to be used +${publickey} %{HOME}/.ssh/id_rsa.pub +${privatekey} %{HOME}/.ssh/id_rsa ${username} ubuntu ${password} osm4u + +# Prometheus polling interval and retries +${prometheus_poll_retries} 15 times +${prometheus_poll_timeout} 1 minute + +# Prometheus metrics to retrieve +${metric_name} osm_cpu_utilization + +# VNF Variables ${vnf_member_index} vnf ${vnf_ip_addr} ${EMPTY} ${vnf_id} ${EMPTY} -${ns_config} {vld: [ {name: mgmtnet, vim-network-name: %{VIM_MGMT_NET}} ] } + ${success_return_code} 0