-
Notifications
You must be signed in to change notification settings - Fork 488
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvements to STP/RSTP #459
base: master
Are you sure you want to change the base?
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. |
fingerprints calculated from these values of events: |
Just talked to Zoltan, what he meant was that actual frame content doesn't affect the fingerprint, so the fact that bridgeAddress is now computed differently shouldn't make a fingerprint test fail (unless the values actually affect the communication or the outcome of the algorithm somehow). So maybe there is some other issue. We'll continue next week by testing which commit changes the fingerprints. |
Thanks for the clarification Andras. Then I need to sit and check where the problem is! |
e712099
to
6b2763f
Compare
b4106be
to
59bbb86
Compare
e4fdb4a
to
4f97fe0
Compare
374c448
to
6723bbf
Compare
0ba3d0f
to
18d01b4
Compare
Examples are here:
https://github.com/ManiAm/inet/tree/INETex/examples_INETex/STP