mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-28 04:20:13 +02:00
Add system health settings
path (#294)
Add changelog fragment Change changelog fragment to lower-case
This commit is contained in:
parent
dc7fa11f5d
commit
91fef4e3a9
4 changed files with 42 additions and 0 deletions
|
@ -0,0 +1,2 @@
|
|||
minor_changes:
|
||||
- api_info, api_modify - add ``system health settings`` path (https://github.com/ansible-collections/community.routeros/pull/294).
|
|
@ -4001,6 +4001,44 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('system', 'health', 'settings'): APIData(
|
||||
versioned=[
|
||||
('7.14', '<', VersionedAPIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'cpu-overtemp-check': KeyInfo(),
|
||||
'cpu-overtemp-startup-delay': KeyInfo(),
|
||||
'cpu-overtemp-threshold': KeyInfo(),
|
||||
'fan-control-interval': KeyInfo(can_disable=True, default='30s'),
|
||||
'fan-full-speed-temp': KeyInfo(default=65),
|
||||
'fan-min-speed-percent': KeyInfo(default=0),
|
||||
'fan-mode': KeyInfo(),
|
||||
'fan-on-threshold': KeyInfo(),
|
||||
'fan-switch': KeyInfo(),
|
||||
'fan-target-temp': KeyInfo(default=58),
|
||||
'use-fan': KeyInfo(),
|
||||
},
|
||||
)),
|
||||
('7.14', '>=', VersionedAPIData(
|
||||
single_value=True,
|
||||
fully_understood=True,
|
||||
fields={
|
||||
'cpu-overtemp-check': KeyInfo(),
|
||||
'cpu-overtemp-startup-delay': KeyInfo(),
|
||||
'cpu-overtemp-threshold': KeyInfo(),
|
||||
'fan-control-interval': KeyInfo(default=30),
|
||||
'fan-full-speed-temp': KeyInfo(default=65),
|
||||
'fan-min-speed-percent': KeyInfo(default=12),
|
||||
'fan-mode': KeyInfo(),
|
||||
'fan-on-threshold': KeyInfo(),
|
||||
'fan-switch': KeyInfo(),
|
||||
'fan-target-temp': KeyInfo(default=58),
|
||||
'use-fan': KeyInfo(),
|
||||
},
|
||||
)),
|
||||
],
|
||||
),
|
||||
('system', 'identity'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
single_value=True,
|
||||
|
|
|
@ -218,6 +218,7 @@ options:
|
|||
- snmp community
|
||||
- system clock
|
||||
- system clock manual
|
||||
- system health settings
|
||||
- system identity
|
||||
- system leds settings
|
||||
- system logging
|
||||
|
|
|
@ -227,6 +227,7 @@ options:
|
|||
- snmp community
|
||||
- system clock
|
||||
- system clock manual
|
||||
- system health settings
|
||||
- system identity
|
||||
- system leds settings
|
||||
- system logging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue