|
Post by robreido on Jan 30, 2023 17:20:11 GMT
Hi,
I am using ptp-sim for my University dissertation, and am in the process of building and testing the networks I'm going to be simulating as part of my research. Whilst I've managed to build the networks and get them running successfully, I need to be able to assess each device's PTP port states to check whether my priority1/priority2 settings are achieving my desired BMCA hierarchy. How can I check devices' port states (either whilst running test simulations in Qtenv, or after finishing the run via .anf files), to assess whether the network has settled into my desired BMCA hierarchy?
Thanks,
Rob
|
|
|
Post by Wolfgang on Feb 6, 2023 19:33:58 GMT
Hi Rob,
I forgot the details, but I think you should be able to see the port states at least via 2 different ways:
*) While running simulations in Qtenv, the port states are shown when hovering with the mouse *) Port states are signal that can be traced with OMNeT++, so you will have the details of all individual port state changes together with timestamps etc. in the result files. OMNeT++ needs to be configured which signals are traced, and with which granularity. Have a look at the OMNeT++ user manual for details.
regards, Wolfgang
|
|
|
Post by robreido on Feb 15, 2023 13:03:14 GMT
Hi Wolfgang,
Thanks for this, I've managed to get both of those methods working.
Rob
|
|
|
Post by Wolfgang on Feb 15, 2023 14:34:49 GMT
Great, thanks for the feedback!
|
|