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