Test.ned 921 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. package inet.examples.bgpv4.BGPOpen;
  2. import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
  3. network Net
  4. {
  5. types:
  6. channel LINK_100 extends ned.DatarateChannel
  7. {
  8. parameters:
  9. delay = 0;
  10. datarate = 100Mbps;
  11. }
  12. submodules:
  13. A: BGPRouterSimple {
  14. parameters:
  15. @display("p=80,60");
  16. }
  17. B: BGPRouterSimple {
  18. parameters:
  19. @display("p=200,60");
  20. }
  21. configurator: IPv4NetworkConfigurator {
  22. @display("p=62,127");
  23. config = xmldoc("IPv4Config.xml");
  24. //assignAddresses = false;
  25. //assignDisjunctSubnetAddresses = false;
  26. addStaticRoutes = false;
  27. addDefaultRoutes = false;
  28. addSubnetRoutes = false;
  29. }
  30. connections:
  31. A.pppg++ <--> LINK_100 <--> B.pppg++;
  32. }