Skip to content
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

Adding protocol MRP (IEC 62439-2) #947

Draft
wants to merge 129 commits into
base: master
Choose a base branch
from
Draft

Commits on Feb 10, 2024

  1. Inital add of mrp protocol

    adding mrp
    DJtime committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    712ccd7 View commit details
    Browse the repository at this point in the history
  2. Updated Copyright

    updated copyright
    DJtime committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    479ebae View commit details
    Browse the repository at this point in the history
  3. remove duplicate mrp folder

    DJtime committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    aae5bef View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Configuration menu
    Copy the full SHA
    2f5b2ac View commit details
    Browse the repository at this point in the history
  2. Update L2NodeConfigurator.cc

    Added MRP InterfaceData
    DJtime committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    e515f2a View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Update MediaRedundancyNode.cc

    adding standard compliant code and comment in testMgrNackReq and testPropagateReq
    DJtime committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    470bf50 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Additions and Error Correction

    Duplicate packets in RingCheck eliminated
    IngressFiltering in Relay introduced
    DJtime committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    f9f643c View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2024

  1. mrp: reformatting source code

    applied OMNeT++ style template and reordered attributes in header files
    DJtime committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    00aeb37 View commit details
    Browse the repository at this point in the history
  2. mrp: resolved formatting error

    automatic formatting done by template introduced some errors which were resolved where necessary for readability
    DJtime committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    2883dc8 View commit details
    Browse the repository at this point in the history
  3. Update MacForwardingTable.h

    DJtime committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    9395436 View commit details
    Browse the repository at this point in the history
  4. Update MacForwardingTable.h

    DJtime committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    65359bc View commit details
    Browse the repository at this point in the history
  5. Update MacForwardingTable.h

    DJtime committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    9a227c4 View commit details
    Browse the repository at this point in the history
  6. Update MacForwardingTable.h

    DJtime committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    3e8809f View commit details
    Browse the repository at this point in the history
  7. Update MacForwardingTable.h

    DJtime committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    dea505e View commit details
    Browse the repository at this point in the history
  8. Update MacForwardingTable.h

    DJtime committed Feb 17, 2024
    Configuration menu
    Copy the full SHA
    40af40d View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Updating NED-file documentation

    NED file comments added, + some smaller errors eliminated,
    renamed function initContinuityCheck to startContinuityCheck for clarification
    DJtime committed Feb 23, 2024
    Configuration menu
    Copy the full SHA
    b53aff4 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. reworked signals and ned-parameters

    signals and ned parameters are worked, MediaRedundancyNode was renamed to Mrp,
    InterconnectionNode to MrpInterconnection.
    MrpInterconnection now inherits properly from Mrp ned file
    DJtime committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    63e24ff View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2024

  1. mrp: Inital add of mrp protocol

    adding mrp
    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    010bc82 View commit details
    Browse the repository at this point in the history
  2. mrp: Updated Copyright

    updated copyright
    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    f862b60 View commit details
    Browse the repository at this point in the history
  3. mrp: remove duplicate mrp folder

    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    f830dd9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f499a08 View commit details
    Browse the repository at this point in the history
  5. mrp: Update L2NodeConfigurator.cc

    Added MRP InterfaceData
    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    d13e439 View commit details
    Browse the repository at this point in the history
  6. mrp: Update MediaRedundancyNode.cc

    adding standard compliant code and comment in testMgrNackReq and testPropagateReq
    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    558327b View commit details
    Browse the repository at this point in the history
  7. mrp: Additions and Error Correction

    Duplicate packets in RingCheck eliminated
    IngressFiltering in Relay introduced
    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    8ee978b View commit details
    Browse the repository at this point in the history
  8. mrp: reformatting source code

    applied OMNeT++ style template and reordered attributes in header files
    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    1343f9c View commit details
    Browse the repository at this point in the history
  9. mrp: resolved formatting error

    automatic formatting done by template introduced some errors which were resolved where necessary for readability
    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    80d5b55 View commit details
    Browse the repository at this point in the history
  10. mrp: Update MacForwardingTable.h

    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    ce96183 View commit details
    Browse the repository at this point in the history
  11. mrp: Update MacForwardingTable.h

    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    4667474 View commit details
    Browse the repository at this point in the history
  12. mrp: Update MacForwardingTable.h

    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    5752097 View commit details
    Browse the repository at this point in the history
  13. mrp: Update MacForwardingTable.h

    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    0f60581 View commit details
    Browse the repository at this point in the history
  14. mrp: Update MacForwardingTable.h

    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    ffbc6e6 View commit details
    Browse the repository at this point in the history
  15. mrp: Update MacForwardingTable.h

    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    553b7c8 View commit details
    Browse the repository at this point in the history
  16. mrp: Updating NED-file documentation

    NED file comments added, + some smaller errors eliminated,
    renamed function initContinuityCheck to startContinuityCheck for clarification
    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    6f16156 View commit details
    Browse the repository at this point in the history
  17. mrp: reworked signals and ned-parameters

    signals and ned parameters are worked, MediaRedundancyNode was renamed to Mrp,
    InterconnectionNode to MrpInterconnection.
    MrpInterconnection now inherits properly from Mrp ned file
    DJtime authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    e0c8194 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    70e56af View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    2efdafa View commit details
    Browse the repository at this point in the history
  20. mrp: MrpRelay: fixed include path

    ZoltanBojthe authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    87cf8d5 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    8c5a281 View commit details
    Browse the repository at this point in the history
  22. mrp: omnetpp.ini: cosmetics

    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    7b3db7e View commit details
    Browse the repository at this point in the history
  23. mrp: examples: Mrp: fixed network: use Mrp network from exmples/mrp f…

    …older instead of tests/mrp
    ZoltanBojthe authored and avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    8d5a0e0 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    dd2e47d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    d9f7802 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    3ed9a28 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    81d92b6 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    ac18423 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    3937a0f View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    79b88e5 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    f5fe7cd View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    1b75ec3 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    e03d247 View commit details
    Browse the repository at this point in the history
  34. mrp: rename sourceAddress to localBridgeAddress, to avoid confusion w…

    …ith method args named SourceAddress
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    88004c8 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    5ba1d9b View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    040adb7 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    10e1487 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    b164175 View commit details
    Browse the repository at this point in the history
  39. mrp: eliminate subfolders under mrp/

    it is not warranted
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    aedc73e View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    0175098 View commit details
    Browse the repository at this point in the history
  41. mrp: MrpSwitch moved into node/

    Reason: it is reusable
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    97178e0 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    de5a946 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    4ad574a View commit details
    Browse the repository at this point in the history
  44. mrp: MrpPdu.msg: C++ classes for various TLVs renamed

    Reason: e.g. TopologyChangeFrame is a TLV and not a frame in itself;
    the spec refers to them as MRP_TopologyChange
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    2ab07a2 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    988c4c1 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    26e1407 View commit details
    Browse the repository at this point in the history
  47. mrp: module comments moved to where the NEDDOC tool finds them

    Immediately above the module declaration, without any intervening blank lines
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    2e3b2d7 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    e2450ba View commit details
    Browse the repository at this point in the history
  49. mrp: test/networks/mrp removed

    The same files are already under examples, and the files here weren't
    actual tests (do not produce FAIL/PASS result).
    
    Also: fix network= setting in omnetpp.ini that accidentally still
    referenced the now-deleted network
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    6889653 View commit details
    Browse the repository at this point in the history
  50. mrp: added support for displaying info above module icon via displayS…

    …tringTextFormat parameter
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    e832329 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    368255a View commit details
    Browse the repository at this point in the history
  52. mrp: change disabled link color because it was too close to bg color

    It made the links hard to see e.g. over a video call
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    5c42d67 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    d7b6a18 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    18e770a View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    e693a4b View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    c7dc4e9 View commit details
    Browse the repository at this point in the history
  57. mrp: fix wrong MRP_Blocked field, and deducing link state from MRP_Li…

    …nkChange and MRP_InLinkChange frames
    
    MRP_Blocked should contain fixed 1, as it indicates the capability to receive
    certain frames on BLOCKED ports, not port state [info from DJtime]
    
    When receiving LinkChange and InLinkChange frames, the link state should
    be determined from the header type, not from the MRP_Blocked or MRP_LinkInfo
    fields (which do not carry this info).
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    f38d67d View commit details
    Browse the repository at this point in the history
  58. mrp: fix for filling MRP_LinkInfo field

    see "Table 39 – MRP_LinkInfo"
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    1e5415a View commit details
    Browse the repository at this point in the history
  59. mrp: use enum instead of uint16_t for link state

    Added LinkType as alias of NetworkInterface::State.
    avarga committed Apr 11, 2024
    Configuration menu
    Copy the full SHA
    7d319f6 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    adc42bf View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2024

  1. mrp: linkDetectionDelay and processingDelay converted from @Unit(ms) …

    …into @Unit(s)
    
    Note: SimTime() ctor expects int64_t (an **NOT** double) value,
    so it is truncating!!!
    
    This change is implemented the way it is in order to preserve the fingerprints.
    avarga committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    d67eba3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    342ba76 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    55a1957 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    45b2998 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b5f3bdd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f95718e View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bcf3d60 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    105f7b3 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    b3cf249 View commit details
    Browse the repository at this point in the history
  10. mrp: convert to simtime_t: topologyChangeInd(), interconnTopologyChan…

    …geInd() (no fingerprint change)
    avarga committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    9540f3d View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5270e40 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    e64ede3 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    8c63640 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    afce65a View commit details
    Browse the repository at this point in the history
  15. mrp: mrpNetworks.ned: added visualizing the switch states on network …

    …level
    
    Also: organize imports: remove unused, etc.
    avarga committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    01ce987 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    90f63c2 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e430c63 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    362915d View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    8532f91 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    f485a1f View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    3befb7b View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    0315363 View commit details
    Browse the repository at this point in the history
  23. mrp: some doc comments

    avarga committed Apr 12, 2024
    Configuration menu
    Copy the full SHA
    4c52128 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    1068f73 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    ee8115f View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    e1ba1d8 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    5ececa1 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    50e2882 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2024

  1. Configuration menu
    Copy the full SHA
    c904dc1 View commit details
    Browse the repository at this point in the history
  2. mrp: omnetpp.ini: give names to iteration variables

    remove redundant entry **.mrp.mrpRole = "MRC"
    avarga committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    17169ca View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a604695 View commit details
    Browse the repository at this point in the history
  4. mrp: MrpInterfaceData files moved from configurator/ to mrp/

    includes adjusted.
    avarga committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    c816a56 View commit details
    Browse the repository at this point in the history
  5. mrp: MrpSwitch minor changes

    avarga committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    a95fb6f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    335ab16 View commit details
    Browse the repository at this point in the history
  7. mrp: MrpPdu.msg: added descriptions

    also: space changes, some items moved within file
    avarga committed Apr 17, 2024
    Configuration menu
    Copy the full SHA
    6c04316 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    da56922 View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2024

  1. Configuration menu
    Copy the full SHA
    1a1e4b9 View commit details
    Browse the repository at this point in the history
  2. mrp: linkCheckEnabled and ringCheckEnabled merged to interconnectionC…

    …heckMode
    
    Those parameters only apply to interconnections, so they have to be
    prefixed accordingly; "LC Mode" and "RC Mode" are common terms, and
    using LC+RC together is questionable, so it makes sense to introduce
    a single parameter with values "LC" and "RC".
    avarga committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    19cbeb6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    74bea37 View commit details
    Browse the repository at this point in the history
  4. mrp: LargeNetwork scenario refactored

    The only purpose the separate inner and outer rings served was layouting,
    and it's just not worth it.
    
    Related configs moved to the bottom of the ini file.
    avarga committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    17217f9 View commit details
    Browse the repository at this point in the history
  5. mrp: example: utilize section inheritance to reduce duplications; Sma…

    …llNetwork moved to front
    
    Follow section name changes in fingerprints file (fingerprints are
    preserved).
    avarga committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    521610d View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2024

  1. Configuration menu
    Copy the full SHA
    31e7a85 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    56591fb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    df6c106 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    57cfc8a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bfce258 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    7d0157a View commit details
    Browse the repository at this point in the history
  7. misc TODO items

    avarga committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    b7f7363 View commit details
    Browse the repository at this point in the history
  8. WIP showcase

    avarga committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    5893247 View commit details
    Browse the repository at this point in the history
  9. Revert "WIP showcase"

    This reverts commit 1b3fc9d.
    avarga committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    40d72ee View commit details
    Browse the repository at this point in the history
  10. WIP Mrp: statistics

    avarga committed Apr 19, 2024
    Configuration menu
    Copy the full SHA
    b6861fa View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2024

  1. Configuration menu
    Copy the full SHA
    b532277 View commit details
    Browse the repository at this point in the history