Compound Module RSVP_FAILED

Package: inet.nodes.mpls
File: src/nodes/mpls/RSVP_FAILED.ned

Failed router. Discards all incoming traffic and generates nothing. Its interface (gates, parameters) is fully compatible with the RSVP_LSR router and node failures may thus be simulated by replacing the RSVP_LSR with RSVP_FAILED.

Dummy

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Parameters:

Name Type Default value Description
namid int -1
peers string
routerId string "auto"
routingFile string ""

Properties:

Name Value Description
labels node
display i=abstract/router;i2=status/noentry

Gates:

Name Direction Size Description
pppg [ ] inout

Source code:

//
// Failed router. Discards all incoming traffic and generates nothing. Its
// interface (gates, parameters) is fully compatible with the RSVP_LSR router
// and node failures may thus be simulated by replacing the RSVP_LSR
// with \RSVP_FAILED.
//
module RSVP_FAILED
{
    parameters:
        @labels(node);
        @display("i=abstract/router;i2=status/noentry");
        int namid = default(-1);
        string peers;
        string routerId = default("auto");
        string routingFile = default("");
    gates:
        inout pppg[] @labels(PPPFrame-conn);
    submodules:
        dummy: Dummy {
            gates:
                in[sizeof(pppg)];
                out[sizeof(pppg)];
        }
    connections allowunconnected:
        for i=0..sizeof(pppg)-1 {
            pppg$i[i] --> dummy.in[i];
            dummy.out[i] --> pppg$o[i];
        }
}