Comments (11)
Hello Voica,
The TSN example network also has a configuration for FlowMeters. Do you get any errors when running the TSN example?
Otherwise, it might be some kind of configuration problem or a bug, so we might need more information such as ini file configurations and network topology.
I have assigned Philipp (Musteblume) to this question and hope he can help you. Currently, he is on vacation, but he will get in touch as soon as he is back. Thanks for your patience.
Best
Timo
from core4inet.
Hi Timo,
Thanks for reaching back! Until Philipp is back, here are some details:
TSN example works with configuration "With_Qci". Though, this configuration is just using filtering and gating, but not flow metering.
Or there is another TSN example that has also a configuration defining CreditBasedMeters?
All best
Voica
from core4inet.
Hi Voica,
Regarding the CIR: The CreditBasedMeter is an experimental creation by us which is not defined in the standard. The token bucket based metering from the standard which uses CIR etc. is not implemented. You can implement a token based approach by extending IEEE8021QciMeter.
Regarding the Error: Are you still getting the error? Can you show the configuration that produces the error?
Best regards
Philipp
from core4inet.
Hi Philipp,
Thank you for the clarification about the non-standard CIR implementation! After removing the flow meter, the error disappears :)
All best
Voica
from core4inet.
Hi Voica,
that's good news but it should also not crash when using the flow meter. Are you able to share your crashing configuration with me? It would be valuable to fix this.
Best regards
Philipp
from core4inet.
Hi Philipp,
Hoping that helps, Iām attaching the switch configuration (switch1.txt) adapted from TSN example! Error message is as in the first comment, first point, of this thread.
There is another problem; I ended-up with 2 StreamGate and FlowMeter instances, since having only one customized instance per-port also crashed.
If you need more details, please feel free to reach out!
All best
Voica
switch1.txt
from core4inet.
Hi Voica,
thank you very much. I will have a deeper look into the issue.
Best regards
Philipp
from core4inet.
Hi,
was able to recreate the error:
The cause was a misconfiguration of the stream filter:
**.switch1.phy[0].filtering.streamFilter[1].typename = "QTagFilter"
**.switch1.phy[0].filtering.streamFilter[1].vID = 2
**.switch1.phy[0].filtering.streamFilter[1].pcp = 6
**.switch1.phy[0].filtering.streamFilter[1].srcAddress = "0A-00-00-00-00-01"
**.switch1.phy[0].filtering.streamFilter[1].gateID = 1
**.switch1.phy[0].filtering.streamFilter[1].meterID = 1
**.switch1.phy[0].filtering.flowMeter[1].typename = "CreditBasedMeter"
**.switch1.phy[0].filtering.flowMeter[1].maxBurst = 1
But the source of the stream is **.node2.phy[*].mac.address = "0A-00-00-00-00-02"
This results in CreditBasedMeter thinking zero bandwidth is reserved for the stream.
I fixed that CBM is not crashing on zero bandwidth. Now, it doesn't crash on misconfiguration.
Thank you for the info's.
Best regards
Philipp
from core4inet.
from core4inet.
Hi Voica,
should be published here in the master branch today.
Best regards
Philipp
from core4inet.
Fix is published in master.
from core4inet.
Related Issues (20)
- IEEE 802.1AS (PTP) Implementation HOT 6
- INET Ethernet Feature Not enabled error HOT 1
- AVB EtherHost and EtherSwitch node HOT 5
- Query regarding AVB simulation HOT 2
- Issue in "dropped" signal HOT 1
- Question: AVB Frame size Limit HOT 2
- Installation errors
- Unable to find the required Inet version HOT 2
- Question - 802.1Qbu frame preemption implementation HOT 5
- Question - 802.1Qcr asynchronous traffic shaper implementation HOT 2
- Type fatal error: 'CoRE4INET_TTEScheduler.h' file not found CoRE4INET_SMStates.h HOT 1
- Version: 6.0pre13, Build id: 211015-f5e4ca7a15 unable to build CoRE4INET HOT 4
- CoRE4INET can not build HOT 15
- Question - TSN: Accessing the input port number of the Switch HOT 3
- Question - "One talker node with MAC address "0A-00-00-00-00-00" is sending two different flows to the same listener with MAC address "0A-00-00-00-00-01". The vids are different for the flows. HOT 2
- Question - The vlain id is not updating in the MAC table. It always keeps the vlain id as 0. HOT 3
- Build issues with CORE4INET
- Setup + Usage HOT 1
- Error occured when I, build CoRE4INET with inet 3.8.3 in OMNeT++ 6.0.2 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core4inet.