ConfiguratorD.ned 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. //
  2. // This program is free software: you can redistribute it and/or modify
  3. // it under the terms of the GNU Lesser General Public License as published by
  4. // the Free Software Foundation, either version 3 of the License, or
  5. // (at your option) any later version.
  6. //
  7. // This program is distributed in the hope that it will be useful,
  8. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. // GNU Lesser General Public License for more details.
  11. //
  12. // You should have received a copy of the GNU Lesser General Public License
  13. // along with this program. If not, see http://www.gnu.org/licenses/.
  14. //
  15. package inet.tutorials.configurator;
  16. import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
  17. import inet.node.aodv.AODVRouter;
  18. import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
  19. import inet.visualizer.integrated.IntegratedCanvasVisualizer;
  20. network ConfiguratorD
  21. {
  22. @display("bgb=939.89996,581.1");
  23. submodules:
  24. host1: AODVRouter {
  25. @display("p=239.148,74.897995");
  26. }
  27. host2: AODVRouter {
  28. @display("p=483,221");
  29. }
  30. host3: AODVRouter {
  31. @display("p=513.774,345.582");
  32. }
  33. host4: AODVRouter {
  34. @display("p=304.848,182.646;b=7,5");
  35. }
  36. host5: AODVRouter {
  37. @display("p=650.43,436.248");
  38. }
  39. host6: AODVRouter {
  40. @display("p=361.35,294.336");
  41. }
  42. host7: AODVRouter {
  43. @display("p=778,462");
  44. }
  45. configurator: IPv4NetworkConfigurator {
  46. @display("p=50,50");
  47. }
  48. radioMedium: Ieee80211ScalarRadioMedium {
  49. @display("p=50,100");
  50. }
  51. visualizer: IntegratedCanvasVisualizer {
  52. @display("p=50,150");
  53. }
  54. }