diff --git a/changelogs/fragments/269-add-queue_simple-path.yml b/changelogs/fragments/269-add-queue_simple-path.yml new file mode 100644 index 0000000..f943de5 --- /dev/null +++ b/changelogs/fragments/269-add-queue_simple-path.yml @@ -0,0 +1,2 @@ +minor_changes: + - api_info, api_modify - add missing path ``/queue simple`` (https://github.com/ansible-collections/community.routeros/pull/269). \ No newline at end of file diff --git a/plugins/module_utils/_api_data.py b/plugins/module_utils/_api_data.py index a421cff..0b06cc5 100644 --- a/plugins/module_utils/_api_data.py +++ b/plugins/module_utils/_api_data.py @@ -4239,6 +4239,30 @@ PATHS = { }, ), ), + ('queue', 'simple'): APIData( + unversioned=VersionedAPIData( + primary_keys=('name', ), + fully_understood=True, + fields={ + 'comment': KeyInfo(can_disable=True, remove_value=''), + 'dst': KeyInfo(can_disable=True, remove_value=''), + 'time': KeyInfo(can_disable=True, remove_value=''), + 'bucket-size': KeyInfo(default='0.1/0.1'), + 'burst-limit': KeyInfo(default='0/0'), + 'burst-threshold': KeyInfo(default='0/0'), + 'burst-time': KeyInfo(default='0s/0s'), + 'disabled': KeyInfo(default=False), + 'limit-at': KeyInfo(default='0/0'), + 'max-limit': KeyInfo(default='0/0'), + 'name': KeyInfo(), + 'packet-marks': KeyInfo(default=''), + 'parent': KeyInfo(default='none'), + 'priority': KeyInfo(default='8/8'), + 'queue': KeyInfo(default='default-small/default-small'), + 'target': KeyInfo(required=True), + }, + ), + ), ('queue', 'tree'): APIData( unversioned=VersionedAPIData( primary_keys=('name', ), diff --git a/plugins/modules/api_info.py b/plugins/modules/api_info.py index f9a3946..29c977b 100644 --- a/plugins/modules/api_info.py +++ b/plugins/modules/api_info.py @@ -180,6 +180,7 @@ options: - ppp aaa - ppp profile - queue interface + - queue simple - queue tree - radius - radius incoming diff --git a/plugins/modules/api_modify.py b/plugins/modules/api_modify.py index d717500..16c1f2f 100644 --- a/plugins/modules/api_modify.py +++ b/plugins/modules/api_modify.py @@ -189,6 +189,7 @@ options: - ppp aaa - ppp profile - queue interface + - queue simple - queue tree - radius - radius incoming