mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Fix snmp path's engine-id/engine-id-suffix for ROS 7.10+. (#218)
This commit is contained in:
parent
170240480c
commit
dc110500db
2 changed files with 7 additions and 2 deletions
|
@ -2920,8 +2920,6 @@ PATHS = {
|
|||
fields={
|
||||
'contact': KeyInfo(default=''),
|
||||
'enabled': KeyInfo(default=False),
|
||||
'engine-id': KeyInfo(default=''),
|
||||
'engine-id-suffix': KeyInfo(default=''),
|
||||
'location': KeyInfo(default=''),
|
||||
'src-address': KeyInfo(default='::'),
|
||||
'trap-community': KeyInfo(default='public'),
|
||||
|
@ -2930,6 +2928,11 @@ PATHS = {
|
|||
'trap-version': KeyInfo(default=1),
|
||||
'trap-interfaces': KeyInfo(default=''),
|
||||
},
|
||||
versioned_fields=[
|
||||
([('7.10', '<')], 'engine-id', KeyInfo(default='')),
|
||||
([('7.10', '>=')], 'engine-id', KeyInfo(read_only=True)),
|
||||
([('7.10', '>=')], 'engine-id-suffix', KeyInfo(default='')),
|
||||
],
|
||||
),
|
||||
),
|
||||
('system', 'clock'): APIData(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue