close
Skip to content

Commit 95be570

Browse files
committed
docs updated at 2026. febr. 27., péntek, 09:56:32 UTC
1 parent 3e31c91 commit 95be570

2,117 files changed

Lines changed: 362223 additions & 68801 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.buildinfo‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
2-
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 6200b93b3f407bcb95b2ab78e4c93fd7
2+
# This file records the configuration used when building these files. When it is not found, a full rebuild will be done.
3+
config: 52104fc10df5398e6a46fd613f845b23
44
tags: 645f666f9bcd5a90fca523b33c5a78b7
Lines changed: 187 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,187 @@
1+
//
2+
// SPDX-License-Identifier: LGPL-3.0-or-later
3+
//
4+
5+
package inet.showcases.visualizer.canvas.datalinkactivity;
6+
7+
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
8+
import inet.node.aodv.AodvRouter;
9+
import inet.node.ethernet.Eth100M;
10+
import inet.node.ethernet.EthernetSwitch;
11+
import inet.node.inet.AdhocHost;
12+
import inet.node.inet.StandardHost;
13+
import inet.physicallayer.wireless.ieee80211.packetlevel.Ieee80211RadioMedium;
14+
import inet.visualizer.canvas.integrated.IntegratedCanvasVisualizer;
15+
import inet.visualizer.canvas.integrated.IntegratedMultiCanvasVisualizer;
16+
import inet.visualizer.canvas.linklayer.DataLinkCanvasVisualizer;
17+
18+
19+
network DataLinkVisualizerEnablingWiredShowcase
20+
{
21+
@display("bgb=700,250");
22+
submodules:
23+
linkVisualizer: DataLinkCanvasVisualizer {
24+
parameters:
25+
@display("p=100,50");
26+
}
27+
configurator: Ipv4NetworkConfigurator {
28+
parameters:
29+
@display("p=100,150");
30+
}
31+
wiredSource: StandardHost {
32+
@display("p=300,110");
33+
}
34+
wiredDestination: StandardHost {
35+
@display("p=600,110");
36+
}
37+
connections:
38+
wiredSource.ethg++ <--> Eth100M <--> wiredDestination.ethg++;
39+
}
40+
41+
42+
network DataLinkVisualizerEnablingWirelessShowcase
43+
{
44+
@display("bgb=700,250");
45+
submodules:
46+
linkVisualizer: DataLinkCanvasVisualizer {
47+
parameters:
48+
@display("p=100,50");
49+
}
50+
configurator: Ipv4NetworkConfigurator {
51+
parameters:
52+
@display("p=100,120");
53+
}
54+
radioMedium: Ieee80211RadioMedium {
55+
parameters:
56+
@display("p=100,190");
57+
}
58+
wirelessSource: AdhocHost {
59+
@display("p=300,110");
60+
}
61+
wirelessDestination: AdhocHost {
62+
@display("p=600,110");
63+
}
64+
}
65+
66+
network DataLinkVisualizerActivityLevelShowcase
67+
{
68+
@display("bgb=700,250");
69+
submodules:
70+
visualizer: IntegratedMultiCanvasVisualizer {
71+
parameters:
72+
@display("p=100,50");
73+
}
74+
configurator: Ipv4NetworkConfigurator {
75+
parameters:
76+
@display("p=100,120");
77+
}
78+
radioMedium: Ieee80211RadioMedium {
79+
parameters:
80+
@display("p=100,190");
81+
}
82+
person1: AdhocHost {
83+
@display("p=269,42;i=misc/person3");
84+
}
85+
videoServer: AdhocHost {
86+
@display("p=636,41;i=misc/desktoppc2");
87+
}
88+
person2: AdhocHost {
89+
@display("p=452,180;i=misc/person4");
90+
}
91+
}
92+
93+
network DataLinkVisualizerFilteringShowcase
94+
{
95+
@display("bgb=900,600");
96+
submodules:
97+
visualizer: IntegratedCanvasVisualizer {
98+
@display("p=80,50");
99+
}
100+
configurator: Ipv4NetworkConfigurator {
101+
parameters:
102+
@display("p=80,120");
103+
}
104+
etherSwitch1: EthernetSwitch {
105+
@display("p=376.896,169.12");
106+
}
107+
etherSwitch3: EthernetSwitch {
108+
@display("p=723.592,200.528");
109+
}
110+
source1: StandardHost {
111+
@display("p=206.568,50.736");
112+
}
113+
etherSwitch4: EthernetSwitch {
114+
@display("p=484.408,283.88");
115+
}
116+
destination1: StandardHost {
117+
@display("p=556.888,485.616");
118+
}
119+
destination2: StandardHost {
120+
@display("p=798.488,343.072");
121+
}
122+
source2: StandardHost {
123+
@display("p=173.952,227.104");
124+
}
125+
etherSwitch2: EthernetSwitch {
126+
@display("p=329.784,428.84");
127+
}
128+
host1: StandardHost {
129+
@display("p=233.144,506.152");
130+
}
131+
host2: StandardHost {
132+
@display("p=822.648,135.296");
133+
}
134+
connections:
135+
etherSwitch1.ethg++ <--> Eth100M <--> source1.ethg++;
136+
etherSwitch1.ethg++ <--> Eth100M <--> etherSwitch4.ethg++;
137+
etherSwitch4.ethg++ <--> Eth100M <--> etherSwitch3.ethg++;
138+
etherSwitch1.ethg++ <--> Eth100M <--> source2.ethg++;
139+
etherSwitch3.ethg++ <--> Eth100M <--> destination2.ethg++;
140+
etherSwitch4.ethg++ <--> Eth100M <--> etherSwitch2.ethg++;
141+
etherSwitch2.ethg++ <--> Eth100M <--> destination1.ethg++;
142+
etherSwitch3.ethg++ <--> Eth100M <--> host2.ethg++;
143+
etherSwitch2.ethg++ <--> Eth100M <--> host1.ethg++;
144+
}
145+
146+
network DataLinkVisualizerMobileShowcase
147+
{
148+
@display("bgb=620,500");
149+
submodules:
150+
visualizer: IntegratedCanvasVisualizer {
151+
@display("p=70,50");
152+
}
153+
configurator: Ipv4NetworkConfigurator {
154+
@display("p=70,150");
155+
}
156+
radioMedium: Ieee80211RadioMedium {
157+
@display("p=70,250");
158+
}
159+
destination: AodvRouter {
160+
@display("p=512.272,249.796");
161+
}
162+
source: AodvRouter {
163+
@display("p=187.664,207.952");
164+
}
165+
aodvRouter1: AodvRouter {
166+
@display("p=201.612,311.928");
167+
}
168+
aodvRouter2: AodvRouter {
169+
@display("p=465.356,158.5");
170+
}
171+
aodvRouter3: AodvRouter {
172+
@display("p=426.048,311.928");
173+
}
174+
aodvRouter4: AodvRouter {
175+
@display("p=400.688,88.76");
176+
}
177+
aodvRouter5: AodvRouter {
178+
@display("p=333.484,177.52");
179+
}
180+
aodvRouter6: AodvRouter {
181+
@display("p=323.34,262.476");
182+
}
183+
aodvRouter7: AodvRouter {
184+
@display("p=265.012,109.048");
185+
}
186+
}
187+

