Package rfc8342 ietf-datastores, ietf-origin
[mdsal.git] / model / ietf / rfc8342-ietf-datastores / src / main / yang / ietf-datastores@2018-02-14.yang
1 module ietf-datastores {
2   yang-version 1.1;
3   namespace "urn:ietf:params:xml:ns:yang:ietf-datastores";
4   prefix ds;
5
6   organization
7     "IETF Network Modeling (NETMOD) Working Group";
8
9   contact
10     "WG Web:   <https://datatracker.ietf.org/wg/netmod/>
11
12      WG List:  <mailto:netmod@ietf.org>
13
14      Author:   Martin Bjorklund
15                <mailto:mbj@tail-f.com>
16
17      Author:   Juergen Schoenwaelder
18                <mailto:j.schoenwaelder@jacobs-university.de>
19
20      Author:   Phil Shafer
21                <mailto:phil@juniper.net>
22
23      Author:   Kent Watsen
24                <mailto:kwatsen@juniper.net>
25
26      Author:   Rob Wilton
27                <rwilton@cisco.com>";
28
29   description
30     "This YANG module defines a set of identities for identifying
31      datastores.
32
33      Copyright (c) 2018 IETF Trust and the persons identified as
34      authors of the code.  All rights reserved.
35
36      Redistribution and use in source and binary forms, with or
37      without modification, is permitted pursuant to, and subject to
38      the license terms contained in, the Simplified BSD License set
39      forth in Section 4.c of the IETF Trust's Legal Provisions
40      Relating to IETF Documents
41      (https://trustee.ietf.org/license-info).
42
43      This version of this YANG module is part of RFC 8342
44      (https://www.rfc-editor.org/info/rfc8342); see the RFC itself
45      for full legal notices.";
46
47   revision 2018-02-14 {
48     description
49       "Initial revision.";
50     reference
51       "RFC 8342: Network Management Datastore Architecture (NMDA)";
52   }
53
54   /*
55    * Identities
56    */
57
58   identity datastore {
59     description
60       "Abstract base identity for datastore identities.";
61   }
62
63   identity conventional {
64     base datastore;
65     description
66       "Abstract base identity for conventional configuration
67        datastores.";
68   }
69
70   identity running {
71     base conventional;
72     description
73       "The running configuration datastore.";
74   }
75
76   identity candidate {
77     base conventional;
78     description
79       "The candidate configuration datastore.";
80   }
81
82   identity startup {
83     base conventional;
84     description
85       "The startup configuration datastore.";
86   }
87
88   identity intended {
89     base conventional;
90     description
91       "The intended configuration datastore.";
92   }
93
94   identity dynamic {
95     base datastore;
96     description
97       "Abstract base identity for dynamic configuration datastores.";
98   }
99
100   identity operational {
101     base datastore;
102     description
103       "The operational state datastore.";
104   }
105
106   /*
107    * Type definitions
108    */
109
110   typedef datastore-ref {
111     type identityref {
112       base datastore;
113     }
114     description
115       "A datastore identity reference.";
116   }
117 }