HONEYCOMB-106 - Support for generic cache management
[honeycomb.git] / vpp-common / vpp-translate-utils / src / main / yang / vpp-util.yang
1 module vpp-util {
2     yang-version 1;
3     namespace "urn:honeycomb:params:xml:ns:yang:vpp:util";
4     prefix "vpp-u";
5
6     import config { prefix config; revision-date 2013-04-05; }
7     import data-api { prefix dapi; revision-date 2016-04-11; }
8
9     description
10         "This module contains utilities for vpp readers/writers";
11
12     revision "2016-04-06" {
13         description
14             "Initial revision.";
15     }
16
17     identity naming-context {
18         base "config:service-type";
19         config:java-class io.fd.honeycomb.v3po.translate.v3po.util.NamingContext;
20     }
21
22     identity naming-context-impl {
23         base config:module-type;
24         config:provided-service naming-context;
25     }
26
27     augment "/config:modules/config:module/config:configuration" {
28         case naming-context-impl {
29             when "/config:modules/config:module/config:type = 'naming-context-impl'";
30
31             leaf artificial-name-prefix {
32                 type string;
33             }
34         }
35     }
36
37 }