-
Notifications
You must be signed in to change notification settings - Fork 655
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ingress policer to qos overview #1190
base: master
Are you sure you want to change the base?
Conversation
No major YANG version changes in commit 3f91434 |
doc/qos_overview.md
Outdated
in ingress queue. To satisfy the OC schema requirements, a dummy or "fake" | ||
queue is created. | ||
|
||
```yaml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Given that we don't have a spec for YANG modelled data being serialised to YAML, can we write this as JSON please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Converted to legal JSON, so the comments are gone. Do you want me to add them back in even though it cannot be validated? 😜
@robshakir ready for your re-review |
I don't think this is the appropriate way to describe a canonical ingress policer. While the scheduling typically supports rate-limiting mechanisms, in many implementations, there are separate policer entities (often implemented in HW) that are independent of schedulers; i.e., those are two different mechanisms. The fake queuing/ingress scheduling approach feels more like a workaround for implementations where true ingress policers are not available (or they never implement "real" ingress scheduling and can perform this config translation into policing in native yang/cli model). In my view, the clearer approach is to introduce a new hierarchy to be used specifically to define standalone policers (e.g. |
@robshakir Ready for your next review |
Adding documentation on how to use the
/qos
model to create an ingress policer