Skip to content
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 support for '/queue type' path #274

Merged
merged 2 commits into from
Apr 17, 2024

Conversation

samburney
Copy link
Contributor

SUMMARY

Add support for partially implemented '/queue type' path.

RouterOS includes a number of default queue types that cannot be modified or removed, meaning that to use 'handle_absent_entries' additional work must be done to ensure those are included in the api_modify data.

I know dynamic and default entries are supposed to be ignored by api_info and api_modify, but I haven't worked out how to make that work on this path.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • api_info
  • api_modify
ADDITIONAL INFORMATION

RouterOS 6.x supports the following queue types:

  • bfifo
  • mq-pfifo
  • pcq
  • pfifo
  • red
  • sfq

In addition to these, RouterOS 7.x supports the following:

  • codel
  • cake
  • fq-codel

I have tested each type in both RouterOS versions to ensure basic configurations work, but I won't include that output here as its quite a lot of text.

Copy link

codecov bot commented Mar 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.99%. Comparing base (a3fbe88) to head (a9db513).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #274   +/-   ##
=======================================
  Coverage   82.99%   82.99%           
=======================================
  Files          32       32           
  Lines        4051     4051           
  Branches      873      873           
=======================================
  Hits         3362     3362           
  Misses        506      506           
  Partials      183      183           
Flag Coverage Δ
integration 66.86% <ø> (ø)
sanity 22.08% <ø> (ø)
units 82.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Mar 31, 2024

Docs Build 📝

Thank you for contribution!✨

This PR has been merged and the docs are now incorporated into main:
https://ansible-collections.github.io/community.routeros/branch/main

@samburney samburney marked this pull request as ready for review March 31, 2024 10:20
@felixfontein felixfontein merged commit 78d2fdd into ansible-collections:main Apr 17, 2024
45 checks passed
@felixfontein
Copy link
Collaborator

@samburney thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants