MulticastFailureProtectionShowcase.ned

NED File showcases/tsn/framereplication/multicastfailureprotection/MulticastFailureProtectionShowcase.ned

Name Type Description
MulticastFailureProtectionShowcase network (no description)

Source code

//
// SPDX-License-Identifier: LGPL-3.0-or-later
//


package inet.showcases.tsn.framereplication.multicastfailureprotection;

import inet.networks.base.TsnNetworkBase;
import inet.node.ethernet.EthernetLink;
import inet.node.tsn.TsnSwitch;

network MulticastFailureProtectionShowcase extends TsnNetworkBase
{
    submodules:
        a: TsnSwitch {
            @display("p=500,200");
        }
        b: TsnSwitch {
            @display("p=700,100");
        }
        d: TsnSwitch {
            @display("p=900,100");
        }
        c: TsnSwitch {
            @display("p=700,300");
        }
        e: TsnSwitch {
            @display("p=900,300");
        }
        f: TsnSwitch {
            @display("p=1100,200");
        }
    connections:
        a.ethg++ <--> EthernetLink <--> c.ethg++;
        a.ethg++ <--> EthernetLink <--> b.ethg++;
        b.ethg++ <--> EthernetLink <--> d.ethg++;
        b.ethg++ <--> EthernetLink <--> e.ethg++;
        c.ethg++ <--> EthernetLink <--> e.ethg++;
        d.ethg++ <--> EthernetLink <--> f.ethg++;
        e.ethg++ <--> EthernetLink <--> f.ethg++;
}