Blob Blame History Raw
<?xml version="1.0" encoding="UTF-8"?>
<submodule name="ietf-snmp-tsm"
           xmlns="urn:ietf:params:xml:ns:yang:yin:1"
           xmlns:snmp="urn:ietf:params:xml:ns:yang:ietf-snmp">
  <belongs-to module="ietf-snmp">
    <prefix value="snmp"/>
  </belongs-to>
  <include module="ietf-snmp-common"/>
  <include module="ietf-snmp-target"/>
  <include module="ietf-snmp-proxy"/>
  <organization>
    <text>IETF NETMOD (NETCONF Data Modeling Language) Working Group</text>
  </organization>
  <contact>
    <text>WG Web:   &lt;http://tools.ietf.org/wg/netmod/&gt;
WG List:  &lt;mailto:netmod@ietf.org&gt;


WG Chair: Thomas Nadeau
          &lt;mailto:tnadeau@lucidvision.com&gt;

WG Chair: Juergen Schoenwaelder
          &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;

Editor:   Martin Bjorklund
          &lt;mailto:mbj@tail-f.com&gt;

Editor:   Juergen Schoenwaelder
          &lt;mailto:j.schoenwaelder@jacobs-university.de&gt;</text>
  </contact>
  <description>
    <text>This submodule contains a collection of YANG definitions for
configuring the Transport Security Model (TSM) of SNMP.

Copyright (c) 2014 IETF Trust and the persons identified as
authors of the code.  All rights reserved.

Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).

This version of this YANG module is part of RFC 7407; see
the RFC itself for full legal notices.</text>
  </description>
  <reference>
    <text>RFC 5591: Transport Security Model for the
  Simple Network Management Protocol (SNMP)</text>
  </reference>
  <revision date="2014-12-10">
    <description>
      <text>Initial revision.</text>
    </description>
    <reference>
      <text>RFC 7407: A YANG Data Model for SNMP Configuration</text>
    </reference>
  </revision>
  <feature name="tsm">
    <description>
      <text>A server implements this feature if it supports the
Transport Security Model for SNMP.</text>
    </description>
    <reference>
      <text>RFC 5591: Transport Security Model for the
  Simple Network Management Protocol (SNMP)</text>
    </reference>
  </feature>
  <augment target-node="/snmp:snmp">
    <if-feature name="tsm"/>
    <container name="tsm">
      <description>
        <text>Configuration of the Transport Security Model.</text>
      </description>
      <leaf name="use-prefix">
        <type name="boolean"/>
        <default value="false"/>
        <reference>
          <text>RFC 5591: Transport Security Model for the Simple
  Network Management Protocol (SNMP).
  SNMP-TSM-MIB.snmpTsmConfigurationUsePrefix</text>
        </reference>
      </leaf>
    </container>
  </augment>
  <grouping name="tsm-target-params">
    <container name="tsm">
      <description>
        <text>Transport-based security SNMPv3 parameters type.

Represents snmpTargetParamsMPModel '3' and
snmpTargetParamsSecurityModel '4'.</text>
      </description>
      <leaf name="security-name">
        <type name="snmp:security-name"/>
        <mandatory value="true"/>
        <reference>
          <text>RFC 3413: Simple Network Management Protocol (SNMP).
  Applications.
  SNMP-TARGET-MIB.snmpTargetParamsSecurityName</text>
        </reference>
      </leaf>
      <leaf name="security-level">
        <type name="snmp:security-level"/>
        <mandatory value="true"/>
        <reference>
          <text>RFC 3413: Simple Network Management Protocol (SNMP).
  Applications.
  SNMP-TARGET-MIB.snmpTargetParamsSecurityLevel</text>
        </reference>
      </leaf>
    </container>
  </grouping>
  <augment target-node="/snmp:snmp/snmp:target-params/snmp:params">
    <if-feature name="tsm"/>
    <case name="tsm">
      <uses name="tsm-target-params"/>
    </case>
  </augment>
</submodule>