mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-07-09 17:54:40 +02:00
Add '/queue simple' path (#269)
* Add '/queue simple' path * Add changelogs/fragments/260-add-queue_simple-path.yml * Updated queue-simple path: - Updated all default values to match those from the API - Re-ordered fields to match API output - Target is not required; added default value * 'target' *is* required, however it interracts strangely with values of 0.0.0.0/0 and '' (Empty string). * Updated PR in document fragment
This commit is contained in:
parent
8351bff0e9
commit
506b3eba39
4 changed files with 28 additions and 0 deletions
2
changelogs/fragments/269-add-queue_simple-path.yml
Normal file
2
changelogs/fragments/269-add-queue_simple-path.yml
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
minor_changes:
|
||||||
|
- api_info, api_modify - add missing path ``/queue simple`` (https://github.com/ansible-collections/community.routeros/pull/269).
|
|
@ -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(
|
('queue', 'tree'): APIData(
|
||||||
unversioned=VersionedAPIData(
|
unversioned=VersionedAPIData(
|
||||||
primary_keys=('name', ),
|
primary_keys=('name', ),
|
||||||
|
|
|
@ -180,6 +180,7 @@ options:
|
||||||
- ppp aaa
|
- ppp aaa
|
||||||
- ppp profile
|
- ppp profile
|
||||||
- queue interface
|
- queue interface
|
||||||
|
- queue simple
|
||||||
- queue tree
|
- queue tree
|
||||||
- radius
|
- radius
|
||||||
- radius incoming
|
- radius incoming
|
||||||
|
|
|
@ -189,6 +189,7 @@ options:
|
||||||
- ppp aaa
|
- ppp aaa
|
||||||
- ppp profile
|
- ppp profile
|
||||||
- queue interface
|
- queue interface
|
||||||
|
- queue simple
|
||||||
- queue tree
|
- queue tree
|
||||||
- radius
|
- radius
|
||||||
- radius incoming
|
- radius incoming
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue