sonata-nfv / tng-communications-pilot

5GTANGO Communications pilot repository
Apache License 2.0
0 stars 12 forks source link

Produce some packet loss in the container in the VNF side. #86

Closed DanielVilaFalcon closed 5 years ago

DanielVilaFalcon commented 5 years ago

Working to produce some packet loss to check the violation of the metric. Maybe implement another API in the NS to put the value of this metric in SNMP manager. Open an issue to discuss the best approach in comm pilot.

DanielVilaFalcon commented 5 years ago

An API has been implemented to get and put (change) the value of the following SNMP vairables:

  1. Request to get the metrics' values:

curl -X GET http://10.120.0.19:6666/ -d 'SNMP_var=<NameOfVariable>'

2 Request to change the metrics' value

curl -X PUT http://10.120.0.19:6666/ -d 'SNMP_var=<NameOfVariable>&value=<Value>'

The value of the changed metric must be updated in the Prometheus monitoring platform.