Adapt existing honeynode configs to device 7.1 93/95793/6
authorGilles Thouenon <gilles.thouenon@orange.com>
Thu, 15 Apr 2021 07:32:42 +0000 (09:32 +0200)
committerGilles Thouenon <gilles.thouenon@orange.com>
Thu, 29 Apr 2021 08:29:28 +0000 (10:29 +0200)
Necessary to run new functional test suites with device in version 7.1.
Fix faceplate-label values in ROADM configurations files.

JIRA: TRNSPRTPCE-437
Signed-off-by: Gilles Thouenon <gilles.thouenon@orange.com>
Change-Id: I4983fc3a054b81b83325b5229377f2ca98cfd506

tests/sample_configs/openroadm/7.1/oper-ROADMA.xml [new file with mode: 0644]
tests/sample_configs/openroadm/7.1/oper-ROADMB.xml [new file with mode: 0644]
tests/sample_configs/openroadm/7.1/oper-ROADMC.xml [new file with mode: 0644]
tests/sample_configs/openroadm/7.1/oper-SPDRA.xml [new file with mode: 0644]
tests/sample_configs/openroadm/7.1/oper-SPDRC.xml [new file with mode: 0644]
tests/sample_configs/openroadm/7.1/oper-XPDRA.xml [new file with mode: 0644]
tests/sample_configs/openroadm/7.1/oper-XPDRC.xml [new file with mode: 0644]

