Skip to content

Commit 3333d25

Browse files
committed
showcases: fix: fixed comments in time-aware shaper showcase
1 parent 0fe8334 commit 3333d25

File tree

1 file changed

+2
-2
lines changed
  • showcases/tsn/trafficshaping/timeawareshaper

1 file changed

+2
-2
lines changed

showcases/tsn/trafficshaping/timeawareshaper/omnetpp.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ description = "Traffic shaping using time-aware shapers"
1616
*.client.app[*].io.destAddress = "server"
1717
*.client.app[0].io.destPort = 1000
1818
*.client.app[1].io.destPort = 1001
19-
*.client.app[*].source.packetLength = 1000B - 54B # 42B = 8B (UDP) + 20B (IP) + 14B (ETH MAC) + 4B (ETH FCS) + 8B (ETH PHY)
19+
*.client.app[*].source.packetLength = 1000B - 54B # 54B = 8B (UDP) + 20B (IP) + 14B (ETH MAC) + 4B (ETH FCS) + 8B (ETH PHY)
2020
*.client.app[0].source.productionInterval = exponential(200us) # ~40Mbps
2121
*.client.app[1].source.productionInterval = exponential(400us) # ~20Mbps
2222

@@ -45,6 +45,6 @@ description = "Traffic shaping using time-aware shapers"
4545
*.switch.eth[*].macLayer.queue.*[0].display-name = "best effort"
4646
*.switch.eth[*].macLayer.queue.*[1].display-name = "video"
4747
*.switch.eth[*].macLayer.queue.transmissionGate[0].offset = 0ms
48-
*.switch.eth[*].macLayer.queue.transmissionGate[0].durations = [4ms, 6ms] # period is 10 # length of periods
48+
*.switch.eth[*].macLayer.queue.transmissionGate[0].durations = [4ms, 6ms] # period is 10
4949
*.switch.eth[*].macLayer.queue.transmissionGate[1].offset = 6ms
5050
*.switch.eth[*].macLayer.queue.transmissionGate[1].durations = [2ms, 8ms]

0 commit comments

Comments
 (0)