Update README.md with instructions to run tests using testing-daily images
[osm/tests.git] / robot-systest / resources / sa_08-vnf_with_vnf_indicators_snmp_data.py
index d9e6d1e..a7a3456 100644 (file)
 #   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()