IMrp.ned

NED File src/inet/linklayer/contract/IMrp.ned

Name Type Description
IMrp module interface

Interface for modules that implement the Media Redundancy Protocol (MRP), specified in IEC 62439-2.

Source code

//
// Copyright (C) 2013 OpenSim Ltd.
//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.linklayer.contract;

//
// Interface for modules that implement the Media Redundancy Protocol (MRP),
// specified in IEC 62439-2.
//
moduleinterface IMrp
{
    parameters:
        @display("i=block/network2");
        double ccmInterval @unit(ms);
        string mrpRole;
        int timingProfile @unit(ms);
        int uuid0;
        int uuid1;
        int ringPort1;
        int ringPort2;
        bool interconnectionLinkCheckAware;
        bool interconnectionRingCheckAware;
        bool nonblockingMrcSupported;
        bool reactOnLinkChange;
        bool visualize;
    gates:
        input relayIn;
        output relayOut;
}