Extending the default Asynchronous Traffic Shaping scenario #946
arboulahdour
started this conversation in
Showcases
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Greetings,
I have tried to expand upon the linear topology utilized in the Asynchronous Traffic Shaping demonstration showcased earlier. I incorporated an additional TSN Switch and implemented identical configurations as the initial switch.
`import inet.networks.base.TsnNetworkBase;
import inet.node.contract.IEthernetNetworkNode;
import inet.node.ethernet.EthernetLink;
network TsnAsynchronous extends TsnNetworkBase
{
parameters:
.eth[].bitrate = default(100Mbps);
@display("bgb=773,569");
submodules:
switch1: TsnSwitch {
@display("i=abstract/switch;p=444.64798,238.368");
}
switch2: TsnSwitch {
@display("i=abstract/switch;p=545.496,238.368");
}
client: TsnDevice {
parameters:
@display("p=338.06998,238.368;i=device/pc");
}
server: TsnDevice {
@display("p=644.052,238.368;i=device/server");
}
}`
However, upon running the simulation, I encountered the following error:
Tag 'inet::EligibilityTimeTag' is absent -- in module (inet::EligibilityTimeGate) TsnAsynchronous.switch2.eth[1].macLayer.queue.transmissionSelectionAlgorithm[0] (id=359), at t=0.00016906s, event #34
After incorporating (in omnetpp.ini) an additional encoding step in switch1 following the decoding process, the previously encountered error disappeared.
*.switch1.bridging.streamCoder.encoder.mapping = [{stream: "best effort", pcp: 0}, {stream: "voice", pcp: 4}]
Upon running the simulation, it was observed that packets were being forwarded correctly through the appropriate gates in each switch.
I would like to ensure the correctness of what I did, and how to deal with that error in scenarios involving multiple switches within the network.
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions