diff --git a/03-osm-rel8-tests.md b/03-osm-rel8-tests.md index 778c962b0402e3f47e8728902fe4b1d01bc6d36e..aad7e7c41ed0a9c3c83c51d1b4c610d90968c623 100644 --- a/03-osm-rel8-tests.md +++ b/03-osm-rel8-tests.md @@ -410,3 +410,37 @@ _Note. The following is a basic test of PLA using a nsd with a single vnf and on ``` In this example the VNF is deployed to OpenStack1 being the cheapest VIM for the VNF. + +## Service Assurance + +### \[SA-08\] VNF Indicator collection using Prometheus exporters + +As a precondition for this test, please make sure: + +1. Your VIM has an accessible management network (in this case called "") +2. Your VIM has the appropriate test image, in this case `vyos-1.1.7`. +``` + +Onboard the descriptors: + +```bash +osm vnfpkg-create snmp_ee_vnf +osm nspkg-create snmp_ee_ns +``` + +Launch the NS: + +```bash +osm ns-create --ns_name snmpee_sa08 --nsd_name snmp_ee-ns --vim_account | --config '{vld: [ {name: mgmtnet, vim-network-name: } ] }' +osm ns-list +``` + +Wait ~5 minutes for the SNMP metrics to get collected. After that, check some of them at Prometheus, visiting [`http://[OSM_IP]:9091`](http://[OSM_IP]:9091) and looking for `ifMtu` and `ifInOctets` (you should see one value per VM interface). + +Finally, delete the NS and the packages: + +```bash +osm ns-delete snmpee_sa08 +osm nsd-delete snmp_ee-ns +osm vnfd-delete snmp_ee-vnf +``` \ No newline at end of file