NETCONF Configuration Guide
YANG API Reference
snmp
34 min
asternos snmp module description asternos model for snmp agent yang tree diagram /home/admin/jenkins/workspace/asternos mgmt dev campus/doc/resource/yang/asternos snmp yang 137 error unexpected keyword "description" module asternos snmp + rw snmp + rw global \| + rw enabled? boolean + rw snmp communities \| + rw snmp community \[community name] \| + rw community name string \| + rw community permission? enumeration + rw snmp users \| + rw snmp user \[user name] \| + rw user name string \| + rw authen mode? enumeration \| + rw authen key string \| + rw privacy mode? enumeration \| + rw privacy key string \| + rw user type? enumeration \| + rw permission? enumeration + rw snmp sources \| + rw snmp source \[source ip udp port vrf name] \| + rw source ip inet\ ip address no zone \| + rw udp port uint16 \| + rw vrf name vrf\ vrf ref + rw snmp traps \| + rw snmp trap \[trap type] \| + rw trap type enumeration \| + rw trap ip inet\ ip address no zone \| + rw vrf name? vrf\ vrf ref \| + rw udp port? uint16 \| + rw community name? string \| + rw user name string + rw system usage threshold + rw cpu usage? uint16 + rw memory usage? uint16 resources resource list path access /snmp read write /snmp/global read write /snmp/global/enabled read write /snmp/snmp communities read write /snmp/snmp communities/snmp community read write /snmp/snmp communities/snmp community/community name read write /snmp/snmp communities/snmp community/community permission read write /snmp/snmp users read write /snmp/snmp users/snmp user read write /snmp/snmp users/snmp user/user name read write /snmp/snmp users/snmp user/authen mode read write /snmp/snmp users/snmp user/authen key read write /snmp/snmp users/snmp user/privacy mode read write /snmp/snmp users/snmp user/privacy key read write /snmp/snmp users/snmp user/user type read write /snmp/snmp users/snmp user/permission read write /snmp/snmp sources read write /snmp/snmp sources/snmp source read write /snmp/snmp sources/snmp source/source ip read write /snmp/snmp sources/snmp source/udp port read write /snmp/snmp sources/snmp source/vrf name read write /snmp/snmp traps read write /snmp/snmp traps/snmp trap read write /snmp/snmp traps/snmp trap/trap type read write /snmp/snmp traps/snmp trap/trap ip read write /snmp/snmp traps/snmp trap/vrf name read write /snmp/snmp traps/snmp trap/udp port read write /snmp/snmp traps/snmp trap/community name read write /snmp/snmp traps/snmp trap/user name read write /snmp/system usage threshold read write /snmp/system usage threshold/cpu usage read write /snmp/system usage threshold/memory usage read write detailed nodes /snmp path /snmp node type container description snmp(simple network management protocol) container support to set snmp agent access read write /snmp/global path /snmp/global node type container description snmp global configuration access read write /snmp/global/enabled path /snmp/global/enabled node type leaf description startup or stop snmp docker container access read write data type constraints valid in \[true, false] /snmp/snmp communities path /snmp/snmp communities node type container description snmp agent communities list access read write /snmp/snmp communities/snmp community path /snmp/snmp communities/snmp community node type list description snmp agent community configuration access read write /snmp/snmp communities/snmp community/community name path /snmp/snmp communities/snmp community/community name node type leaf description snmp agent community name, 'public' is the default value access read write data type /snmp/snmp communities/snmp community/community permission path /snmp/snmp communities/snmp community/community permission node type leaf description permission of the snmp community access read write data type constraints enumeration with options ro rw /snmp/snmp users path /snmp/snmp users node type container description snmp agent users list access read write /snmp/snmp users/snmp user path /snmp/snmp users/snmp user node type list description snmp agent user configuration access read write /snmp/snmp users/snmp user/user name path /snmp/snmp users/snmp user/user name node type leaf description no description available access read write data type constraints string with length 1 to 32 /snmp/snmp users/snmp user/authen mode path /snmp/snmp users/snmp user/authen mode node type leaf description enables authentication of the user access read write data type constraints multiple constraints enumeration with options md5 sha when condition /user type != 'noauthnopriv' /snmp/snmp users/snmp user/authen key path /snmp/snmp users/snmp user/authen key node type leaf description the key used in md5 or sha based authentication algorithms for user authentication access read write data type constraints multiple constraints when condition /authen mode string with length 8 to 64 mandatory yes /snmp/snmp users/snmp user/privacy mode path /snmp/snmp users/snmp user/privacy mode node type leaf description enables privacy related configuration of the user access read write data type constraints multiple constraints when condition /authen mode and /user type = 'priv' enumeration with options des aes /snmp/snmp users/snmp user/privacy key path /snmp/snmp users/snmp user/privacy key node type leaf description a secret key used by the des or aes based encryption algorithm for authentication password access read write data type constraints multiple constraints when condition /privacy mode string with length 8 to 64 mandatory yes /snmp/snmp users/snmp user/user type path /snmp/snmp users/snmp user/user type node type leaf description the authentication type, which contain 3 ways, noauthnopriv(no key) and authnopriv(only auth key) and priv(both auth and priv keys) access read write data type constraints enumeration with options noauthnopriv authnopriv priv /snmp/snmp users/snmp user/permission path /snmp/snmp users/snmp user/permission node type leaf description permission of the snmp user agent access read write data type constraints enumeration with options ro rw /snmp/snmp sources path /snmp/snmp sources node type container description snmp agent sources list access read write /snmp/snmp sources/snmp source path /snmp/snmp sources/snmp source node type list description snmp agent source configuration access read write /snmp/snmp sources/snmp source/source ip path /snmp/snmp sources/snmp source/source ip node type leaf description no description available access read write data type constraints multiple constraints an ipv6 address without a zone index this type, derived from the type ipv6 address, may be used in situations where the zone is known from the context and no zone index is needed an ipv4 address without a zone index this type, derived from the type ipv4 address, may be used in situations where the zone is known from the context and no zone index is needed /snmp/snmp sources/snmp source/udp port path /snmp/snmp sources/snmp source/udp port node type leaf description set snmp source udp port, default 161 access read write data type constraints valid range 0 to 65535 /snmp/snmp sources/snmp source/vrf name path /snmp/snmp sources/snmp source/vrf name node type leaf description set snmp source vrf, default default(if use default, will set '' in config db) access read write data type constraints leafref pointing to asternos vrf\ vrf ref /snmp/snmp traps path /snmp/snmp traps node type container description snmp agent traps list access read write /snmp/snmp traps/snmp trap path /snmp/snmp traps/snmp trap node type list description snmp agent trap configuration access read write /snmp/snmp traps/snmp trap/trap type path /snmp/snmp traps/snmp trap/trap type node type leaf description snmp agent trap type access read write data type constraints enumeration with options v1 v2c v3 /snmp/snmp traps/snmp trap/trap ip path /snmp/snmp traps/snmp trap/trap ip node type leaf description snmp agent trap ip address access read write data type constraints multiple constraints an ipv6 address without a zone index this type, derived from the type ipv6 address, may be used in situations where the zone is known from the context and no zone index is needed an ipv4 address without a zone index this type, derived from the type ipv4 address, may be used in situations where the zone is known from the context and no zone index is needed mandatory yes /snmp/snmp traps/snmp trap/vrf name path /snmp/snmp traps/snmp trap/vrf name node type leaf description set snmp trap vrf access read write data type constraints leafref pointing to asternos vrf\ vrf ref /snmp/snmp traps/snmp trap/udp port path /snmp/snmp traps/snmp trap/udp port node type leaf description snmp agent trap udp port, default 162 access read write data type constraints valid range 0 to 65535 /snmp/snmp traps/snmp trap/community name path /snmp/snmp traps/snmp trap/community name node type leaf description snmp agent trap community name access read write data type constraints when condition /trap type = 'v1' or /trap type = 'v2c' /snmp/snmp traps/snmp trap/user name path /snmp/snmp traps/snmp trap/user name node type leaf description snmp agent trap user name access read write data type constraints when condition /trap type = 'v3' mandatory yes /snmp/system usage threshold path /snmp/system usage threshold node type container description snmp system usage threshold configuration access read write /snmp/system usage threshold/cpu usage path /snmp/system usage threshold/cpu usage node type leaf description when cpu usage up to the threshold, the overload msg will be trapped access read write data type constraints valid range 0 to 100 /snmp/system usage threshold/memory usage path /snmp/system usage threshold/memory usage node type leaf description when memory usage up to the threshold, the overload msg will be trapped access read write data type constraints valid range 0 to 100
