Ubuntu 24.03.03 running perfSonar v5.2.2-1
The documentation at https://docs.perfsonar.net/config_owamp.html states that to limit the ports used by the owamp-server service, one should edit the /etc/owamp-server/owamp-server.conf file and change the testports setting.
After making a change there to the lower bound of the range at the request of my network admin and restarting the owamp-server service, I found that latencybg tests were still running on the default port range of 8760 to 9960.
Running "grep -R ports *" from /etc/perfsonar located the file /etc/perfsonar/psconfig/transforms.d/latency-testports.json, with the following contents:
{
"script": ".tests |= map_values(if .type == \"latencybg\" or .type == \"latency\" then .spec.\"data-ports\" |= {\"lower\": 8760, \"upper\": 9960} else . end)"
}
Changing the "lower" value in this file and then once again restarting the owamp-server.service had my latencybg tests running in the proper range.
I imagine that deleting this file would have worked as well, but I don't generally feel safe deleting files.
I don't know if this file was left as an example, but the documentation should definitely mention that it exists and what it does.
Ubuntu 24.03.03 running perfSonar v5.2.2-1
The documentation at https://docs.perfsonar.net/config_owamp.html states that to limit the ports used by the owamp-server service, one should edit the /etc/owamp-server/owamp-server.conf file and change the testports setting.
After making a change there to the lower bound of the range at the request of my network admin and restarting the owamp-server service, I found that latencybg tests were still running on the default port range of 8760 to 9960.
Running "grep -R ports *" from /etc/perfsonar located the file /etc/perfsonar/psconfig/transforms.d/latency-testports.json, with the following contents:
Changing the "lower" value in this file and then once again restarting the owamp-server.service had my latencybg tests running in the proper range.
I imagine that deleting this file would have worked as well, but I don't generally feel safe deleting files.
I don't know if this file was left as an example, but the documentation should definitely mention that it exists and what it does.