diff --git a/tests/sample_configs/openroadm/7.1/oper-ROADMA.xml b/tests/sample_configs/openroadm/7.1/oper-ROADMA.xml
new file mode 100644 (file)
index 0000000..33748b8
--- /dev/null
@@ -0,0 +1,885 @@
+<?xml version="1.0" encoding="utf-8"?>
+<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+  <netconf xmlns="urn:ietf:params:xml:ns:netmod:notification">
+      <streams>
+          <stream>
+              <name>OPENROADM</name>
+          </stream>
+    </streams>
+  </netconf>
+  <org-openroadm-device xmlns="http://org/openroadm/device">
+     <info>
+      <node-id>ROADM-A1</node-id>
+      <node-number>2</node-number>
+      <node-type>rdm</node-type>
+      <clli>NodeA</clli>
+      <vendor>vendorA</vendor>
+      <model>model2</model>
+      <serial-id>0002</serial-id>
+      <ipAddress>127.0.0.11</ipAddress>
+      <prefix-length>28</prefix-length>
+      <defaultGateway>127.0.0.20</defaultGateway>
+      <source>static</source>
+      <current-ipAddress>127.0.0.11</current-ipAddress>
+      <current-prefix-length>28</current-prefix-length>
+      <current-defaultGateway>127.0.0.20</current-defaultGateway>
+      <macAddress>00:01:02:03:04:05</macAddress>
+      <softwareVersion>swversion1234</softwareVersion>
+      <openroadm-version>2.2.1</openroadm-version>
+      <template>template_1</template>
+      <current-datetime>2017-10-22T15:23:43Z</current-datetime>
+      <max-degrees>2</max-degrees>
+      <max-srgs>3</max-srgs>
+      <geoLocation>
+        <latitude>1.0000</latitude>
+        <longitude>2.0000</longitude>
+      </geoLocation>
+      <max-num-bin-15min-historical-pm>32</max-num-bin-15min-historical-pm>
+      <max-num-bin-24hour-historical-pm>7</max-num-bin-24hour-historical-pm>
+    </info>
+    <users>
+      <user>
+        <name>openroadm</name>
+        <password>openroadm</password>
+        <group>sudo</group>
+      </user>
+    </users>
+    <mc-capability-profile>
+      <profile-name>degree</profile-name>
+      <center-freq-granularity>50</center-freq-granularity>
+      <slot-width-granularity>50</slot-width-granularity>
+    </mc-capability-profile>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>1/0</circuit-pack-name>
+      <circuit-pack-type>WSSDEG</circuit-pack-type>
+      <circuit-pack-product-code>DegW</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS9</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>Dir1</type>
+      <product-code>DegRxTx</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>wss1</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <is-physical>true</is-physical>
+      <is-passive>false</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <cp-slots>
+        <slot-name>OSC-SLOT</slot-name>
+        <label>OSC-SLOT</label>
+        <provisioned-circuit-pack>1/0/OSC-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>ETH-PLUG</slot-name>
+        <label>ETH-PLUG</label>
+        <provisioned-circuit-pack>1/0/ETH-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>L1</port-name>
+        <port-type>LINE</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>DEG1-TTP-TXRX</logical-connection-point>
+        <mc-capability-profile-name>degree</mc-capability-profile-name>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>1/0/ETH-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <circuit-pack-product-code>Eth</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>VendorA</vendor>
+      <model>GIGAETHMGT</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>eth</type>
+      <product-code>eth</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>ETHE</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <is-physical>true</is-physical>
+      <is-passive>false</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <subSlot>0</subSlot>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>ETH-PLUG</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>ETH-PLUG</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>1/0/OSC-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <vendor>vendorA</vendor>
+      <model>SFP/SFP+</model>
+      <serial-id>00000163600843</serial-id>
+      <product-code>oooooo</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>oscplug</clei>
+      <hardware-version>01</hardware-version>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>2</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>false</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>OSC-SLOT</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>OSC-PORT</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>2/0</circuit-pack-name>
+      <circuit-pack-type>WSSDEG</circuit-pack-type>
+      <circuit-pack-product-code>DegE</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS9</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>Dir2</type>
+      <product-code>DegTxRx</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>wss1</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>2</slot>
+      <is-physical>true</is-physical>
+      <is-passive>false</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <cp-slots>
+        <slot-name>OSC-SLOT</slot-name>
+        <label>OSC-SLOT</label>
+        <provisioned-circuit-pack>2/0/OSC-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>ETH-PLUG</slot-name>
+        <label>ETH-PLUG</label>
+        <provisioned-circuit-pack>2/0/ETH-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>L1</port-name>
+        <port-type>LINE</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <logical-connection-point>DEG2-TTP-TXRX</logical-connection-point>
+        <mc-capability-profile-name>degree</mc-capability-profile-name>
+        <interfaces>
+          <interface-name>OTS-DEG2-TTP-TXRX</interface-name>
+        </interfaces>
+        <interfaces>
+          <interface-name>OMS-DEG2-TTP-TXRX</interface-name>
+        </interfaces>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <circuit-pack-product-code>Eth</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>VENDORA</vendor>
+      <model>GIGAETHMGT</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>eth</type>
+      <product-code>eth</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>ETHE</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <is-physical>true</is-physical>
+      <is-passive>false</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <subSlot>0</subSlot>
+      <parent-circuit-pack>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <cp-slot-name>ETH-PLUG</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>ETH-PLUG</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>2/0/OSC-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <vendor>vendorA</vendor>
+      <model>SFP/SFP+</model>
+      <serial-id>00000163600843</serial-id>
+      <product-code>oooooo</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>oscplug</clei>
+      <hardware-version>01</hardware-version>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>2</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>false</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <parent-circuit-pack>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <cp-slot-name>OSC-SLOT</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>OSC-PORT</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>3/0</circuit-pack-name>
+      <circuit-pack-type>ADDDROP</circuit-pack-type>
+      <circuit-pack-product-code>SRGRx</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>SRG1</type>
+      <product-code>SRGRx</product-code>
+      <manufacture-date>2007-10-10T00:00:00Z</manufacture-date>
+      <clei>12345678901</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>reserved-for-facility-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>2</slot>
+      <is-physical>true</is-physical>
+      <is-passive>false</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG1-PP1</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG1-PP2</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG1-PP3</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG1-PP4</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>AD-DEG1</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>AD-DEG2</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>5/0</circuit-pack-name>
+      <circuit-pack-type>ADDDROP</circuit-pack-type>
+      <circuit-pack-product-code>SRGRx</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>SRG1</type>
+      <product-code>SRGRx</product-code>
+      <manufacture-date>2007-10-10T00:00:00Z</manufacture-date>
+      <clei>12345678901</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>reserved-for-facility-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>2</slot>
+      <is-physical>true</is-physical>
+      <is-passive>false</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG3-PP1</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG3-PP2</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG3-PP3</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG3-PP4</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>AD-DEG1</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>AD-DEG2</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG3-CP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+
+    <interface>
+      <name>1GE-interface-1</name>
+      <supporting-circuit-pack-name>1/0/ETH-PLUG</supporting-circuit-pack-name>
+      <supporting-port>ETH-PLUG</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
+        <speed>1000</speed>
+        <duplex>full</duplex>
+        <auto-negotiation>enabled</auto-negotiation>
+        <curr-speed>1000</curr-speed>
+        <curr-duplex>FULL</curr-duplex>
+      </ethernet>
+    </interface>
+    <interface>
+      <name>1GE-interface-2</name>
+      <supporting-circuit-pack-name>2/0/ETH-PLUG</supporting-circuit-pack-name>
+      <supporting-port>ETH-PLUG</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
+        <speed>1000</speed>
+        <duplex>full</duplex>
+        <auto-negotiation>enabled</auto-negotiation>
+        <curr-speed>1000</curr-speed>
+        <curr-duplex>FULL</curr-duplex>
+      </ethernet>
+   </interface>
+    <interface>
+      <name>OTS-DEG2-TTP-TXRX</name>
+      <supporting-circuit-pack-name>2/0</supporting-circuit-pack-name>
+      <supporting-port>L1</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:opticalTransport</type>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+      <ots xmlns="http://org/openroadm/optical-transport-interfaces">
+        <fiber-type>smf</fiber-type>
+        <span-loss-transmit>6</span-loss-transmit>
+        <span-loss-receive>15</span-loss-receive>
+        <ingress-span-loss-aging-margin>0</ingress-span-loss-aging-margin>
+      </ots>
+   </interface>
+    <interface>
+      <name>OMS-DEG2-TTP-TXRX</name>
+      <supporting-circuit-pack-name>2/0</supporting-circuit-pack-name>
+      <supporting-port>L1</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:openROADMOpticalMultiplex</type>
+      <description>TBD</description>
+      <circuit-id>TBD</circuit-id>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+    </interface>
+
+    <protocols>
+      <lldp xmlns="http://org/openroadm/lldp">
+        <global-config>
+          <adminStatus>enable</adminStatus>
+          <msgTxHoldMultiplier>4</msgTxHoldMultiplier>
+          <msgTxInterval>20</msgTxInterval>
+        </global-config>
+        <nbr-list>
+          <if-name>
+            <ifName>1GE-interface-1</ifName>
+            <remoteSysName>ROADM-B1</remoteSysName>
+            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
+            <remoteChassisId>1?</remoteChassisId>
+            <remotePortId>1GE-interface-1</remotePortId>
+            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
+            <remotePortIdSubType>ifalias</remotePortIdSubType>
+            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
+          </if-name>
+          <if-name>
+            <ifName>1GE-interface-2</ifName>
+            <remoteSysName>ROADM-C1</remoteSysName>
+            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
+            <remoteChassisId>1?</remoteChassisId>
+            <remotePortId>1GE-interface-1</remotePortId>
+            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
+            <remotePortIdSubType>ifalias</remotePortIdSubType>
+            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
+          </if-name>
+        </nbr-list>
+        <port-config>
+          <ifName>1GE-interface-1</ifName>
+          <adminStatus>txandrx</adminStatus>
+        </port-config>
+        <port-config>
+          <ifName>1GE-interface-2</ifName>
+          <adminStatus>txandrx</adminStatus>
+        </port-config>
+      </lldp>
+    </protocols>
+
+    <degree>
+      <degree-number>1</degree-number>
+      <max-wavelengths>96</max-wavelengths>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>1/0</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>2</index>
+        <circuit-pack-name>1/0/ETH-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <connection-ports>
+        <index>1</index>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </connection-ports>
+    </degree>
+    <degree>
+      <degree-number>2</degree-number>
+      <max-wavelengths>96</max-wavelengths>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>2/0</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>2</index>
+        <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <connection-ports>
+        <index>1</index>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </connection-ports>
+    </degree>
+    <shared-risk-group>
+      <srg-number>1</srg-number>
+      <max-add-drop-ports>4</max-add-drop-ports>
+      <wavelength-duplication>one-per-srg</wavelength-duplication>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>3/0</circuit-pack-name>
+      </circuit-packs>
+      <current-provisioned-add-drop-ports>4</current-provisioned-add-drop-ports>
+    </shared-risk-group>
+    <shared-risk-group>
+      <srg-number>3</srg-number>
+      <max-add-drop-ports>4</max-add-drop-ports>
+      <wavelength-duplication>one-per-srg</wavelength-duplication>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>5/0</circuit-pack-name>
+      </circuit-packs>
+      <current-provisioned-add-drop-ports>4</current-provisioned-add-drop-ports>
+    </shared-risk-group>
+  </org-openroadm-device>
+
+  <current-pm-list xmlns="http://org/openroadm/pm">
+  <current-pm-entry>
+    <pm-resource-instance xmlns:d="http://org/openroadm/device">/d:org-openroadm-device/d:interface[d:name='OTS-DEG2-TTP-TXRX']</pm-resource-instance>
+    <pm-resource-type>interface</pm-resource-type>
+    <pm-resource-type-extension></pm-resource-type-extension>
+    <retrieval-time>2018-06-07T13:22:58+00:00</retrieval-time>
+    <current-pm>
+      <type>opticalPowerOutput</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>tx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>2.5</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>2.23</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+    <current-pm>
+      <type>opticalPowerInput</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>rx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>-21.1</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>-49.3</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+    <current-pm>
+      <type>opticalReturnLoss</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>rx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>40</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>44</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+  </current-pm-entry>
+  </current-pm-list>
+
+ </data>
diff --git a/tests/sample_configs/openroadm/7.1/oper-ROADMB.xml b/tests/sample_configs/openroadm/7.1/oper-ROADMB.xml
new file mode 100644 (file)
index 0000000..bd011e2
--- /dev/null
@@ -0,0 +1,527 @@
+<?xml version="1.0" encoding="utf-8"?>
+<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+  <netconf xmlns="urn:ietf:params:xml:ns:netmod:notification">
+      <streams>
+          <stream>
+              <name>OPENROADM</name>
+          </stream>
+    </streams>
+  </netconf>
+  <org-openroadm-device xmlns="http://org/openroadm/device">
+     <info>
+      <node-id>ROADM-B1</node-id>
+      <node-number>3</node-number>
+      <node-type>rdm</node-type>
+      <clli>NodeB</clli>
+      <vendor>vendorA</vendor>
+      <model>model2</model>
+      <serial-id>0002</serial-id>
+      <ipAddress>127.0.0.11</ipAddress>
+      <prefix-length>28</prefix-length>
+      <defaultGateway>127.0.0.20</defaultGateway>
+      <source>static</source>
+      <current-ipAddress>127.0.0.11</current-ipAddress>
+      <current-prefix-length>28</current-prefix-length>
+      <current-defaultGateway>127.0.0.20</current-defaultGateway>
+      <macAddress>00:01:02:03:04:05</macAddress>
+      <softwareVersion>swversion1234</softwareVersion>
+      <openroadm-version>2.2.1</openroadm-version>
+      <template>template_1</template>
+      <current-datetime>2017-10-22T15:23:43Z</current-datetime>
+      <max-degrees>2</max-degrees>
+      <max-srgs>3</max-srgs>
+      <geoLocation>
+        <latitude>1.0000</latitude>
+        <longitude>2.0000</longitude>
+      </geoLocation>
+      <max-num-bin-15min-historical-pm>32</max-num-bin-15min-historical-pm>
+      <max-num-bin-24hour-historical-pm>7</max-num-bin-24hour-historical-pm>
+    </info>
+    <users>
+      <user>
+        <name>openroadm</name>
+        <password>openroadm</password>
+        <group>sudo</group>
+      </user>
+    </users>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <circuit-pack-name>1/0</circuit-pack-name>
+      <circuit-pack-type>WSSDEG</circuit-pack-type>
+      <circuit-pack-product-code>DegW</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS9</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>Dir1</type>
+      <product-code>DegRxTx</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>wss1</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <cp-slots>
+        <slot-name>OSC-SLOT</slot-name>
+        <label>OSC-SLOT</label>
+        <provisioned-circuit-pack>1/0/OSC-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>ETH-PLUG</slot-name>
+        <label>ETH-PLUG</label>
+        <provisioned-circuit-pack>1/0/ETH-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+      </ports>
+      <ports>
+        <port-name>L1</port-name>
+        <port-type>LINE</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>DEG1-TTP-TXRX</logical-connection-point>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>1/0/ETH-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <circuit-pack-product-code>Eth</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>VendorA</vendor>
+      <model>GIGAETHMGT</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>eth</type>
+      <product-code>eth</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>ETHE</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>ETH-PLUG</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>ETH-PLUG</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/OSC-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>SFP/SFP+</model>
+      <serial-id>00000163600843</serial-id>
+      <product-code>oooooo</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>oscplug</clei>
+      <hardware-version>01</hardware-version>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>2</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <operational-state>inService</operational-state>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>OSC-SLOT</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>OSC-PORT</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>2/0</circuit-pack-name>
+      <circuit-pack-type>WSSDEG</circuit-pack-type>
+      <circuit-pack-product-code>DegE</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS9</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>Dir2</type>
+      <product-code>DegRxTx</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>wss1</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>2</slot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <cp-slots>
+        <slot-name>OSC-SLOT</slot-name>
+        <label>OSC-SLOT</label>
+        <provisioned-circuit-pack>2/0/OSC-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>ETH-PLUG</slot-name>
+        <label>ETH-PLUG</label>
+        <provisioned-circuit-pack>2/0/ETH-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>L1</port-name>
+        <port-type>LINE</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>DEG2-TTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <circuit-pack-product-code>Eth</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>VendorA</vendor>
+      <model>GIGAETHMGT</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>eth</type>
+      <product-code>eth</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>ETHE</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>2</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <parent-circuit-pack>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <cp-slot-name>ETH-PLUG</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>ETH-PLUG</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>2/0/OSC-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>SFP/SFP+</model>
+      <serial-id>00000163600843</serial-id>
+      <product-code>oooooo</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>oscplug</clei>
+      <hardware-version>01</hardware-version>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>2</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <operational-state>inService</operational-state>
+      <parent-circuit-pack>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <cp-slot-name>OSC-SLOT</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>OSC-PORT</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+
+    <interface>
+      <name>1GE-interface-1</name>
+      <supporting-circuit-pack-name>1/0/ETH-PLUG</supporting-circuit-pack-name>
+      <supporting-port>ETH-PLUG</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
+        <speed>1000</speed>
+        <duplex>full</duplex>
+        <auto-negotiation>enabled</auto-negotiation>
+        <curr-speed>1000</curr-speed>
+        <curr-duplex>FULL</curr-duplex>
+      </ethernet>
+   </interface>
+   <interface>
+      <name>1GE-interface-2</name>
+      <supporting-circuit-pack-name>2/0/ETH-PLUG</supporting-circuit-pack-name>
+      <supporting-port>ETH-PLUG</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
+        <speed>1000</speed>
+        <duplex>full</duplex>
+        <auto-negotiation>enabled</auto-negotiation>
+        <curr-speed>1000</curr-speed>
+        <curr-duplex>FULL</curr-duplex>
+      </ethernet>
+   </interface>
+   <protocols>
+      <lldp xmlns="http://org/openroadm/lldp">
+        <global-config>
+          <adminStatus>enable</adminStatus>
+          <msgTxHoldMultiplier>4</msgTxHoldMultiplier>
+          <msgTxInterval>20</msgTxInterval>
+        </global-config>
+        <nbr-list>
+          <if-name>
+            <ifName>1GE-interface-1</ifName>
+            <remoteSysName>ROADM-A1</remoteSysName>
+            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
+            <remoteChassisId>1?</remoteChassisId>
+            <remotePortId>1GE-interface-1</remotePortId>
+            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
+            <remotePortIdSubType>ifalias</remotePortIdSubType>
+            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
+          </if-name>
+          <if-name>
+            <ifName>1GE-interface-2</ifName>
+            <remoteSysName>ROADM-C1</remoteSysName>
+            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
+            <remoteChassisId>1?</remoteChassisId>
+            <remotePortId>1GE-interface-2</remotePortId>
+            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
+            <remotePortIdSubType>ifalias</remotePortIdSubType>
+            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
+          </if-name>
+        </nbr-list>
+        <port-config>
+          <ifName>1GE-interface-1</ifName>
+          <adminStatus>txandrx</adminStatus>
+        </port-config>
+        <port-config>
+          <ifName>1GE-interface-2</ifName>
+          <adminStatus>txandrx</adminStatus>
+        </port-config>
+      </lldp>
+    </protocols>
+
+    <degree>
+      <degree-number>1</degree-number>
+      <max-wavelengths>96</max-wavelengths>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>1/0</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>2</index>
+        <circuit-pack-name>1/0/ETH-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <connection-ports>
+        <index>1</index>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </connection-ports>
+    </degree>
+    <degree>
+      <degree-number>2</degree-number>
+      <max-wavelengths>96</max-wavelengths>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>2/0</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>2</index>
+        <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <connection-ports>
+        <index>1</index>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </connection-ports>
+    </degree>
+  </org-openroadm-device>
+ </data>
diff --git a/tests/sample_configs/openroadm/7.1/oper-ROADMC.xml b/tests/sample_configs/openroadm/7.1/oper-ROADMC.xml
new file mode 100644 (file)
index 0000000..26ca91d
--- /dev/null
@@ -0,0 +1,750 @@
+<?xml version="1.0" encoding="utf-8"?>
+<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+  <netconf xmlns="urn:ietf:params:xml:ns:netmod:notification">
+      <streams>
+          <stream>
+              <name>OPENROADM</name>
+          </stream>
+    </streams>
+  </netconf>
+  <org-openroadm-device xmlns="http://org/openroadm/device">
+     <info>
+      <node-id>ROADM-C1</node-id>
+      <node-number>4</node-number>
+      <node-type>rdm</node-type>
+      <clli>NodeC</clli>
+      <vendor>vendorA</vendor>
+      <model>model2</model>
+      <serial-id>0002</serial-id>
+      <ipAddress>127.0.0.11</ipAddress>
+      <prefix-length>28</prefix-length>
+      <defaultGateway>127.0.0.20</defaultGateway>
+      <source>static</source>
+      <current-ipAddress>127.0.0.11</current-ipAddress>
+      <current-prefix-length>28</current-prefix-length>
+      <current-defaultGateway>127.0.0.20</current-defaultGateway>
+      <macAddress>00:01:02:03:04:05</macAddress>
+      <softwareVersion>swversion1234</softwareVersion>
+      <openroadm-version>2.2.1</openroadm-version>
+      <template>template_1</template>
+      <current-datetime>2017-10-22T15:23:43Z</current-datetime>
+      <max-degrees>2</max-degrees>
+      <max-srgs>3</max-srgs>
+      <geoLocation>
+        <latitude>1.0000</latitude>
+        <longitude>2.0000</longitude>
+      </geoLocation>
+      <max-num-bin-15min-historical-pm>32</max-num-bin-15min-historical-pm>
+      <max-num-bin-24hour-historical-pm>7</max-num-bin-24hour-historical-pm>
+    </info>
+    <users>
+      <user>
+        <name>openroadm</name>
+        <password>openroadm</password>
+        <group>sudo</group>
+      </user>
+    </users>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>1/0</circuit-pack-name>
+      <circuit-pack-type>WSSDEG</circuit-pack-type>
+      <circuit-pack-product-code>DegW</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS9</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>Dir1</type>
+      <product-code>DegRxTx</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>wss1</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <cp-slots>
+        <slot-name>OSC-SLOT</slot-name>
+        <label>OSC-SLOT</label>
+        <provisioned-circuit-pack>1/0/OSC-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>ETH-PLUG</slot-name>
+        <label>ETH-PLUG</label>
+        <provisioned-circuit-pack>1/0/ETH-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG1-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>L1</port-name>
+        <port-type>LINE</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <interfaces>
+          <interface-name>OTS-DEG1-TTP-TXRX</interface-name>
+        </interfaces>
+        <interfaces>
+          <interface-name>OMS-DEG1-TTP-TXRX</interface-name>
+        </interfaces>
+        <logical-connection-point>DEG1-TTP-TXRX</logical-connection-point>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>1/0/ETH-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <circuit-pack-product-code>Eth</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>VENDORA</vendor>
+      <model>GIGAETHMGT</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>eth</type>
+      <product-code>eth</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>ETHE</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>ETH-PLUG</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>ETH-PLUG</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/OSC-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <vendor>vendorA</vendor>
+      <model>SFP/SFP+</model>
+      <serial-id>00000163600843</serial-id>
+      <product-code>oooooo</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>oscplug</clei>
+      <hardware-version>01</hardware-version>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>2</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>OSC-SLOT</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>OSC-PORT</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>2/0</circuit-pack-name>
+      <circuit-pack-type>WSSDEG</circuit-pack-type>
+      <circuit-pack-product-code>DegW</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS9</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>Dir2</type>
+      <product-code>DegRxTx</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>wss1</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>2</slot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <cp-slots>
+        <slot-name>OSC-SLOT</slot-name>
+        <label>OSC-SLOT</label>
+        <provisioned-circuit-pack>2/0/OSC-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>ETH-PLUG</slot-name>
+        <label>ETH-PLUG</label>
+        <provisioned-circuit-pack>1/0/ETH-PLUG</provisioned-circuit-pack>
+      </cp-slots>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>DEG2-CTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>L1</port-name>
+        <port-type>LINE</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>DEG2-TTP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <circuit-pack-product-code>Eth</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>VendorA</vendor>
+      <model>GIGAETHMGT</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>eth</type>
+      <product-code>eth</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>ETHE</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>2</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <parent-circuit-pack>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <cp-slot-name>ETH-PLUG</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>ETH-PLUG</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>2/0/OSC-PLUG</circuit-pack-name>
+      <circuit-pack-type>port</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <vendor>vendorA</vendor>
+      <model>SFP/SFP+</model>
+      <serial-id>00000163600843</serial-id>
+      <product-code>oooooo</product-code>
+      <manufacture-date>2017-08-08T10:47:04.698808+00:00</manufacture-date>
+      <clei>oscplug</clei>
+      <hardware-version>01</hardware-version>
+      <equipment-state>not-reserved-available</equipment-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>2</shelf>
+      <slot>0</slot>
+      <subSlot>0</subSlot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>OSC-SLOT</cp-slot-name>
+      </parent-circuit-pack>
+      <ports>
+        <port-name>OSC-PORT</port-name>
+        <port-type>1GEX</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+    <circuit-packs>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <circuit-pack-name>3/0</circuit-pack-name>
+      <circuit-pack-type>ADDDROP</circuit-pack-type>
+      <circuit-pack-product-code>SRGRx</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>WSS</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>SRG1</type>
+      <product-code>SRGRx</product-code>
+      <manufacture-date>2007-10-10T00:00:00Z</manufacture-date>
+      <clei>12345678901</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <equipment-state>reserved-for-facility-available</equipment-state>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>2</slot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>faceplate-label</faceplate-label>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG1-PP1</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C2</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG1-PP2</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C3</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG1-PP3</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>C4</port-name>
+        <port-type>Client</port-type>
+        <port-qual>roadm-external</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <circuit-id>SRG1</circuit-id>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <partner-port>
+          <circuit-pack-name></circuit-pack-name>
+          <port-name></port-name>
+        </partner-port>
+        <logical-connection-point>SRG1-PP4</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>AD-DEG1</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+      <ports>
+        <port-name>AD-DEG2</port-name>
+        <port-type>Edge</port-type>
+        <port-qual>roadm-internal</port-qual>
+        <port-wavelength-type>multi-wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <logical-connection-point>SRG1-CP-TXRX</logical-connection-point>
+        <is-physical>true</is-physical>
+        <faceplate-label>faceplate-label</faceplate-label>
+      </ports>
+    </circuit-packs>
+
+    <interface>
+      <name>1GE-interface-1</name>
+      <supporting-circuit-pack-name>1/0/ETH-PLUG</supporting-circuit-pack-name>
+      <supporting-port>ETH-PLUG</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
+        <speed>1000</speed>
+        <duplex>full</duplex>
+        <auto-negotiation>enabled</auto-negotiation>
+        <curr-speed>1000</curr-speed>
+        <curr-duplex>FULL</curr-duplex>
+      </ethernet>
+   </interface>
+   <interface>
+      <name>1GE-interface-2</name>
+      <supporting-circuit-pack-name>2/0/ETH-PLUG</supporting-circuit-pack-name>
+      <supporting-port>ETH-PLUG</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:ethernetCsmacd</type>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+      <ethernet xmlns="http://org/openroadm/ethernet-interfaces">
+        <speed>1000</speed>
+        <duplex>full</duplex>
+        <auto-negotiation>enabled</auto-negotiation>
+        <curr-speed>1000</curr-speed>
+        <curr-duplex>FULL</curr-duplex>
+      </ethernet>
+   </interface>
+   <interface>
+      <name>OTS-DEG1-TTP-TXRX</name>
+      <supporting-circuit-pack-name>1/0</supporting-circuit-pack-name>
+      <supporting-port>L1</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:opticalTransport</type>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+      <ots xmlns="http://org/openroadm/optical-transport-interfaces">
+        <fiber-type>smf</fiber-type>
+        <span-loss-transmit>6</span-loss-transmit>
+        <span-loss-receive>15</span-loss-receive>
+        <ingress-span-loss-aging-margin>0</ingress-span-loss-aging-margin>
+      </ots>
+   </interface>
+    <interface>
+      <name>OMS-DEG1-TTP-TXRX</name>
+      <supporting-circuit-pack-name>1/0</supporting-circuit-pack-name>
+      <supporting-port>L1</supporting-port>
+      <type xmlns:openROADM-if="http://org/openroadm/interfaces">openROADM-if:openROADMOpticalMultiplex</type>
+      <description>TBD</description>
+      <circuit-id>TBD</circuit-id>
+      <operational-state>inService</operational-state>
+      <administrative-state>inService</administrative-state>
+    </interface>
+
+    <protocols>
+      <lldp xmlns="http://org/openroadm/lldp">
+        <global-config>
+          <adminStatus>enable</adminStatus>
+          <msgTxHoldMultiplier>4</msgTxHoldMultiplier>
+          <msgTxInterval>20</msgTxInterval>
+        </global-config>
+        <nbr-list>
+          <if-name>
+            <ifName>1GE-interface-1</ifName>
+            <remoteSysName>ROADM-A1</remoteSysName>
+            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
+            <remoteChassisId>1?</remoteChassisId>
+            <remotePortId>1GE-interface-2</remotePortId>
+            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
+            <remotePortIdSubType>ifalias</remotePortIdSubType>
+            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
+          </if-name>
+          <if-name>
+            <ifName>1GE-interface-2</ifName>
+            <remoteSysName>ROADM-B1</remoteSysName>
+            <remoteMgmtAddress>1.1.1.1</remoteMgmtAddress>
+            <remoteChassisId>1?</remoteChassisId>
+            <remotePortId>1GE-interface-2</remotePortId>
+            <remoteChassisIdSubType>chassiscomponent</remoteChassisIdSubType>
+            <remotePortIdSubType>ifalias</remotePortIdSubType>
+            <remoteMgmtAddressSubType>ipV4</remoteMgmtAddressSubType>
+          </if-name>
+        </nbr-list>
+        <port-config>
+          <ifName>1GE-interface-1</ifName>
+          <adminStatus>txandrx</adminStatus>
+        </port-config>
+        <port-config>
+          <ifName>1GE-interface-2</ifName>
+          <adminStatus>txandrx</adminStatus>
+        </port-config>
+      </lldp>
+    </protocols>
+
+    <degree>
+      <degree-number>1</degree-number>
+      <max-wavelengths>96</max-wavelengths>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>1/0</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>2</index>
+        <circuit-pack-name>1/0/ETH-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <connection-ports>
+        <index>1</index>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </connection-ports>
+    </degree>
+    <degree>
+      <degree-number>2</degree-number>
+      <max-wavelengths>96</max-wavelengths>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>2/0</circuit-pack-name>
+      </circuit-packs>
+      <circuit-packs>
+        <index>2</index>
+        <circuit-pack-name>2/0/ETH-PLUG</circuit-pack-name>
+      </circuit-packs>
+      <connection-ports>
+        <index>1</index>
+        <circuit-pack-name>2/0</circuit-pack-name>
+        <port-name>L1</port-name>
+      </connection-ports>
+    </degree>
+    <shared-risk-group>
+      <srg-number>1</srg-number>
+      <max-add-drop-ports>4</max-add-drop-ports>
+      <wavelength-duplication>one-per-srg</wavelength-duplication>
+      <circuit-packs>
+        <index>1</index>
+        <circuit-pack-name>3/0</circuit-pack-name>
+      </circuit-packs>
+      <current-provisioned-add-drop-ports>4</current-provisioned-add-drop-ports>
+    </shared-risk-group>
+  </org-openroadm-device>
+
+  <current-pm-list xmlns="http://org/openroadm/pm">
+  <current-pm-entry>
+    <pm-resource-instance xmlns:d="http://org/openroadm/device">/d:org-openroadm-device/d:interface[d:name='OTS-DEG1-TTP-TXRX']</pm-resource-instance>
+    <pm-resource-type>interface</pm-resource-type>
+    <pm-resource-type-extension></pm-resource-type-extension>
+    <retrieval-time>2018-06-07T13:22:58+00:00</retrieval-time>
+    <current-pm>
+      <type>opticalPowerOutput</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>tx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>4.6</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>3.26</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+    <current-pm>
+      <type>opticalPowerInput</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>rx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>-15.1</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>-17.3</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+    <current-pm>
+      <type>opticalReturnLoss</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>rx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>49.1</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>45</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+  </current-pm-entry>
+  </current-pm-list>
+
+ </data>
diff --git a/tests/sample_configs/openroadm/7.1/oper-SPDRA.xml b/tests/sample_configs/openroadm/7.1/oper-SPDRA.xml
new file mode 100644 (file)
index 0000000..402338e
--- /dev/null
@@ -0,0 +1,1695 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+  <netconf xmlns="urn:ietf:params:xml:ns:netmod:notification">
+    <streams>
+      <stream>
+        <name>OPENROADM</name>
+      </stream>
+    </streams>
+  </netconf>
+  <org-openroadm-device xmlns="http://org/openroadm/device">
+    <info>
+      <node-id>SPDR-SA1</node-id>
+      <node-number>1</node-number>
+      <node-type>xpdr</node-type>
+      <clli>NodeSA</clli>
+      <vendor>vendorA</vendor>
+      <model>universal-switchponder</model>
+      <serial-id>us-1234</serial-id>
+      <ipAddress>1.2.3.4</ipAddress>
+      <prefix-length>24</prefix-length>
+      <defaultGateway>1.2.3.4</defaultGateway>
+      <source>static</source>
+      <current-ipAddress>1.2.3.4</current-ipAddress>
+      <current-prefix-length>10</current-prefix-length>
+      <current-defaultGateway>1.2.3.1</current-defaultGateway>
+      <macAddress>00:01:02:03:04:05</macAddress>
+      <softwareVersion>swversion1.0</softwareVersion>
+      <openroadm-version>2.2</openroadm-version>
+      <template>template_SWITCHPONDER</template>
+      <current-datetime>2019-07-20T15:23:43Z</current-datetime>
+      <geoLocation>
+        <latitude>1.0000</latitude>
+        <longitude>2.0000</longitude>
+      </geoLocation>
+    </info>
+    <users>
+      <user>
+        <name>openroadm</name>
+        <password>openroadm</password>
+        <group>sudo</group>
+      </user>
+    </users>
+    <shelves>
+      <shelf-name>SPShelf</shelf-name>
+      <shelf-type>pizza</shelf-type>
+      <rack>XYZ</rack>
+      <shelf-position>1</shelf-position>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>1</model>
+      <serial-id>MasterShelfSP</serial-id>
+      <type>pizza</type>
+      <product-code>SP1.6Tb</product-code>
+      <manufacture-date>2019-07-08T15:50:00+00:00</manufacture-date>
+      <clei>MyFirstSwitchPonder</clei>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <due-date>2019-07-08T15:50:00+00:00</due-date>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <slots>
+        <slot-name>Shelf-Master-Slot</slot-name>
+        <label>SMS</label>
+        <provisioned-circuit-pack>CP0</provisioned-circuit-pack>
+      </slots>
+    </shelves>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP0</circuit-pack-name>
+      <circuit-pack-type>Base_Switchponder_circuit_pack</circuit-pack-type>
+      <circuit-pack-product-code>baseSPDR</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>VendorA</vendor>
+      <model>UniversalSPonderBaseUnit</model>
+      <serial-id>USPBU1</serial-id>
+      <type>1.6TbSwitchPonder</type>
+      <product-code>baseSPDRUnit</product-code>
+      <manufacture-date>2019-07-08T15:50:00+00:00</manufacture-date>
+      <clei>MyFirstSWPONDERChassis</clei>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <is-pluggable-optics>false</is-pluggable-optics>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <cp-slots>
+        <slot-name>CP0-S1</slot-name>
+        <label>ClientModule1</label>
+        <provisioned-circuit-pack>CP1</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S2</slot-name>
+        <label>ClientModule2</label>
+        <provisioned-circuit-pack>CP2</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S3</slot-name>
+        <label>ClientModule3</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S4</slot-name>
+        <label>ClientModule4</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S5</slot-name>
+        <label>OpticalLine1</label>
+        <provisioned-circuit-pack>CP5</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S6</slot-name>
+        <label>OpticalLine2</label>
+        <provisioned-circuit-pack>CP6</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S7</slot-name>
+        <label>OpticalLine3</label>
+        <provisioned-circuit-pack>CP7</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S8</slot-name>
+        <label>OpticalLine4</label>
+        <provisioned-circuit-pack>CP8</provisioned-circuit-pack>
+      </cp-slots>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP5-CFP</circuit-pack-name>
+      <circuit-pack-type>line_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP2345_</serial-id>
+      <type>line pluggable 100-400G</type>
+      <product-code>Line_100-400G</product-code>
+      <hardware-version>1.0</hardware-version>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <ports>
+        <port-name>CP5-CFP-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>switch-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP5-CFP</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP5-CFP-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S5</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP6-CFP</circuit-pack-name>
+      <circuit-pack-type>line_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP3456_</serial-id>
+      <type>line pluggable 100-400G</type>
+      <product-code>Line_100-400G</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP6-CFP-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>switch-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP6-CFP</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP6-CFP-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S6</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP7-CFP</circuit-pack-name>
+      <circuit-pack-type>line_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP4567_</serial-id>
+      <type>line pluggable 100-400G</type>
+      <product-code>Line_100-400G</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP7-CFP-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>switch-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP7-CFP</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP7-CFP-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S7</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP8-CFP</circuit-pack-name>
+      <circuit-pack-type>line_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP5678_</serial-id>
+      <type>line pluggable 100-400G</type>
+      <product-code>Line_100-400G</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP8-CFP-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>switch-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP8-CFP</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP8-CFP-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S8</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1</circuit-pack-name>
+      <circuit-pack-type>client_mother-board-muxponder</circuit-pack-type>
+      <circuit-pack-product-code>Client_MB_Muxponder</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>MB1</model>
+      <serial-id>_Cl-MB-Muxponder-Type1_</serial-id>
+      <type>10G-100G-MB</type>
+      <product-code>MUXP10:100</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>false</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <cp-slots>
+        <slot-name>CP1-S0</slot-name>
+        <label>CP1S0</label>
+        <provisioned-circuit-pack>CP1-CFP0</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S1</slot-name>
+        <label>CP1S1</label>
+        <provisioned-circuit-pack>CP1-SFP1</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S2</slot-name>
+        <label>CP1S2</label>
+        <provisioned-circuit-pack>CP1-SFP2</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S3</slot-name>
+        <label>CP1S3</label>
+        <provisioned-circuit-pack>CP1-SFP3</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S4</slot-name>
+        <label>CP1S4</label>
+        <provisioned-circuit-pack>CP1-SFP4</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S5</slot-name>
+        <label>CP1S5</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S6</slot-name>
+        <label>CP1S6</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S7</slot-name>
+        <label>CP1S7</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S8</slot-name>
+        <label>CP1S8</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S9</slot-name>
+        <label>CP1S9</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S10</slot-name>
+        <label>CP1S10</label>
+      </cp-slots>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S1</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_sfp</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>SFP</model>
+      <serial-id>_OpticalClientSFP1234_</serial-id>
+      <type>client_pluggable_10G</type>
+      <product-code>client_10GE-LR</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-SFP1-P1</port-name>
+        <port-type>SFP</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-14.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-8.20</port-power-capability-min-tx>
+          <port-power-capability-max-rx>0.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.50</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S1</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_sfp</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>SFP</model>
+      <serial-id>_OpticalClientSFP1234_</serial-id>
+      <type>client_pluggable_10G</type>
+      <product-code>client_10GE-LR</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-SFP2-P1</port-name>
+        <port-type>SFP</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-14.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-8.20</port-power-capability-min-tx>
+          <port-power-capability-max-rx>0.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.50</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S2</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_sfp</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>SFP</model>
+      <serial-id>_OpticalClientSFP1234_</serial-id>
+      <type>client_pluggable_10G</type>
+      <product-code>client_10GE-LR</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-SFP3-P1</port-name>
+        <port-type>SFP</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-14.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-8.20</port-power-capability-min-tx>
+          <port-power-capability-max-rx>0.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.50</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S3</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_sfp</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>SFP</model>
+      <serial-id>_OpticalClientSFP1234_</serial-id>
+      <type>client_pluggable_10G</type>
+      <product-code>client_10GE-LR</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-SFP4-P1</port-name>
+        <port-type>SFP</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-14.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-8.20</port-power-capability-min-tx>
+          <port-power-capability-max-rx>0.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.50</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S4</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+      <circuit-pack-type>network_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP1234_</serial-id>
+      <type>Line_pluggable_100G</type>
+      <product-code>line_100GE</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-CFP0-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>xpdr-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S0</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2</circuit-pack-name>
+      <circuit-pack-type>client_mother-board-switch</circuit-pack-type>
+      <circuit-pack-product-code>Client_MB_Switch</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>MB2</model>
+      <serial-id>_C2-MB-Switch-Type1_</serial-id>
+      <type>100G-Client-MB</type>
+      <product-code>Client4x100</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>false</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <cp-slots>
+        <slot-name>CP2-S1</slot-name>
+        <label>CP2S1</label>
+        <provisioned-circuit-pack>CP2-QSFP1</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP2-S2</slot-name>
+        <label>CP2S2</label>
+        <provisioned-circuit-pack>CP2-QSFP2</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP2-S3</slot-name>
+        <label>CP2S3</label>
+        <provisioned-circuit-pack>CP2-QSFP3</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP2-S4</slot-name>
+        <label>CP2S4</label>
+        <provisioned-circuit-pack>CP2-QSFP4</provisioned-circuit-pack>
+      </cp-slots>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S2</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2-QSFP1</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_qsfp28</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>QSFP28</model>
+      <serial-id>_OpticalClientQSFP1234_</serial-id>
+      <type>client_pluggable_100GE_LR4</type>
+      <product-code>client_100G-LR4</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP2-QSFP1-P1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>switch-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-10.60</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-4.30</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.50</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP2</circuit-pack-name>
+        <cp-slot-name>CP2-S1</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2-QSFP2</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_qsfp28</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>QSFP28</model>
+      <serial-id>_OpticalClientQSFP1234_</serial-id>
+      <type>client_pluggable_100GE_LR4</type>
+      <product-code>client_100G-LR4</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP2-QSFP2-P1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>switch-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-10.60</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-4.30</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.50</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP2</circuit-pack-name>
+        <cp-slot-name>CP2-S2</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2-QSFP3</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_qsfp28</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>QSFP28</model>
+      <serial-id>_OpticalClientQSFP1234_</serial-id>
+      <type>client_pluggable_100GE_LR4</type>
+      <product-code>client_100G-LR4</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP2-QSFP3-P1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>switch-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-10.60</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-4.30</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.50</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP2</circuit-pack-name>
+        <cp-slot-name>CP2-S3</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2-QSFP4</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_qsfp28</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>QSFP28</model>
+      <serial-id>_OpticalClientQSFP1234_</serial-id>
+      <type>client_pluggable_100GE_LR4</type>
+      <product-code>client_100G-LR4</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP2-QSFP4-P1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>switch-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-10.60</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-4.30</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.50</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP2</circuit-pack-name>
+        <cp-slot-name>CP2-S4</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <xponder>
+      <xpdr-number>1</xpdr-number>
+      <xpdr-type>mpdr</xpdr-type>
+      <xpdr-port>
+        <index>1</index>
+        <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+        <port-name>CP1-CFP0-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>2</index>
+        <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+        <port-name>CP1-SFP1-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>3</index>
+        <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+        <port-name>CP1-SFP2-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>4</index>
+        <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+        <port-name>CP1-SFP3-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>5</index>
+        <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+        <port-name>CP1-SFP4-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+    </xponder>
+    <xponder>
+      <xpdr-number>2</xpdr-number>
+      <xpdr-type>switch</xpdr-type>
+      <xpdr-port>
+        <index>1</index>
+        <circuit-pack-name>CP2-QSFP1</circuit-pack-name>
+        <port-name>CP2-QSFP1-P1</port-name>
+        <eqpt-srg-id>2</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>2</index>
+        <circuit-pack-name>CP2-QSFP2</circuit-pack-name>
+        <port-name>CP2-QSFP2-P1</port-name>
+        <eqpt-srg-id>2</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>3</index>
+        <circuit-pack-name>CP2-QSFP3</circuit-pack-name>
+        <port-name>CP2-QSFP3-P1</port-name>
+        <eqpt-srg-id>2</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>4</index>
+        <circuit-pack-name>CP2-QSFP4</circuit-pack-name>
+        <port-name>CP2-QSFP4-P1</port-name>
+        <eqpt-srg-id>2</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>5</index>
+        <circuit-pack-name>CP5-CFP</circuit-pack-name>
+        <port-name>CP5-CFP-P1</port-name>
+        <eqpt-srg-id>3</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>6</index>
+        <circuit-pack-name>CP6-CFP</circuit-pack-name>
+        <port-name>CP6-CFP-P1</port-name>
+        <eqpt-srg-id>4</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>7</index>
+        <circuit-pack-name>CP7-CFP</circuit-pack-name>
+        <port-name>CP7-CFP-P1</port-name>
+        <eqpt-srg-id>5</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>8</index>
+        <circuit-pack-name>CP8-CFP</circuit-pack-name>
+        <port-name>CP8-CFP-P1</port-name>
+        <eqpt-srg-id>6</eqpt-srg-id>
+      </xpdr-port>
+    </xponder>
+    <odu-switching-pools>
+      <switching-pool-number>1</switching-pool-number>
+      <switching-pool-type xmlns:org-openroadm-switching-pool-types="http://org/openroadm/switching-pool-types">non-blocking</switching-pool-type>
+      <non-blocking-list>
+        <nbl-number>1</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S1</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>2</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S2</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>3</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S3</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>4</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S4</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>5</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S5</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>6</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S6</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>7</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S7</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>8</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S8</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>9</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S9</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>10</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S10</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>11</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+          <port-name>CP1-SFP1-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>12</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+          <port-name>CP1-SFP2-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>13</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+          <port-name>CP1-SFP3-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>14</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+          <port-name>CP1-SFP4-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+    </odu-switching-pools>
+    <odu-switching-pools>
+      <switching-pool-number>2</switching-pool-number>
+      <switching-pool-type xmlns:org-openroadm-switching-pool-types="http://org/openroadm/switching-pool-types">non-blocking</switching-pool-type>
+      <non-blocking-list>
+        <nbl-number>1</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP2</circuit-pack-name>
+          <slot-name>CP2-S1</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP2</circuit-pack-name>
+          <slot-name>CP2-S2</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP2</circuit-pack-name>
+          <slot-name>CP2-S3</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP2</circuit-pack-name>
+          <slot-name>CP2-S4</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP0</circuit-pack-name>
+          <slot-name>CP0-S5</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP0</circuit-pack-name>
+          <slot-name>CP0-S6</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP0</circuit-pack-name>
+          <slot-name>CP0-S7</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP0</circuit-pack-name>
+          <slot-name>CP0-S8</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>2</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP2-QSFP1</circuit-pack-name>
+          <port-name>CP2-QSFP1-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP2-QSFP2</circuit-pack-name>
+          <port-name>CP2-QSFP2-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP2-QSFP3</circuit-pack-name>
+          <port-name>CP2-QSFP3-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP2-QSFP4</circuit-pack-name>
+          <port-name>CP2-QSFP4-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP5-CFP</circuit-pack-name>
+          <port-name>CP5-CFP-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP6-CFP</circuit-pack-name>
+          <port-name>CP6-CFP-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP7-CFP</circuit-pack-name>
+          <port-name>CP7-CFP-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP8-CFP</circuit-pack-name>
+          <port-name>CP8-CFP-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+    </odu-switching-pools>
+    <port-group-restriction xmlns="http://org/openroadm/port-capability">
+      <port-bandwidth-sharing>
+        <port-sharing-id>1</port-sharing-id>
+        <port-list>
+          <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+          <port-name>CP1-SFP1-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+          <port-name>CP1-SFP2-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+          <port-name>CP1-SFP3-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+          <port-name>CP1-SFP4-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S1</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S2</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S3</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S4</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S5</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S6</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S7</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S8</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S9</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S10</slot-name>
+        </pluggable-optics-holder-list>
+        <shared-bandwidth>100</shared-bandwidth>
+        <possible-port-config>
+          <config-id>1</config-id>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+            <port-name>CP1-SFP1-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+            <port-name>CP1-SFP2-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+            <port-name>CP1-SFP3-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+            <port-name>CP1-SFP4-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+            <port-name>CP1-CFP0-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2e-ODU2e</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU4-ODU4</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</port-if-type>
+          </port-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S0</slot-name>
+            <port-name>CP1-CFP0-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2e-ODU2e</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU4-ODU4</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S1</slot-name>
+            <port-name>CP1-SFP1-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S2</slot-name>
+            <port-name>CP1-SFP2-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S3</slot-name>
+            <port-name>CP1-SFP3-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S4</slot-name>
+            <port-name>CP1-SFP4-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S5</slot-name>
+            <port-name>CP1-SFP5-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S6</slot-name>
+            <port-name>CP1-SFP6-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S7</slot-name>
+            <port-name>CP1-SFP7-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S8</slot-name>
+            <port-name>CP1-SFP8-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S9</slot-name>
+            <port-name>CP1-SFP9-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S10</slot-name>
+            <port-name>CP1-SFP10-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+        </possible-port-config>
+        <possible-port-config>
+          <config-id>2</config-id>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+            <port-name>CP1-SFP1-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+            <port-name>CP1-SFP2-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+            <port-name>CP1-SFP3-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+            <port-name>CP1-SFP4-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+            <port-name>CP1-CFP0-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU4-ODU4</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</port-if-type>
+          </port-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S0</slot-name>
+            <port-name>CP1-CFP0-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU4-ODU4</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S1</slot-name>
+            <port-name>CP1-SFP1-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S2</slot-name>
+            <port-name>CP1-SFP2-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S3</slot-name>
+            <port-name>CP1-SFP3-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S4</slot-name>
+            <port-name>CP1-SFP4-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S5</slot-name>
+            <port-name>CP1-SFP5-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S6</slot-name>
+            <port-name>CP1-SFP6-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S7</slot-name>
+            <port-name>CP1-SFP7-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S8</slot-name>
+            <port-name>CP1-SFP8-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S9</slot-name>
+            <port-name>CP1-SFP9-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S10</slot-name>
+            <port-name>CP1-SFP10-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+        </possible-port-config>
+      </port-bandwidth-sharing>
+    </port-group-restriction>
+  </org-openroadm-device>
+
+  <current-pm-list xmlns="http://org/openroadm/pm">
+    <current-pm-entry>
+      <pm-resource-instance xmlns:d="http://org/openroadm/device">/d:org-openroadm-device/d:interface[d:name='XPDR1-NETWORK1-OTU']</pm-resource-instance>
+      <pm-resource-type>interface</pm-resource-type>
+      <pm-resource-type-extension></pm-resource-type-extension>
+      <retrieval-time>2018-06-07T13:22:58+00:00</retrieval-time>
+      <current-pm>
+        <type>opticalPowerOutput</type>
+        <extension></extension>
+        <location>nearEnd</location>
+        <direction>tx</direction>
+        <measurement>
+          <granularity>15min</granularity>
+          <pmParameterValue>2.5</pmParameterValue>
+          <pmParameterUnit>dBm</pmParameterUnit>
+          <validity>complete</validity>
+        </measurement>
+        <measurement>
+          <granularity>24Hour</granularity>
+          <pmParameterValue>2.23</pmParameterValue>
+          <pmParameterUnit>dBm</pmParameterUnit>
+          <validity>complete</validity>
+        </measurement>
+      </current-pm>
+      <current-pm>
+        <type>opticalPowerInput</type>
+        <extension></extension>
+        <location>nearEnd</location>
+        <direction>rx</direction>
+        <measurement>
+          <granularity>15min</granularity>
+          <pmParameterValue>-45.1</pmParameterValue>
+          <pmParameterUnit>dBm</pmParameterUnit>
+          <validity>complete</validity>
+        </measurement>
+        <measurement>
+          <granularity>24Hour</granularity>
+          <pmParameterValue>-49.3</pmParameterValue>
+          <pmParameterUnit>dBm</pmParameterUnit>
+          <validity>complete</validity>
+        </measurement>
+      </current-pm>
+    </current-pm-entry>
+  </current-pm-list>
+
+</data>
diff --git a/tests/sample_configs/openroadm/7.1/oper-SPDRC.xml b/tests/sample_configs/openroadm/7.1/oper-SPDRC.xml
new file mode 100644 (file)
index 0000000..f73ea50
--- /dev/null
@@ -0,0 +1,1695 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+  <netconf xmlns="urn:ietf:params:xml:ns:netmod:notification">
+    <streams>
+      <stream>
+        <name>OPENROADM</name>
+      </stream>
+    </streams>
+  </netconf>
+  <org-openroadm-device xmlns="http://org/openroadm/device">
+    <info>
+      <node-id>SPDR-SC1</node-id>
+      <node-number>1</node-number>
+      <node-type>xpdr</node-type>
+      <clli>NodeSC</clli>
+      <vendor>vendorC</vendor>
+      <model>universal-switchponder</model>
+      <serial-id>us-1234</serial-id>
+      <ipAddress>1.2.3.6</ipAddress>
+      <prefix-length>24</prefix-length>
+      <defaultGateway>1.2.3.6</defaultGateway>
+      <source>static</source>
+      <current-ipAddress>1.2.3.6</current-ipAddress>
+      <current-prefix-length>10</current-prefix-length>
+      <current-defaultGateway>1.2.3.1</current-defaultGateway>
+      <macAddress>00:01:02:03:04:05</macAddress>
+      <softwareVersion>swversion1.0</softwareVersion>
+      <openroadm-version>2.2</openroadm-version>
+      <template>template_SWITCHPONDER</template>
+      <current-datetime>2019-07-20T15:23:43Z</current-datetime>
+      <geoLocation>
+        <latitude>1.0000</latitude>
+        <longitude>2.0000</longitude>
+      </geoLocation>
+    </info>
+    <users>
+      <user>
+        <name>openroadm</name>
+        <password>openroadm</password>
+        <group>sudo</group>
+      </user>
+    </users>
+    <shelves>
+      <shelf-name>SPShelf</shelf-name>
+      <shelf-type>pizza</shelf-type>
+      <rack>XYZ</rack>
+      <shelf-position>1</shelf-position>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorC</vendor>
+      <model>1</model>
+      <serial-id>MasterShelfSP</serial-id>
+      <type>pizza</type>
+      <product-code>SP1.6Tb</product-code>
+      <manufacture-date>2019-07-08T15:50:00+00:00</manufacture-date>
+      <clei>MyFirstSwitchPonder</clei>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <due-date>2019-07-08T15:50:00+00:00</due-date>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <slots>
+        <slot-name>Shelf-Master-Slot</slot-name>
+        <label>SMS</label>
+        <provisioned-circuit-pack>CP0</provisioned-circuit-pack>
+      </slots>
+    </shelves>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP0</circuit-pack-name>
+      <circuit-pack-type>Base_Switchponder_circuit_pack</circuit-pack-type>
+      <circuit-pack-product-code>baseSPDR</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>VendorC</vendor>
+      <model>UniversalSPonderBaseUnit</model>
+      <serial-id>USPBU1</serial-id>
+      <type>1.6TbSwitchPonder</type>
+      <product-code>baseSPDRUnit</product-code>
+      <manufacture-date>2019-07-08T15:50:00+00:00</manufacture-date>
+      <clei>MyFirstSWPONDERChassis</clei>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <is-pluggable-optics>false</is-pluggable-optics>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <cp-slots>
+        <slot-name>CP0-S1</slot-name>
+        <label>ClientModule1</label>
+        <provisioned-circuit-pack>CP1</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S2</slot-name>
+        <label>ClientModule2</label>
+        <provisioned-circuit-pack>CP2</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S3</slot-name>
+        <label>ClientModule3</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S4</slot-name>
+        <label>ClientModule4</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S5</slot-name>
+        <label>OpticalLine1</label>
+        <provisioned-circuit-pack>CP5</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S6</slot-name>
+        <label>OpticalLine2</label>
+        <provisioned-circuit-pack>CP6</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S7</slot-name>
+        <label>OpticalLine3</label>
+        <provisioned-circuit-pack>CP7</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP0-S8</slot-name>
+        <label>OpticalLine4</label>
+        <provisioned-circuit-pack>CP8</provisioned-circuit-pack>
+      </cp-slots>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP5-CFP</circuit-pack-name>
+      <circuit-pack-type>line_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP2345_</serial-id>
+      <type>line pluggable 100-400G</type>
+      <product-code>Line_100-400G</product-code>
+      <hardware-version>1.0</hardware-version>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <ports>
+        <port-name>CP5-CFP-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>switch-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP5-CFP</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP5-CFP-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S5</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP6-CFP</circuit-pack-name>
+      <circuit-pack-type>line_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP3456_</serial-id>
+      <type>line pluggable 100-400G</type>
+      <product-code>Line_100-400G</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP6-CFP-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>switch-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP6-CFP</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP6-CFP-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S6</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP7-CFP</circuit-pack-name>
+      <circuit-pack-type>line_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP4567_</serial-id>
+      <type>line pluggable 100-400G</type>
+      <product-code>Line_100-400G</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP7-CFP-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>switch-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP7-CFP</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP7-CFP-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S7</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP8-CFP</circuit-pack-name>
+      <circuit-pack-type>line_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP5678_</serial-id>
+      <type>line pluggable 100-400G</type>
+      <product-code>Line_100-400G</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP8-CFP-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>switch-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP8-CFP</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP8-CFP-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S8</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1</circuit-pack-name>
+      <circuit-pack-type>client_mother-board-muxponder</circuit-pack-type>
+      <circuit-pack-product-code>Client_MB_Muxponder</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>MB1</model>
+      <serial-id>_Cl-MB-Muxponder-Type1_</serial-id>
+      <type>10G-100G-MB</type>
+      <product-code>MUXP10:100</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>false</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <cp-slots>
+        <slot-name>CP1-S0</slot-name>
+        <label>CP1S0</label>
+        <provisioned-circuit-pack>CP1-CFP0</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S1</slot-name>
+        <label>CP1S1</label>
+        <provisioned-circuit-pack>CP1-SFP1</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S2</slot-name>
+        <label>CP1S2</label>
+        <provisioned-circuit-pack>CP1-SFP2</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S3</slot-name>
+        <label>CP1S3</label>
+        <provisioned-circuit-pack>CP1-SFP3</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S4</slot-name>
+        <label>CP1S4</label>
+        <provisioned-circuit-pack>CP1-SFP4</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S5</slot-name>
+        <label>CP1S5</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S6</slot-name>
+        <label>CP1S6</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S7</slot-name>
+        <label>CP1S7</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S8</slot-name>
+        <label>CP1S8</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S9</slot-name>
+        <label>CP1S9</label>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP1-S10</slot-name>
+        <label>CP1S10</label>
+      </cp-slots>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S1</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_sfp</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>SFP</model>
+      <serial-id>_OpticalClientSFP1234_</serial-id>
+      <type>client_pluggable_10G</type>
+      <product-code>client_10GE-LR</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-SFP1-P1</port-name>
+        <port-type>SFP</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-14.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-8.20</port-power-capability-min-tx>
+          <port-power-capability-max-rx>0.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.50</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S1</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_sfp</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>SFP</model>
+      <serial-id>_OpticalClientSFP1234_</serial-id>
+      <type>client_pluggable_10G</type>
+      <product-code>client_10GE-LR</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-SFP2-P1</port-name>
+        <port-type>SFP</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-14.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-8.20</port-power-capability-min-tx>
+          <port-power-capability-max-rx>0.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.50</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S2</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_sfp</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>SFP</model>
+      <serial-id>_OpticalClientSFP1234_</serial-id>
+      <type>client_pluggable_10G</type>
+      <product-code>client_10GE-LR</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-SFP3-P1</port-name>
+        <port-type>SFP</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-14.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-8.20</port-power-capability-min-tx>
+          <port-power-capability-max-rx>0.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.50</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S3</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_sfp</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>SFP</model>
+      <serial-id>_OpticalClientSFP1234_</serial-id>
+      <type>client_pluggable_10G</type>
+      <product-code>client_10GE-LR</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-SFP4-P1</port-name>
+        <port-type>SFP</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-14.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-8.20</port-power-capability-min-tx>
+          <port-power-capability-max-rx>0.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.50</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S4</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+      <circuit-pack-type>network_pluggable_cfp2</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>CFP2</model>
+      <serial-id>_OpticalLineCFP1234_</serial-id>
+      <type>Line_pluggable_100G</type>
+      <product-code>line_100GE</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP1-CFP0-P1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>xpdr-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+        <port-capabilities xmlns="http://org/openroadm/port-capability">
+          <supported-interface-capability>
+            <if-cap-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</if-cap-type>
+            <otn-capability>
+              <mpdr-client-restriction>
+                <network-ho-odu-circuit-pack-name>CP1-CFP0</network-ho-odu-circuit-pack-name>
+                <network-ho-odu-port-name>CP1-CFP0-P1</network-ho-odu-port-name>
+              </mpdr-client-restriction>
+            </otn-capability>
+          </supported-interface-capability>
+        </port-capabilities>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP1</circuit-pack-name>
+        <cp-slot-name>CP1-S0</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2</circuit-pack-name>
+      <circuit-pack-type>client_mother-board-switch</circuit-pack-type>
+      <circuit-pack-product-code>Client_MB_Switch</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>MB2</model>
+      <serial-id>_C2-MB-Switch-Type1_</serial-id>
+      <type>100G-Client-MB</type>
+      <product-code>Client4x100</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>false</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <cp-slots>
+        <slot-name>CP2-S1</slot-name>
+        <label>CP2S1</label>
+        <provisioned-circuit-pack>CP2-QSFP1</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP2-S2</slot-name>
+        <label>CP2S2</label>
+        <provisioned-circuit-pack>CP2-QSFP2</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP2-S3</slot-name>
+        <label>CP2S3</label>
+        <provisioned-circuit-pack>CP2-QSFP3</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>CP2-S4</slot-name>
+        <label>CP2S4</label>
+        <provisioned-circuit-pack>CP2-QSFP4</provisioned-circuit-pack>
+      </cp-slots>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP0</circuit-pack-name>
+        <cp-slot-name>CP0-S2</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2-QSFP1</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_qsfp28</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>QSFP28</model>
+      <serial-id>_OpticalClientQSFP1234_</serial-id>
+      <type>client_pluggable_100GE_LR4</type>
+      <product-code>client_100G-LR4</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP2-QSFP1-P1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>switch-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-10.60</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-4.30</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.50</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP2</circuit-pack-name>
+        <cp-slot-name>CP2-S1</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2-QSFP2</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_qsfp28</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>QSFP28</model>
+      <serial-id>_OpticalClientQSFP1234_</serial-id>
+      <type>client_pluggable_100GE_LR4</type>
+      <product-code>client_100G-LR4</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP2-QSFP2-P1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>switch-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-10.60</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-4.30</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.50</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP2</circuit-pack-name>
+        <cp-slot-name>CP2-S2</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2-QSFP3</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_qsfp28</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>QSFP28</model>
+      <serial-id>_OpticalClientQSFP1234_</serial-id>
+      <type>client_pluggable_100GE_LR4</type>
+      <product-code>client_100G-LR4</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP2-QSFP3-P1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>switch-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-10.60</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-4.30</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.50</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP2</circuit-pack-name>
+        <cp-slot-name>CP2-S3</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>CP2-QSFP4</circuit-pack-name>
+      <circuit-pack-type>client_pluggable_qsfp28</circuit-pack-type>
+      <circuit-pack-product-code>Client_CL_P</circuit-pack-product-code>
+      <vendor>VendorC</vendor>
+      <model>QSFP28</model>
+      <serial-id>_OpticalClientQSFP1234_</serial-id>
+      <type>client_pluggable_100GE_LR4</type>
+      <product-code>client_100G-LR4</product-code>
+      <hardware-version>1.0</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>SPShelf</shelf>
+      <slot>Shelf-Master-Slot</slot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>CP2-QSFP4-P1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>switch-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-10.60</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-4.30</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.50</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.50</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>CP2</circuit-pack-name>
+        <cp-slot-name>CP2-S4</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <xponder>
+      <xpdr-number>1</xpdr-number>
+      <xpdr-type>mpdr</xpdr-type>
+      <xpdr-port>
+        <index>1</index>
+        <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+        <port-name>CP1-CFP0-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>2</index>
+        <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+        <port-name>CP1-SFP1-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>3</index>
+        <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+        <port-name>CP1-SFP2-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>4</index>
+        <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+        <port-name>CP1-SFP3-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>5</index>
+        <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+        <port-name>CP1-SFP4-P1</port-name>
+        <eqpt-srg-id>1</eqpt-srg-id>
+      </xpdr-port>
+    </xponder>
+    <xponder>
+      <xpdr-number>2</xpdr-number>
+      <xpdr-type>switch</xpdr-type>
+      <xpdr-port>
+        <index>1</index>
+        <circuit-pack-name>CP2-QSFP1</circuit-pack-name>
+        <port-name>CP2-QSFP1-P1</port-name>
+        <eqpt-srg-id>2</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>2</index>
+        <circuit-pack-name>CP2-QSFP2</circuit-pack-name>
+        <port-name>CP2-QSFP2-P1</port-name>
+        <eqpt-srg-id>2</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>3</index>
+        <circuit-pack-name>CP2-QSFP3</circuit-pack-name>
+        <port-name>CP2-QSFP3-P1</port-name>
+        <eqpt-srg-id>2</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>4</index>
+        <circuit-pack-name>CP2-QSFP4</circuit-pack-name>
+        <port-name>CP2-QSFP4-P1</port-name>
+        <eqpt-srg-id>2</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>5</index>
+        <circuit-pack-name>CP5-CFP</circuit-pack-name>
+        <port-name>CP5-CFP-P1</port-name>
+        <eqpt-srg-id>3</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>6</index>
+        <circuit-pack-name>CP6-CFP</circuit-pack-name>
+        <port-name>CP6-CFP-P1</port-name>
+        <eqpt-srg-id>4</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>7</index>
+        <circuit-pack-name>CP7-CFP</circuit-pack-name>
+        <port-name>CP7-CFP-P1</port-name>
+        <eqpt-srg-id>5</eqpt-srg-id>
+      </xpdr-port>
+      <xpdr-port>
+        <index>8</index>
+        <circuit-pack-name>CP8-CFP</circuit-pack-name>
+        <port-name>CP8-CFP-P1</port-name>
+        <eqpt-srg-id>6</eqpt-srg-id>
+      </xpdr-port>
+    </xponder>
+    <odu-switching-pools>
+      <switching-pool-number>1</switching-pool-number>
+      <switching-pool-type xmlns:org-openroadm-switching-pool-types="http://org/openroadm/switching-pool-types">non-blocking</switching-pool-type>
+      <non-blocking-list>
+        <nbl-number>1</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S1</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>2</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S2</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>3</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S3</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>4</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S4</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>5</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S5</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>6</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S6</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>7</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S7</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>8</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S8</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>9</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S9</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>10</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S10</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>11</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+          <port-name>CP1-SFP1-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>12</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+          <port-name>CP1-SFP2-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>13</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+          <port-name>CP1-SFP3-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>14</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+          <port-name>CP1-SFP4-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+    </odu-switching-pools>
+    <odu-switching-pools>
+      <switching-pool-number>2</switching-pool-number>
+      <switching-pool-type xmlns:org-openroadm-switching-pool-types="http://org/openroadm/switching-pool-types">non-blocking</switching-pool-type>
+      <non-blocking-list>
+        <nbl-number>1</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP2</circuit-pack-name>
+          <slot-name>CP2-S1</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP2</circuit-pack-name>
+          <slot-name>CP2-S2</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP2</circuit-pack-name>
+          <slot-name>CP2-S3</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP2</circuit-pack-name>
+          <slot-name>CP2-S4</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP0</circuit-pack-name>
+          <slot-name>CP0-S5</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP0</circuit-pack-name>
+          <slot-name>CP0-S6</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP0</circuit-pack-name>
+          <slot-name>CP0-S7</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP0</circuit-pack-name>
+          <slot-name>CP0-S8</slot-name>
+        </pluggable-optics-holder-list>
+      </non-blocking-list>
+      <non-blocking-list>
+        <nbl-number>2</nbl-number>
+        <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
+        <interconnect-bandwidth>0</interconnect-bandwidth>
+        <port-list>
+          <circuit-pack-name>CP2-QSFP1</circuit-pack-name>
+          <port-name>CP2-QSFP1-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP2-QSFP2</circuit-pack-name>
+          <port-name>CP2-QSFP2-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP2-QSFP3</circuit-pack-name>
+          <port-name>CP2-QSFP3-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP2-QSFP4</circuit-pack-name>
+          <port-name>CP2-QSFP4-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP5-CFP</circuit-pack-name>
+          <port-name>CP5-CFP-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP6-CFP</circuit-pack-name>
+          <port-name>CP6-CFP-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP7-CFP</circuit-pack-name>
+          <port-name>CP7-CFP-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP8-CFP</circuit-pack-name>
+          <port-name>CP8-CFP-P1</port-name>
+        </port-list>
+      </non-blocking-list>
+    </odu-switching-pools>
+    <port-group-restriction xmlns="http://org/openroadm/port-capability">
+      <port-bandwidth-sharing>
+        <port-sharing-id>1</port-sharing-id>
+        <port-list>
+          <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+          <port-name>CP1-SFP1-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+          <port-name>CP1-SFP2-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+          <port-name>CP1-SFP3-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+          <port-name>CP1-SFP4-P1</port-name>
+        </port-list>
+        <port-list>
+          <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+          <port-name>CP1-CFP0-P1</port-name>
+        </port-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S0</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S1</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S2</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S3</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S4</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S5</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S6</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S7</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S8</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S9</slot-name>
+        </pluggable-optics-holder-list>
+        <pluggable-optics-holder-list>
+          <circuit-pack-name>CP1</circuit-pack-name>
+          <slot-name>CP1-S10</slot-name>
+        </pluggable-optics-holder-list>
+        <shared-bandwidth>100</shared-bandwidth>
+        <possible-port-config>
+          <config-id>1</config-id>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+            <port-name>CP1-SFP1-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+            <port-name>CP1-SFP2-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+            <port-name>CP1-SFP3-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+            <port-name>CP1-SFP4-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+            <port-name>CP1-CFP0-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2e-ODU2e</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU4-ODU4</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</port-if-type>
+          </port-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S0</slot-name>
+            <port-name>CP1-CFP0-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2e-ODU2e</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU4-ODU4</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S1</slot-name>
+            <port-name>CP1-SFP1-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S2</slot-name>
+            <port-name>CP1-SFP2-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S3</slot-name>
+            <port-name>CP1-SFP3-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S4</slot-name>
+            <port-name>CP1-SFP4-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S5</slot-name>
+            <port-name>CP1-SFP5-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S6</slot-name>
+            <port-name>CP1-SFP6-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S7</slot-name>
+            <port-name>CP1-SFP7-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S8</slot-name>
+            <port-name>CP1-SFP8-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S9</slot-name>
+            <port-name>CP1-SFP9-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S10</slot-name>
+            <port-name>CP1-SFP10-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2e</port-if-type>
+          </slot-if-type-config>
+        </possible-port-config>
+        <possible-port-config>
+          <config-id>2</config-id>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP1</circuit-pack-name>
+            <port-name>CP1-SFP1-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP2</circuit-pack-name>
+            <port-name>CP1-SFP2-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP3</circuit-pack-name>
+            <port-name>CP1-SFP3-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-SFP4</circuit-pack-name>
+            <port-name>CP1-SFP4-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </port-if-type-config>
+          <port-if-type-config>
+            <circuit-pack-name>CP1-CFP0</circuit-pack-name>
+            <port-name>CP1-CFP0-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU4-ODU4</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</port-if-type>
+          </port-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S0</slot-name>
+            <port-name>CP1-CFP0-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU4-ODU4</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU4-ODU4</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S1</slot-name>
+            <port-name>CP1-SFP1-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S2</slot-name>
+            <port-name>CP1-SFP2-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S3</slot-name>
+            <port-name>CP1-SFP3-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S4</slot-name>
+            <port-name>CP1-SFP4-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S5</slot-name>
+            <port-name>CP1-SFP5-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S6</slot-name>
+            <port-name>CP1-SFP6-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S7</slot-name>
+            <port-name>CP1-SFP7-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S8</slot-name>
+            <port-name>CP1-SFP8-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S9</slot-name>
+            <port-name>CP1-SFP9-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+          <slot-if-type-config>
+            <circuit-pack-name>CP1</circuit-pack-name>
+            <slot-name>CP1-S10</slot-name>
+            <port-name>CP1-SFP10-P1</port-name>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-10GE-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OTU2-ODU2</port-if-type>
+            <port-if-type xmlns:org-openroadm-port-types="http://org/openroadm/port/types">org-openroadm-port-types:if-OCH-OTU2-ODU2</port-if-type>
+          </slot-if-type-config>
+        </possible-port-config>
+      </port-bandwidth-sharing>
+    </port-group-restriction>
+  </org-openroadm-device>
+
+  <current-pm-list xmlns="http://org/openroadm/pm">
+    <current-pm-entry>
+      <pm-resource-instance xmlns:d="http://org/openroadm/device">/d:org-openroadm-device/d:interface[d:name='XPDR1-NETWORK1-OTU']</pm-resource-instance>
+      <pm-resource-type>interface</pm-resource-type>
+      <pm-resource-type-extension></pm-resource-type-extension>
+      <retrieval-time>2018-06-07T13:22:58+00:00</retrieval-time>
+      <current-pm>
+        <type>opticalPowerOutput</type>
+        <extension></extension>
+        <location>nearEnd</location>
+        <direction>tx</direction>
+        <measurement>
+          <granularity>15min</granularity>
+          <pmParameterValue>2.5</pmParameterValue>
+          <pmParameterUnit>dBm</pmParameterUnit>
+          <validity>complete</validity>
+        </measurement>
+        <measurement>
+          <granularity>24Hour</granularity>
+          <pmParameterValue>2.23</pmParameterValue>
+          <pmParameterUnit>dBm</pmParameterUnit>
+          <validity>complete</validity>
+        </measurement>
+      </current-pm>
+      <current-pm>
+        <type>opticalPowerInput</type>
+        <extension></extension>
+        <location>nearEnd</location>
+        <direction>rx</direction>
+        <measurement>
+          <granularity>15min</granularity>
+          <pmParameterValue>-45.1</pmParameterValue>
+          <pmParameterUnit>dBm</pmParameterUnit>
+          <validity>complete</validity>
+        </measurement>
+        <measurement>
+          <granularity>24Hour</granularity>
+          <pmParameterValue>-49.3</pmParameterValue>
+          <pmParameterUnit>dBm</pmParameterUnit>
+          <validity>complete</validity>
+        </measurement>
+      </current-pm>
+    </current-pm-entry>
+  </current-pm-list>
+
+</data>
diff --git a/tests/sample_configs/openroadm/7.1/oper-XPDRA.xml b/tests/sample_configs/openroadm/7.1/oper-XPDRA.xml
new file mode 100644 (file)
index 0000000..132eeed
--- /dev/null
@@ -0,0 +1,384 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+  <netconf xmlns="urn:ietf:params:xml:ns:netmod:notification">
+  <streams>
+    <stream>
+      <name>OPENROADM</name>
+    </stream>
+  </streams>
+</netconf>
+  <org-openroadm-device xmlns="http://org/openroadm/device">
+    <info>
+      <node-id>XPDR-A1</node-id>
+      <node-number>1</node-number>
+      <node-type>xpdr</node-type>
+      <clli>NodeA</clli>
+      <vendor>vendorA</vendor>
+      <model>model2</model>
+      <serial-id>nodeid-1234</serial-id>
+      <ipAddress>1.2.3.4</ipAddress>
+      <prefix-length>24</prefix-length>
+      <defaultGateway>1.2.3.4</defaultGateway>
+      <source>static</source>
+      <current-ipAddress>1.2.3.4</current-ipAddress>
+      <current-prefix-length>10</current-prefix-length>
+      <current-defaultGateway>1.2.3.1</current-defaultGateway>
+      <macAddress>00:01:02:03:04:05</macAddress>
+      <softwareVersion>swversion1234</softwareVersion>
+      <openroadm-version>2.2</openroadm-version>
+      <template>template_TRANSPONDER</template>
+      <current-datetime>2017-10-22T15:23:43Z</current-datetime>
+      <geoLocation>
+        <latitude>1.0000</latitude>
+        <longitude>2.0000</longitude>
+      </geoLocation>
+    </info>
+    <users>
+      <user>
+        <name>openroadm</name>
+        <password>openroadm</password>
+        <group>sudo</group>
+      </user>
+    </users>
+    <shelves>
+      <shelf-name>1</shelf-name>
+      <shelf-type>pizza</shelf-type>
+      <rack>XYZ</rack>
+      <shelf-position>1</shelf-position>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <vendor>vendorA</vendor>
+      <model>1</model>
+      <serial-id>nodeid-1</serial-id>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <type>pizza</type>
+      <product-code>zzz</product-code>
+      <manufacture-date>2017-04-01T00:00:00+00:00</manufacture-date>
+      <clei>1234567890</clei>
+      <due-date>2017-02-24T15:56:10+00:00</due-date>
+      <slots>
+        <slot-name>1</slot-name>
+        <label>1</label>
+        <provisioned-circuit-pack>1/0</provisioned-circuit-pack>
+      </slots>
+    </shelves>
+    <circuit-packs>
+      <circuit-pack-type>Base_transponder_circuit_pack</circuit-pack-type>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <vendor>VendorA</vendor>
+      <model>model1</model>
+      <serial-id>nodeid-1234</serial-id>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <is-pluggable-optics>false</is-pluggable-optics>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <circuit-pack-product-code>baseXPDR</circuit-pack-product-code>
+      <circuit-pack-name>1/0</circuit-pack-name>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <type>XPDR1</type>
+      <product-code>baseXPDR</product-code>
+      <manufacture-date>2007-10-10T00:00:00Z</manufacture-date>
+      <clei>12345678901</clei>
+      <hardware-version>0.1</hardware-version>
+      <cp-slots>
+        <slot-name>1</slot-name>
+        <label>1</label>
+        <provisioned-circuit-pack>1/0/1-PLUG-NET</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>2</slot-name>
+        <label>2</label>
+        <provisioned-circuit-pack>1/0/1-PLUG-CLIENT</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>3</slot-name>
+        <label>1</label>
+        <provisioned-circuit-pack>1/0/2-PLUG-NET</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>4</slot-name>
+        <label>2</label>
+        <provisioned-circuit-pack>1/0/2-PLUG-CLIENT</provisioned-circuit-pack>
+      </cp-slots>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/1-PLUG-NET</circuit-pack-name>
+      <circuit-pack-type>line_pluggable</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>_1234_</serial-id>
+      <type>line/network pluggable</type>
+      <product-code>Line_NW_P</product-code>
+      <hardware-version>0.1</hardware-version>
+      <administrative-state>inService</administrative-state>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>1</subSlot>
+      <is-pluggable-optics>false</is-pluggable-optics>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <equipment-state>not-reserved-available</equipment-state>
+      <ports>
+        <port-name>1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>xpdr-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>1</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/1-PLUG-CLIENT</circuit-pack-name>
+      <circuit-pack-type>client_pluggable</circuit-pack-type>
+      <circuit-pack-product-code>Client_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>client_pluggable</model>
+      <serial-id>_1234_</serial-id>
+      <type>QSFP28</type>
+      <product-code>Client_P</product-code>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>1</subSlot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <equipment-state>not-reserved-available</equipment-state>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <transponder-port>
+          <port-power-capability-min-rx>-4.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-10.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.00</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>2</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
+      <circuit-pack-type>line_pluggable</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>_1234_</serial-id>
+      <type>line/network pluggable</type>
+      <product-code>Line_NW_P</product-code>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>1</subSlot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>xpdr-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>3</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
+      <circuit-pack-type>client_pluggable</circuit-pack-type>
+      <circuit-pack-product-code>Client_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>client_pluggable</model>
+      <serial-id>_1234_</serial-id>
+      <type>QSFP28</type>
+      <product-code>Client_P</product-code>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>1</subSlot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-4.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-10.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.00</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>4</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+
+    <connection-map>
+      <connection-map-number>1</connection-map-number>
+      <source>
+        <circuit-pack-name>1/0/1-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/1-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/2-PLUG-CLIENT</circuit-pack-name>
+        <port-name>C1</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/2-PLUG-CLIENT</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </connection-map>
+  </org-openroadm-device>
+  <current-pm-list xmlns="http://org/openroadm/pm">
+  <current-pm-entry>
+    <pm-resource-instance xmlns:d="http://org/openroadm/device">/d:org-openroadm-device/d:interface[d:name='XPDR1-NETWORK1-OTU']</pm-resource-instance>
+    <pm-resource-type>interface</pm-resource-type>
+    <pm-resource-type-extension></pm-resource-type-extension>
+    <retrieval-time>2018-06-07T13:22:58+00:00</retrieval-time>
+    <current-pm>
+      <type>opticalPowerOutput</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>tx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>2.5</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>2.23</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+    <current-pm>
+      <type>opticalPowerInput</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>rx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>-45.1</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>-49.3</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+  </current-pm-entry>
+</current-pm-list>
+</data>
diff --git a/tests/sample_configs/openroadm/7.1/oper-XPDRC.xml b/tests/sample_configs/openroadm/7.1/oper-XPDRC.xml
new file mode 100644 (file)
index 0000000..5bf1463
--- /dev/null
@@ -0,0 +1,383 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
+  <netconf xmlns="urn:ietf:params:xml:ns:netmod:notification">
+  <streams>
+    <stream>
+      <name>OPENROADM</name>
+    </stream>
+  </streams>
+</netconf>
+  <org-openroadm-device xmlns="http://org/openroadm/device">
+    <info>
+      <node-id>XPDR-C1</node-id>
+      <node-number>1</node-number>
+      <node-type>xpdr</node-type>
+      <clli>NodeC</clli>
+      <vendor>vendorA</vendor>
+      <model>model2</model>
+      <serial-id>nodeid-1234</serial-id>
+      <ipAddress>1.2.3.4</ipAddress>
+      <prefix-length>24</prefix-length>
+      <defaultGateway>1.2.3.4</defaultGateway>
+      <source>static</source>
+      <current-ipAddress>1.2.3.4</current-ipAddress>
+      <current-prefix-length>10</current-prefix-length>
+      <current-defaultGateway>1.2.3.1</current-defaultGateway>
+      <macAddress>00:01:02:03:04:05</macAddress>
+      <softwareVersion>swversion1234</softwareVersion>
+      <openroadm-version>2.2</openroadm-version>
+      <template>template_TRANSPONDER</template>
+      <current-datetime>2017-10-22T15:23:43Z</current-datetime>
+      <geoLocation>
+        <latitude>1.0000</latitude>
+        <longitude>2.0000</longitude>
+      </geoLocation>
+    </info>
+    <users>
+      <user>
+        <name>openroadm</name>
+        <password>openroadm</password>
+        <group>sudo</group>
+      </user>
+    </users>
+    <shelves>
+      <shelf-name>1</shelf-name>
+      <shelf-type>pizza</shelf-type>
+      <rack>XYZ</rack>
+      <shelf-position>1</shelf-position>
+      <administrative-state>inService</administrative-state>
+      <vendor>vendorA</vendor>
+      <model>1</model>
+      <serial-id>nodeid-1</serial-id>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <type>pizza</type>
+      <product-code>zzz</product-code>
+      <manufacture-date>2017-04-01T00:00:00+00:00</manufacture-date>
+      <clei>1234567890</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <due-date>2017-02-24T15:56:10+00:00</due-date>
+      <slots>
+        <slot-name>1</slot-name>
+        <label>1</label>
+        <provisioned-circuit-pack>1/0</provisioned-circuit-pack>
+      </slots>
+    </shelves>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0</circuit-pack-name>
+      <circuit-pack-type>Base_transponder_circuit_pack</circuit-pack-type>
+      <circuit-pack-product-code>baseXPDR</circuit-pack-product-code>
+      <administrative-state>inService</administrative-state>
+      <vendor>VendorA</vendor>
+      <model>model1</model>
+      <serial-id>nodeid-1234</serial-id>
+      <type>XPDR1</type>
+      <product-code>baseXPDR</product-code>
+      <manufacture-date>2007-10-10T00:00:00Z</manufacture-date>
+      <clei>12345678901</clei>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <is-pluggable-optics>false</is-pluggable-optics>
+      <circuit-pack-mode>inServiceMode</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <cp-slots>
+        <slot-name>1</slot-name>
+        <label>1</label>
+        <provisioned-circuit-pack>1/0/1-PLUG-NET</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>2</slot-name>
+        <label>2</label>
+        <provisioned-circuit-pack>1/0/1-PLUG-CLIENT</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>3</slot-name>
+        <label>1</label>
+        <provisioned-circuit-pack>1/0/2-PLUG-NET</provisioned-circuit-pack>
+      </cp-slots>
+      <cp-slots>
+        <slot-name>4</slot-name>
+        <label>2</label>
+        <provisioned-circuit-pack>1/0/3-PLUG-CLIENT</provisioned-circuit-pack>
+      </cp-slots>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/1-PLUG-NET</circuit-pack-name>
+      <circuit-pack-type>line_pluggable</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>_1234_</serial-id>
+      <type>line/network pluggable</type>
+      <product-code>Line_NW_P</product-code>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>1</subSlot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>xpdr-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>1</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/1-PLUG-CLIENT</circuit-pack-name>
+      <circuit-pack-type>client_pluggable</circuit-pack-type>
+      <circuit-pack-product-code>Client_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>client_pluggable</model>
+      <serial-id>_1234_</serial-id>
+      <type>QSFP28</type>
+      <product-code>Client_P</product-code>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>1</subSlot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-4.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-10.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.00</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>2</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/2-PLUG-NET</circuit-pack-name>
+      <circuit-pack-type>line_pluggable</circuit-pack-type>
+      <circuit-pack-product-code>Line_NW_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>CFP2</model>
+      <serial-id>_1234_</serial-id>
+      <type>line/network pluggable</type>
+      <product-code>Line_NW_P</product-code>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>1</subSlot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>1</port-name>
+        <port-type>CFP2</port-type>
+        <port-qual>xpdr-network</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-22.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-5.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>1.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>0.00</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>3</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+    <circuit-packs>
+      <circuit-pack-category>
+        <type>circuitPack</type>
+      </circuit-pack-category>
+      <circuit-pack-name>1/0/2-PLUG-CLIENT</circuit-pack-name>
+      <circuit-pack-type>client_pluggable</circuit-pack-type>
+      <circuit-pack-product-code>Client_P</circuit-pack-product-code>
+      <vendor>VendorA</vendor>
+      <model>client_pluggable</model>
+      <serial-id>_1234_</serial-id>
+      <type>QSFP28</type>
+      <product-code>Client_P</product-code>
+      <hardware-version>0.1</hardware-version>
+      <operational-state>inService</operational-state>
+      <circuit-pack-mode>NORMAL</circuit-pack-mode>
+      <shelf>1</shelf>
+      <slot>1</slot>
+      <subSlot>1</subSlot>
+      <is-pluggable-optics>true</is-pluggable-optics>
+      <is-physical>true</is-physical>
+      <is-passive>true</is-passive>
+      <faceplate-label>xponder-XPDRA</faceplate-label>
+      <administrative-state>inService</administrative-state>
+      <ports>
+        <port-name>C1</port-name>
+        <port-type>QSFP28</port-type>
+        <port-qual>xpdr-client</port-qual>
+        <port-wavelength-type>wavelength</port-wavelength-type>
+        <port-direction>bidirectional</port-direction>
+        <administrative-state>inService</administrative-state>
+        <operational-state>inService</operational-state>
+        <is-physical>true</is-physical>
+        <faceplate-label>xponder-XPDRA</faceplate-label>
+        <transponder-port>
+          <port-power-capability-min-rx>-4.00</port-power-capability-min-rx>
+          <port-power-capability-min-tx>-10.00</port-power-capability-min-tx>
+          <port-power-capability-max-rx>4.00</port-power-capability-max-rx>
+          <port-power-capability-max-tx>4.00</port-power-capability-max-tx>
+        </transponder-port>
+      </ports>
+      <parent-circuit-pack>
+        <circuit-pack-name>1/0</circuit-pack-name>
+        <cp-slot-name>4</cp-slot-name>
+      </parent-circuit-pack>
+    </circuit-packs>
+
+    <connection-map>
+      <connection-map-number>1</connection-map-number>
+      <source>
+        <circuit-pack-name>1/0/1-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/1-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/2-PLUG-CLIENT</circuit-pack-name>
+        <port-name>C1</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/2-PLUG-CLIENT</circuit-pack-name>
+        <port-name>C1</port-name>
+      </destination>
+    </connection-map>
+  </org-openroadm-device>
+  <current-pm-list xmlns="http://org/openroadm/pm">
+  <current-pm-entry>
+    <pm-resource-instance xmlns:d="http://org/openroadm/device">/d:org-openroadm-device/d:interface[d:name='XPDR1-NETWORK1-OTU']</pm-resource-instance>
+    <pm-resource-type>interface</pm-resource-type>
+    <pm-resource-type-extension></pm-resource-type-extension>
+    <retrieval-time>2018-06-07T13:22:58+00:00</retrieval-time>
+    <current-pm>
+      <type>opticalPowerOutput</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>tx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>2.5</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>2.23</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+    <current-pm>
+      <type>opticalPowerInput</type>
+      <extension></extension>
+      <location>nearEnd</location>
+      <direction>rx</direction>
+      <measurement>
+        <granularity>15min</granularity>
+        <pmParameterValue>-45.1</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+      <measurement>
+        <granularity>24Hour</granularity>
+        <pmParameterValue>-49.3</pmParameterValue>
+        <pmParameterUnit>dBm</pmParameterUnit>
+        <validity>complete</validity>
+      </measurement>
+    </current-pm>
+  </current-pm-entry>
+</current-pm-list>
+</data>