Add and run some linters via tox and pre-commit
[transportpce.git] / tests / sample_configs / openroadm / 2.2.1 / oper-XPDRA.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-A1</node-id>
13       <node-number>1</node-number>
14       <node-type>xpdr</node-type>
15       <clli>NodeA</clli>
16       <vendor>vendorA</vendor>
17       <model>model2</model>
18       <serial-id>nodeid-1234</serial-id>
19       <ipAddress>1.2.3.4</ipAddress>
20       <prefix-length>24</prefix-length>
21       <defaultGateway>1.2.3.4</defaultGateway>
22       <source>static</source>
23       <current-ipAddress>1.2.3.4</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:05</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/2-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       <equipment-state>not-reserved-available</equipment-state>
127       <ports>
128         <port-name>1</port-name>
129         <port-type>CFP2</port-type>
130         <port-qual>xpdr-network</port-qual>
131         <port-wavelength-type>wavelength</port-wavelength-type>
132         <port-direction>bidirectional</port-direction>
133         <label>2</label>
134         <administrative-state>inService</administrative-state>
135         <operational-state>inService</operational-state>
136         <supported-interface-capability xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH</supported-interface-capability>
137         <transponder-port>
138           <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
139           <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
140           <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
141           <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
142         </transponder-port>
143       </ports>
144       <parent-circuit-pack>
145         <circuit-pack-name>1/0</circuit-pack-name>
146         <cp-slot-name>1</cp-slot-name>
147       </parent-circuit-pack>
148     </circuit-packs>
149     <circuit-packs>
150       <circuit-pack-category>
151         <type>circuitPack</type>
152       </circuit-pack-category>
153       <circuit-pack-name>1/0/1-PLUG-CLIENT</circuit-pack-name>
154       <circuit-pack-type>client_pluggable</circuit-pack-type>
155       <circuit-pack-product-code>Client_P</circuit-pack-product-code>
156       <vendor>VendorA</vendor>
157       <model>client_pluggable</model>
158       <serial-id>_1234_</serial-id>
159       <type>QSFP28</type>
160       <product-code>Client_P</product-code>
161       <hardware-version>0.1</hardware-version>
162       <operational-state>inService</operational-state>
163       <circuit-pack-mode>NORMAL</circuit-pack-mode>
164       <shelf>1</shelf>
165       <slot>1</slot>
166       <subSlot>1</subSlot>
167       <is-pluggable-optics>true</is-pluggable-optics>
168       <equipment-state>not-reserved-available</equipment-state>
169       <ports>
170         <port-name>C1</port-name>
171         <port-type>QSFP28</port-type>
172         <port-qual>xpdr-client</port-qual>
173         <port-wavelength-type>wavelength</port-wavelength-type>
174         <port-direction>bidirectional</port-direction>
175         <label>2</label>
176         <administrative-state>inService</administrative-state>
177         <operational-state>inService</operational-state>
178         <supported-interface-capability xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-100GE</supported-interface-capability>
179         <transponder-port>
180           <port-power-capability-min-rx>-4.00</port-power-capability-min-rx>
181           <port-power-capability-min-tx>-10.00</port-power-capability-min-tx>
182           <port-power-capability-max-rx>4.00</port-power-capability-max-rx>
183           <port-power-capability-max-tx>4.00</port-power-capability-max-tx>
184         </transponder-port>
185       </ports>
186       <parent-circuit-pack>
187         <circuit-pack-name>1/0</circuit-pack-name>
188         <cp-slot-name>2</cp-slot-name>
189       </parent-circuit-pack>
190     </circuit-packs>
191     <circuit-packs>
192       <circuit-pack-category>
193         <type>circuitPack</type>
194       </circuit-pack-category>
195       <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
196       <circuit-pack-type>line_pluggable</circuit-pack-type>
197       <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
198       <vendor>VendorA</vendor>
199       <model>CFP2</model>
200       <serial-id>_1234_</serial-id>
201       <type>line/network pluggable</type>
202       <product-code>Line_NW_P</product-code>
203       <hardware-version>0.1</hardware-version>
204       <operational-state>inService</operational-state>
205       <circuit-pack-mode>NORMAL</circuit-pack-mode>
206       <shelf>1</shelf>
207       <slot>1</slot>
208       <subSlot>1</subSlot>
209       <is-pluggable-optics>true</is-pluggable-optics>
210       <ports>
211         <port-name>1</port-name>
212         <port-type>CFP2</port-type>
213         <port-qual>xpdr-network</port-qual>
214         <port-wavelength-type>wavelength</port-wavelength-type>
215         <port-direction>bidirectional</port-direction>
216         <label>2</label>
217         <administrative-state>inService</administrative-state>
218         <operational-state>inService</operational-state>
219         <supported-interface-capability xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH</supported-interface-capability>
220         <transponder-port>
221           <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
222           <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
223           <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
224           <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
225         </transponder-port>
226       </ports>
227       <parent-circuit-pack>
228         <circuit-pack-name>1/0</circuit-pack-name>
229         <cp-slot-name>3</cp-slot-name>
230       </parent-circuit-pack>
231     </circuit-packs>
232     <circuit-packs>
233       <circuit-pack-category>
234         <type>circuitPack</type>
235       </circuit-pack-category>
236       <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
237       <circuit-pack-type>client_pluggable</circuit-pack-type>
238       <circuit-pack-product-code>Client_P</circuit-pack-product-code>
239       <vendor>VendorA</vendor>
240       <model>client_pluggable</model>
241       <serial-id>_1234_</serial-id>
242       <type>QSFP28</type>
243       <product-code>Client_P</product-code>
244       <hardware-version>0.1</hardware-version>
245       <operational-state>inService</operational-state>
246       <circuit-pack-mode>NORMAL</circuit-pack-mode>
247       <shelf>1</shelf>
248       <slot>1</slot>
249       <subSlot>1</subSlot>
250       <is-pluggable-optics>true</is-pluggable-optics>
251       <ports>
252         <port-name>C1</port-name>
253         <port-type>QSFP28</port-type>
254         <port-qual>xpdr-client</port-qual>
255         <port-wavelength-type>wavelength</port-wavelength-type>
256         <port-direction>bidirectional</port-direction>
257         <label>2</label>
258         <administrative-state>inService</administrative-state>
259         <operational-state>inService</operational-state>
260         <supported-interface-capability xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-100GE</supported-interface-capability>
261         <transponder-port>
262           <port-power-capability-min-rx>-4.00</port-power-capability-min-rx>
263           <port-power-capability-min-tx>-10.00</port-power-capability-min-tx>
264           <port-power-capability-max-rx>4.00</port-power-capability-max-rx>
265           <port-power-capability-max-tx>4.00</port-power-capability-max-tx>
266         </transponder-port>
267       </ports>
268       <parent-circuit-pack>
269         <circuit-pack-name>1/0</circuit-pack-name>
270         <cp-slot-name>4</cp-slot-name>
271       </parent-circuit-pack>
272     </circuit-packs>
273
274     <connection-map>
275       <connection-map-number>1</connection-map-number>
276       <source>
277         <circuit-pack-name>1/0/1-PLUG-CLIENT</circuit-pack-name>
278         <port-name>C1</port-name>
279       </source>
280       <destination>
281         <circuit-pack-name>1/0/1-PLUG-NET</circuit-pack-name>
282         <port-name>1</port-name>
283       </destination>
284     </connection-map>
285     <connection-map>
286       <connection-map-number>2</connection-map-number>
287       <source>
288         <circuit-pack-name>1/0/1-PLUG-NET</circuit-pack-name>
289         <port-name>1</port-name>
290       </source>
291       <destination>
292         <circuit-pack-name>1/0/1-PLUG-CLIENT</circuit-pack-name>
293         <port-name>C1</port-name>
294       </destination>
295     </connection-map>
296     <connection-map>
297       <connection-map-number>3</connection-map-number>
298       <source>
299         <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
300         <port-name>C1</port-name>
301       </source>
302       <destination>
303         <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
304         <port-name>1</port-name>
305       </destination>
306     </connection-map>
307     <connection-map>
308       <connection-map-number>4</connection-map-number>
309       <source>
310         <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
311         <port-name>1</port-name>
312       </source>
313       <destination>
314         <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
315         <port-name>C1</port-name>
316       </destination>
317     </connection-map>
318   </org-openroadm-device>
319   <current-pm-list xmlns="http://org/openroadm/pm">
320   <current-pm-entry>
321     <pm-resource-instance xmlns:d="http://org/openroadm/device">/d:org-openroadm-device/d:interface[d:name='XPDR1-NETWORK1-OTU']</pm-resource-instance>
322     <pm-resource-type>interface</pm-resource-type>
323     <pm-resource-type-extension></pm-resource-type-extension>
324     <retrieval-time>2018-06-07T13:22:58+00:00</retrieval-time>
325     <current-pm>
326       <type>opticalPowerOutput</type>
327       <extension></extension>
328       <location>nearEnd</location>
329       <direction>tx</direction>
330       <measurement>
331         <granularity>15min</granularity>
332         <pmParameterValue>2.5</pmParameterValue>
333         <pmParameterUnit>dBm</pmParameterUnit>
334         <validity>complete</validity>
335       </measurement>
336       <measurement>
337         <granularity>24Hour</granularity>
338         <pmParameterValue>2.23</pmParameterValue>
339         <pmParameterUnit>dBm</pmParameterUnit>
340         <validity>complete</validity>
341       </measurement>
342     </current-pm>
343     <current-pm>
344       <type>opticalPowerInput</type>
345       <extension></extension>
346       <location>nearEnd</location>
347       <direction>rx</direction>
348       <measurement>
349         <granularity>15min</granularity>
350         <pmParameterValue>-45.1</pmParameterValue>
351         <pmParameterUnit>dBm</pmParameterUnit>
352         <validity>complete</validity>
353       </measurement>
354       <measurement>
355         <granularity>24Hour</granularity>
356         <pmParameterValue>-49.3</pmParameterValue>
357         <pmParameterUnit>dBm</pmParameterUnit>
358         <validity>complete</validity>
359       </measurement>
360     </current-pm>
361   </current-pm-entry>
362 </current-pm-list>
363 </data>