BulkTransfer6.ned 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //
  2. // Copyright (C) 2000 Institut fuer Telematik, Universitaet Karlsruhe
  3. //
  4. // This program is free software; you can redistribute it and/or
  5. // modify it under the terms of the GNU General Public License
  6. // as published by the Free Software Foundation; either version 2
  7. // of the License, or (at your option) any later version.
  8. //
  9. // This program is distributed in the hope that it will be useful,
  10. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. // GNU General Public License for more details.
  13. //
  14. // You should have received a copy of the GNU General Public License
  15. // along with this program; if not, write to the Free Software
  16. // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  17. //
  18. package inet.examples.ipv6.ipv6bulk;
  19. import inet.networklayer.configurator.ipv6.FlatNetworkConfigurator6;
  20. import inet.node.ipv6.Router6;
  21. import inet.node.ipv6.StandardHost6;
  22. import ned.DatarateChannel;
  23. network BulkTransfer6
  24. {
  25. types:
  26. channel C extends DatarateChannel
  27. {
  28. datarate = 10Mbps;
  29. delay = 0.1us;
  30. }
  31. submodules:
  32. client1: StandardHost6 {
  33. parameters:
  34. @display("p=131,67;i=device/pc3");
  35. }
  36. client2: StandardHost6 {
  37. parameters:
  38. @display("p=337,67;i=device/pc3");
  39. }
  40. client3: StandardHost6 {
  41. parameters:
  42. @display("p=337,247;i=device/pc3");
  43. }
  44. server: StandardHost6 {
  45. parameters:
  46. @display("p=131,247;i=device/pc2");
  47. }
  48. router: Router6 {
  49. parameters:
  50. @display("p=239,156");
  51. }
  52. configurator: FlatNetworkConfigurator6 {
  53. parameters:
  54. @display("p=62,119");
  55. }
  56. connections:
  57. client1.ethg++ <--> C <--> router.ethg++;
  58. client2.ethg++ <--> C <--> router.ethg++;
  59. client3.ethg++ <--> C <--> router.ethg++;
  60. client1.ethg++ <--> C <--> server.ethg++;
  61. server.ethg++ <--> C <--> router.ethg++;
  62. }