1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <module name="config-jmx-it-impl"
\r
3 xmlns="urn:ietf:params:xml:ns:yang:yin:1"
\r
4 xmlns:it-impl="urn:opendaylight:params:xml:ns:yang:controller:config:jmx:generator:it:impl"
\r
5 xmlns:jmxIt="urn:opendaylight:params:xml:ns:yang:controller:config:jmx:generator:it"
\r
6 xmlns:config="urn:opendaylight:params:xml:ns:yang:controller:config"
\r
7 xmlns:inet="urn:ietf:params:xml:ns:yang:ietf-inet-types">
\r
8 <yang-version value="1"/>
\r
9 <namespace uri="urn:opendaylight:params:xml:ns:yang:controller:config:jmx:generator:it:impl"/>
\r
10 <prefix value="it-impl"/>
\r
11 <import module="config-jmx-it">
\r
12 <prefix value="jmxIt"/>
\r
13 <revision-date date="2013-06-13"/>
\r
15 <import module="config">
\r
16 <prefix value="config"/>
\r
17 <revision-date date="2013-04-05"/>
\r
19 <import module="ietf-inet-types">
\r
20 <prefix value="inet"/>
\r
21 <revision-date date="2010-09-24"/>
\r
23 <import module="config-threads">
\r
24 <prefix value="th"/>
\r
25 <revision-date date="2013-04-09"/>
\r
28 <text>Testing IMPL</text>
\r
30 <revision date="2013-04-03">
\r
32 <text>Initial revision</text>
\r
35 <identity name="impl">
\r
36 <base name="config:module-type"/>
\r
37 <config:provided-service name="jmxIt:testing"/>
\r
38 <config:java-name-prefix java-prefix="TestImpl"/>
\r
40 <identity name="impl-netconf">
\r
41 <base name="config:module-type"/>
\r
42 <config:provided-service name="jmxIt:testing"/>
\r
43 <config:java-name-prefix java-prefix="NetconfTestImpl"/>
\r
45 <augment target-node="/config:modules/config:module/config:configuration">
\r
47 <when condition="/config:modules/config:module/config:type = 'impl'"/>
\r
48 <container name="dto-a1">
\r
49 <leaf name="simple-arg">
\r
50 <type name="uint32"/>
\r
53 <type name="inet:port-number"/>
\r
56 <leaf name="as-number">
\r
57 <mandatory value="true"/>
\r
58 <type name="inet:as-number"/>
\r
60 <leaf name="simpleInt">
\r
61 <type name="uint32"/>
\r
62 <default value="99L"/>
\r
64 <container name="dto_b">
\r
65 <leaf name="simple-int1">
\r
66 <type name="uint32"/>
\r
68 <leaf name="simple-int2">
\r
69 <type name="uint32"/>
\r
73 <case name="impl-netconf">
\r
74 <when condition="/config:modules/config:module/config:type = 'impl-netconf'"/>
\r
75 <container name="dto-a">
\r
76 <leaf name="simple-arg">
\r
77 <type name="uint32"/>
\r
79 <container name="dto-a-inner">
\r
80 <leaf name="simple-arg">
\r
81 <type name="uint32"/>
\r
83 <container name="dto-a-inner-inner">
\r
84 <leaf name="simple-arg">
\r
85 <type name="uint32"/>
\r
90 <leaf name="simpleInt">
\r
91 <type name="uint32"/>
\r
93 <leaf name="simpleBoolean">
\r
94 <type name="boolean"/>
\r
95 <default value="false"/>
\r
97 <leaf name="simple-long">
\r
98 <type name="int64"/>
\r
100 <leaf name="simple-long-2">
\r
101 <type name="uint32"/>
\r
103 <leaf name="simple-BigInteger">
\r
104 <type name="uint64"/>
\r
106 <leaf name="simple-byte">
\r
107 <type name="int8"/>
\r
109 <leaf name="simple-short">
\r
110 <type name="uint8"/>
\r
112 <leaf name="simple-test">
\r
113 <type name="uint16"/>
\r
114 <default value="99"/>
\r
116 <leaf-list name="simple-list">
\r
117 <type name="uint16"/>
\r
119 <container name="dto_c">
\r
120 <leaf name="simple-int1">
\r
121 <type name="uint32"/>
\r
123 <leaf name="simple-int2">
\r
124 <type name="uint32"/>
\r
126 <leaf name="simple-int3">
\r
127 <type name="uint16"/>
\r
129 <leaf-list name="simple-list">
\r
130 <type name="uint16"/>
\r
132 <list name="complex-dto-bInner">
\r
133 <leaf-list name="simple-list">
\r
134 <type name="uint16"/>
\r
136 <leaf name="simple-int3">
\r
137 <type name="uint16"/>
\r
139 <container name="deep">
\r
140 <leaf name="simple-int3">
\r
141 <type name="uint16"/>
\r
146 <list name="complex-list">
\r
147 <list name="simple-list">
\r
148 <leaf name="simple-int3">
\r
149 <type name="uint16"/>
\r
153 <list name="peers">
\r
154 <config:java-name-prefix java-prefix="Peer"/>
\r
156 <type name="string"/>
\r
158 <leaf name="core-size">
\r
159 <type name="uint32"/>
\r
161 <leaf name="simple-int3">
\r
162 <type name="uint16"/>
\r
165 <container name="thread-factory">
\r
166 <uses name="config:service-ref">
\r
167 <refine target-node="type">
\r
168 <mandatory value="false"/>
\r
169 <config:required-identity name="th:threadfactory"/>
\r
175 <augment target-node="/config:modules/config:module/config:state">
\r
177 <when condition="/config:modules/config:module/config:type = 'impl'"/>
\r
178 <leaf name="created-sessions">
\r
179 <type name="uint32"/>
\r
182 <case name="impl-netconf">
\r
183 <when condition="/config:modules/config:module/config:type = 'impl-netconf'"/>
\r
184 <leaf name="created-sessions">
\r
185 <type name="uint32"/>
\r
187 <leaf name="created-sessions-2">
\r
188 <type name="uint32"/>
\r