blob: ed382c8eb4ee8d56b4c2bea6ad86e33fd614f0ec [file] [log] [blame]
Gaurav Agrawal8a966b92016-08-20 00:07:27 +05301submodule ietf-snmp-common {
2 belongs-to ietf-snmp {
3 prefix snmp;
4 }
5 organization
6 "IETF NETMOD (NETCONF Data Modeling Language) Working Group";
7 contact
8 "WG Web: <http://tools.ietf.org/wg/netmod/>
9 WG List: <mailto:netmod@ietf.org>
10 WG Chair: Thomas Nadeau
11 <mailto:tnadeau@lucidvision.com>
12 WG Chair: Juergen Schoenwaelder
13 <mailto:j.schoenwaelder@jacobs-university.de>
14 Editor: Martin Bjorklund
15 <mailto:mbj@tail-f.com>
16 Editor: Juergen Schoenwaelder
17 <mailto:j.schoenwaelder@jacobs-university.de>";
18 description
19 "This submodule contains a collection of common YANG definitions
20 for configuring SNMP engines.
21 Copyright (c) 2014 IETF Trust and the persons identified as
22 authors of the code. All rights reserved.
23 Redistribution and use in source and binary forms, with or
24 without modification, is permitted pursuant to, and subject
25 to the license terms contained in, the Simplified BSD License
26 set forth in Section 4.c of the IETF Trust's Legal Provisions
27 Relating to IETF Documents
28 (http://trustee.ietf.org/license-info).
29 This version of this YANG module is part of RFC 7407; see
30 the RFC itself for full legal notices.";
31 revision 2014-12-10 {
32 description
33 "Initial revision.";
34 reference
35 "RFC 7407: A YANG Data Model for SNMP Configuration";
36 }
37 /* Collection of SNMP-specific data types */
38 typedef admin-string {
39 type string {
40 length "0..255";
41 }
42 description
43 "Represents SnmpAdminString as defined in RFC 3411.
44 Note that the size of an SnmpAdminString is measured in
45 octets, not characters.";
46 reference
47 "RFC 3411: An Architecture for Describing Simple Network
48 Management Protocol (SNMP) Management Frameworks.
49 SNMP-FRAMEWORK-MIB.SnmpAdminString";
50 }
51 typedef identifier {
52 type admin-string {
53 length "1..32";
54 }
55 description
56 "Identifiers are used to name items in the SNMP configuration
57 datastore.";
58 }
59 feature testfeature;
60}