Improvements to STP/RSTP#459
Conversation
|
I try to run fingerprint tests for STP/RSTP simulations: (on topic/ManiAm-stp branch in inet repo) These simulations generates errors:
All other STP/RSTP simulation reports FAILED fingerprint values |
|
Ok, I am going to take a look at it. |
|
Still haven't found any free time to look into this. I think the failed fingerprint is expected. In the original INET code, each switch is using the MAC address of its first Ethernet interface as its Switch MAC. I do not know what is the logic/rationale behind this, but in almost all implementations, each switch has a base MAC port that is unique. When you power up a switch, you will see its base MAC address getting printed on the console. In my PL, I have added the base MAC port concept and each switch is using it for communication. Hence the change in fingerprint. |
b4106be to
59bbb86
Compare
e4fdb4a to
4f97fe0
Compare
374c448 to
6723bbf
Compare
0ba3d0f to
18d01b4
Compare
d9e6d36 to
2b58f34
Compare
|
Thanks for this, @ManiAm — and apologies it sat open so long. I finally went through it carefully against current master. The honest summary is that STP/RSTP has been reworked fairly extensively in the years since you opened this, so most of the PR has been overtaken by independent work — usually arriving at the same destination you were aiming for. Rather than leave it lingering, I'd like to close it as superseded, with credit where it's due. Here's the mapping, for the record. Already in master (done independently, often along the lines you proposed)
Not adopted (deliberately)
Worth keeping — being extracted with attribution
So I'm closing this as superseded. Note that because none of the commits landed verbatim, GitHub won't mark it as merged. Thanks again for the contribution and for your patience — the port-cost idea in particular will make it in. |
Examples are here:
https://github.com/ManiAm/inet/tree/INETex/examples_INETex/STP