1 // vi: set smarttab et sw=4 tabstop=4:
2 module config-test-duplicate-attribute {
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 2013-07-15;}
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'";
65 type inet:port-number;
71 augment "/config:modules/config:module/config:state" {
73 when "/config:modules/config:module/config:type = 'netconf'";
75 leaf created-sessions2 {