X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=robot-systest%2Fresources%2Fsa_08-vnf_with_vnf_indicators_snmp_data.py;h=a7a3456647a43e5ae8d80d960f30bff90fe97c0a;hb=ec442823b5b005772064ee82cc221ab70c088715;hp=d9e6d1efa84b1f40da107affb46705d76e6c132b;hpb=a5704d6a060b5329e10488a351c50495be69d680;p=osm%2Ftests.git diff --git a/robot-systest/resources/sa_08-vnf_with_vnf_indicators_snmp_data.py b/robot-systest/resources/sa_08-vnf_with_vnf_indicators_snmp_data.py index d9e6d1e..a7a3456 100644 --- a/robot-systest/resources/sa_08-vnf_with_vnf_indicators_snmp_data.py +++ b/robot-systest/resources/sa_08-vnf_with_vnf_indicators_snmp_data.py @@ -10,26 +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 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()