| submodule ietf-snmp-common { |
| belongs-to ietf-snmp { |
| prefix snmp; |
| } |
| organization |
| "IETF NETMOD (NETCONF Data Modeling Language) Working Group"; |
| contact |
| "WG Web: <http://tools.ietf.org/wg/netmod/> |
| WG List: <mailto:netmod@ietf.org> |
| WG Chair: Thomas Nadeau |
| <mailto:tnadeau@lucidvision.com> |
| WG Chair: Juergen Schoenwaelder |
| <mailto:j.schoenwaelder@jacobs-university.de> |
| Editor: Martin Bjorklund |
| <mailto:mbj@tail-f.com> |
| Editor: Juergen Schoenwaelder |
| <mailto:j.schoenwaelder@jacobs-university.de>"; |
| description |
| "This submodule contains a collection of common YANG definitions |
| for configuring SNMP engines. |
| 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."; |
| revision 2014-12-10 { |
| description |
| "Initial revision."; |
| reference |
| "RFC 7407: A YANG Data Model for SNMP Configuration"; |
| } |
| /* Collection of SNMP-specific data types */ |
| typedef admin-string { |
| type string { |
| length "0..255"; |
| } |
| description |
| "Represents SnmpAdminString as defined in RFC 3411. |
| Note that the size of an SnmpAdminString is measured in |
| octets, not characters."; |
| reference |
| "RFC 3411: An Architecture for Describing Simple Network |
| Management Protocol (SNMP) Management Frameworks. |
| SNMP-FRAMEWORK-MIB.SnmpAdminString"; |
| } |
| typedef identifier { |
| type admin-string { |
| length "1..32"; |
| } |
| description |
| "Identifiers are used to name items in the SNMP configuration |
| datastore."; |
| } |
| feature testfeature; |
| } |