I have a controlled SDN lab scenario where I have a control plane and a data plane. The network is composed by:
- A switch
- 2 pc connected to the switch for the data plane
- A controller pc connected to the control plane of the switch that can change network parameters
The network controller Is able to set bandwidth and queue priorities from pc1 and pc2.
I'm able to get timestamps when the controller starts sending new configuration to the SDN switch and when the SDN switch replies with an ack. I'm looking for a way to get timestamp on when the new network configuration is applied to the network. I tried using ping command, setting an interval of 0.001 seconds. It is possible to find the exact ping that shows a delay change but how can I get timestamp of that exact time? If I pass the ping output to a file, then I can read it with a Python script but it will not be a real-time process.
The same things happen if I try to monitor bandwidth with iperf from pc1 to pc2. In this case it is even worse because iperf only shows aggregate reports with average bandwidth over a time window.
Am I missing something? Is there a way to monitor that network change on my data plane?