Add support for '/queue type' path #274
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
COMPONENT NAME
ADDITIONAL INFORMATION
RouterOS 6.x supports the following queue types:
In addition to these, RouterOS 7.x supports the following:
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.