Loading 03-osm-rel8-tests.md +34 −0 Original line number Diff line number Diff line Loading @@ -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 "<VIM_MGMT_NET>") 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 <VIM_ACCOUNT_NAME>|<VIM_ACCOUNT_ID> --config '{vld: [ {name: mgmtnet, vim-network-name: <VIM_MGMT_NET>} ] }' 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 Loading
03-osm-rel8-tests.md +34 −0 Original line number Diff line number Diff line Loading @@ -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 "<VIM_MGMT_NET>") 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 <VIM_ACCOUNT_NAME>|<VIM_ACCOUNT_ID> --config '{vld: [ {name: mgmtnet, vim-network-name: <VIM_MGMT_NET>} ] }' 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