summaryrefslogtreecommitdiffstats
path: root/v3po/data-api/src/main/yang/data-api.yang
blob: 693a73acd3411f51aba96e7e7241aeb9088b80c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
module data-api {
    yang-version 1;
    namespace "urn:honeycomb:params:xml:ns:yang:data:api";
    prefix "dapi";

    import config { prefix config; revision-date 2013-04-05; }

    description
        "This module contains the base YANG data tree definitions
        for data store modeling";

    revision "2016-04-11" {
        description
            "Initial revision.";
    }

    identity data-tree {
        base "config:service-type";
        config:java-class org.opendaylight.yangtools.yang.data.api.schema.tree.DataTree;
    }

    identity honeycomb-readable-data-tree {
        base "config:service-type";
        config:java-class io.fd.honeycomb.v3po.data.ReadableDataManager;
    }

    identity honeycomb-modifiable-data-tree {
        base "config:service-type";
        config:java-class io.fd.honeycomb.v3po.data.ModifiableDataManager;
    }

    typedef datatree-type {
        type enumeration {
             enum config;
             enum oper;
         }
    }
}