HONEYCOMB-61: Add BA broker for context data tree
[honeycomb.git] / v3po / vpp-translate-utils / src / main / yang / naming-context.yang
1 module naming-context {
2     yang-version 1;
3     namespace "urn:honeycomb:params:xml:ns:yang:naming:context";
4     prefix "vpp-u";
5
6     description
7         "This module contains data definition for naming mapping context";
8
9     revision "2016-05-13" {
10         description
11             "Initial revision.";
12     }
13
14     // TODO This should become part of v3po-api as operational-only data
15     container contexts {
16
17         list naming-context {
18
19             key "name";
20
21             leaf name {
22                 type string;
23             }
24
25             container mappings {
26                 list mapping {
27
28                     key "name";
29
30                     leaf name {
31                         type string;
32                     }
33
34                     leaf index {
35                         type int32;
36                     }
37                 }
38             }
39         }
40     }
41
42 }