network-twohosts.ned

NED File tests/networks/ethernet/network-twohosts.ned

Name Type Description
TwoHosts network (no description)

Source code

package inet.tests.ethernet;

import ned.DatarateChannel;

network TwoHosts
{
    submodules:
        hostA: EthernetHost2 {
            parameters:
                @display("p=72,80");
        }
        hostB: EthernetHost2 {
            parameters:
                @display("p=334,80");
        }
    connections:
        hostA.ethg <--> DatarateChannel <--> hostB.ethg;
}