Voip.ned 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. //
  2. // This program is property of its copyright holder. All rights reserved.
  3. //
  4. // Created: 2012-6-10 for project inet
  5. package inet.examples.voip;
  6. import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
  7. import inet.node.inet.StandardHost;
  8. import inet.node.internetcloud.InternetCloud;
  9. import ned.DatarateChannel;
  10. //
  11. // A generated network with star topology.
  12. //
  13. network Voip
  14. {
  15. @display("bgb=327,282");
  16. types:
  17. channel C extends DatarateChannel
  18. {
  19. datarate = 100Mbps;
  20. delay = 0.1us;
  21. }
  22. submodules:
  23. senderHost: StandardHost {
  24. parameters:
  25. @display("p=63,94");
  26. }
  27. receiverHost: StandardHost {
  28. parameters:
  29. @display("p=260,94");
  30. }
  31. configurator: IPv4NetworkConfigurator {
  32. @display("p=126,20");
  33. }
  34. internetCloud: InternetCloud {
  35. @display("p=157,218");
  36. }
  37. connections:
  38. senderHost.pppg++ <--> C <--> internetCloud.pppg++;
  39. internetCloud.pppg++ <--> C <--> receiverHost.pppg++;
  40. }