Add upnp interfaces, graphing interface and resource (#227)

* Add ip upnp interfaces

* Add tool graphing interface and resource

* Update changelog
This commit is contained in:
Andrei Costescu 2023-10-07 14:25:52 +02:00 committed by GitHub
parent 9b4774c78d
commit 226649ac13
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 47 additions and 0 deletions

View file

@ -2415,6 +2415,18 @@ PATHS = {
},
),
),
('ip', 'upnp', 'interfaces'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,
primary_keys=('interface', 'type'),
fields={
'disabled': KeyInfo(default=False),
'interface': KeyInfo(),
'type': KeyInfo(),
'forced-ip': KeyInfo(can_disable=True),
},
),
),
('ipv6', 'dhcp-client'): APIData(
unversioned=VersionedAPIData(
fully_understood=True,
@ -3180,6 +3192,33 @@ PATHS = {
},
),
),
('tool', 'graphing', 'interface'): APIData(
versioned=[
('7', '>=', VersionedAPIData(
fully_understood=True,
fields={
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'allow-address': KeyInfo(default='0.0.0.0/0'),
'interface': KeyInfo(default='all'),
'store-on-disk': KeyInfo(default=True),
},
)),
],
),
('tool', 'graphing', 'resource'): APIData(
versioned=[
('7', '>=', VersionedAPIData(
fully_understood=True,
fields={
'comment': KeyInfo(can_disable=True, remove_value=''),
'disabled': KeyInfo(default=False),
'allow-address': KeyInfo(default='0.0.0.0/0'),
'store-on-disk': KeyInfo(default=True),
},
)),
],
),
('tool', 'mac-server'): APIData(
unversioned=VersionedAPIData(
single_value=True,