1 // vi: set smarttab et sw=4 tabstop=4:
2 module config-test-duplicate-attribute-in-list {
4 namespace "urn:opendaylight:params:xml:ns:yang:controller:jmx:generator:it:duplicate";
7 import config { prefix config; revision-date 2013-04-05; }
8 import ietf-inet-types { prefix inet; revision-date 2010-09-24;}
13 revision "2013-04-03" {
18 identity implementation {
19 base config:module-type;
20 config:java-name-prefix TestImpl;
24 base config:module-type;
25 config:java-name-prefix NetconfTestImpl;
28 augment "/config:modules/config:module/config:configuration" {
30 when "/config:modules/config:module/config:type = 'implementation'";
38 type inet:port-number;
45 augment "/config:modules/config:module/config:state" {
47 when "/config:modules/config:module/config:type = 'implementation'";
49 leaf created-sessions {
55 augment "/config:modules/config:module/config:configuration" {
57 when "/config:modules/config:module/config:type = 'netconf'";
60 config:java-name-prefix dto-a;
74 augment "/config:modules/config:module/config:state" {
76 when "/config:modules/config:module/config:type = 'netconf'";
78 leaf created-sessions2 {