Radek Krejci | 86d106e | 2018-10-18 09:53:19 +0200 | [diff] [blame] | 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 two sets of identities for datastores. |
| 31 | The first identifies the datastores themselves, the second |
| 32 | identifies datastore properties. |
| 33 | |
| 34 | Copyright (c) 2017 IETF Trust and the persons identified as |
| 35 | authors of the code. All rights reserved. |
| 36 | |
| 37 | Redistribution and use in source and binary forms, with or |
| 38 | without modification, is permitted pursuant to, and subject to |
| 39 | the license terms contained in, the Simplified BSD License set |
| 40 | forth in Section 4.c of the IETF Trust's Legal Provisions |
| 41 | Relating to IETF Documents |
| 42 | (http://trustee.ietf.org/license-info). |
| 43 | |
| 44 | This version of this YANG module is part of RFC XXXX |
| 45 | (http://www.rfc-editor.org/info/rfcxxxx); see the RFC itself |
| 46 | for full legal notices."; |
| 47 | |
| 48 | revision 2017-08-17 { |
| 49 | description |
| 50 | "Initial revision."; |
| 51 | reference |
| 52 | "RFC XXXX: Network Management Datastore Architecture"; |
| 53 | } |
| 54 | |
| 55 | /* |
| 56 | * Identities |
| 57 | */ |
| 58 | |
| 59 | identity datastore { |
| 60 | description |
| 61 | "Abstract base identity for datastore identities."; |
| 62 | } |
| 63 | |
| 64 | identity conventional { |
| 65 | base datastore; |
| 66 | description |
| 67 | "Abstract base identity for conventional configuration |
| 68 | datastores."; |
| 69 | } |
| 70 | |
| 71 | identity running { |
| 72 | base conventional; |
| 73 | description |
| 74 | "The running configuration datastore."; |
| 75 | } |
| 76 | |
| 77 | identity candidate { |
| 78 | base conventional; |
| 79 | description |
| 80 | "The candidate configuration datastore."; |
| 81 | } |
| 82 | |
| 83 | identity startup { |
| 84 | base conventional; |
| 85 | description |
| 86 | "The startup configuration datastore."; |
| 87 | } |
| 88 | |
| 89 | identity intended { |
| 90 | base conventional; |
| 91 | description |
| 92 | "The intended configuration datastore."; |
| 93 | } |
| 94 | |
| 95 | identity dynamic { |
| 96 | base datastore; |
| 97 | description |
| 98 | "Abstract base identity for dynamic configuration datastores."; |
| 99 | } |
| 100 | |
| 101 | identity operational { |
| 102 | base datastore; |
| 103 | description |
| 104 | "The operational state datastore."; |
| 105 | } |
| 106 | |
| 107 | /* |
| 108 | * Type definitions |
| 109 | */ |
| 110 | |
| 111 | typedef datastore-ref { |
| 112 | type identityref { |
| 113 | base datastore; |
| 114 | } |
| 115 | description |
| 116 | "A datastore identity reference."; |
| 117 | } |
| 118 | |
| 119 | } |