X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Farchetypes%2Fopendaylight-startup%2Fsrc%2Fmain%2Fresources%2Farchetype-resources%2Fimpl%2Fsrc%2Fmain%2Fyang%2F__artifactId__-impl.yang;h=41a74b3f1ae62cf9a3e42487a6f77d51fed8acea;hp=7b00b849a1771b50baea20008454e1ad5c979bd1;hb=399bedb250471fcdca4d5cdb472b7d9f5f6bac76;hpb=59f208d415b3aa842a11c236e482c5981b1c49ab diff --git a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/main/yang/__artifactId__-impl.yang b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/main/yang/__artifactId__-impl.yang index 7b00b849a1..41a74b3f1a 100644 --- a/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/main/yang/__artifactId__-impl.yang +++ b/opendaylight/archetypes/opendaylight-startup/src/main/resources/archetype-resources/impl/src/main/yang/__artifactId__-impl.yang @@ -14,14 +14,14 @@ module ${artifactId}-impl { "Initial revision"; } - identity ${artifactId}-impl { + identity ${artifactId} { base config:module-type; - config:java-name-prefix ${classPrefix}Impl; + config:java-name-prefix ${classPrefix}; } augment "/config:modules/config:module/config:configuration" { - case ${artifactId}-impl { - when "/config:modules/config:module/config:type = '${artifactId}-impl'"; + case ${artifactId} { + when "/config:modules/config:module/config:type = '${artifactId}'"; container broker { uses config:service-ref { refine type {