_downloads/3a281aa4d23cc38ad7c7cb744f4e6612/FrerAndTasShowcase.ned renamed to _downloads/027a24563211c3984b90d0c24192eabd/FrerAndTasShowcase.ned

File renamed without changes.

_downloads/f97352a22ceefd0ec097be85e0d1319f/omnetpp.ini renamed to _downloads/02da1352bb12e9e1f897c1a6f7f5569b/omnetpp.ini

File renamed without changes.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
package inet.showcases.wireless.txop;
2+
3+
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
4+
import inet.node.inet.AdhocHost;
5+
import inet.physicallayer.wireless.ieee80211.packetlevel.Ieee80211RadioMedium;
6+
import inet.visualizer.canvas.integrated.IntegratedCanvasVisualizer;
7+
8+
9+
network TxopShowcase
10+
{
11+
@display("bgb=675,400");
12+
submodules:
13+
configurator: Ipv4NetworkConfigurator {
14+
@display("p=50,50");
15+
}
16+
radioMedium: Ieee80211RadioMedium {
17+
@display("p=50,100");
18+
}
19+
visualizer: IntegratedCanvasVisualizer {
20+
@display("p=50,150");
21+
}
22+
host1: AdhocHost {
23+
@display("p=288,110;i=misc/smartphone");
24+
}
25+
host2: AdhocHost {
26+
@display("p=480,258;i=misc/smartphone");
27+
}
28+
}

