Remove reduntant list of interfaces for BD
[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 "nc";
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                     unique "index";
29
30                     leaf name {
31                         type string;
32                     }
33
34                     leaf index {
35                         type int32;
36                     }
37                 }
38             }
39         }
40     }
41
42 }