X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Fresources%2Fsa_02-vnf_with_vim_metrics_and_autoscaling_data.py;h=a7a3456647a43e5ae8d80d960f30bff90fe97c0a;hb=62a540df9a8d122d437b8536cc3bccecde327e7e;hp=1824990a9938ed18668f3e7d8844f42815462d59;hpb=9c787e49096be55086ec0690b2307978f05c3b9c;p=osm%2Ftests.git 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 1824990..a7a3456 100644 --- 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 @@ -10,29 +10,13 @@ # See the License for the specific language governing permissions and # limitations under the License. -from pathlib import Path - from common_helpers import get_prometheus_info # Prometheus host and port -(prometheus_host, prometheus_port) = get_prometheus_info() - -# Prometheus polling interval and retries -prometheus_poll_retries = '15 times' -prometheus_poll_timeout = '1 minute' -# Prometheus metric -metric_name = 'osm_cpu_utilization' -# Get ${HOME} from local machine -home = str(Path.home()) -# NS and VNF descriptor package folder -vnfd_pkg = 'hackfest_basic_metrics_vnf' -nsd_pkg = 'hackfest_basic_metrics_ns' -# NS and VNF descriptor id -vnfd_name = 'hackfest_basic_metrics-vnf' -nsd_name = 'hackfest_basic-ns-metrics' -# NS instance name -ns_name = 'sa_02' -# SSH keys to be used -publickey = home + '/.ssh/id_rsa.pub' -privatekey = home + '/.ssh/id_rsa' +( + prometheus_host, + prometheus_port, + prometheus_user, + prometheus_password, +) = get_prometheus_info()