Update config files and tests
[transportpce.git] / tests / sample_configs / openroadm / 2.2.1 / oper-XPDRC.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
3   <netconf xmlns="urn:ietf:params:xml:ns:netmod:notification">
4   <streams>
5     <stream>
6       <name>OPENROADM</name>
7     </stream>
8   </streams>
9 </netconf>
10   <org-openroadm-device xmlns="http://org/openroadm/device">
11     <info>
12       <node-id>XPDR-C1</node-id>
13       <node-number>1</node-number>
14       <node-type>xpdr</node-type>
15       <clli>NodeC</clli>
16       <vendor>vendorA</vendor>
17       <model>model2</model>
18       <serial-id>nodeid-1235</serial-id>
19       <ipAddress>1.2.3.5</ipAddress>
20       <prefix-length>24</prefix-length>
21       <defaultGateway>1.2.3.5</defaultGateway>
22       <source>static</source>
23       <current-ipAddress>1.2.3.5</current-ipAddress>
24       <current-prefix-length>10</current-prefix-length>
25       <current-defaultGateway>1.2.3.1</current-defaultGateway>
26       <macAddress>00:01:02:03:04:06</macAddress>
27       <softwareVersion>swversion1234</softwareVersion>
28       <openroadm-version>2.2</openroadm-version>
29       <template>template_TRANSPONDER</template>
30       <current-datetime>2017-10-22T15:23:43Z</current-datetime>
31       <geoLocation>
32         <latitude>1.0000</latitude>
33         <longitude>2.0000</longitude>
34       </geoLocation>
35     </info>
36     <users>
37       <user>
38         <name>openroadm</name>
39         <password>openroadm</password>
40         <group>sudo</group>
41       </user>
42     </users>
43     <shelves>
44       <shelf-name>1</shelf-name>
45       <shelf-type>pizza</shelf-type>
46       <rack>XYZ</rack>
47       <shelf-position>1</shelf-position>
48       <administrative-state>inService</administrative-state>
49       <vendor>vendorA</vendor>
50       <model>1</model>
51       <serial-id>nodeid-1</serial-id>
52       <type>pizza</type>
53       <product-code>zzz</product-code>
54       <manufacture-date>2017-04-01T00:00:00+00:00</manufacture-date>
55       <clei>1234567890</clei>
56       <hardware-version>0.1</hardware-version>
57       <operational-state>inService</operational-state>
58       <due-date>2017-02-24T15:56:10+00:00</due-date>
59       <slots>
60         <slot-name>1</slot-name>
61         <label>1</label>
62         <provisioned-circuit-pack>1/0</provisioned-circuit-pack>
63       </slots>
64     </shelves>
65     <circuit-packs>
66       <circuit-pack-category>
67         <type>circuitPack</type>
68       </circuit-pack-category>
69       <circuit-pack-name>1/0</circuit-pack-name>
70       <circuit-pack-type>Base_transponder_circuit_pack</circuit-pack-type>
71       <circuit-pack-product-code>baseXPDR</circuit-pack-product-code>
72       <administrative-state>inService</administrative-state>
73       <vendor>VendorA</vendor>
74       <model>model1</model>
75       <serial-id>nodeid-1234</serial-id>
76       <type>XPDR1</type>
77       <product-code>baseXPDR</product-code>
78       <manufacture-date>2007-10-10T00:00:00Z</manufacture-date>
79       <clei>12345678901</clei>
80       <hardware-version>0.1</hardware-version>
81       <operational-state>inService</operational-state>
82       <is-pluggable-optics>false</is-pluggable-optics>
83       <circuit-pack-mode>inServiceMode</circuit-pack-mode>
84       <shelf>1</shelf>
85       <slot>1</slot>
86       <cp-slots>
87         <slot-name>1</slot-name>
88         <label>1</label>
89         <provisioned-circuit-pack>1/0/1-PLUG-NET</provisioned-circuit-pack>
90       </cp-slots>
91       <cp-slots>
92         <slot-name>2</slot-name>
93         <label>2</label>
94         <provisioned-circuit-pack>1/0/1-PLUG-CLIENT</provisioned-circuit-pack>
95       </cp-slots>
96       <cp-slots>
97         <slot-name>3</slot-name>
98         <label>1</label>
99         <provisioned-circuit-pack>1/0/2-PLUG-NET</provisioned-circuit-pack>
100       </cp-slots>
101       <cp-slots>
102         <slot-name>4</slot-name>
103         <label>2</label>
104         <provisioned-circuit-pack>1/0/3-PLUG-CLIENT</provisioned-circuit-pack>
105       </cp-slots>
106     </circuit-packs>
107     <circuit-packs>
108       <circuit-pack-category>
109         <type>circuitPack</type>
110       </circuit-pack-category>
111       <circuit-pack-name>1/0/1-PLUG-NET</circuit-pack-name>
112       <circuit-pack-type>line_pluggable</circuit-pack-type>
113       <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
114       <vendor>VendorA</vendor>
115       <model>CFP2</model>
116       <serial-id>_1234_</serial-id>
117       <type>line/network pluggable</type>
118       <product-code>Line_NW_P</product-code>
119       <hardware-version>0.1</hardware-version>
120       <operational-state>inService</operational-state>
121       <circuit-pack-mode>NORMAL</circuit-pack-mode>
122       <shelf>1</shelf>
123       <slot>1</slot>
124       <subSlot>1</subSlot>
125       <is-pluggable-optics>true</is-pluggable-optics>
126       <ports>
127         <port-name>1</port-name>
128         <port-type>CFP2</port-type>
129         <port-qual>xpdr-network</port-qual>
130         <port-wavelength-type>wavelength</port-wavelength-type>
131         <port-direction>bidirectional</port-direction>
132         <label>2</label>
133         <administrative-state>inService</administrative-state>
134         <operational-state>inService</operational-state>
135         <supported-interface-capability xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH</supported-interface-capability>
136         <transponder-port>
137           <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
138           <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
139           <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
140           <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
141         </transponder-port>
142       </ports>
143       <parent-circuit-pack>
144         <circuit-pack-name>1/0</circuit-pack-name>
145         <cp-slot-name>1</cp-slot-name>
146       </parent-circuit-pack>
147     </circuit-packs>
148     <circuit-packs>
149       <circuit-pack-category>
150         <type>circuitPack</type>
151       </circuit-pack-category>
152       <circuit-pack-name>1/0/1-PLUG-CLIENT</circuit-pack-name>
153       <circuit-pack-type>client_pluggable</circuit-pack-type>
154       <circuit-pack-product-code>Client_P</circuit-pack-product-code>
155       <vendor>VendorA</vendor>
156       <model>client_pluggable</model>
157       <serial-id>_1234_</serial-id>
158       <type>QSFP28</type>
159       <product-code>Client_P</product-code>
160       <hardware-version>0.1</hardware-version>
161       <operational-state>inService</operational-state>
162       <circuit-pack-mode>NORMAL</circuit-pack-mode>
163       <shelf>1</shelf>
164       <slot>1</slot>
165       <subSlot>1</subSlot>
166       <is-pluggable-optics>true</is-pluggable-optics>
167       <ports>
168         <port-name>C1</port-name>
169         <port-type>QSFP28</port-type>
170         <port-qual>xpdr-client</port-qual>
171         <port-wavelength-type>wavelength</port-wavelength-type>
172         <port-direction>bidirectional</port-direction>
173         <label>2</label>
174         <administrative-state>inService</administrative-state>
175         <operational-state>inService</operational-state>
176         <supported-interface-capability xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-100GE</supported-interface-capability>
177         <transponder-port>
178           <port-power-capability-min-rx>-4.00</port-power-capability-min-rx>
179           <port-power-capability-min-tx>-10.00</port-power-capability-min-tx>
180           <port-power-capability-max-rx>4.00</port-power-capability-max-rx>
181           <port-power-capability-max-tx>4.00</port-power-capability-max-tx>
182         </transponder-port>
183       </ports>
184       <parent-circuit-pack>
185         <circuit-pack-name>1/0</circuit-pack-name>
186         <cp-slot-name>2</cp-slot-name>
187       </parent-circuit-pack>
188     </circuit-packs>
189     <circuit-packs>
190       <circuit-pack-category>
191         <type>circuitPack</type>
192       </circuit-pack-category>
193       <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
194       <circuit-pack-type>line_pluggable</circuit-pack-type>
195       <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
196       <vendor>VendorA</vendor>
197       <model>CFP2</model>
198       <serial-id>_1234_</serial-id>
199       <type>line/network pluggable</type>
200       <product-code>Line_NW_P</product-code>
201       <hardware-version>0.1</hardware-version>
202       <operational-state>inService</operational-state>
203       <circuit-pack-mode>NORMAL</circuit-pack-mode>
204       <shelf>1</shelf>
205       <slot>1</slot>
206       <subSlot>1</subSlot>
207       <is-pluggable-optics>true</is-pluggable-optics>
208       <ports>
209         <port-name>1</port-name>
210         <port-type>CFP2</port-type>
211         <port-qual>xpdr-network</port-qual>
212         <port-wavelength-type>wavelength</port-wavelength-type>
213         <port-direction>bidirectional</port-direction>
214         <label>2</label>
215         <administrative-state>inService</administrative-state>
216         <operational-state>inService</operational-state>
217         <supported-interface-capability xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH</supported-interface-capability>
218         <transponder-port>
219           <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
220           <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
221           <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
222           <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
223         </transponder-port>
224       </ports>
225       <parent-circuit-pack>
226         <circuit-pack-name>1/0</circuit-pack-name>
227         <cp-slot-name>3</cp-slot-name>
228       </parent-circuit-pack>
229     </circuit-packs>
230     <circuit-packs>
231       <circuit-pack-category>
232         <type>circuitPack</type>
233       </circuit-pack-category>
234       <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
235       <circuit-pack-type>client_pluggable</circuit-pack-type>
236       <circuit-pack-product-code>Client_P</circuit-pack-product-code>
237       <vendor>VendorA</vendor>
238       <model>client_pluggable</model>
239       <serial-id>_1234_</serial-id>
240       <type>QSFP28</type>
241       <product-code>Client_P</product-code>
242       <hardware-version>0.1</hardware-version>
243       <operational-state>inService</operational-state>
244       <circuit-pack-mode>NORMAL</circuit-pack-mode>
245       <shelf>1</shelf>
246       <slot>1</slot>
247       <subSlot>1</subSlot>
248       <is-pluggable-optics>true</is-pluggable-optics>
249       <ports>
250         <port-name>C1</port-name>
251         <port-type>QSFP28</port-type>
252         <port-qual>xpdr-client</port-qual>
253         <port-wavelength-type>wavelength</port-wavelength-type>
254         <port-direction>bidirectional</port-direction>
255         <label>2</label>
256         <administrative-state>inService</administrative-state>
257         <operational-state>inService</operational-state>
258         <supported-interface-capability xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-100GE</supported-interface-capability>
259         <transponder-port>
260           <port-power-capability-min-rx>-4.00</port-power-capability-min-rx>
261           <port-power-capability-min-tx>-10.00</port-power-capability-min-tx>
262           <port-power-capability-max-rx>4.00</port-power-capability-max-rx>
263           <port-power-capability-max-tx>4.00</port-power-capability-max-tx>
264         </transponder-port>
265       </ports>
266       <parent-circuit-pack>
267         <circuit-pack-name>1/0</circuit-pack-name>
268         <cp-slot-name>4</cp-slot-name>
269       </parent-circuit-pack>
270     </circuit-packs>
271
272     <connection-map>
273       <connection-map-number>1</connection-map-number>
274       <source>
275         <circuit-pack-name>1/0/1-PLUG-CLIENT</circuit-pack-name>
276         <port-name>C1</port-name>
277       </source>
278       <destination>
279         <circuit-pack-name>1/0/1-PLUG-NET</circuit-pack-name>
280         <port-name>1</port-name>
281       </destination>
282     </connection-map>
283     <connection-map>
284       <connection-map-number>2</connection-map-number>
285       <source>
286         <circuit-pack-name>1/0/1-PLUG-NET</circuit-pack-name>
287         <port-name>1</port-name>
288       </source>
289       <destination>
290         <circuit-pack-name>1/0/1-PLUG-CLIENT</circuit-pack-name>
291         <port-name>C1</port-name>
292       </destination>
293     </connection-map>
294     <connection-map>
295       <connection-map-number>3</connection-map-number>
296       <source>
297         <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
298         <port-name>C1</port-name>
299       </source>
300       <destination>
301         <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
302         <port-name>1</port-name>
303       </destination>
304     </connection-map>
305     <connection-map>
306       <connection-map-number>4</connection-map-number>
307       <source>
308         <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
309         <port-name>1</port-name>
310       </source>
311       <destination>
312         <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
313         <port-name>C1</port-name>
314       </destination>
315     </connection-map>
316   </org-openroadm-device>
317   <current-pm-list xmlns="http://org/openroadm/pm">
318   <current-pm-entry>
319     <pm-resource-instance xmlns:d="http://org/openroadm/device">/d:org-openroadm-device/d:interface[d:name='XPDR1-NETWORK1-OTU']</pm-resource-instance>
320     <pm-resource-type>interface</pm-resource-type>
321     <pm-resource-type-extension></pm-resource-type-extension>
322     <retrieval-time>2018-06-07T13:22:58+00:00</retrieval-time>
323     <current-pm>
324       <type>opticalPowerOutput</type>
325       <extension></extension>
326       <location>nearEnd</location>
327       <direction>tx</direction>
328       <measurement>
329         <granularity>15min</granularity>
330         <pmParameterValue>2.5</pmParameterValue>
331         <pmParameterUnit>dBm</pmParameterUnit>
332         <validity>complete</validity>
333       </measurement>
334       <measurement>
335         <granularity>24Hour</granularity>
336         <pmParameterValue>2.23</pmParameterValue>
337         <pmParameterUnit>dBm</pmParameterUnit>
338         <validity>complete</validity>
339       </measurement>
340     </current-pm>
341     <current-pm>
342       <type>opticalPowerInput</type>
343       <extension></extension>
344       <location>nearEnd</location>
345       <direction>rx</direction>
346       <measurement>
347         <granularity>15min</granularity>
348         <pmParameterValue>-45.1</pmParameterValue>
349         <pmParameterUnit>dBm</pmParameterUnit>
350         <validity>complete</validity>
351       </measurement>
352       <measurement>
353         <granularity>24Hour</granularity>
354         <pmParameterValue>-49.3</pmParameterValue>
355         <pmParameterUnit>dBm</pmParameterUnit>
356         <validity>complete</validity>
357       </measurement>
358     </current-pm>
359   </current-pm-entry>
360 </current-pm-list>
361 </data>