123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- package inet.showcases.visualizer.transportconnection;
- import inet.networklayer.configurator.ipv4.IPv4NetworkConfigurator;
- import inet.node.ethernet.Eth100M;
- import inet.node.ethernet.EtherSwitch;
- import inet.node.inet.Router;
- import inet.node.inet.StandardHost;
- import inet.node.inet.WirelessHost;
- import inet.visualizer.integrated.IntegratedVisualizer;
- network TransportConnectionVisualizationEnablingShowcase
- {
- @display("bgb=596,373");
- submodules:
- host1: StandardHost {
- @display("p=78,133");
- }
- host2: StandardHost {
- @display("p=487,133");
- }
- configurator: IPv4NetworkConfigurator {
- @display("p=109,290");
- }
- visualizer: IntegratedVisualizer {
- @display("p=207,290");
- }
- connections:
- host1.ethg++ <--> Eth100M <--> host2.ethg++;
- }
- network TransportConnectionVisualizationMultipleConnectionsShowcase
- {
- @display("bgb=596,421");
- submodules:
- host1: StandardHost {
- @display("p=59,103");
- }
- host2: StandardHost {
- @display("p=59,329");
- }
- switch: EtherSwitch {
- @display("p=199,213");
- }
- router: Router {
- @display("p=299,214");
- }
- server: StandardHost {
- @display("p=410,214;i=device/server");
- }
- configurator: IPv4NetworkConfigurator {
- @display("p=531,53");
- }
- visualizer: IntegratedVisualizer {
- @display("p=531,119");
- }
- connections:
- host1.ethg++ <--> Eth100M <--> switch.ethg++;
- host2.ethg++ <--> Eth100M <--> switch.ethg++;
- switch.ethg++ <--> Eth100M <--> router.ethg++;
- router.ethg++ <--> Eth100M <--> server.ethg++;
- }
- network Complexer
- {
- @display("bgb=596,421");
- submodules:
- host1: StandardHost {
- @display("p=59,103");
- }
- host2: StandardHost {
- @display("p=59,329");
- }
- switch: EtherSwitch {
- @display("p=199,213");
- }
- router: Router {
- @display("p=299,214");
- }
- server: StandardHost {
- @display("p=410,214;i=device/server");
- }
- configurator: IPv4NetworkConfigurator {
- @display("p=531,53");
- }
- visualizer: IntegratedVisualizer {
- @display("p=531,119");
- }
- terminalHost: StandardHost {
- @display("p=362,88;i=device/terminal");
- }
- connections:
- host1.ethg++ <--> Eth100M <--> switch.ethg++;
- host2.ethg++ <--> Eth100M <--> switch.ethg++;
- switch.ethg++ <--> Eth100M <--> router.ethg++;
- router.ethg++ <--> Eth100M <--> server.ethg++;
- terminalHost.ethg++ <--> Eth100M <--> server.ethg++;
- }
|