Hello all,
Hope you all are doing well. I just wanted some help regarding printing out the number of bytes every second, received at a switch's port.
I am running simulations on a data center network, with leaf and spine switches - these are created using nodes (one NodeContainer for all leaves and one NodeContainer for all spines ), and there is a p2p channel installed between each leaf and spine node. There is a DropTailQueue of max.pkts = 10 set on these channels.
In order to verify the network and if congestion is happening, I want to print out the number of bytes received by a switch's port every second. I am quite unclear of how to implement this print though. Any help, guidance or pointer to existing example or documentation would be highly appreciated. Thank you so much in advance!