Merge "Fix for bug #236 and bug #240 Have made changes in opendaylight-table-types...
[controller.git] / opendaylight / config / config-module-archetype / src / main / resources / archetype-resources / src / main / yang / __module-name__.yang
1 // vi: set smarttab et sw=4 tabstop=4:
2 module ${module-name} {
3
4     yang-version 1;
5     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:${module-name}";
6     prefix "${module-name}";
7
8     import config { prefix config; revision-date ${config-api-yang-revision}; }
9
10     description
11         "This module contains the base YANG definitions for
12         ${module-name} services.";
13
14     revision "${revision}" {
15         description
16             "Initial revision.";
17     }
18
19     // This is the definition of a service
20     identity ${module-name} {
21
22         base "config:service-type";
23
24         // TODO modify the java class
25         config:java-class " ${service-java-class}";
26     }
27 }