HandoverNetwork.ned.ftl 812 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <@setoutput path=targetFileName?default("")/>
  2. ${bannerComment}
  3. <#if nedPackageName!="">
  4. package ${nedPackageName};
  5. </#if>
  6. import inet.networklayer.autorouting.ipv4.IPv4NetworkConfigurator;
  7. import inet.nodes.inet.WirelessHost;
  8. import inet.nodes.wireless.AccessPoint;
  9. import inet.world.radio.ChannelControl;
  10. network ${targetTypeName}
  11. {
  12. parameters:
  13. submodules:
  14. host: WirelessHost
  15. {
  16. @display("p=50,130;r=,,#707070");
  17. }
  18. <#list 1..numAccessPoints?number as i>
  19. ap${i}: AccessPoint
  20. {
  21. @display("p=${i*300-200},200;r=,,#707070");
  22. }
  23. </#list>
  24. channelControl: ChannelControl
  25. {
  26. @display("p=60,50");
  27. }
  28. configurator: IPv4NetworkConfigurator
  29. {
  30. @display("p=140,50");
  31. }
  32. }