Fix Bug 2197 - Prometheus cannot be authenticated in Robot tests
[osm/tests.git] / robot-systest / resources / sa_08-vnf_with_vnf_indicators_snmp_data.py
index d9e6d1e..27f448f 100644 (file)
@@ -16,20 +16,9 @@ from common_helpers import get_prometheus_info
 
 
 # Prometheus host and port
-(prometheus_host, prometheus_port) = get_prometheus_info()
-
-# Prometheus metrics to retrieve
-metric_1_name = 'ifInOctets'
-metric_1_filter = 'ifIndex=1'
-metric_2_name = 'ifMtu'
-metric_2_filter = 'ifIndex=2'
-# Get ${HOME} from local machine
-home = str(Path.home())
-# NS and VNF descriptor package folder
-vnfd_pkg = 'snmp_ee_vnf'
-nsd_pkg = 'snmp_ee_ns'
-# NS and VNF descriptor id
-vnfd_name = 'snmp_ee-vnf'
-nsd_name = 'snmp_ee-ns'
-# NS instance name
-ns_name = 'sa_08-vnf_with_vnf_indicators_snmp_test'
+(
+    prometheus_host,
+    prometheus_port,
+    prometheus_user,
+    prometheus_password,
+) = get_prometheus_info()