HONEYCOMB-61: Move vpp context model to v3po-api
[honeycomb.git] / v3po / api / 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     container contexts {
15
16         list naming-context {
17
18             key "name";
19
20             leaf name {
21                 type string;
22             }
23
24             container mappings {
25                 list mapping {
26
27                     key "name";
28
29                     leaf name {
30                         type string;
31                     }
32
33                     leaf index {
34                         type int32;
35                     }
36                 }
37             }
38         }
39     }
40
41 }