GithubHelp home page GithubHelp logo

Comments (11)

THaeckel avatar THaeckel commented on August 24, 2024

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.

CC-vga avatar CC-vga commented on August 24, 2024

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.

Musteblume avatar Musteblume commented on August 24, 2024

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.

CC-vga avatar CC-vga commented on August 24, 2024

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.

Musteblume avatar Musteblume commented on August 24, 2024

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.

CC-vga avatar CC-vga commented on August 24, 2024

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.

Musteblume avatar Musteblume commented on August 24, 2024

Hi Voica,

thank you very much. I will have a deeper look into the issue.

Best regards
Philipp

from core4inet.

Musteblume avatar Musteblume commented on August 24, 2024

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.

CC-vga avatar CC-vga commented on August 24, 2024

from core4inet.

Musteblume avatar Musteblume commented on August 24, 2024

Hi Voica,

should be published here in the master branch today.

Best regards
Philipp

from core4inet.

Musteblume avatar Musteblume commented on August 24, 2024

Fix is published in master.

from core4inet.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.