mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Add support for "tool netwatch" (#216)
Upstream documentation: https://help.mikrotik.com/docs/display/ROS/Netwatch Signed-off-by: Michael Hanselmann <public@hansmi.ch>
This commit is contained in:
parent
2bbaf26484
commit
d601e10e22
4 changed files with 42 additions and 0 deletions
|
@ -3168,6 +3168,44 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
),
|
||||
('tool', 'netwatch'): APIData(
|
||||
versioned=[
|
||||
('7', '>=', VersionedAPIData(
|
||||
fully_understood=True,
|
||||
primary_keys=('name', ),
|
||||
fields={
|
||||
'certificate': KeyInfo(),
|
||||
'check-certificate': KeyInfo(),
|
||||
'comment': KeyInfo(),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'down-script': KeyInfo(),
|
||||
'host': KeyInfo(required=True),
|
||||
'http-codes': KeyInfo(),
|
||||
'interval': KeyInfo(),
|
||||
'name': KeyInfo(),
|
||||
'packet-count': KeyInfo(),
|
||||
'packet-interval': KeyInfo(),
|
||||
'packet-size': KeyInfo(),
|
||||
'port': KeyInfo(),
|
||||
'src-address': KeyInfo(),
|
||||
'start-delay': KeyInfo(),
|
||||
'startup-delay': KeyInfo(),
|
||||
'test-script': KeyInfo(),
|
||||
'thr-avg': KeyInfo(),
|
||||
'thr-http-time': KeyInfo(),
|
||||
'thr-jitter': KeyInfo(),
|
||||
'thr-loss-count': KeyInfo(),
|
||||
'thr-loss-percent': KeyInfo(),
|
||||
'thr-max': KeyInfo(),
|
||||
'thr-stdev': KeyInfo(),
|
||||
'thr-tcp-conn-time': KeyInfo(),
|
||||
'timeout': KeyInfo(),
|
||||
'type': KeyInfo(default='simple'),
|
||||
'up-script': KeyInfo(),
|
||||
},
|
||||
)),
|
||||
],
|
||||
),
|
||||
('tool', 'romon'): APIData(
|
||||
unversioned=VersionedAPIData(
|
||||
single_value=True,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue