|
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:nacm="urn:ietf:params:xml:ns:yang:ietf-netconf-acm">
|
|
Packit |
8fb591 |
<belongs-to module="ietf-snmp">
|
|
Packit |
8fb591 |
<prefix value="snmp"/>
|
|
Packit |
8fb591 |
</belongs-to>
|
|
Packit |
8fb591 |
<import module="ietf-netconf-acm">
|
|
Packit |
8fb591 |
<prefix value="nacm"/>
|
|
Packit |
8fb591 |
</import>
|
|
Packit |
8fb591 |
<include module="ietf-snmp-common"/>
|
|
Packit |
8fb591 |
<include module="ietf-snmp-target"/>
|
|
Packit |
8fb591 |
<include module="ietf-snmp-proxy"/>
|
|
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 |
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 community-based SNMP.
|
|
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 |
|
|
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 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3584: Coexistence between Version 1, Version 2, and
|
|
Packit |
8fb591 |
Version 3 of the Internet-standard Network
|
|
Packit |
8fb591 |
Management Framework</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
<revision date="2015-01-23">
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>When expression of augment '/snmp:snmp/snmp:target' with
|
|
Packit |
8fb591 |
non-existing leaves removed.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 7407 Errata</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</revision>
|
|
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 |
<list name="community">
|
|
Packit |
8fb591 |
<key value="index"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>List of communities.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3584: Coexistence between Version 1, Version 2,
|
|
Packit |
8fb591 |
and Version 3 of the Internet-standard
|
|
Packit |
8fb591 |
Network Management Framework.
|
|
Packit |
8fb591 |
SNMP-COMMUNITY-MIB.snmpCommunityTable</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
<leaf name="index">
|
|
Packit |
8fb591 |
<type name="snmp:identifier"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>Index into the community list.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3584: Coexistence between Version 1, Version 2,
|
|
Packit |
8fb591 |
and Version 3 of the Internet-standard
|
|
Packit |
8fb591 |
Network Management Framework.
|
|
Packit |
8fb591 |
SNMP-COMMUNITY-MIB.snmpCommunityIndex</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<choice name="name">
|
|
Packit |
8fb591 |
<nacm:default-deny-all/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>The community name, specified as either a string or
|
|
Packit |
8fb591 |
a binary value. The binary name is used when the
|
|
Packit |
8fb591 |
community name contains characters that are not legal
|
|
Packit |
8fb591 |
in a string.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
If not set, the value of 'security-name' is operationally
|
|
Packit |
8fb591 |
used as the snmpCommunityName.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3584: Coexistence between Version 1, Version 2,
|
|
Packit |
8fb591 |
and Version 3 of the Internet-standard
|
|
Packit |
8fb591 |
Network Management Framework.
|
|
Packit |
8fb591 |
SNMP-COMMUNITY-MIB.snmpCommunityName</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
<leaf name="text-name">
|
|
Packit |
8fb591 |
<type name="string"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>A community name that can be represented as a
|
|
Packit |
8fb591 |
YANG string.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<leaf name="binary-name">
|
|
Packit |
8fb591 |
<type name="binary"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>A community name represented as a binary value.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
</choice>
|
|
Packit |
8fb591 |
<leaf name="security-name">
|
|
Packit |
8fb591 |
<type name="snmp:security-name"/>
|
|
Packit |
8fb591 |
<mandatory value="true"/>
|
|
Packit |
8fb591 |
<nacm:default-deny-all/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>The snmpCommunitySecurityName of this entry.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3584: Coexistence between Version 1, Version 2,
|
|
Packit |
8fb591 |
and Version 3 of the Internet-standard
|
|
Packit |
8fb591 |
Network Management Framework.
|
|
Packit |
8fb591 |
SNMP-COMMUNITY-MIB.snmpCommunitySecurityName</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<leaf name="engine-id">
|
|
Packit |
8fb591 |
<if-feature name="snmp:proxy"/>
|
|
Packit |
8fb591 |
<type name="snmp:engine-id"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>If not set, the value of the local SNMP engine is
|
|
Packit |
8fb591 |
operationally used by the device.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3584: Coexistence between Version 1, Version 2,
|
|
Packit |
8fb591 |
and Version 3 of the Internet-standard
|
|
Packit |
8fb591 |
Network Management Framework.
|
|
Packit |
8fb591 |
SNMP-COMMUNITY-MIB.snmpCommunityContextEngineID</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<leaf name="context">
|
|
Packit |
8fb591 |
<type name="snmp:context-name"/>
|
|
Packit |
8fb591 |
<default value=""/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>The context in which management information is accessed
|
|
Packit |
8fb591 |
when using the community string specified by this entry.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3584: Coexistence between Version 1, Version 2,
|
|
Packit |
8fb591 |
and Version 3 of the Internet-standard
|
|
Packit |
8fb591 |
Network Management Framework.
|
|
Packit |
8fb591 |
SNMP-COMMUNITY-MIB.snmpCommunityContextName</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
<leaf name="target-tag">
|
|
Packit |
8fb591 |
<type name="snmp:tag-value"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>Used to limit access for this community to the specified
|
|
Packit |
8fb591 |
targets.
|
|
Packit |
8fb591 |
|
|
Packit |
8fb591 |
Implementations MAY restrict the values of this leaf
|
|
Packit |
8fb591 |
to be one of the available values of /snmp/target/tag in
|
|
Packit |
8fb591 |
a valid configuration.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3584: Coexistence between Version 1, Version 2,
|
|
Packit |
8fb591 |
and Version 3 of the Internet-standard
|
|
Packit |
8fb591 |
Network Management Framework.
|
|
Packit |
8fb591 |
SNMP-COMMUNITY-MIB.snmpCommunityTransportTag</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
</list>
|
|
Packit |
8fb591 |
</augment>
|
|
Packit |
8fb591 |
<grouping name="v1-target-params">
|
|
Packit |
8fb591 |
<container name="v1">
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>SNMPv1 parameters type.
|
|
Packit |
8fb591 |
Represents snmpTargetParamsMPModel '0',
|
|
Packit |
8fb591 |
snmpTargetParamsSecurityModel '1', and
|
|
Packit |
8fb591 |
snmpTargetParamsSecurityLevel 'noAuthNoPriv'.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<leaf name="security-name">
|
|
Packit |
8fb591 |
<type name="snmp:security-name"/>
|
|
Packit |
8fb591 |
<mandatory value="true"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>Implementations MAY restrict the values of this leaf
|
|
Packit |
8fb591 |
to be one of the available values of
|
|
Packit |
8fb591 |
/snmp/community/security-name in a valid configuration.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3413: Simple Network Management Protocol (SNMP).
|
|
Packit |
8fb591 |
Applications.
|
|
Packit |
8fb591 |
SNMP-TARGET-MIB.snmpTargetParamsSecurityName</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
</container>
|
|
Packit |
8fb591 |
</grouping>
|
|
Packit |
8fb591 |
<grouping name="v2c-target-params">
|
|
Packit |
8fb591 |
<container name="v2c">
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>SNMPv2 community parameters type.
|
|
Packit |
8fb591 |
Represents snmpTargetParamsMPModel '1',
|
|
Packit |
8fb591 |
snmpTargetParamsSecurityModel '2', and
|
|
Packit |
8fb591 |
snmpTargetParamsSecurityLevel 'noAuthNoPriv'.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<leaf name="security-name">
|
|
Packit |
8fb591 |
<type name="snmp:security-name"/>
|
|
Packit |
8fb591 |
<mandatory value="true"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>Implementations MAY restrict the values of this leaf
|
|
Packit |
8fb591 |
to be one of the available values of
|
|
Packit |
8fb591 |
/snmp/community/security-name in a valid configuration.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3413: Simple Network Management Protocol (SNMP).
|
|
Packit |
8fb591 |
Applications.
|
|
Packit |
8fb591 |
SNMP-TARGET-MIB.snmpTargetParamsSecurityName</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
</container>
|
|
Packit |
8fb591 |
</grouping>
|
|
Packit |
8fb591 |
<augment target-node="/snmp:snmp/snmp:target-params/snmp:params">
|
|
Packit |
8fb591 |
<case name="v1">
|
|
Packit |
8fb591 |
<uses name="v1-target-params"/>
|
|
Packit |
8fb591 |
</case>
|
|
Packit |
8fb591 |
<case name="v2c">
|
|
Packit |
8fb591 |
<uses name="v2c-target-params"/>
|
|
Packit |
8fb591 |
</case>
|
|
Packit |
8fb591 |
</augment>
|
|
Packit |
8fb591 |
<augment target-node="/snmp:snmp/snmp:target">
|
|
Packit |
8fb591 |
<leaf name="mms">
|
|
Packit |
8fb591 |
<type name="union">
|
|
Packit |
8fb591 |
<type name="enumeration">
|
|
Packit |
8fb591 |
<enum name="unknown">
|
|
Packit |
8fb591 |
<value value="0"/>
|
|
Packit |
8fb591 |
</enum>
|
|
Packit |
8fb591 |
</type>
|
|
Packit |
8fb591 |
<type name="int32">
|
|
Packit |
8fb591 |
<range value="484..max"/>
|
|
Packit |
8fb591 |
</type>
|
|
Packit |
8fb591 |
</type>
|
|
Packit |
8fb591 |
<default value="484"/>
|
|
Packit |
8fb591 |
<description>
|
|
Packit |
8fb591 |
<text>The maximum message size.</text>
|
|
Packit |
8fb591 |
</description>
|
|
Packit |
8fb591 |
<reference>
|
|
Packit |
8fb591 |
<text>RFC 3584: Coexistence between Version 1, Version 2,
|
|
Packit |
8fb591 |
and Version 3 of the Internet-standard
|
|
Packit |
8fb591 |
Network Management Framework.
|
|
Packit |
8fb591 |
SNMP-COMMUNITY-MIB.snmpTargetAddrMMS</text>
|
|
Packit |
8fb591 |
</reference>
|
|
Packit |
8fb591 |
</leaf>
|
|
Packit |
8fb591 |
</augment>
|
|
Packit |
8fb591 |
</submodule>
|