End-to-end functional tests
[transportpce.git] / tests / sample_configs / ord_2.1 / oper-XPDRC.xml
index c15e28fd12409404586894ddd77c2d4819dc5dd4..9f38b483f40f9fd717a24215314c6b9b60526013 100644 (file)
         <administrative-state>inService</administrative-state>
         <logical-connection-point>NETWORK1</logical-connection-point>
         <transponder-port>
+            <port-power-capability-min-tx>-10</port-power-capability-min-tx>
+            <port-power-capability-max-tx>0</port-power-capability-max-tx>
+            <port-power-capability-min-rx>-10</port-power-capability-min-rx>
+            <port-power-capability-max-rx>0</port-power-capability-max-rx>
         </transponder-port>
       </ports>
     </circuit-packs>
     <circuit-packs>
-      <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
+      <circuit-pack-name>1/0/C1-PLUG-CLIENT</circuit-pack-name>
       <circuit-pack-type>pluggable</circuit-pack-type>
       <administrative-state>inService</administrative-state>
       <vendor>vendorA</vendor>
         <cp-slot-name>2</cp-slot-name>
       </parent-circuit-pack>
       <ports>
-        <port-name>1</port-name>
+        <port-name>C1</port-name>
         <port-type>QSFP28</port-type>
         <port-qual>xpdr-client</port-qual>
         <port-direction>bidirectional</port-direction>
         </transponder-port>
       </ports>
     </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-name>1/0/C3-PLUG-CLIENT</circuit-pack-name>
+      <circuit-pack-type>pluggable</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>QSFP28</model>
+      <serial-id>xxxx</serial-id>
+      <type>QSFP28</type>
+      <product-code>100GELR4</product-code>
+      <manufacture-date>2017-03-01T00:00:00+00:00</manufacture-date>
+      <clei>ccccc</clei>
+      <hardware-version>01</hardware-version>
+      <circuit-pack-category>
+        <type>other</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>0</slot>
+      <subSlot>2</subSlot>
+      <due-date>2017-04-14T15:56:10+00:00</due-date>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>C2</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>XPDRC-CLIENT3</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <logical-connection-point>XPDR1-CLIENT1</logical-connection-point>
+        <transponder-port>
+        </transponder-port>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
+      <circuit-pack-type>pluggable</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>ssss</serial-id>
+      <type>Coherent</type>
+      <product-code>T100N</product-code>
+      <manufacture-date>2017-04-01T00:00:00+00:00</manufacture-date>
+      <clei>tttt</clei>
+      <hardware-version>01</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>other</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>0</slot>
+      <subSlot>2</subSlot>
+      <due-date>2017-04-14T15:56:10+00:00</due-date>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>2</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>xpdr-network</port-qual>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <logical-connection-point></logical-connection-point>
+        <transponder-port>
+            <port-power-capability-min-tx>-10</port-power-capability-min-tx>
+            <port-power-capability-max-tx>0</port-power-capability-max-tx>
+            <port-power-capability-min-rx>-10</port-power-capability-min-rx>
+            <port-power-capability-max-rx>0</port-power-capability-max-rx>
+        </transponder-port>
+      </ports>
+    </circuit-packs>
     <wavelength-map>
       <wavelengths>
         <wavelength-number>1</wavelength-number>
     <connection-map>
       <connection-map-number>1</connection-map-number>
       <source>
-        <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
-        <port-name>1</port-name>
+        <circuit-pack-name>1/0/C1-PLUG-CLIENT</circuit-pack-name>
+        <port-name>C1</port-name>
       </source>
       <destination>
         <circuit-pack-name>1/0/1-PLUG-NET</circuit-pack-name>
         <port-name>1</port-name>
       </destination>
     </connection-map>
+    <connection-map>
+      <connection-map-number>2</connection-map-number>
+      <source>
+        <circuit-pack-name>1/0/1-PLUG-NET</circuit-pack-name>
+        <port-name>1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>1/0/C1-PLUG-CLIENT</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>3</connection-map-number>
+      <source>
+        <circuit-pack-name>1/0/C3-PLUG-CLIENT</circuit-pack-name>
+        <port-name>C3</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
+        <port-name>1</port-name>
+      </destination>
+    </connection-map>
+    <connection-map>
+      <connection-map-number>4</connection-map-number>
+      <source>
+        <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
+        <port-name>1</port-name>
+      </source>
+      <destination>
+        <circuit-pack-name>1/0/C3-PLUG-CLIENT</circuit-pack-name>
+        <port-name>C3</port-name>
+      </destination>
+    </connection-map>
   </org-openroadm-device>
 </data>