TAPI topology consolidation
[transportpce.git] / tapi / src / test / resources / otn-topology.xml
diff --git a/tapi/src/test/resources/otn-topology.xml b/tapi/src/test/resources/otn-topology.xml
deleted file mode 100644 (file)
index 2db86fd..0000000
+++ /dev/null
@@ -1,282 +0,0 @@
-<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
-<networks xmlns="urn:ietf:params:xml:ns:yang:ietf-network">
-<network>
-  <network-id>otn-topology</network-id>
-  <network-types>
-    <openroadm-common-network xmlns="http://org/openroadm/common/network"/>
-  </network-types>
-  <node>
-    <node-id>SPDR-SA1-XPDR2</node-id>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR2-NETWORK2</tp-id>
-      <supporting-termination-point>
-        <network-ref>openroadm-topology</network-ref>
-        <node-ref>SPDR-SA1-XPDR2</node-ref>
-        <tp-ref>XPDR2-NETWORK2</tp-ref>
-      </supporting-termination-point>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-OCH-OTU4-ODU4</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU4</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-NETWORK</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR2-NETWORK1</tp-id>
-      <supporting-termination-point>
-        <network-ref>openroadm-topology</network-ref>
-        <node-ref>SPDR-SA1-XPDR2</node-ref>
-        <tp-ref>XPDR2-NETWORK1</tp-ref>
-      </supporting-termination-point>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-OCH-OTU4-ODU4</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU4</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-NETWORK</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR2-NETWORK4</tp-id>
-      <supporting-termination-point>
-        <network-ref>openroadm-topology</network-ref>
-        <node-ref>SPDR-SA1-XPDR2</node-ref>
-        <tp-ref>XPDR2-NETWORK4</tp-ref>
-      </supporting-termination-point>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-OCH-OTU4-ODU4</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU4</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-NETWORK</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR2-NETWORK3</tp-id>
-      <supporting-termination-point>
-        <network-ref>openroadm-topology</network-ref>
-        <node-ref>SPDR-SA1-XPDR2</node-ref>
-        <tp-ref>XPDR2-NETWORK3</tp-ref>
-      </supporting-termination-point>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-OCH-OTU4-ODU4</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU4</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-NETWORK</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR2-CLIENT4</tp-id>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-100GE-ODU4</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU4</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-CLIENT</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR2-CLIENT2</tp-id>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-100GE-ODU4</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU4</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-CLIENT</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR2-CLIENT3</tp-id>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-100GE-ODU4</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU4</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-CLIENT</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR2-CLIENT1</tp-id>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-100GE-ODU4</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU4</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-CLIENT</tp-type>
-    </termination-point>
-    <node-type xmlns="http://org/openroadm/common/network">SWITCH</node-type>
-    <tp-bandwidth-sharing xmlns="http://org/openroadm/otn/network/topology"/>
-    <xpdr-attributes xmlns="http://org/openroadm/otn/network/topology">
-      <xpdr-number>2</xpdr-number>
-    </xpdr-attributes>
-    <switching-pools xmlns="http://org/openroadm/otn/network/topology">
-      <odu-switching-pools>
-        <switching-pool-number>1</switching-pool-number>
-        <switching-pool-type>non-blocking</switching-pool-type>
-        <non-blocking-list>
-          <nbl-number>1</nbl-number>
-          <tp-list>XPDR2-NETWORK4</tp-list>
-          <tp-list>XPDR2-CLIENT1</tp-list>
-          <tp-list>XPDR2-NETWORK3</tp-list>
-          <tp-list>XPDR2-CLIENT4</tp-list>
-          <tp-list>XPDR2-CLIENT2</tp-list>
-          <tp-list>XPDR2-NETWORK2</tp-list>
-          <tp-list>XPDR2-CLIENT3</tp-list>
-          <tp-list>XPDR2-NETWORK1</tp-list>
-        </non-blocking-list>
-      </odu-switching-pools>
-    </switching-pools>
-    <supporting-node>
-      <network-ref>clli-network</network-ref>
-      <node-ref>NodeSA</node-ref>
-    </supporting-node>
-    <supporting-node>
-      <network-ref>openroadm-topology</network-ref>
-      <node-ref>SPDR-SA1-XPDR2</node-ref>
-    </supporting-node>
-    <supporting-node>
-      <network-ref>openroadm-network</network-ref>
-      <node-ref>SPDR-SA1</node-ref>
-    </supporting-node>
-  </node>
-  <node>
-    <node-id>SPDR-SA1-XPDR1</node-id>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR1-CLIENT2</tp-id>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-10GE-ODU2e</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU2e</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-CLIENT</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR1-CLIENT1</tp-id>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-10GE-ODU2e</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU2e</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-CLIENT</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR1-CLIENT4</tp-id>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-10GE-ODU2e</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU2e</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-CLIENT</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR1-NETWORK1</tp-id>
-      <supporting-termination-point>
-        <network-ref>openroadm-topology</network-ref>
-        <node-ref>SPDR-SA1-XPDR1</node-ref>
-        <tp-ref>XPDR1-NETWORK1</tp-ref>
-      </supporting-termination-point>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-OCH-OTU4-ODU4</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU4</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-NETWORK</tp-type>
-    </termination-point>
-    <termination-point xmlns="urn:ietf:params:xml:ns:yang:ietf-network-topology">
-      <tp-id>XPDR1-CLIENT3</tp-id>
-      <tp-supported-interfaces xmlns="http://org/openroadm/otn/network/topology">
-        <supported-interface-capability>
-          <if-cap-type xmlns:x="http://org/openroadm/port/types">x:if-10GE-ODU2e</if-cap-type>
-        </supported-interface-capability>
-      </tp-supported-interfaces>
-      <xpdr-tp-port-connection-attributes xmlns="http://org/openroadm/otn/network/topology">
-        <rate xmlns:x="http://org/openroadm/otn-common-types">x:ODU2e</rate>
-      </xpdr-tp-port-connection-attributes>
-      <tp-type xmlns="http://org/openroadm/common/network">XPONDER-CLIENT</tp-type>
-    </termination-point>
-    <node-type xmlns="http://org/openroadm/common/network">MUXPDR</node-type>
-    <tp-bandwidth-sharing xmlns="http://org/openroadm/otn/network/topology"/>
-    <xpdr-attributes xmlns="http://org/openroadm/otn/network/topology">
-      <xpdr-number>1</xpdr-number>
-    </xpdr-attributes>
-    <switching-pools xmlns="http://org/openroadm/otn/network/topology">
-      <odu-switching-pools>
-        <switching-pool-number>1</switching-pool-number>
-        <switching-pool-type>non-blocking</switching-pool-type>
-        <non-blocking-list>
-          <nbl-number>3</nbl-number>
-          <available-interconnect-bandwidth>10</available-interconnect-bandwidth>
-          <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
-          <tp-list>XPDR1-NETWORK1</tp-list>
-          <tp-list>XPDR1-CLIENT3</tp-list>
-        </non-blocking-list>
-        <non-blocking-list>
-          <nbl-number>4</nbl-number>
-          <available-interconnect-bandwidth>10</available-interconnect-bandwidth>
-          <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
-          <tp-list>XPDR1-CLIENT4</tp-list>
-          <tp-list>XPDR1-NETWORK1</tp-list>
-        </non-blocking-list>
-        <non-blocking-list>
-          <nbl-number>1</nbl-number>
-          <available-interconnect-bandwidth>10</available-interconnect-bandwidth>
-          <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
-          <tp-list>XPDR1-NETWORK1</tp-list>
-          <tp-list>XPDR1-CLIENT1</tp-list>
-        </non-blocking-list>
-        <non-blocking-list>
-          <nbl-number>2</nbl-number>
-          <available-interconnect-bandwidth>10</available-interconnect-bandwidth>
-          <interconnect-bandwidth-unit>1000000000</interconnect-bandwidth-unit>
-          <tp-list>XPDR1-NETWORK1</tp-list>
-          <tp-list>XPDR1-CLIENT2</tp-list>
-        </non-blocking-list>
-      </odu-switching-pools>
-    </switching-pools>
-    <supporting-node>
-      <network-ref>clli-network</network-ref>
-      <node-ref>NodeSA</node-ref>
-    </supporting-node>
-    <supporting-node>
-      <network-ref>openroadm-topology</network-ref>
-      <node-ref>SPDR-SA1-XPDR1</node-ref>
-    </supporting-node>
-    <supporting-node>
-      <network-ref>openroadm-network</network-ref>
-      <node-ref>SPDR-SA1</node-ref>
-    </supporting-node>
-  </node>
-</network>
-</networks>
-</data>
\ No newline at end of file