Add support for '/queue type' path (#274)

* Add support for '/queue type' path

* Add changelogs/fragments/274-add_queue_type_path.yml
This commit is contained in:
samburney 2024-04-18 07:00:14 +09:30 committed by GitHub
parent 62a795f995
commit 78d2fdd0f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 62 additions and 29 deletions

View file

@ -4326,6 +4326,64 @@ PATHS = {
},
),
),
('queue', 'type'): APIData(
unversioned=VersionedAPIData(
primary_keys=('name', ),
fully_understood=True,
fields={
'name': KeyInfo(),
'kind': KeyInfo(required=True),
'bfifo-limit': KeyInfo(default=15000),
'cake-ack-filter': KeyInfo(default='none'),
'cake-atm': KeyInfo(default='none'),
'cake-autorate-ingress': KeyInfo(can_disable=True),
'cake-bandwidth': KeyInfo(can_disable=True, remove_value=0),
'cake-diffserv': KeyInfo(default='diffserv3'),
'cake-flowmode': KeyInfo(default='triple-isolate'),
'cake-memlimit': KeyInfo(default=0),
'cake-mpu': KeyInfo(can_disable=True, remove_value=''),
'cake-nat': KeyInfo(can_disable=True, remove_value=False),
'cake-overhead': KeyInfo(default=0),
'cake-overhead-scheme': KeyInfo(can_disable=True, remove_value=''),
'cake-rtt': KeyInfo(default='100ms'),
'cake-rtt-scheme': KeyInfo(default='none'),
'cake-wash': KeyInfo(can_disable=True, remove_value=False),
'codel-ce-threshold': KeyInfo(can_disable=True, remove_value=''),
'codel-ecn': KeyInfo(can_disable=True, remove_value=False),
'codel-interval': KeyInfo(default='100ms'),
'codel-limit': KeyInfo(default=1000),
'codel-target': KeyInfo(default='5ms'),
'fq-codel-ce-threshold': KeyInfo(can_disable=True, remove_value=''),
'fq-codel-ecn': KeyInfo(default=True),
'fq-codel-flows': KeyInfo(default=1024),
'fq-codel-interval': KeyInfo(default='100ms'),
'fq-codel-limit': KeyInfo(default=10240),
'fq-codel-memlimit': KeyInfo(default=33554432),
'fq-codel-quantum': KeyInfo(default=1514),
'fq-codel-target': KeyInfo(default='5ms'),
'mq-pfifo-limit': KeyInfo(default=50),
'pcq-burst-rate': KeyInfo(default=0),
'pcq-burst-threshold': KeyInfo(default=0),
'pcq-burst-time': KeyInfo(default='10s'),
'pcq-classifier': KeyInfo(can_disable=True, remove_value=''),
'pcq-dst-address-mask': KeyInfo(default=32),
'pcq-dst-address6-mask': KeyInfo(default=128),
'pcq-limit': KeyInfo(default=50),
'pcq-rate': KeyInfo(default=0),
'pcq-src-address-mask': KeyInfo(default=32),
'pcq-src-address6-mask': KeyInfo(default=128),
'pcq-total-limit': KeyInfo(default=2000),
'pfifo-limit': KeyInfo(default=50),
'red-avg-packet': KeyInfo(default=1000),
'red-burst': KeyInfo(default=20),
'red-limit': KeyInfo(default=60),
'red-max-threshold': KeyInfo(default=50),
'red-min-threshold': KeyInfo(default=10),
'sfq-allot': KeyInfo(default=1514),
'sfq-perturb': KeyInfo(default=5),
},
),
),
('interface', 'ethernet', 'switch'): APIData(
unversioned=VersionedAPIData(
fixed_entries=True,
@ -4401,35 +4459,6 @@ PATHS = {
},
),
),
('queue', 'type'): APIData(
unversioned=VersionedAPIData(
has_identifier=True,
fields={
'kind': KeyInfo(),
'mq-pfifo-limit': KeyInfo(),
'name': KeyInfo(),
'pcq-burst-rate': KeyInfo(),
'pcq-burst-threshold': KeyInfo(),
'pcq-burst-time': KeyInfo(),
'pcq-classifier': KeyInfo(),
'pcq-dst-address-mask': KeyInfo(),
'pcq-dst-address6-mask': KeyInfo(),
'pcq-limit': KeyInfo(),
'pcq-rate': KeyInfo(),
'pcq-src-address-mask': KeyInfo(),
'pcq-src-address6-mask': KeyInfo(),
'pcq-total-limit': KeyInfo(),
'pfifo-limit': KeyInfo(),
'red-avg-packet': KeyInfo(),
'red-burst': KeyInfo(),
'red-limit': KeyInfo(),
'red-max-threshold': KeyInfo(),
'red-min-threshold': KeyInfo(),
'sfq-allot': KeyInfo(),
'sfq-perturb': KeyInfo(),
},
),
),
('routing', 'bgp', 'connection'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,