|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
xmlns="urn:ietf:params:xml:ns:yang:yin:1"
|
|
Packit |
8fb591 |
xmlns:snmp="urn:ietf:params:xml:ns:yang:ietf-snmp"
|
|
Packit |
8fb591 |
xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types">
|
|
Packit |
8fb591 |
<belongs-to module="ietf-snmp">
|
|
Packit |
8fb591 |
<prefix value="snmp"/>
|
|
Packit |
8fb591 |
</belongs-to>
|
|
Packit |
8fb591 |
<import module="ietf-inet-types">
|
|
Packit |
8fb591 |
<prefix value="inet"/>
|
|
Packit |
8fb591 |
</import>
|
|
Packit |
8fb591 |
<include module="ietf-snmp-common"/>
|
|
Packit |
8fb591 |
<organization>
|
|
Packit |
8fb591 |
<text>IETF NETMOD (NETCONF Data Modeling Language) Working Group</text>
|
|
Packit |
8fb591 |
</organization>
|
|
Packit |
8fb591 |
<contact>
|
|
Packit |
8fb591 |
<text>WG Web: <http://tools.ietf.org/wg/netmod/>
|
|
Packit |
8fb591 |
WG List: <mailto:netmod@ietf.org>
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
WG Chair: Thomas Nadeau
|
|
Packit |
8fb591 |
<mailto:tnadeau@lucidvision.com>
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
WG Chair: Juergen Schoenwaelder
|
|
Packit |
8fb591 |
<mailto:j.schoenwaelder@jacobs-university.de>
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Editor: Martin Bjorklund
|
|
Packit |
8fb591 |
<mailto:mbj@tail-f.com>
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Editor: Juergen Schoenwaelder
|
|
Packit |
8fb591 |
<mailto:j.schoenwaelder@jacobs-university.de></text>
|
|
Packit |
8fb591 |
</contact>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>This submodule contains a collection of YANG definitions
|
|
Packit |
8fb591 |
for configuring SNMP engines.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Copyright (c) 2014 IETF Trust and the persons identified as
|
|
Packit |
8fb591 |
authors of the code. All rights reserved.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Redistribution and use in source and binary forms, with or
|
|
Packit |
8fb591 |
without modification, is permitted pursuant to, and subject
|
|
Packit |
8fb591 |
to the license terms contained in, the Simplified BSD License
|
|
Packit |
8fb591 |
set forth in Section 4.c of the IETF Trust's Legal Provisions
|
|
Packit |
8fb591 |
Relating to IETF Documents
|
|
Packit |
8fb591 |
(http://trustee.ietf.org/license-info).
|
|
Packit |
8fb591 |
This version of this YANG module is part of RFC 7407; see
|
|
Packit |
8fb591 |
the RFC itself for full legal notices.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<revision date="2014-12-10">
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>Initial revision.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 7407: A YANG Data Model for SNMP Configuration</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</revision>
|
|
Packit |
8fb591 |
<augment target-node="/snmp:snmp">
|
|
Packit |
8fb591 |
<container name="engine">
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>Configuration of the SNMP engine.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<leaf name="enabled">
|
|
Packit |
8fb591 |
<type name="boolean"/>
|
|
Packit |
8fb591 |
<default value="false"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>Enables the SNMP engine.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<list name="listen">
|
|
Packit |
8fb591 |
<key value="name"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>Configuration of the transport endpoints on which the
|
|
Packit |
8fb591 |
engine listens.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<leaf name="name">
|
|
Packit |
8fb591 |
<type name="snmp:identifier"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>An arbitrary name for the list entry.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<choice name="transport">
|
|
Packit |
8fb591 |
<mandatory value="true"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>The transport-protocol-specific parameters for this
|
|
Packit |
8fb591 |
endpoint. Submodules providing configuration for
|
|
Packit |
8fb591 |
additional transports are expected to augment this
|
|
Packit |
8fb591 |
choice.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<case name="udp">
|
|
Packit |
8fb591 |
<container name="udp">
|
|
Packit |
8fb591 |
<leaf name="ip">
|
|
Packit |
8fb591 |
<type name="inet:ip-address"/>
|
|
Packit |
8fb591 |
<mandatory value="true"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>The IPv4 or IPv6 address on which the engine
|
|
Packit |
8fb591 |
listens.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<leaf name="port">
|
|
Packit |
8fb591 |
<type name="inet:port-number"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>The UDP port on which the engine listens.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
If the port is not configured, an engine that
|
|
Packit |
8fb591 |
acts as a Command Responder uses port 161, and
|
|
Packit |
8fb591 |
an engine that acts as a Notification Receiver
|
|
Packit |
8fb591 |
uses port 162.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
</container>
|
|
Packit |
8fb591 |
</case>
|
|
Packit |
8fb591 |
</choice>
|
|
Packit |
8fb591 |
</list>
|
|
Packit |
8fb591 |
<container name="version">
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>SNMP version used by the engine.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<leaf name="v1">
|
|
Packit |
8fb591 |
<type name="empty"/>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<leaf name="v2c">
|
|
Packit |
8fb591 |
<type name="empty"/>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<leaf name="v3">
|
|
Packit |
8fb591 |
<type name="empty"/>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
</container>
|
|
Packit |
8fb591 |
<leaf name="engine-id">
|
|
Packit |
8fb591 |
<type name="snmp:engine-id"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>The local SNMP engine's administratively assigned unique
|
|
Packit |
8fb591 |
identifier.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
If this leaf is not set, the device automatically
|
|
Packit |
8fb591 |
calculates an engine ID, as described in RFC 3411. A
|
|
Packit |
8fb591 |
server MAY initialize this leaf with the automatically
|
|
Packit |
8fb591 |
created value.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3411: An Architecture for Describing Simple Network
|
|
Packit |
8fb591 |
Management Protocol (SNMP) Management
|
|
Packit |
8fb591 |
Frameworks.
|
|
Packit |
8fb591 |
SNMP-FRAMEWORK-MIB.snmpEngineID</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<leaf name="enable-authen-traps">
|
|
Packit |
8fb591 |
<type name="boolean"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>Indicates whether the SNMP entity is permitted to
|
|
Packit |
8fb591 |
generate authenticationFailure traps.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3418: Management Information Base (MIB) for the
|
|
Packit |
8fb591 |
Simple Network Management Protocol (SNMP)
|
|
Packit |
8fb591 |
SNMPv2-MIB.snmpEnableAuthenTraps</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
</container>
|
|
Packit |
8fb591 |
</augment>
|
|
Packit |
8fb591 |
</submodule>
|