mirror of
https://github.com/ansible-collections/community.routeros.git
synced 2025-06-21 09:35:45 +02:00
Adapt SNMP support (#159)
* snmp support * Add changelog fragment * Update changelogs/fragments/159-snmp_community.yml Co-authored-by: Felix Fontein <felix@fontein.de> * Update changelogs/fragments/159-snmp_community.yml Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
720debb323
commit
071f742100
4 changed files with 19 additions and 13 deletions
|
@ -748,20 +748,20 @@ PATHS = {
|
|||
},
|
||||
),
|
||||
('snmp', 'community'): APIData(
|
||||
unknown_mechanism=True,
|
||||
# primary_keys=('default', ),
|
||||
fully_understood=True,
|
||||
primary_keys=('name', ),
|
||||
fields={
|
||||
'default': KeyInfo(),
|
||||
'addresses': KeyInfo(),
|
||||
'authentication-password': KeyInfo(),
|
||||
'authentication-protocol': KeyInfo(),
|
||||
'disabled': KeyInfo(),
|
||||
'encryption-password': KeyInfo(),
|
||||
'encryption-protocol': KeyInfo(),
|
||||
'name': KeyInfo(),
|
||||
'read-access': KeyInfo(),
|
||||
'security': KeyInfo(),
|
||||
'write-access': KeyInfo(),
|
||||
'addresses': KeyInfo(default='::/0'),
|
||||
'authentication-password': KeyInfo(default=''),
|
||||
'authentication-protocol': KeyInfo(default='MD5'),
|
||||
'comment': KeyInfo(can_disable=True, remove_value=''),
|
||||
'disabled': KeyInfo(default=False),
|
||||
'encryption-password': KeyInfo(default=''),
|
||||
'encryption-protocol': KeyInfo(default='DES'),
|
||||
'name': KeyInfo(required=True),
|
||||
'read-access': KeyInfo(default=True),
|
||||
'security': KeyInfo(default='none'),
|
||||
'write-access': KeyInfo(default=False),
|
||||
},
|
||||
),
|
||||
('caps-man', 'aaa'): APIData(
|
||||
|
@ -2286,6 +2286,7 @@ PATHS = {
|
|||
'trap-generators': KeyInfo(default='temp-exception'),
|
||||
'trap-target': KeyInfo(default=''),
|
||||
'trap-version': KeyInfo(default=1),
|
||||
'trap-interfaces': KeyInfo(default=''),
|
||||
},
|
||||
),
|
||||
('system', 'clock'): APIData(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue