1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- //
- // This program is property of its copyright holder. All rights reserved.
- //
- package inet.examples.manetrouting.dymo;
- import inet.common.lifecycle.LifecycleController;
- import inet.common.scenario.ScenarioManager;
- import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
- import inet.networklayer.ipv4.RoutingTableRecorder;
- import inet.node.dymo.DYMORouter;
- import inet.physicallayer.ieee80211.packetlevel.Ieee80211ScalarRadioMedium;
- //
- // TODO
- //
- network DYMONetwork
- {
- parameters:
- int numHosts;
- submodules:
- radioMedium: Ieee80211ScalarRadioMedium {
- parameters:
- @display("p=50,50");
- }
- configurator: IPv4NetworkConfigurator {
- parameters:
- config = xml("<config><interface hosts='*' address='145.236.x.x' netmask='255.255.0.0'/></config>");
- @display("p=50,100");
- }
- routingTableRecorder: RoutingTableRecorder {
- parameters:
- @display("p=50,150");
- }
- lifecycleController: LifecycleController {
- parameters:
- @display("p=50,200");
- }
- scenarioManager: ScenarioManager {
- parameters:
- script = default(xml("<scenario/>"));
- @display("p=50,250");
- }
- host[numHosts]: DYMORouter {
- parameters:
- @display("i=device/pocketpc_s;r=,,#707070");
- }
- connections allowunconnected:
- }
|