65d9b627a5695f478e2d184f7efd55b9038a07d9
[transportpce.git] / tests / sample_configs / openroadm / 2.2.1 / oper-ROADMB.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>NETCONF</name>
7           </stream>
8     </streams>
9   </netconf>
10   <org-openroadm-device xmlns="http://org/openroadm/device">
11      <info>
12       <node-id>ROADM-B1</node-id>
13       <node-number>3</node-number>
14       <node-type>rdm</node-type>
15       <clli>NodeB</clli>
16       <vendor>vendorA</vendor>
17       <model>model2</model>
18       <serial-id>0002</serial-id>
19       <ipAddress>127.0.0.12</ipAddress>
20       <prefix-length>28</prefix-length>
21       <defaultGateway>127.0.0.20</defaultGateway>
22       <source>static</source>
23       <current-ipAddress>127.0.0.12</current-ipAddress>
24       <current-prefix-length>28</current-prefix-length>
25       <current-defaultGateway>127.0.0.20</current-defaultGateway>
26       <macAddress>00:01:02:03:04:05</macAddress>
27       <softwareVersion>swversion1234</softwareVersion>
28       <openroadm-version>2.2.1</openroadm-version>
29       <template>template_1</template>
30       <current-datetime>2017-10-22T15:23:43Z</current-datetime>
31       <max-degrees>2</max-degrees>
32       <max-srgs>3</max-srgs>
33       <geoLocation>
34         <latitude>1.0000</latitude>
35         <longitude>2.0000</longitude>
36       </geoLocation>
37       <max-num-bin-15min-historical-pm>32</max-num-bin-15min-historical-pm>
38       <max-num-bin-24hour-historical-pm>7</max-num-bin-24hour-historical-pm>
39     </info>
40     <users>
41       <user>
42         <name>openroadm</name>
43         <password>openroadm</password>
44         <group>sudo</group>
45       </user>
46     </users>
47     <circuit-packs>
48       <is-pluggable-optics>true</is-pluggable-optics>
49       <circuit-pack-name>1/0</circuit-pack-name>
50       <circuit-pack-type>WSSDEG</circuit-pack-type>
51       <circuit-pack-product-code>DegW</circuit-pack-product-code>
52       <administrative-state>inService</administrative-state>
53       <vendor>vendorA</vendor>
54       <model>WSS9</model>
55       <serial-id>nodeid-1234</serial-id>
56       <type>Dir1</type>
57       <product-code>DegRxTx</product-code>
58       <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
59       <clei>wss1</clei>
60       <hardware-version>0.1</hardware-version>
61       <operational-state>inService</operational-state>
62       <circuit-pack-category>
63         <type>circuitPack</type>
64       </circuit-pack-category>
65       <equipment-state>not-reserved-available</equipment-state>
66       <circuit-pack-mode>inServiceMode</circuit-pack-mode>
67       <shelf>1</shelf>
68       <slot>1</slot>
69       <cp-slots>
70         <slot-name>OSC-SLOT</slot-name>
71         <label>OSC-SLOT</label>
72         <provisioned-circuit-pack>1/0/OSC-PLUG</provisioned-circuit-pack>
73       </cp-slots>
74       <cp-slots>
75         <slot-name>ETH-PLUG</slot-name>
76         <label>ETH-PLUG</label>
77         <provisioned-circuit-pack>1/0/ETH-PLUG</provisioned-circuit-pack>
78       </cp-slots>
79       <ports>
80         <port-name>C1</port-name>
81         <port-type>Client</port-type>
82         <port-qual>roadm-internal</port-qual>
83         <port-wavelength-type>multi-wavelength</port-wavelength-type>
84         <port-direction>bidirectional</port-direction>
85         <circuit-id>1</circuit-id>
86         <administrative-state>inService</administrative-state>
87         <operational-state>inService</operational-state>
88         <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
89       </ports>
90       <ports>
91         <port-name>C2</port-name>
92         <port-type>Client</port-type>
93         <port-qual>roadm-internal</port-qual>
94         <port-wavelength-type>multi-wavelength</port-wavelength-type>
95         <port-direction>bidirectional</port-direction>
96         <circuit-id>1</circuit-id>
97         <administrative-state>inService</administrative-state>
98         <operational-state>inService</operational-state>
99         <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
100       </ports>
101       <ports>
102         <port-name>C3</port-name>
103         <port-type>Client</port-type>
104         <port-qual>roadm-internal</port-qual>
105         <port-wavelength-type>multi-wavelength</port-wavelength-type>
106         <port-direction>bidirectional</port-direction>
107         <circuit-id>1</circuit-id>
108         <administrative-state>inService</administrative-state>
109         <operational-state>inService</operational-state>
110         <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
111       </ports>
112       <ports>
113         <port-name>C4</port-name>
114         <port-type>Client</port-type>
115         <port-qual>roadm-internal</port-qual>
116         <port-wavelength-type>multi-wavelength</port-wavelength-type>
117         <port-direction>bidirectional</port-direction>
118         <circuit-id>1</circuit-id>
119         <administrative-state>inService</administrative-state>
120         <operational-state>inService</operational-state>
121         <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
122       </ports>
123       <ports>
124         <port-name>L1</port-name>
125         <port-type>LINE</port-type>
126         <port-qual>roadm-external</port-qual>
127         <port-wavelength-type>multi-wavelength</port-wavelength-type>
128         <port-direction>bidirectional</port-direction>
129         <label>Dir1-RxTxAMP port</label>
130         <circuit-id>1</circuit-id>
131         <administrative-state>inService</administrative-state>
132         <operational-state>inService</operational-state>
133         <partner-port>
134           <circuit-pack-name></circuit-pack-name>
135           <port-name></port-name>
136         </partner-port>
137         <logical-connection-point>DEG1-TTP-TXRX</logical-connection-point>
138         <supported-interface-capability xmlns:x="http://org/openroadm/port/types">x:if-OTS</supported-interface-capability>
139         <supported-interface-capability xmlns:x="http://org/openroadm/port/types">x:if-OMS</supported-interface-capability>
140         <supported-interface-capability xmlns:x="http://org/openroadm/port/types">x:if-OCH</supported-interface-capability>
141       </ports>
142     </circuit-packs>
143     <circuit-packs>
144       <is-pluggable-optics>true</is-pluggable-optics>
145       <circuit-pack-name>1/0/ETH-PLUG</circuit-pack-name>
146       <circuit-pack-type>port</circuit-pack-type>
147       <circuit-pack-product-code>Eth</circuit-pack-product-code>
148       <administrative-state>inService</administrative-state>
149       <vendor>VendorA</vendor>
150       <model>GIGAETHMGT</model>
151       <serial-id>nodeid-1234</serial-id>
152       <type>eth</type>
153       <product-code>eth</product-code>
154       <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
155       <clei>ETHE</clei>
156       <hardware-version>0.1</hardware-version>
157       <operational-state>inService</operational-state>
158       <circuit-pack-category>
159         <type>circuitPack</type>
160       </circuit-pack-category>
161       <equipment-state>not-reserved-available</equipment-state>
162       <circuit-pack-mode>inServiceMode</circuit-pack-mode>
163       <shelf>1</shelf>
164       <slot>1</slot>
165       <subSlot>0</subSlot>
166       <parent-circuit-pack>
167         <circuit-pack-name>1/0</circuit-pack-name>
168         <cp-slot-name>ETH-PLUG</cp-slot-name>
169       </parent-circuit-pack>
170       <ports>
171         <port-name>ETH-PLUG</port-name>
172         <port-type>1GEX</port-type>
173         <port-qual>roadm-internal</port-qual>
174         <port-wavelength-type>multi-wavelength</port-wavelength-type>
175         <port-direction>bidirectional</port-direction>
176         <administrative-state>inService</administrative-state>
177         <operational-state>inService</operational-state>
178       </ports>
179     </circuit-packs>
180     <circuit-packs>
181       <is-pluggable-optics>true</is-pluggable-optics>
182       <circuit-pack-category>
183         <type>circuitPack</type>
184       </circuit-pack-category>
185       <circuit-pack-name>1/0/OSC-PLUG</circuit-pack-name>
186       <circuit-pack-type>port</circuit-pack-type>
187       <administrative-state>inService</administrative-state>
188       <vendor>vendorA</vendor>
189       <model>SFP/SFP+</model>
190       <serial-id>00000163600843</serial-id>
191       <product-code>oooooo</product-code>
192       <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
193       <clei>oscplug</clei>
194       <hardware-version>01</hardware-version>
195       <equipment-state>not-reserved-available</equipment-state>
196       <circuit-pack-mode>NORMAL</circuit-pack-mode>
197       <shelf>2</shelf>
198       <slot>0</slot>
199       <subSlot>0</subSlot>
200       <parent-circuit-pack>
201         <circuit-pack-name>1/0</circuit-pack-name>
202         <cp-slot-name>OSC-SLOT</cp-slot-name>
203       </parent-circuit-pack>
204       <ports>
205         <port-name>OSC-PORT</port-name>
206         <port-type>1GEX</port-type>
207         <port-qual>roadm-internal</port-qual>
208         <port-wavelength-type>multi-wavelength</port-wavelength-type>
209         <port-direction>bidirectional</port-direction>
210         <administrative-state>inService</administrative-state>
211         <operational-state>inService</operational-state>
212       </ports>
213     </circuit-packs>
214     <circuit-packs>
215       <is-pluggable-optics>true</is-pluggable-optics>
216       <circuit-pack-name>2/0</circuit-pack-name>
217       <circuit-pack-type>WSSDEG</circuit-pack-type>
218       <circuit-pack-product-code>DegE</circuit-pack-product-code>
219       <administrative-state>inService</administrative-state>
220       <vendor>vendorA</vendor>
221       <model>WSS9</model>
222       <serial-id>nodeid-1234</serial-id>
223       <type>Dir2</type>
224       <product-code>DegRxTx</product-code>
225       <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
226       <clei>wss1</clei>
227       <hardware-version>0.1</hardware-version>
228       <operational-state>inService</operational-state>
229       <circuit-pack-category>
230         <type>circuitPack</type>
231       </circuit-pack-category>
232       <equipment-state>not-reserved-available</equipment-state>
233       <circuit-pack-mode>inServiceMode</circuit-pack-mode>
234       <shelf>1</shelf>
235       <slot>2</slot>
236       <cp-slots>
237         <slot-name>OSC-SLOT</slot-name>
238         <label>OSC-SLOT</label>
239         <provisioned-circuit-pack>2/0/OSC-PLUG</provisioned-circuit-pack>
240       </cp-slots>
241       <cp-slots>
242         <slot-name>ETH-PLUG</slot-name>
243         <label>ETH-PLUG</label>
244         <provisioned-circuit-pack>2/0/ETH-PLUG</provisioned-circuit-pack>
245       </cp-slots>
246       <ports>
247         <port-name>C1</port-name>
248         <port-type>Client</port-type>
249         <port-qual>roadm-internal</port-qual>
250         <port-wavelength-type>multi-wavelength</port-wavelength-type>
251         <port-direction>bidirectional</port-direction>
252         <circuit-id>1</circuit-id>
253         <administrative-state>inService</administrative-state>
254         <operational-state>inService</operational-state>
255         <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
256       </ports>
257       <ports>
258         <port-name>C2</port-name>
259         <port-type>Client</port-type>
260         <port-qual>roadm-internal</port-qual>
261         <port-wavelength-type>multi-wavelength</port-wavelength-type>
262         <port-direction>bidirectional</port-direction>
263         <circuit-id>1</circuit-id>
264         <administrative-state>inService</administrative-state>
265         <operational-state>inService</operational-state>
266         <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
267       </ports>
268       <ports>
269         <port-name>C3</port-name>
270         <port-type>Client</port-type>
271         <port-qual>roadm-internal</port-qual>
272         <port-wavelength-type>multi-wavelength</port-wavelength-type>
273         <port-direction>bidirectional</port-direction>
274         <circuit-id>1</circuit-id>
275         <administrative-state>inService</administrative-state>
276         <operational-state>inService</operational-state>
277         <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
278       </ports>
279       <ports>
280         <port-name>C4</port-name>
281         <port-type>Client</port-type>
282         <port-qual>roadm-internal</port-qual>
283         <port-wavelength-type>multi-wavelength</port-wavelength-type>
284         <port-direction>bidirectional</port-direction>
285         <circuit-id>1</circuit-id>
286         <administrative-state>inService</administrative-state>
287         <operational-state>inService</operational-state>
288         <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
289       </ports>
290       <ports>
291         <port-name>L1</port-name>
292         <port-type>LINE</port-type>
293         <port-qual>roadm-external</port-qual>
294         <port-wavelength-type>multi-wavelength</port-wavelength-type>
295         <port-direction>bidirectional</port-direction>
296         <label>Dir2-RxTxAMP port</label>
297         <circuit-id>1</circuit-id>
298         <administrative-state>inService</administrative-state>
299         <operational-state>inService</operational-state>
300         <partner-port>
301           <circuit-pack-name></circuit-pack-name>
302           <port-name></port-name>
303         </partner-port>
304         <logical-connection-point>DEG2-TTP-TXRX</logical-connection-point>
305         <supported-interface-capability xmlns:x="http://org/openroadm/port/types">x:if-OTS</supported-interface-capability>
306         <supported-interface-capability xmlns:x="http://org/openroadm/port/types">x:if-OMS</supported-interface-capability>
307         <supported-interface-capability xmlns:x="http://org/openroadm/port/types">x:if-OCH</supported-interface-capability>
308       </ports>
309     </circuit-packs>
310     <circuit-packs>
311       <is-pluggable-optics>true</is-pluggable-optics>
312       <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
313       <circuit-pack-type>port</circuit-pack-type>
314       <circuit-pack-product-code>Eth</circuit-pack-product-code>
315       <administrative-state>inService</administrative-state>
316       <vendor>VendorA</vendor>
317       <model>GIGAETHMGT</model>
318       <serial-id>nodeid-1234</serial-id>
319       <type>eth</type>
320       <product-code>eth</product-code>
321       <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
322       <clei>ETHE</clei>
323       <hardware-version>0.1</hardware-version>
324       <operational-state>inService</operational-state>
325       <circuit-pack-category>
326         <type>circuitPack</type>
327       </circuit-pack-category>
328       <equipment-state>not-reserved-available</equipment-state>
329       <circuit-pack-mode>inServiceMode</circuit-pack-mode>
330       <shelf>1</shelf>
331       <slot>2</slot>
332       <subSlot>0</subSlot>
333       <parent-circuit-pack>
334         <circuit-pack-name>2/0</circuit-pack-name>
335         <cp-slot-name>ETH-PLUG</cp-slot-name>
336       </parent-circuit-pack>
337       <ports>
338         <port-name>ETH-PLUG</port-name>
339         <port-type>1GEX</port-type>
340         <port-qual>roadm-internal</port-qual>
341         <port-wavelength-type>multi-wavelength</port-wavelength-type>
342         <port-direction>bidirectional</port-direction>
343         <administrative-state>inService</administrative-state>
344         <operational-state>inService</operational-state>
345       </ports>
346     </circuit-packs>
347     <circuit-packs>
348       <is-pluggable-optics>true</is-pluggable-optics>
349       <circuit-pack-category>
350         <type>circuitPack</type>
351       </circuit-pack-category>
352       <circuit-pack-name>2/0/OSC-PLUG</circuit-pack-name>
353       <circuit-pack-type>port</circuit-pack-type>
354       <administrative-state>inService</administrative-state>
355       <vendor>vendorA</vendor>
356       <model>SFP/SFP+</model>
357       <serial-id>00000163600843</serial-id>
358       <product-code>oooooo</product-code>
359       <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
360       <clei>oscplug</clei>
361       <hardware-version>01</hardware-version>
362       <equipment-state>not-reserved-available</equipment-state>
363       <circuit-pack-mode>NORMAL</circuit-pack-mode>
364       <shelf>1</shelf>
365       <slot>2</slot>
366       <subSlot>0</subSlot>
367       <parent-circuit-pack>
368         <circuit-pack-name>2/0</circuit-pack-name>
369         <cp-slot-name>OSC-SLOT</cp-slot-name>
370       </parent-circuit-pack>
371       <ports>
372         <port-name>OSC-PORT</port-name>
373         <port-type>1GEX</port-type>
374         <port-qual>roadm-internal</port-qual>
375         <port-wavelength-type>multi-wavelength</port-wavelength-type>
376         <port-direction>bidirectional</port-direction>
377         <administrative-state>inService</administrative-state>
378         <operational-state>inService</operational-state>
379       </ports>
380     </circuit-packs>
381
382     <interface>
383       <name>1GE-interface-1</name>
384       <supporting-circuit-pack-name>1/0/ETH-PLUG</supporting-circuit-pack-name>
385       <supporting-port>ETH-PLUG</supporting-port>
386       <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
387       <operational-state>inService</operational-state>
388       <administrative-state>inService</administrative-state>
389       <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
390         <speed>1000</speed>
391         <duplex>full</duplex>
392         <mtu>1800</mtu>
393         <auto-negotiation>enabled</auto-negotiation>
394         <curr-speed>1000</curr-speed>
395         <curr-duplex>FULL</curr-duplex>
396       </ethernet>
397    </interface>
398    <interface>
399       <name>1GE-interface-2</name>
400       <supporting-circuit-pack-name>2/0/ETH-PLUG</supporting-circuit-pack-name>
401       <supporting-port>ETH-PLUG</supporting-port>
402       <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
403       <operational-state>inService</operational-state>
404       <administrative-state>inService</administrative-state>
405       <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
406         <speed>1000</speed>
407         <duplex>full</duplex>
408         <mtu>1800</mtu>
409         <auto-negotiation>enabled</auto-negotiation>
410         <curr-speed>1000</curr-speed>
411         <curr-duplex>FULL</curr-duplex>
412       </ethernet>
413    </interface>
414    <protocols>
415       <lldp xmlns="http://org/openroadm/lldp">
416         <global-config>
417           <adminStatus>enable</adminStatus>
418           <msgTxHoldMultiplier>4</msgTxHoldMultiplier>
419           <msgTxInterval>20</msgTxInterval>
420         </global-config>
421         <nbr-list>
422           <if-name>
423             <ifName>1GE-interface-1</ifName>
424             <remoteSysName>ROADM-A1</remoteSysName>
425             <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
426             <remoteChassisId>1?</remoteChassisId>
427             <remotePortId>1GE-interface-1</remotePortId>
428             <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
429             <remotePortIdSubType>ifalias</remotePortIdSubType>
430             <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
431           </if-name>
432           <if-name>
433             <ifName>1GE-interface-2</ifName>
434             <remoteSysName>ROADM-C1</remoteSysName>
435             <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
436             <remoteChassisId>1?</remoteChassisId>
437             <remotePortId>1GE-interface-2</remotePortId>
438             <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
439             <remotePortIdSubType>ifalias</remotePortIdSubType>
440             <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
441           </if-name>
442         </nbr-list>
443         <port-config>
444           <ifName>1GE-interface-1</ifName>
445           <adminStatus>txandrx</adminStatus>
446         </port-config>
447         <port-config>
448           <ifName>1GE-interface-2</ifName>
449           <adminStatus>txandrx</adminStatus>
450         </port-config>
451       </lldp>
452     </protocols>
453
454     <degree>
455       <degree-number>1</degree-number>
456       <max-wavelengths>96</max-wavelengths>
457       <circuit-packs>
458         <index>1</index>
459         <circuit-pack-name>1/0</circuit-pack-name>
460       </circuit-packs>
461       <circuit-packs>
462         <index>2</index>
463         <circuit-pack-name>1/0/ETH-PLUG</circuit-pack-name>
464       </circuit-packs>
465       <connection-ports>
466         <index>1</index>
467         <circuit-pack-name>1/0</circuit-pack-name>
468         <port-name>L1</port-name>
469       </connection-ports>
470     </degree>
471     <degree>
472       <degree-number>2</degree-number>
473       <max-wavelengths>96</max-wavelengths>
474       <circuit-packs>
475         <index>1</index>
476         <circuit-pack-name>2/0</circuit-pack-name>
477       </circuit-packs>
478       <circuit-packs>
479         <index>2</index>
480         <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
481       </circuit-packs>
482       <connection-ports>
483         <index>1</index>
484         <circuit-pack-name>2/0</circuit-pack-name>
485         <port-name>L1</port-name>
486       </connection-ports>
487     </degree>
488   </org-openroadm-device>
489  </data>