Re-added config.version to config-module-archetype.
[controller.git] / opendaylight / config / config-module-archetype / src / main / resources / archetype-resources / src / main / yang / __module-name__.yang
1 module ${module-name} {
2
3     yang-version 1;
4     namespace "urn:opendaylight:params:xml:ns:yang:controller:config:${module-name}";
5     prefix "${module-name}";
6
7     import config { prefix config; revision-date ${config-api-yang-revision}; }
8
9     description
10         "This module contains the base YANG definitions for
11         ${module-name} services.";
12
13     revision "${revision}" {
14         description
15             "Initial revision.";
16     }
17
18     // This is the definition of a service
19     identity ${module-name} {
20
21         base "config:service-type";
22
23         // TODO modify the java class
24         config:java-class " ${service-java-class}";
25     }
26 }