‎_downloads/0356ad7a11708ae79d92e2f450ec2128/HiddenNodeShowcase.ned‎

Lines changed: 0 additions & 47 deletions
This file was deleted.
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
[General]
2+
network = WebserverShowcase
3+
scheduler-class = "inet::RealTimeScheduler"
4+
sim-time-limit = 10s
5+
6+
# set number of clients
7+
*.numClients = 3
8+
9+
# unshare user and network namespaces
10+
unshare-namespaces = true
11+
12+
# disable loopback interfaces
13+
*.*.numLoInterfaces = 0
14+
15+
# turn off unused protocols
16+
*.*.hasTcp = false
17+
*.*.hasUdp = false
18+
*.*.hasIpv4 = false
19+
*.*.hasIpv6 = false
20+
21+
# disable ethernet protocols
22+
*.client[*].ethernet.typename = ""
23+
*.server.ethernet.typename = ""
24+
25+
# configure network interfaces
26+
*.*.eth[0].bitrate = 1Gbps
27+
*.*.eth[0].mac.duplexMode = true
28+
*.*.eth[0].mac.fcsMode = "computed"
29+
30+
# configure server network interface
31+
*.server.eth[0].typename = "ExtUpperEthernetInterface"
32+
*.server.eth[0].copyConfiguration = "copyFromExt"
33+
*.server.eth[0].device = "tap0"
34+
*.server.eth[0].namespace = "server"
35+
36+
# configure client network interfaces
37+
*.client[*].eth[0].typename = "ExtUpperEthernetInterface"
38+
*.client[*].eth[0].copyConfiguration = "copyFromExt"
39+
*.client[*].eth[0].device = "tap0"
40+
*.client[*].eth[0].namespace = nodeFullName()
41+
42+
# configure server external environment
43+
*.server.hasEnvironment = true
44+
*.server.environment.namespace = "server"
45+
*.server.environment.setupCommand = "ip tuntap add mode tap dev tap0 && " +
46+
"ip link set lo up && " +
47+
"ip link set dev tap0 up && " +
48+
"ip addr add 192.168.0.1/24 dev tap0"
49+
*.server.environment.teardownCommand = "ip link set dev tap0 down && " +
50+
"ip tuntap del mode tap dev tap0 ; " +
51+
"rm -f WebserverShowcase.ned.*"
52+
53+
# configure client external environment
54+
*.client[*].hasEnvironment = true
55+
*.client[*].environment.namespace = nodeFullName()
56+
*.client[*].environment.setupCommand = "ip tuntap add mode tap dev tap0 && " +
57+
"ip link set lo up && " +
58+
"ip link set dev tap0 up && " +
59+
"ip addr add 192.168.0.1" + string(nodeIndex()) + "/24 dev tap0"
60+
*.client[*].environment.teardownCommand = "ip link set dev tap0 down && " +
61+
"ip tuntap del mode tap dev tap0"
62+
63+
# configure webserver application
64+
*.server.numApps = 1
65+
*.server.app[0].typename = "ExternalApp"
66+
*.server.app[0].process.namespace = "server"
67+
*.server.app[0].process.command = "python3 -m http.server 8080"
68+
69+
# configure wget application
70+
*.client[*].numApps = 1
71+
*.client[*].app[0].typename = "ExternalApp"
72+
*.client[*].app[0].process.namespace = nodeFullName()
73+
*.client[*].app[0].process.command = "wget -o /dev/stdout http://192.168.0.1:8080/WebserverShowcase.ned"
74+
*.client[*].app[0].process.startTime = 0.5s
75+
*.client[*].app[0].process.onExit = "relaunch"
76+
*.client[*].app[0].process.relaunchDelay = 0.1s
77+
*.client[*].app[0].process.printStdout = true

0 commit comments

Comments
 (0)