-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs updated at 2024. nov. 5., kedd, 14:33:17 UTC
- Loading branch information
Showing
1,183 changed files
with
31,824 additions
and
6,987 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 56d68c9b106ce099a2350d3faa55fe45 | ||
config: 6200b93b3f407bcb95b2ab78e4c93fd7 | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
30 changes: 30 additions & 0 deletions
30
_downloads/02549259a4cff0836a4cbe8f8e72c68b/ResidenceTimeMeasurementShowcase.ned
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// SPDX-License-Identifier: LGPL-3.0-or-later | ||
// | ||
|
||
|
||
package inet.showcases.measurement.residencetime; | ||
|
||
import inet.networks.base.WiredNetworkBase; | ||
import inet.node.ethernet.Eth100M; | ||
import inet.node.ethernet.Eth1G; | ||
import inet.node.ethernet.EthernetSwitch; | ||
import inet.node.inet.StandardHost; | ||
|
||
network ResidenceTimeMeasurementShowcase extends WiredNetworkBase | ||
{ | ||
submodules: | ||
source: StandardHost { | ||
@display("p=350,100"); | ||
} | ||
switch: EthernetSwitch { | ||
@display("p=550,100"); | ||
} | ||
destination: StandardHost { | ||
@display("p=750,100"); | ||
} | ||
connections: | ||
source.ethg++ <--> Eth1G <--> switch.ethg++; | ||
switch.ethg++ <--> Eth100M <--> destination.ethg++; | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
[General] | ||
#abstract-config = true (requires omnet 7) | ||
|
||
**.routingTable.netmaskRoutes = "" | ||
|
||
# interface visualization settings | ||
*.visualizer.*.interfaceTableVisualizer.displayInterfaceTables = true | ||
*.visualizer.*.interfaceTableVisualizer.interfaceFilter = "not(lo*)" | ||
*.visualizer.*.interfaceTableVisualizer.nodeFilter = "not(*switch*)" | ||
*.visualizer.*.interfaceTableVisualizer.displayWiredInterfacesAtConnections = false | ||
*.visualizer.*.interfaceTableVisualizer.format = "%N %n" | ||
|
||
|
||
[Config DisplayingAll] | ||
sim-time-limit = 500s | ||
network = RoutingTableVisualizationDisplayingAllShowcase | ||
description = "Displaying all routing tables" | ||
|
||
*.visualizer.*.routingTableVisualizer.displayRoutingTables = true | ||
|
||
[Config Unfiltered] | ||
sim-time-limit = 500s | ||
network = RoutingTableVisualizationFilteringShowcase | ||
description = "Filtering routing table entries" | ||
|
||
# visualizer parameters | ||
*.visualizer.*.routingTableVisualizer.displayRoutingTables = true | ||
|
||
# misc parameters | ||
*.configurator.addDefaultRoutes = false # TODO: this is here because of a bug in the configurator | ||
|
||
[Config Filtered] | ||
sim-time-limit = 500s | ||
network = RoutingTableVisualizationFilteringShowcase | ||
description = "Filtering routing table entries" | ||
|
||
# visualizer parameters | ||
*.visualizer.*.routingTableVisualizer.displayRoutingTables = true | ||
*.visualizer.*.routingTableVisualizer.nodeFilter = "host2 or host3 or router" | ||
*.visualizer.*.routingTableVisualizer.destinationFilter = "host3" | ||
|
||
# misc parameters | ||
*.configurator.addDefaultRoutes = false # TODO: this is here because of a bug in the configurator | ||
|
||
[Config Dynamic] | ||
sim-time-limit = 500s | ||
network = RoutingTableVisualizationDynamicShowcase | ||
description = "Visualizing changing routing tables" | ||
|
||
# visualizer parameters | ||
*.visualizer.*.routingTableVisualizer.destinationFilter = "destinationHost" | ||
*.visualizer.*.routingTableVisualizer.displayRoutingTables = true | ||
|
||
*.visualizer.*.interfaceTableVisualizer.displayInterfaceTables = false | ||
|
||
# mobility parameters | ||
*.destinationHost.mobility.typename = "LinearMobility" | ||
*.*.mobility.speed = 10mps | ||
*.destinationHost.mobility.initialMovementHeading = 90deg | ||
*.*.mobility.constraintAreaMinY = 0m | ||
*.*.mobility.constraintAreaMaxY = 600m | ||
|
||
*.visualizer.*.mobilityVisualizer.animationSpeed = 0.1 | ||
|
||
# app parameters | ||
*.sourceHost.numApps = 1 | ||
*.sourceHost.app[0].typename = "PingApp" | ||
*.sourceHost.app[*].destAddr = "destinationHost" | ||
|
||
# communication range parameters | ||
**.displayCommunicationRanges = true | ||
**.transmitter.power = 1mW | ||
|
||
# configurator parameters | ||
*.configurator.addStaticRoutes = false |
186 changes: 186 additions & 0 deletions
186
_downloads/042413cab290660be3f4a8dfb17e0f44/DatalinkVisualizerShowcase.ned
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,186 @@ | ||
// | ||
// SPDX-License-Identifier: LGPL-3.0-or-later | ||
// | ||
|
||
package inet.showcases.visualizer.canvas.datalinkactivity; | ||
|
||
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator; | ||
import inet.node.aodv.AodvRouter; | ||
import inet.node.ethernet.Eth100M; | ||
import inet.node.ethernet.EthernetSwitch; | ||
import inet.node.inet.AdhocHost; | ||
import inet.node.inet.StandardHost; | ||
import inet.physicallayer.wireless.ieee80211.packetlevel.Ieee80211ScalarRadioMedium; | ||
import inet.visualizer.common.DataLinkVisualizer; | ||
import inet.visualizer.common.IntegratedMultiVisualizer; | ||
import inet.visualizer.common.IntegratedVisualizer; | ||
|
||
network DataLinkVisualizerEnablingWiredShowcase | ||
{ | ||
@display("bgb=700,250"); | ||
submodules: | ||
linkVisualizer: DataLinkVisualizer { | ||
parameters: | ||
@display("p=100,50"); | ||
} | ||
configurator: Ipv4NetworkConfigurator { | ||
parameters: | ||
@display("p=100,150"); | ||
} | ||
wiredSource: StandardHost { | ||
@display("p=300,110"); | ||
} | ||
wiredDestination: StandardHost { | ||
@display("p=600,110"); | ||
} | ||
connections: | ||
wiredSource.ethg++ <--> Eth100M <--> wiredDestination.ethg++; | ||
} | ||
|
||
|
||
network DataLinkVisualizerEnablingWirelessShowcase | ||
{ | ||
@display("bgb=700,250"); | ||
submodules: | ||
linkVisualizer: DataLinkVisualizer { | ||
parameters: | ||
@display("p=100,50"); | ||
} | ||
configurator: Ipv4NetworkConfigurator { | ||
parameters: | ||
@display("p=100,120"); | ||
} | ||
radioMedium: Ieee80211ScalarRadioMedium { | ||
parameters: | ||
@display("p=100,190"); | ||
} | ||
wirelessSource: AdhocHost { | ||
@display("p=300,110"); | ||
} | ||
wirelessDestination: AdhocHost { | ||
@display("p=600,110"); | ||
} | ||
} | ||
|
||
network DataLinkVisualizerActivityLevelShowcase | ||
{ | ||
@display("bgb=700,250"); | ||
submodules: | ||
visualizer: IntegratedMultiVisualizer { | ||
parameters: | ||
@display("p=100,50"); | ||
} | ||
configurator: Ipv4NetworkConfigurator { | ||
parameters: | ||
@display("p=100,120"); | ||
} | ||
radioMedium: Ieee80211ScalarRadioMedium { | ||
parameters: | ||
@display("p=100,190"); | ||
} | ||
person1: AdhocHost { | ||
@display("p=269,42;i=misc/person3"); | ||
} | ||
videoServer: AdhocHost { | ||
@display("p=636,41;i=misc/desktoppc2"); | ||
} | ||
person2: AdhocHost { | ||
@display("p=452,180;i=misc/person4"); | ||
} | ||
} | ||
|
||
network DataLinkVisualizerFilteringShowcase | ||
{ | ||
@display("bgb=900,600"); | ||
submodules: | ||
visualizer: IntegratedVisualizer { | ||
@display("p=80,50"); | ||
} | ||
configurator: Ipv4NetworkConfigurator { | ||
parameters: | ||
@display("p=80,120"); | ||
} | ||
etherSwitch1: EthernetSwitch { | ||
@display("p=376.896,169.12"); | ||
} | ||
etherSwitch3: EthernetSwitch { | ||
@display("p=723.592,200.528"); | ||
} | ||
source1: StandardHost { | ||
@display("p=206.568,50.736"); | ||
} | ||
etherSwitch4: EthernetSwitch { | ||
@display("p=484.408,283.88"); | ||
} | ||
destination1: StandardHost { | ||
@display("p=556.888,485.616"); | ||
} | ||
destination2: StandardHost { | ||
@display("p=798.488,343.072"); | ||
} | ||
source2: StandardHost { | ||
@display("p=173.952,227.104"); | ||
} | ||
etherSwitch2: EthernetSwitch { | ||
@display("p=329.784,428.84"); | ||
} | ||
host1: StandardHost { | ||
@display("p=233.144,506.152"); | ||
} | ||
host2: StandardHost { | ||
@display("p=822.648,135.296"); | ||
} | ||
connections: | ||
etherSwitch1.ethg++ <--> Eth100M <--> source1.ethg++; | ||
etherSwitch1.ethg++ <--> Eth100M <--> etherSwitch4.ethg++; | ||
etherSwitch4.ethg++ <--> Eth100M <--> etherSwitch3.ethg++; | ||
etherSwitch1.ethg++ <--> Eth100M <--> source2.ethg++; | ||
etherSwitch3.ethg++ <--> Eth100M <--> destination2.ethg++; | ||
etherSwitch4.ethg++ <--> Eth100M <--> etherSwitch2.ethg++; | ||
etherSwitch2.ethg++ <--> Eth100M <--> destination1.ethg++; | ||
etherSwitch3.ethg++ <--> Eth100M <--> host2.ethg++; | ||
etherSwitch2.ethg++ <--> Eth100M <--> host1.ethg++; | ||
} | ||
|
||
network DataLinkVisualizerMobileShowcase | ||
{ | ||
@display("bgb=620,500"); | ||
submodules: | ||
visualizer: IntegratedVisualizer { | ||
@display("p=70,50"); | ||
} | ||
configurator: Ipv4NetworkConfigurator { | ||
@display("p=70,150"); | ||
} | ||
radioMedium: Ieee80211ScalarRadioMedium { | ||
@display("p=70,250"); | ||
} | ||
destination: AodvRouter { | ||
@display("p=512.272,249.796"); | ||
} | ||
source: AodvRouter { | ||
@display("p=187.664,207.952"); | ||
} | ||
aodvRouter1: AodvRouter { | ||
@display("p=201.612,311.928"); | ||
} | ||
aodvRouter2: AodvRouter { | ||
@display("p=465.356,158.5"); | ||
} | ||
aodvRouter3: AodvRouter { | ||
@display("p=426.048,311.928"); | ||
} | ||
aodvRouter4: AodvRouter { | ||
@display("p=400.688,88.76"); | ||
} | ||
aodvRouter5: AodvRouter { | ||
@display("p=333.484,177.52"); | ||
} | ||
aodvRouter6: AodvRouter { | ||
@display("p=323.34,262.476"); | ||
} | ||
aodvRouter7: AodvRouter { | ||
@display("p=265.012,109.048"); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
[General] | ||
sim-time-limit = 250s | ||
network = HandoverShowcase | ||
|
||
# management submodule parameters | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#! /bin/sh | ||
|
||
cleanup() { | ||
# remove delay, packet loss, etc. from the loopback interface | ||
sudo tc qdisc del dev lo root | ||
} | ||
|
||
sigcleanup() { | ||
cleanup; trap '' EXIT ; exit 1 | ||
} | ||
|
||
# auto-cleanup on exit and when interrupted | ||
trap cleanup EXIT | ||
trap sigcleanup INT QUIT TERM | ||
|
||
# add delay, jitter, and packet loss/corruption to packets going through the loopback interface | ||
cleanup 2>/dev/null | ||
sudo tc qdisc add dev lo root netem loss 1% corrupt 5% delay 10ms 1ms || exit 1 | ||
|
||
# run the simulations | ||
inet -s -u Cmdenv voipreceiver.ini -c Loopback & | ||
sleep 1 | ||
inet -s -u Cmdenv voipsender.ini -c Loopback || exit 1 | ||
wait | ||
|
||
|
Oops, something went wrong.