//
// This program is property of its copyright holder. All rights reserved.
//

// Created: 2012-6-10 for project inet

package inet.examples.voip;

import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
import inet.node.inet.StandardHost;
import inet.node.internetcloud.InternetCloud;
import ned.DatarateChannel;


//
// A generated network with star topology.
//
network Voip
{
    @display("bgb=327,282");
    types:
        channel C extends DatarateChannel
        {
            datarate = 100Mbps;
            delay = 0.1us;
        }
    submodules:
        senderHost: StandardHost {
            parameters:
                @display("p=63,94");
        }
        receiverHost: StandardHost {
            parameters:
                @display("p=260,94");
        }
        configurator: IPv4NetworkConfigurator {
            @display("p=126,20");
        }
        internetCloud: InternetCloud {
            @display("p=157,218");
        }
    connections:
        senderHost.pppg++ <--> C <--> internetCloud.pppg++;
        internetCloud.pppg++ <--> C <--> receiverHost.pppg++;
}
