create json files for GNPy functional tests 85/82785/3
authorAhmed Triki <ahmed.triki@orange.com>
Fri, 28 Jun 2019 17:07:51 +0000 (19:07 +0200)
committerguillaume.lambert <guillaume.lambert@orange.com>
Mon, 1 Jul 2019 11:58:43 +0000 (13:58 +0200)
- put topology descriptions in json files
  (instead of directly in the script)
- those json files describe the clli, openroadm and openroadm network
  topologies, that are needed to generate the GNPy topology.
- These sample configs contain two transponders and three ROADMs
- The oms attributes are considered for ROADM-to-ROADM links.

JIRA: TRNSPRTPCE-131,TRNSPRTPCE-95

Change-Id: Ia06aa0db56049759ea43a2bf8603f2ede318b7f2
Signed-off-by: Ahmed Triki <ahmed.triki@orange.com>
tests/sample_configs/gnpy/clliNetwork.json [new file with mode: 0644]
tests/sample_configs/gnpy/openroadmNetwork.json [new file with mode: 0644]
tests/sample_configs/gnpy/openroadmTopology.json [new file with mode: 0644]
tests/transportpce_tests/1.2.1/test_gnpy.py

diff --git a/tests/sample_configs/gnpy/clliNetwork.json b/tests/sample_configs/gnpy/clliNetwork.json
new file mode 100644 (file)
index 0000000..2c02faa
--- /dev/null
@@ -0,0 +1,26 @@
+{
+  "network":[
+    {
+      "network-id":"clli-network",
+      "network-types":{
+        "org-openroadm-clli-network:clli-network":{
+
+        }
+      },
+      "node":[
+        {
+          "node-id":"NodeA",
+          "org-openroadm-clli-network:clli":"NodeA"
+        },
+        {
+          "node-id":"NodeB",
+          "org-openroadm-clli-network:clli":"NodeB"
+        },
+        {
+          "node-id":"NodeC",
+          "org-openroadm-clli-network:clli":"NodeC"
+        }
+      ]
+    }
+  ]
+}
diff --git a/tests/sample_configs/gnpy/openroadmNetwork.json b/tests/sample_configs/gnpy/openroadmNetwork.json
new file mode 100644 (file)
index 0000000..89e936e
--- /dev/null
@@ -0,0 +1,79 @@
+{
+  "network":[
+    {
+      "network-id":"openroadm-network",
+      "network-types":{
+        "org-openroadm-common-network:openroadm-common-network":{
+
+        }
+      },
+      "node":[
+        {
+          "node-id":"ROADMB",
+          "supporting-node":[
+            {
+              "network-ref":"clli-network",
+              "node-ref":"NodeB"
+            }
+          ],
+          "org-openroadm-network:node-type":"ROADM",
+          "org-openroadm-network:vendor":"vendorA",
+          "org-openroadm-network:ip":"127.0.0.12",
+          "org-openroadm-network:model":"2"
+        },
+        {
+          "node-id":"ROADMC",
+          "supporting-node":[
+            {
+              "network-ref":"clli-network",
+              "node-ref":"NodeC"
+            }
+          ],
+          "org-openroadm-network:node-type":"ROADM",
+          "org-openroadm-network:vendor":"vendorA",
+          "org-openroadm-network:ip":"127.0.0.13",
+          "org-openroadm-network:model":"2"
+        },
+        {
+          "node-id":"XPDRB",
+          "supporting-node":[
+            {
+              "network-ref":"clli-network",
+              "node-ref":"NodeB"
+            }
+          ],
+          "org-openroadm-network:node-type":"XPONDER",
+          "org-openroadm-network:vendor":"vendorA",
+          "org-openroadm-network:ip":"127.0.0.14",
+          "org-openroadm-network:model":"1"
+        },
+        {
+          "node-id":"ROADMA",
+          "supporting-node":[
+            {
+              "network-ref":"clli-network",
+              "node-ref":"NodeA"
+            }
+          ],
+          "org-openroadm-network:node-type":"ROADM",
+          "org-openroadm-network:vendor":"vendorA",
+          "org-openroadm-network:ip":"127.0.0.11",
+          "org-openroadm-network:model":"2"
+        },
+        {
+          "node-id":"XPDRA",
+          "supporting-node":[
+            {
+              "network-ref":"clli-network",
+              "node-ref":"NodeA"
+            }
+          ],
+          "org-openroadm-network:node-type":"XPONDER",
+          "org-openroadm-network:vendor":"vendorA",
+          "org-openroadm-network:ip":"127.0.0.10",
+          "org-openroadm-network:model":"1"
+        }
+      ]
+    }
+  ]
+}
diff --git a/tests/sample_configs/gnpy/openroadmTopology.json b/tests/sample_configs/gnpy/openroadmTopology.json
new file mode 100644 (file)
index 0000000..aa27da8
--- /dev/null
@@ -0,0 +1,3578 @@
+{
+  "network":[
+    {
+      "network-id":"openroadm-topology",
+      "node":[
+        {
+          "node-id":"XPDRA-XPDR1",
+          "org-openroadm-network-topology:node-type":"XPONDER",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"XPDR1-CLIENT2",
+              "org-openroadm-network-topology:xpdr-client-attributes":{
+                "tail-equipment-id":"XPDR1-NETWORK2"
+              },
+              "org-openroadm-network-topology:tp-type":"XPONDER-CLIENT"
+            },
+            {
+              "tp-id":"XPDR1-CLIENT1",
+              "org-openroadm-network-topology:xpdr-client-attributes":{
+                "tail-equipment-id":"XPDR1-NETWORK1"
+              },
+              "org-openroadm-network-topology:tp-type":"XPONDER-CLIENT"
+            },
+            {
+              "tp-id":"XPDR1-NETWORK2",
+              "org-openroadm-network-topology:xpdr-client-attributes":{
+                "tail-equipment-id":"XPDR1-NETWORK1"
+              },
+              "org-openroadm-network-topology:tp-type":"XPONDER-NETWORK",
+              "org-openroadm-network-topology:xpdr-network-attributes":{
+                "tail-equipment-id":"XPDR1-CLIENT2"
+              }
+            },
+            {
+              "tp-id":"XPDR1-NETWORK1",
+              "org-openroadm-network-topology:xpdr-client-attributes":{
+                "tail-equipment-id":"XPDR1-NETWORK1"
+              },
+              "org-openroadm-network-topology:tp-type":"XPONDER-NETWORK",
+              "org-openroadm-network-topology:xpdr-network-attributes":{
+                "tail-equipment-id":"XPDR1-CLIENT1"
+              }
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"XPDRA"
+            }
+          ]
+        },
+        {
+          "node-id":"ROADMC-DEG2",
+          "org-openroadm-network-topology:degree-attributes":{
+            "degree-number":2,
+            "available-wavelengths":[
+              {
+                "index":94
+              },
+              {
+                "index":93
+              },
+              {
+                "index":96
+              },
+              {
+                "index":95
+              },
+              {
+                "index":42
+              },
+              {
+                "index":41
+              },
+              {
+                "index":44
+              },
+              {
+                "index":43
+              },
+              {
+                "index":38
+              },
+              {
+                "index":37
+              },
+              {
+                "index":40
+              },
+              {
+                "index":39
+              },
+              {
+                "index":34
+              },
+              {
+                "index":33
+              },
+              {
+                "index":36
+              },
+              {
+                "index":35
+              },
+              {
+                "index":30
+              },
+              {
+                "index":29
+              },
+              {
+                "index":32
+              },
+              {
+                "index":31
+              },
+              {
+                "index":58
+              },
+              {
+                "index":57
+              },
+              {
+                "index":60
+              },
+              {
+                "index":59
+              },
+              {
+                "index":54
+              },
+              {
+                "index":53
+              },
+              {
+                "index":56
+              },
+              {
+                "index":55
+              },
+              {
+                "index":50
+              },
+              {
+                "index":49
+              },
+              {
+                "index":52
+              },
+              {
+                "index":51
+              },
+              {
+                "index":46
+              },
+              {
+                "index":45
+              },
+              {
+                "index":48
+              },
+              {
+                "index":47
+              },
+              {
+                "index":74
+              },
+              {
+                "index":73
+              },
+              {
+                "index":76
+              },
+              {
+                "index":75
+              },
+              {
+                "index":70
+              },
+              {
+                "index":69
+              },
+              {
+                "index":72
+              },
+              {
+                "index":71
+              },
+              {
+                "index":66
+              },
+              {
+                "index":65
+              },
+              {
+                "index":68
+              },
+              {
+                "index":67
+              },
+              {
+                "index":62
+              },
+              {
+                "index":61
+              },
+              {
+                "index":64
+              },
+              {
+                "index":63
+              },
+              {
+                "index":90
+              },
+              {
+                "index":89
+              },
+              {
+                "index":92
+              },
+              {
+                "index":91
+              },
+              {
+                "index":86
+              },
+              {
+                "index":85
+              },
+              {
+                "index":88
+              },
+              {
+                "index":87
+              },
+              {
+                "index":82
+              },
+              {
+                "index":81
+              },
+              {
+                "index":84
+              },
+              {
+                "index":83
+              },
+              {
+                "index":78
+              },
+              {
+                "index":77
+              },
+              {
+                "index":80
+              },
+              {
+                "index":79
+              },
+              {
+                "index":10
+              },
+              {
+                "index":9
+              },
+              {
+                "index":12
+              },
+              {
+                "index":11
+              },
+              {
+                "index":6
+              },
+              {
+                "index":5
+              },
+              {
+                "index":8
+              },
+              {
+                "index":7
+              },
+              {
+                "index":2
+              },
+              {
+                "index":1
+              },
+              {
+                "index":4
+              },
+              {
+                "index":3
+              },
+              {
+                "index":26
+              },
+              {
+                "index":25
+              },
+              {
+                "index":28
+              },
+              {
+                "index":27
+              },
+              {
+                "index":22
+              },
+              {
+                "index":21
+              },
+              {
+                "index":24
+              },
+              {
+                "index":23
+              },
+              {
+                "index":18
+              },
+              {
+                "index":17
+              },
+              {
+                "index":20
+              },
+              {
+                "index":19
+              },
+              {
+                "index":14
+              },
+              {
+                "index":13
+              },
+              {
+                "index":16
+              },
+              {
+                "index":15
+              }
+            ]
+          },
+          "org-openroadm-network-topology:node-type":"DEGREE",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"DEG2-CTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-CTP"
+            },
+            {
+              "tp-id":"DEG2-TTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-TTP"
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"ROADMC"
+            }
+          ]
+        },
+        {
+          "node-id":"ROADMC-SRG1",
+          "org-openroadm-network-topology:srg-attributes":{
+            "available-wavelengths":[
+              {
+                "index":94
+              },
+              {
+                "index":93
+              },
+              {
+                "index":96
+              },
+              {
+                "index":95
+              },
+              {
+                "index":42
+              },
+              {
+                "index":41
+              },
+              {
+                "index":44
+              },
+              {
+                "index":43
+              },
+              {
+                "index":38
+              },
+              {
+                "index":37
+              },
+              {
+                "index":40
+              },
+              {
+                "index":39
+              },
+              {
+                "index":34
+              },
+              {
+                "index":33
+              },
+              {
+                "index":36
+              },
+              {
+                "index":35
+              },
+              {
+                "index":30
+              },
+              {
+                "index":29
+              },
+              {
+                "index":32
+              },
+              {
+                "index":31
+              },
+              {
+                "index":58
+              },
+              {
+                "index":57
+              },
+              {
+                "index":60
+              },
+              {
+                "index":59
+              },
+              {
+                "index":54
+              },
+              {
+                "index":53
+              },
+              {
+                "index":56
+              },
+              {
+                "index":55
+              },
+              {
+                "index":50
+              },
+              {
+                "index":49
+              },
+              {
+                "index":52
+              },
+              {
+                "index":51
+              },
+              {
+                "index":46
+              },
+              {
+                "index":45
+              },
+              {
+                "index":48
+              },
+              {
+                "index":47
+              },
+              {
+                "index":74
+              },
+              {
+                "index":73
+              },
+              {
+                "index":76
+              },
+              {
+                "index":75
+              },
+              {
+                "index":70
+              },
+              {
+                "index":69
+              },
+              {
+                "index":72
+              },
+              {
+                "index":71
+              },
+              {
+                "index":66
+              },
+              {
+                "index":65
+              },
+              {
+                "index":68
+              },
+              {
+                "index":67
+              },
+              {
+                "index":62
+              },
+              {
+                "index":61
+              },
+              {
+                "index":64
+              },
+              {
+                "index":63
+              },
+              {
+                "index":90
+              },
+              {
+                "index":89
+              },
+              {
+                "index":92
+              },
+              {
+                "index":91
+              },
+              {
+                "index":86
+              },
+              {
+                "index":85
+              },
+              {
+                "index":88
+              },
+              {
+                "index":87
+              },
+              {
+                "index":82
+              },
+              {
+                "index":81
+              },
+              {
+                "index":84
+              },
+              {
+                "index":83
+              },
+              {
+                "index":78
+              },
+              {
+                "index":77
+              },
+              {
+                "index":80
+              },
+              {
+                "index":79
+              },
+              {
+                "index":10
+              },
+              {
+                "index":9
+              },
+              {
+                "index":12
+              },
+              {
+                "index":11
+              },
+              {
+                "index":6
+              },
+              {
+                "index":5
+              },
+              {
+                "index":8
+              },
+              {
+                "index":7
+              },
+              {
+                "index":2
+              },
+              {
+                "index":1
+              },
+              {
+                "index":4
+              },
+              {
+                "index":3
+              },
+              {
+                "index":26
+              },
+              {
+                "index":25
+              },
+              {
+                "index":28
+              },
+              {
+                "index":27
+              },
+              {
+                "index":22
+              },
+              {
+                "index":21
+              },
+              {
+                "index":24
+              },
+              {
+                "index":23
+              },
+              {
+                "index":18
+              },
+              {
+                "index":17
+              },
+              {
+                "index":20
+              },
+              {
+                "index":19
+              },
+              {
+                "index":14
+              },
+              {
+                "index":13
+              },
+              {
+                "index":16
+              },
+              {
+                "index":15
+              }
+            ]
+          },
+          "org-openroadm-network-topology:node-type":"SRG",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"SRG1-PP16-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP10-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP3-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP6-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP9-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP1-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP13-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP4-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP7-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP11-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP15-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP8-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-CP-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-CP"
+            },
+            {
+              "tp-id":"SRG1-PP12-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP14-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP2-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP5-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"ROADMC"
+            }
+          ]
+        },
+        {
+          "node-id":"ROADMA-DEG1",
+          "org-openroadm-network-topology:degree-attributes":{
+            "degree-number":1,
+            "available-wavelengths":[
+              {
+                "index":94
+              },
+              {
+                "index":93
+              },
+              {
+                "index":96
+              },
+              {
+                "index":95
+              },
+              {
+                "index":42
+              },
+              {
+                "index":41
+              },
+              {
+                "index":44
+              },
+              {
+                "index":43
+              },
+              {
+                "index":38
+              },
+              {
+                "index":37
+              },
+              {
+                "index":40
+              },
+              {
+                "index":39
+              },
+              {
+                "index":34
+              },
+              {
+                "index":33
+              },
+              {
+                "index":36
+              },
+              {
+                "index":35
+              },
+              {
+                "index":30
+              },
+              {
+                "index":29
+              },
+              {
+                "index":32
+              },
+              {
+                "index":31
+              },
+              {
+                "index":58
+              },
+              {
+                "index":57
+              },
+              {
+                "index":60
+              },
+              {
+                "index":59
+              },
+              {
+                "index":54
+              },
+              {
+                "index":53
+              },
+              {
+                "index":56
+              },
+              {
+                "index":55
+              },
+              {
+                "index":50
+              },
+              {
+                "index":49
+              },
+              {
+                "index":52
+              },
+              {
+                "index":51
+              },
+              {
+                "index":46
+              },
+              {
+                "index":45
+              },
+              {
+                "index":48
+              },
+              {
+                "index":47
+              },
+              {
+                "index":74
+              },
+              {
+                "index":73
+              },
+              {
+                "index":76
+              },
+              {
+                "index":75
+              },
+              {
+                "index":70
+              },
+              {
+                "index":69
+              },
+              {
+                "index":72
+              },
+              {
+                "index":71
+              },
+              {
+                "index":66
+              },
+              {
+                "index":65
+              },
+              {
+                "index":68
+              },
+              {
+                "index":67
+              },
+              {
+                "index":62
+              },
+              {
+                "index":61
+              },
+              {
+                "index":64
+              },
+              {
+                "index":63
+              },
+              {
+                "index":90
+              },
+              {
+                "index":89
+              },
+              {
+                "index":92
+              },
+              {
+                "index":91
+              },
+              {
+                "index":86
+              },
+              {
+                "index":85
+              },
+              {
+                "index":88
+              },
+              {
+                "index":87
+              },
+              {
+                "index":82
+              },
+              {
+                "index":81
+              },
+              {
+                "index":84
+              },
+              {
+                "index":83
+              },
+              {
+                "index":78
+              },
+              {
+                "index":77
+              },
+              {
+                "index":80
+              },
+              {
+                "index":79
+              },
+              {
+                "index":10
+              },
+              {
+                "index":9
+              },
+              {
+                "index":12
+              },
+              {
+                "index":11
+              },
+              {
+                "index":6
+              },
+              {
+                "index":5
+              },
+              {
+                "index":8
+              },
+              {
+                "index":7
+              },
+              {
+                "index":2
+              },
+              {
+                "index":1
+              },
+              {
+                "index":4
+              },
+              {
+                "index":3
+              },
+              {
+                "index":26
+              },
+              {
+                "index":25
+              },
+              {
+                "index":28
+              },
+              {
+                "index":27
+              },
+              {
+                "index":22
+              },
+              {
+                "index":21
+              },
+              {
+                "index":24
+              },
+              {
+                "index":23
+              },
+              {
+                "index":18
+              },
+              {
+                "index":17
+              },
+              {
+                "index":20
+              },
+              {
+                "index":19
+              },
+              {
+                "index":14
+              },
+              {
+                "index":13
+              },
+              {
+                "index":16
+              },
+              {
+                "index":15
+              }
+            ]
+          },
+          "org-openroadm-network-topology:node-type":"DEGREE",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"DEG1-TTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-TTP"
+            },
+            {
+              "tp-id":"DEG1-CTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-CTP"
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"ROADMA"
+            }
+          ]
+        },
+        {
+          "node-id":"ROADMA-DEG2",
+          "org-openroadm-network-topology:degree-attributes":{
+            "degree-number":2,
+            "available-wavelengths":[
+              {
+                "index":94
+              },
+              {
+                "index":93
+              },
+              {
+                "index":96
+              },
+              {
+                "index":95
+              },
+              {
+                "index":42
+              },
+              {
+                "index":41
+              },
+              {
+                "index":44
+              },
+              {
+                "index":43
+              },
+              {
+                "index":38
+              },
+              {
+                "index":37
+              },
+              {
+                "index":40
+              },
+              {
+                "index":39
+              },
+              {
+                "index":34
+              },
+              {
+                "index":33
+              },
+              {
+                "index":36
+              },
+              {
+                "index":35
+              },
+              {
+                "index":30
+              },
+              {
+                "index":29
+              },
+              {
+                "index":32
+              },
+              {
+                "index":31
+              },
+              {
+                "index":58
+              },
+              {
+                "index":57
+              },
+              {
+                "index":60
+              },
+              {
+                "index":59
+              },
+              {
+                "index":54
+              },
+              {
+                "index":53
+              },
+              {
+                "index":56
+              },
+              {
+                "index":55
+              },
+              {
+                "index":50
+              },
+              {
+                "index":49
+              },
+              {
+                "index":52
+              },
+              {
+                "index":51
+              },
+              {
+                "index":46
+              },
+              {
+                "index":45
+              },
+              {
+                "index":48
+              },
+              {
+                "index":47
+              },
+              {
+                "index":74
+              },
+              {
+                "index":73
+              },
+              {
+                "index":76
+              },
+              {
+                "index":75
+              },
+              {
+                "index":70
+              },
+              {
+                "index":69
+              },
+              {
+                "index":72
+              },
+              {
+                "index":71
+              },
+              {
+                "index":66
+              },
+              {
+                "index":65
+              },
+              {
+                "index":68
+              },
+              {
+                "index":67
+              },
+              {
+                "index":62
+              },
+              {
+                "index":61
+              },
+              {
+                "index":64
+              },
+              {
+                "index":63
+              },
+              {
+                "index":90
+              },
+              {
+                "index":89
+              },
+              {
+                "index":92
+              },
+              {
+                "index":91
+              },
+              {
+                "index":86
+              },
+              {
+                "index":85
+              },
+              {
+                "index":88
+              },
+              {
+                "index":87
+              },
+              {
+                "index":82
+              },
+              {
+                "index":81
+              },
+              {
+                "index":84
+              },
+              {
+                "index":83
+              },
+              {
+                "index":78
+              },
+              {
+                "index":77
+              },
+              {
+                "index":80
+              },
+              {
+                "index":79
+              },
+              {
+                "index":10
+              },
+              {
+                "index":9
+              },
+              {
+                "index":12
+              },
+              {
+                "index":11
+              },
+              {
+                "index":6
+              },
+              {
+                "index":5
+              },
+              {
+                "index":8
+              },
+              {
+                "index":7
+              },
+              {
+                "index":2
+              },
+              {
+                "index":1
+              },
+              {
+                "index":4
+              },
+              {
+                "index":3
+              },
+              {
+                "index":26
+              },
+              {
+                "index":25
+              },
+              {
+                "index":28
+              },
+              {
+                "index":27
+              },
+              {
+                "index":22
+              },
+              {
+                "index":21
+              },
+              {
+                "index":24
+              },
+              {
+                "index":23
+              },
+              {
+                "index":18
+              },
+              {
+                "index":17
+              },
+              {
+                "index":20
+              },
+              {
+                "index":19
+              },
+              {
+                "index":14
+              },
+              {
+                "index":13
+              },
+              {
+                "index":16
+              },
+              {
+                "index":15
+              }
+            ]
+          },
+          "org-openroadm-network-topology:node-type":"DEGREE",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"DEG2-CTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-CTP"
+            },
+            {
+              "tp-id":"DEG2-TTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-TTP"
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"ROADMA"
+            }
+          ]
+        },
+        {
+          "node-id":"ROADMB-SRG1",
+          "org-openroadm-network-topology:srg-attributes":{
+            "available-wavelengths":[
+              {
+                "index":94
+              },
+              {
+                "index":93
+              },
+              {
+                "index":96
+              },
+              {
+                "index":95
+              },
+              {
+                "index":42
+              },
+              {
+                "index":41
+              },
+              {
+                "index":44
+              },
+              {
+                "index":43
+              },
+              {
+                "index":38
+              },
+              {
+                "index":37
+              },
+              {
+                "index":40
+              },
+              {
+                "index":39
+              },
+              {
+                "index":34
+              },
+              {
+                "index":33
+              },
+              {
+                "index":36
+              },
+              {
+                "index":35
+              },
+              {
+                "index":30
+              },
+              {
+                "index":29
+              },
+              {
+                "index":32
+              },
+              {
+                "index":31
+              },
+              {
+                "index":58
+              },
+              {
+                "index":57
+              },
+              {
+                "index":60
+              },
+              {
+                "index":59
+              },
+              {
+                "index":54
+              },
+              {
+                "index":53
+              },
+              {
+                "index":56
+              },
+              {
+                "index":55
+              },
+              {
+                "index":50
+              },
+              {
+                "index":49
+              },
+              {
+                "index":52
+              },
+              {
+                "index":51
+              },
+              {
+                "index":46
+              },
+              {
+                "index":45
+              },
+              {
+                "index":48
+              },
+              {
+                "index":47
+              },
+              {
+                "index":74
+              },
+              {
+                "index":73
+              },
+              {
+                "index":76
+              },
+              {
+                "index":75
+              },
+              {
+                "index":70
+              },
+              {
+                "index":69
+              },
+              {
+                "index":72
+              },
+              {
+                "index":71
+              },
+              {
+                "index":66
+              },
+              {
+                "index":65
+              },
+              {
+                "index":68
+              },
+              {
+                "index":67
+              },
+              {
+                "index":62
+              },
+              {
+                "index":61
+              },
+              {
+                "index":64
+              },
+              {
+                "index":63
+              },
+              {
+                "index":90
+              },
+              {
+                "index":89
+              },
+              {
+                "index":92
+              },
+              {
+                "index":91
+              },
+              {
+                "index":86
+              },
+              {
+                "index":85
+              },
+              {
+                "index":88
+              },
+              {
+                "index":87
+              },
+              {
+                "index":82
+              },
+              {
+                "index":81
+              },
+              {
+                "index":84
+              },
+              {
+                "index":83
+              },
+              {
+                "index":78
+              },
+              {
+                "index":77
+              },
+              {
+                "index":80
+              },
+              {
+                "index":79
+              },
+              {
+                "index":10
+              },
+              {
+                "index":9
+              },
+              {
+                "index":12
+              },
+              {
+                "index":11
+              },
+              {
+                "index":6
+              },
+              {
+                "index":5
+              },
+              {
+                "index":8
+              },
+              {
+                "index":7
+              },
+              {
+                "index":2
+              },
+              {
+                "index":1
+              },
+              {
+                "index":4
+              },
+              {
+                "index":3
+              },
+              {
+                "index":26
+              },
+              {
+                "index":25
+              },
+              {
+                "index":28
+              },
+              {
+                "index":27
+              },
+              {
+                "index":22
+              },
+              {
+                "index":21
+              },
+              {
+                "index":24
+              },
+              {
+                "index":23
+              },
+              {
+                "index":18
+              },
+              {
+                "index":17
+              },
+              {
+                "index":20
+              },
+              {
+                "index":19
+              },
+              {
+                "index":14
+              },
+              {
+                "index":13
+              },
+              {
+                "index":16
+              },
+              {
+                "index":15
+              }
+            ]
+          },
+          "org-openroadm-network-topology:node-type":"SRG",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"SRG1-PP16-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP10-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP3-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP6-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP9-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP1-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP13-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP4-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP7-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP11-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP15-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP8-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-CP-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-CP"
+            },
+            {
+              "tp-id":"SRG1-PP12-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP14-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP2-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP5-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"ROADMB"
+            }
+          ]
+        },
+        {
+          "node-id":"ROADMC-DEG1",
+          "org-openroadm-network-topology:degree-attributes":{
+            "degree-number":1,
+            "available-wavelengths":[
+              {
+                "index":94
+              },
+              {
+                "index":93
+              },
+              {
+                "index":96
+              },
+              {
+                "index":95
+              },
+              {
+                "index":42
+              },
+              {
+                "index":41
+              },
+              {
+                "index":44
+              },
+              {
+                "index":43
+              },
+              {
+                "index":38
+              },
+              {
+                "index":37
+              },
+              {
+                "index":40
+              },
+              {
+                "index":39
+              },
+              {
+                "index":34
+              },
+              {
+                "index":33
+              },
+              {
+                "index":36
+              },
+              {
+                "index":35
+              },
+              {
+                "index":30
+              },
+              {
+                "index":29
+              },
+              {
+                "index":32
+              },
+              {
+                "index":31
+              },
+              {
+                "index":58
+              },
+              {
+                "index":57
+              },
+              {
+                "index":60
+              },
+              {
+                "index":59
+              },
+              {
+                "index":54
+              },
+              {
+                "index":53
+              },
+              {
+                "index":56
+              },
+              {
+                "index":55
+              },
+              {
+                "index":50
+              },
+              {
+                "index":49
+              },
+              {
+                "index":52
+              },
+              {
+                "index":51
+              },
+              {
+                "index":46
+              },
+              {
+                "index":45
+              },
+              {
+                "index":48
+              },
+              {
+                "index":47
+              },
+              {
+                "index":74
+              },
+              {
+                "index":73
+              },
+              {
+                "index":76
+              },
+              {
+                "index":75
+              },
+              {
+                "index":70
+              },
+              {
+                "index":69
+              },
+              {
+                "index":72
+              },
+              {
+                "index":71
+              },
+              {
+                "index":66
+              },
+              {
+                "index":65
+              },
+              {
+                "index":68
+              },
+              {
+                "index":67
+              },
+              {
+                "index":62
+              },
+              {
+                "index":61
+              },
+              {
+                "index":64
+              },
+              {
+                "index":63
+              },
+              {
+                "index":90
+              },
+              {
+                "index":89
+              },
+              {
+                "index":92
+              },
+              {
+                "index":91
+              },
+              {
+                "index":86
+              },
+              {
+                "index":85
+              },
+              {
+                "index":88
+              },
+              {
+                "index":87
+              },
+              {
+                "index":82
+              },
+              {
+                "index":81
+              },
+              {
+                "index":84
+              },
+              {
+                "index":83
+              },
+              {
+                "index":78
+              },
+              {
+                "index":77
+              },
+              {
+                "index":80
+              },
+              {
+                "index":79
+              },
+              {
+                "index":10
+              },
+              {
+                "index":9
+              },
+              {
+                "index":12
+              },
+              {
+                "index":11
+              },
+              {
+                "index":6
+              },
+              {
+                "index":5
+              },
+              {
+                "index":8
+              },
+              {
+                "index":7
+              },
+              {
+                "index":2
+              },
+              {
+                "index":1
+              },
+              {
+                "index":4
+              },
+              {
+                "index":3
+              },
+              {
+                "index":26
+              },
+              {
+                "index":25
+              },
+              {
+                "index":28
+              },
+              {
+                "index":27
+              },
+              {
+                "index":22
+              },
+              {
+                "index":21
+              },
+              {
+                "index":24
+              },
+              {
+                "index":23
+              },
+              {
+                "index":18
+              },
+              {
+                "index":17
+              },
+              {
+                "index":20
+              },
+              {
+                "index":19
+              },
+              {
+                "index":14
+              },
+              {
+                "index":13
+              },
+              {
+                "index":16
+              },
+              {
+                "index":15
+              }
+            ]
+          },
+          "org-openroadm-network-topology:node-type":"DEGREE",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"DEG1-TTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-TTP"
+            },
+            {
+              "tp-id":"DEG1-CTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-CTP"
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"ROADMC"
+            }
+          ]
+        },
+        {
+          "node-id":"XPDRB-XPDR1",
+          "org-openroadm-network-topology:node-type":"XPONDER",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"XPDR1-CLIENT2",
+              "org-openroadm-network-topology:xpdr-client-attributes":{
+                "tail-equipment-id":"XPDR1-NETWORK2"
+              },
+              "org-openroadm-network-topology:tp-type":"XPONDER-CLIENT"
+            },
+            {
+              "tp-id":"XPDR1-CLIENT1",
+              "org-openroadm-network-topology:xpdr-client-attributes":{
+                "tail-equipment-id":"XPDR1-NETWORK1"
+              },
+              "org-openroadm-network-topology:tp-type":"XPONDER-CLIENT"
+            },
+            {
+              "tp-id":"XPDR1-NETWORK2",
+              "org-openroadm-network-topology:xpdr-client-attributes":{
+                "tail-equipment-id":"XPDR1-NETWORK1"
+              },
+              "org-openroadm-network-topology:tp-type":"XPONDER-NETWORK",
+              "org-openroadm-network-topology:xpdr-network-attributes":{
+                "tail-equipment-id":"XPDR1-CLIENT2"
+              }
+            },
+            {
+              "tp-id":"XPDR1-NETWORK1",
+              "org-openroadm-network-topology:xpdr-client-attributes":{
+                "tail-equipment-id":"XPDR1-NETWORK1"
+              },
+              "org-openroadm-network-topology:tp-type":"XPONDER-NETWORK",
+              "org-openroadm-network-topology:xpdr-network-attributes":{
+                "tail-equipment-id":"XPDR1-CLIENT1"
+              }
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"XPDRB"
+            }
+          ]
+        },
+        {
+          "node-id":"ROADMB-DEG1",
+          "org-openroadm-network-topology:degree-attributes":{
+            "degree-number":1,
+            "available-wavelengths":[
+              {
+                "index":94
+              },
+              {
+                "index":93
+              },
+              {
+                "index":96
+              },
+              {
+                "index":95
+              },
+              {
+                "index":42
+              },
+              {
+                "index":41
+              },
+              {
+                "index":44
+              },
+              {
+                "index":43
+              },
+              {
+                "index":38
+              },
+              {
+                "index":37
+              },
+              {
+                "index":40
+              },
+              {
+                "index":39
+              },
+              {
+                "index":34
+              },
+              {
+                "index":33
+              },
+              {
+                "index":36
+              },
+              {
+                "index":35
+              },
+              {
+                "index":30
+              },
+              {
+                "index":29
+              },
+              {
+                "index":32
+              },
+              {
+                "index":31
+              },
+              {
+                "index":58
+              },
+              {
+                "index":57
+              },
+              {
+                "index":60
+              },
+              {
+                "index":59
+              },
+              {
+                "index":54
+              },
+              {
+                "index":53
+              },
+              {
+                "index":56
+              },
+              {
+                "index":55
+              },
+              {
+                "index":50
+              },
+              {
+                "index":49
+              },
+              {
+                "index":52
+              },
+              {
+                "index":51
+              },
+              {
+                "index":46
+              },
+              {
+                "index":45
+              },
+              {
+                "index":48
+              },
+              {
+                "index":47
+              },
+              {
+                "index":74
+              },
+              {
+                "index":73
+              },
+              {
+                "index":76
+              },
+              {
+                "index":75
+              },
+              {
+                "index":70
+              },
+              {
+                "index":69
+              },
+              {
+                "index":72
+              },
+              {
+                "index":71
+              },
+              {
+                "index":66
+              },
+              {
+                "index":65
+              },
+              {
+                "index":68
+              },
+              {
+                "index":67
+              },
+              {
+                "index":62
+              },
+              {
+                "index":61
+              },
+              {
+                "index":64
+              },
+              {
+                "index":63
+              },
+              {
+                "index":90
+              },
+              {
+                "index":89
+              },
+              {
+                "index":92
+              },
+              {
+                "index":91
+              },
+              {
+                "index":86
+              },
+              {
+                "index":85
+              },
+              {
+                "index":88
+              },
+              {
+                "index":87
+              },
+              {
+                "index":82
+              },
+              {
+                "index":81
+              },
+              {
+                "index":84
+              },
+              {
+                "index":83
+              },
+              {
+                "index":78
+              },
+              {
+                "index":77
+              },
+              {
+                "index":80
+              },
+              {
+                "index":79
+              },
+              {
+                "index":10
+              },
+              {
+                "index":9
+              },
+              {
+                "index":12
+              },
+              {
+                "index":11
+              },
+              {
+                "index":6
+              },
+              {
+                "index":5
+              },
+              {
+                "index":8
+              },
+              {
+                "index":7
+              },
+              {
+                "index":2
+              },
+              {
+                "index":1
+              },
+              {
+                "index":4
+              },
+              {
+                "index":3
+              },
+              {
+                "index":26
+              },
+              {
+                "index":25
+              },
+              {
+                "index":28
+              },
+              {
+                "index":27
+              },
+              {
+                "index":22
+              },
+              {
+                "index":21
+              },
+              {
+                "index":24
+              },
+              {
+                "index":23
+              },
+              {
+                "index":18
+              },
+              {
+                "index":17
+              },
+              {
+                "index":20
+              },
+              {
+                "index":19
+              },
+              {
+                "index":14
+              },
+              {
+                "index":13
+              },
+              {
+                "index":16
+              },
+              {
+                "index":15
+              }
+            ]
+          },
+          "org-openroadm-network-topology:node-type":"DEGREE",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"DEG1-TTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-TTP"
+            },
+            {
+              "tp-id":"DEG1-CTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-CTP"
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"ROADMB"
+            }
+          ]
+        },
+        {
+          "node-id":"ROADMA-SRG1",
+          "org-openroadm-network-topology:srg-attributes":{
+            "available-wavelengths":[
+              {
+                "index":94
+              },
+              {
+                "index":93
+              },
+              {
+                "index":96
+              },
+              {
+                "index":95
+              },
+              {
+                "index":42
+              },
+              {
+                "index":41
+              },
+              {
+                "index":44
+              },
+              {
+                "index":43
+              },
+              {
+                "index":38
+              },
+              {
+                "index":37
+              },
+              {
+                "index":40
+              },
+              {
+                "index":39
+              },
+              {
+                "index":34
+              },
+              {
+                "index":33
+              },
+              {
+                "index":36
+              },
+              {
+                "index":35
+              },
+              {
+                "index":30
+              },
+              {
+                "index":29
+              },
+              {
+                "index":32
+              },
+              {
+                "index":31
+              },
+              {
+                "index":58
+              },
+              {
+                "index":57
+              },
+              {
+                "index":60
+              },
+              {
+                "index":59
+              },
+              {
+                "index":54
+              },
+              {
+                "index":53
+              },
+              {
+                "index":56
+              },
+              {
+                "index":55
+              },
+              {
+                "index":50
+              },
+              {
+                "index":49
+              },
+              {
+                "index":52
+              },
+              {
+                "index":51
+              },
+              {
+                "index":46
+              },
+              {
+                "index":45
+              },
+              {
+                "index":48
+              },
+              {
+                "index":47
+              },
+              {
+                "index":74
+              },
+              {
+                "index":73
+              },
+              {
+                "index":76
+              },
+              {
+                "index":75
+              },
+              {
+                "index":70
+              },
+              {
+                "index":69
+              },
+              {
+                "index":72
+              },
+              {
+                "index":71
+              },
+              {
+                "index":66
+              },
+              {
+                "index":65
+              },
+              {
+                "index":68
+              },
+              {
+                "index":67
+              },
+              {
+                "index":62
+              },
+              {
+                "index":61
+              },
+              {
+                "index":64
+              },
+              {
+                "index":63
+              },
+              {
+                "index":90
+              },
+              {
+                "index":89
+              },
+              {
+                "index":92
+              },
+              {
+                "index":91
+              },
+              {
+                "index":86
+              },
+              {
+                "index":85
+              },
+              {
+                "index":88
+              },
+              {
+                "index":87
+              },
+              {
+                "index":82
+              },
+              {
+                "index":81
+              },
+              {
+                "index":84
+              },
+              {
+                "index":83
+              },
+              {
+                "index":78
+              },
+              {
+                "index":77
+              },
+              {
+                "index":80
+              },
+              {
+                "index":79
+              },
+              {
+                "index":10
+              },
+              {
+                "index":9
+              },
+              {
+                "index":12
+              },
+              {
+                "index":11
+              },
+              {
+                "index":6
+              },
+              {
+                "index":5
+              },
+              {
+                "index":8
+              },
+              {
+                "index":7
+              },
+              {
+                "index":2
+              },
+              {
+                "index":1
+              },
+              {
+                "index":4
+              },
+              {
+                "index":3
+              },
+              {
+                "index":26
+              },
+              {
+                "index":25
+              },
+              {
+                "index":28
+              },
+              {
+                "index":27
+              },
+              {
+                "index":22
+              },
+              {
+                "index":21
+              },
+              {
+                "index":24
+              },
+              {
+                "index":23
+              },
+              {
+                "index":18
+              },
+              {
+                "index":17
+              },
+              {
+                "index":20
+              },
+              {
+                "index":19
+              },
+              {
+                "index":14
+              },
+              {
+                "index":13
+              },
+              {
+                "index":16
+              },
+              {
+                "index":15
+              }
+            ]
+          },
+          "org-openroadm-network-topology:node-type":"SRG",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"SRG1-PP16-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP10-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP3-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP6-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP9-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP1-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP13-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP4-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP7-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP11-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP15-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP8-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-CP-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-CP"
+            },
+            {
+              "tp-id":"SRG1-PP12-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP14-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP2-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            },
+            {
+              "tp-id":"SRG1-PP5-TXRX",
+              "org-openroadm-network-topology:tp-type":"SRG-TXRX-PP"
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"ROADMA"
+            }
+          ]
+        },
+        {
+          "node-id":"ROADMB-DEG2",
+          "org-openroadm-network-topology:degree-attributes":{
+            "degree-number":2,
+            "available-wavelengths":[
+              {
+                "index":94
+              },
+              {
+                "index":93
+              },
+              {
+                "index":96
+              },
+              {
+                "index":95
+              },
+              {
+                "index":42
+              },
+              {
+                "index":41
+              },
+              {
+                "index":44
+              },
+              {
+                "index":43
+              },
+              {
+                "index":38
+              },
+              {
+                "index":37
+              },
+              {
+                "index":40
+              },
+              {
+                "index":39
+              },
+              {
+                "index":34
+              },
+              {
+                "index":33
+              },
+              {
+                "index":36
+              },
+              {
+                "index":35
+              },
+              {
+                "index":30
+              },
+              {
+                "index":29
+              },
+              {
+                "index":32
+              },
+              {
+                "index":31
+              },
+              {
+                "index":58
+              },
+              {
+                "index":57
+              },
+              {
+                "index":60
+              },
+              {
+                "index":59
+              },
+              {
+                "index":54
+              },
+              {
+                "index":53
+              },
+              {
+                "index":56
+              },
+              {
+                "index":55
+              },
+              {
+                "index":50
+              },
+              {
+                "index":49
+              },
+              {
+                "index":52
+              },
+              {
+                "index":51
+              },
+              {
+                "index":46
+              },
+              {
+                "index":45
+              },
+              {
+                "index":48
+              },
+              {
+                "index":47
+              },
+              {
+                "index":74
+              },
+              {
+                "index":73
+              },
+              {
+                "index":76
+              },
+              {
+                "index":75
+              },
+              {
+                "index":70
+              },
+              {
+                "index":69
+              },
+              {
+                "index":72
+              },
+              {
+                "index":71
+              },
+              {
+                "index":66
+              },
+              {
+                "index":65
+              },
+              {
+                "index":68
+              },
+              {
+                "index":67
+              },
+              {
+                "index":62
+              },
+              {
+                "index":61
+              },
+              {
+                "index":64
+              },
+              {
+                "index":63
+              },
+              {
+                "index":90
+              },
+              {
+                "index":89
+              },
+              {
+                "index":92
+              },
+              {
+                "index":91
+              },
+              {
+                "index":86
+              },
+              {
+                "index":85
+              },
+              {
+                "index":88
+              },
+              {
+                "index":87
+              },
+              {
+                "index":82
+              },
+              {
+                "index":81
+              },
+              {
+                "index":84
+              },
+              {
+                "index":83
+              },
+              {
+                "index":78
+              },
+              {
+                "index":77
+              },
+              {
+                "index":80
+              },
+              {
+                "index":79
+              },
+              {
+                "index":10
+              },
+              {
+                "index":9
+              },
+              {
+                "index":12
+              },
+              {
+                "index":11
+              },
+              {
+                "index":6
+              },
+              {
+                "index":5
+              },
+              {
+                "index":8
+              },
+              {
+                "index":7
+              },
+              {
+                "index":2
+              },
+              {
+                "index":1
+              },
+              {
+                "index":4
+              },
+              {
+                "index":3
+              },
+              {
+                "index":26
+              },
+              {
+                "index":25
+              },
+              {
+                "index":28
+              },
+              {
+                "index":27
+              },
+              {
+                "index":22
+              },
+              {
+                "index":21
+              },
+              {
+                "index":24
+              },
+              {
+                "index":23
+              },
+              {
+                "index":18
+              },
+              {
+                "index":17
+              },
+              {
+                "index":20
+              },
+              {
+                "index":19
+              },
+              {
+                "index":14
+              },
+              {
+                "index":13
+              },
+              {
+                "index":16
+              },
+              {
+                "index":15
+              }
+            ]
+          },
+          "org-openroadm-network-topology:node-type":"DEGREE",
+          "ietf-network-topology:termination-point":[
+            {
+              "tp-id":"DEG2-CTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-CTP"
+            },
+            {
+              "tp-id":"DEG2-TTP-TXRX",
+              "org-openroadm-network-topology:tp-type":"DEGREE-TXRX-TTP"
+            }
+          ],
+          "supporting-node":[
+            {
+              "network-ref":"openroadm-network",
+              "node-ref":"ROADMB"
+            }
+          ]
+        }
+      ],
+      "network-types":{
+        "org-openroadm-common-network:openroadm-common-network":{
+
+        }
+      },
+      "ietf-network-topology:link":[
+        {
+          "link-id":"ROADMA-DEG1-DEG1-CTP-TXRXtoROADMA-SRG1-SRG1-CP-TXRX",
+          "source":{
+            "source-node":"ROADMA-DEG1",
+            "source-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"DROP-LINK",
+          "destination":{
+            "dest-node":"ROADMA-SRG1",
+            "dest-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMA-SRG1-SRG1-CP-TXRXtoROADMA-DEG1-DEG1-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMA-DEG2-DEG2-CTP-TXRXtoROADMA-SRG1-SRG1-CP-TXRX",
+          "source":{
+            "source-node":"ROADMA-DEG2",
+            "source-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"DROP-LINK",
+          "destination":{
+            "dest-node":"ROADMA-SRG1",
+            "dest-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMA-SRG1-SRG1-CP-TXRXtoROADMA-DEG2-DEG2-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMA-DEG1-DEG1-CTP-TXRXtoROADMA-DEG2-DEG2-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMA-DEG1",
+            "source-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"EXPRESS-LINK",
+          "destination":{
+            "dest-node":"ROADMA-DEG2",
+            "dest-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMA-DEG2-DEG2-CTP-TXRXtoROADMA-DEG1-DEG1-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMC-DEG1-DEG1-CTP-TXRXtoROADMC-SRG1-SRG1-CP-TXRX",
+          "source":{
+            "source-node":"ROADMC-DEG1",
+            "source-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"DROP-LINK",
+          "destination":{
+            "dest-node":"ROADMC-SRG1",
+            "dest-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMC-SRG1-SRG1-CP-TXRXtoROADMC-DEG1-DEG1-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMB-DEG1-DEG1-CTP-TXRXtoROADMB-SRG1-SRG1-CP-TXRX",
+          "source":{
+            "source-node":"ROADMB-DEG1",
+            "source-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"DROP-LINK",
+          "destination":{
+            "dest-node":"ROADMB-SRG1",
+            "dest-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMB-SRG1-SRG1-CP-TXRXtoROADMB-DEG1-DEG1-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMB-DEG2-DEG2-CTP-TXRXtoROADMB-SRG1-SRG1-CP-TXRX",
+          "source":{
+            "source-node":"ROADMB-DEG2",
+            "source-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"DROP-LINK",
+          "destination":{
+            "dest-node":"ROADMB-SRG1",
+            "dest-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMB-SRG1-SRG1-CP-TXRXtoROADMB-DEG2-DEG2-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMC-DEG2-DEG2-CTP-TXRXtoROADMC-SRG1-SRG1-CP-TXRX",
+          "source":{
+            "source-node":"ROADMC-DEG2",
+            "source-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"DROP-LINK",
+          "destination":{
+            "dest-node":"ROADMC-SRG1",
+            "dest-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMC-SRG1-SRG1-CP-TXRXtoROADMC-DEG2-DEG2-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMC-DEG1-DEG1-CTP-TXRXtoROADMC-DEG2-DEG2-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMC-DEG1",
+            "source-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"EXPRESS-LINK",
+          "destination":{
+            "dest-node":"ROADMC-DEG2",
+            "dest-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMC-DEG2-DEG2-CTP-TXRXtoROADMC-DEG1-DEG1-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMB-DEG1-DEG1-CTP-TXRXtoROADMB-DEG2-DEG2-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMB-DEG1",
+            "source-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"EXPRESS-LINK",
+          "destination":{
+            "dest-node":"ROADMB-DEG2",
+            "dest-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMB-DEG2-DEG2-CTP-TXRXtoROADMB-DEG1-DEG1-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMA-DEG1-DEG1-TTP-TXRXtoROADMC-DEG2-DEG2-TTP-TXRX",
+          "source":{
+            "source-node":"ROADMA-DEG1",
+            "source-tp":"DEG1-TTP-TXRX"
+          },
+          "org-openroadm-network-topology:OMS-attributes":{
+            "opposite-link":"ROADMC-DEG2-DEG2-TTP-TXRXtoROADMA-DEG1-DEG1-TTP-TXRX",
+            "span":{
+              "spanloss-base":11.4,
+              "link-concatenation":[
+                {
+                  "SRLG-Id":0,
+                  "SRLG-length":100000,
+                  "pmd":0.5,
+                  "fiber-type":"smf"
+                }
+              ],
+              "spanloss-current":12,
+              "engineered-spanloss":12.2,
+              "clfi":"fiber1",
+              "auto-spanloss":"true"
+            }
+          },
+          "org-openroadm-network-topology:link-type":"ROADM-TO-ROADM",
+          "destination":{
+            "dest-node":"ROADMC-DEG2",
+            "dest-tp":"DEG2-TTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMC-DEG2-DEG2-TTP-TXRXtoROADMA-DEG1-DEG1-TTP-TXRX"
+        },
+        {
+          "link-id":"XPDRA-XPDR1-XPDR1-NETWORK1toROADMA-SRG1-SRG1-PP1-TXRX",
+          "source":{
+            "source-node":"XPDRA-XPDR1",
+            "source-tp":"XPDR1-NETWORK1"
+          },
+          "org-openroadm-network-topology:opposite-link":"ROADMA-SRG1-SRG1-PP1-TXRXtoXPDRA-XPDR1-XPDR1-NETWORK1",
+          "org-openroadm-network-topology:link-type":"XPONDER-OUTPUT",
+          "destination":{
+            "dest-node":"ROADMA-SRG1",
+            "dest-tp":"SRG1-PP1-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMA-SRG1-SRG1-PP1-TXRXtoXPDRA-XPDR1-XPDR1-NETWORK1"
+        },
+        {
+          "link-id":"ROADMC-DEG1-DEG1-TTP-TXRXtoROADMB-DEG2-DEG2-TTP-TXRX",
+          "source":{
+            "source-node":"ROADMC-DEG1",
+            "source-tp":"DEG1-TTP-TXRX"
+          },
+          "org-openroadm-network-topology:OMS-attributes":{
+            "opposite-link":"ROADMB-DEG2-DEG2-TTP-TXRXtoROADMC-DEG1-DEG1-TTP-TXRX",
+            "span":{
+              "spanloss-base":11.4,
+              "link-concatenation":[
+                {
+                  "SRLG-Id":0,
+                  "SRLG-length":100000,
+                  "pmd":0.5,
+                  "fiber-type":"smf"
+                }
+              ],
+              "spanloss-current":12,
+              "engineered-spanloss":12.2,
+              "clfi":"fiber2",
+              "auto-spanloss":"true"
+            }
+          },
+          "org-openroadm-network-topology:link-type":"ROADM-TO-ROADM",
+          "destination":{
+            "dest-node":"ROADMB-DEG2",
+            "dest-tp":"DEG2-TTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMB-DEG2-DEG2-TTP-TXRXtoROADMC-DEG1-DEG1-TTP-TXRX"
+        },
+        {
+          "link-id":"ROADMB-DEG1-DEG1-TTP-TXRXtoROADMA-DEG2-DEG2-TTP-TXRX",
+          "source":{
+            "source-node":"ROADMB-DEG1",
+            "source-tp":"DEG1-TTP-TXRX"
+          },
+          "org-openroadm-network-topology:OMS-attributes":{
+            "opposite-link":"ROADMA-DEG2-DEG2-TTP-TXRXtoROADMB-DEG1-DEG1-TTP-TXRX",
+            "span":{
+              "spanloss-base":11.4,
+              "link-concatenation":[
+                {
+                  "SRLG-Id":0,
+                  "SRLG-length":100000,
+                  "pmd":0.5,
+                  "fiber-type":"smf"
+                }
+              ],
+              "spanloss-current":12,
+              "engineered-spanloss":12.2,
+              "clfi":"fiber3",
+              "auto-spanloss":"true"
+            }
+          },
+          "org-openroadm-network-topology:link-type":"ROADM-TO-ROADM",
+          "destination":{
+            "dest-node":"ROADMA-DEG2",
+            "dest-tp":"DEG2-TTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMA-DEG2-DEG2-TTP-TXRXtoROADMB-DEG1-DEG1-TTP-TXRX"
+        },
+        {
+          "link-id":"ROADMA-SRG1-SRG1-CP-TXRXtoROADMA-DEG2-DEG2-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMA-SRG1",
+            "source-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"ADD-LINK",
+          "destination":{
+            "dest-node":"ROADMA-DEG2",
+            "dest-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMA-DEG2-DEG2-CTP-TXRXtoROADMA-SRG1-SRG1-CP-TXRX"
+        },
+        {
+          "link-id":"ROADMA-DEG2-DEG2-CTP-TXRXtoROADMA-DEG1-DEG1-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMA-DEG2",
+            "source-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"EXPRESS-LINK",
+          "destination":{
+            "dest-node":"ROADMA-DEG1",
+            "dest-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMA-DEG1-DEG1-CTP-TXRXtoROADMA-DEG2-DEG2-CTP-TXRX"
+        },
+        {
+          "link-id":"XPDRB-XPDR1-XPDR1-NETWORK1toROADMB-SRG1-SRG1-PP1-TXRX",
+          "source":{
+            "source-node":"XPDRB-XPDR1",
+            "source-tp":"XPDR1-NETWORK1"
+          },
+          "org-openroadm-network-topology:opposite-link":"ROADMB-SRG1-SRG1-PP1-TXRXtoXPDRB-XPDR1-XPDR1-NETWORK1",
+          "org-openroadm-network-topology:link-type":"XPONDER-OUTPUT",
+          "destination":{
+            "dest-node":"ROADMB-SRG1",
+            "dest-tp":"SRG1-PP1-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMB-SRG1-SRG1-PP1-TXRXtoXPDRB-XPDR1-XPDR1-NETWORK1"
+        },
+        {
+          "link-id":"ROADMA-SRG1-SRG1-CP-TXRXtoROADMA-DEG1-DEG1-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMA-SRG1",
+            "source-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"ADD-LINK",
+          "destination":{
+            "dest-node":"ROADMA-DEG1",
+            "dest-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMA-DEG1-DEG1-CTP-TXRXtoROADMA-SRG1-SRG1-CP-TXRX"
+        },
+        {
+          "link-id":"ROADMA-SRG1-SRG1-PP1-TXRXtoXPDRA-XPDR1-XPDR1-NETWORK1",
+          "source":{
+            "source-node":"ROADMA-SRG1",
+            "source-tp":"SRG1-PP1-TXRX"
+          },
+          "org-openroadm-network-topology:opposite-link":"XPDRA-XPDR1-XPDR1-NETWORK1toROADMA-SRG1-SRG1-PP1-TXRX",
+          "org-openroadm-network-topology:link-type":"XPONDER-INPUT",
+          "destination":{
+            "dest-node":"XPDRA-XPDR1",
+            "dest-tp":"XPDR1-NETWORK1"
+          },
+          "org-openroadm-common-network:opposite-link":"XPDRA-XPDR1-XPDR1-NETWORK1toROADMA-SRG1-SRG1-PP1-TXRX"
+        },
+        {
+          "link-id":"ROADMC-DEG2-DEG2-CTP-TXRXtoROADMC-DEG1-DEG1-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMC-DEG2",
+            "source-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"EXPRESS-LINK",
+          "destination":{
+            "dest-node":"ROADMC-DEG1",
+            "dest-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMC-DEG1-DEG1-CTP-TXRXtoROADMC-DEG2-DEG2-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMB-DEG2-DEG2-TTP-TXRXtoROADMC-DEG1-DEG1-TTP-TXRX",
+          "source":{
+            "source-node":"ROADMB-DEG2",
+            "source-tp":"DEG2-TTP-TXRX"
+          },
+          "org-openroadm-network-topology:OMS-attributes":{
+            "opposite-link":"ROADMC-DEG1-DEG1-TTP-TXRXtoROADMB-DEG2-DEG2-TTP-TXRX",
+            "span":{
+              "spanloss-base":11.4,
+              "link-concatenation":[
+                {
+                  "SRLG-Id":0,
+                  "SRLG-length":100000,
+                  "pmd":0.5,
+                  "fiber-type":"smf"
+                }
+              ],
+              "spanloss-current":12,
+              "engineered-spanloss":12.2,
+              "clfi":"fiber4",
+              "auto-spanloss":"true"
+            }
+          },
+          "org-openroadm-network-topology:link-type":"ROADM-TO-ROADM",
+          "destination":{
+            "dest-node":"ROADMC-DEG1",
+            "dest-tp":"DEG1-TTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMC-DEG1-DEG1-TTP-TXRXtoROADMB-DEG2-DEG2-TTP-TXRX"
+        },
+        {
+          "link-id":"ROADMB-DEG2-DEG2-CTP-TXRXtoROADMB-DEG1-DEG1-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMB-DEG2",
+            "source-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"EXPRESS-LINK",
+          "destination":{
+            "dest-node":"ROADMB-DEG1",
+            "dest-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMB-DEG1-DEG1-CTP-TXRXtoROADMB-DEG2-DEG2-CTP-TXRX"
+        },
+        {
+          "link-id":"ROADMA-DEG2-DEG2-TTP-TXRXtoROADMB-DEG1-DEG1-TTP-TXRX",
+          "source":{
+            "source-node":"ROADMA-DEG2",
+            "source-tp":"DEG2-TTP-TXRX"
+          },
+          "org-openroadm-network-topology:OMS-attributes":{
+            "opposite-link":"ROADMB-DEG1-DEG1-TTP-TXRXtoROADMA-DEG2-DEG2-TTP-TXRX",
+            "span":{
+              "spanloss-base":11.4,
+              "link-concatenation":[
+                {
+                  "SRLG-Id":0,
+                  "SRLG-length":100000,
+                  "pmd":0.5,
+                  "fiber-type":"smf"
+                }
+              ],
+              "spanloss-current":12,
+              "engineered-spanloss":12.2,
+              "clfi":"fiber5",
+              "auto-spanloss":"true"
+            }
+          },
+          "org-openroadm-network-topology:link-type":"ROADM-TO-ROADM",
+          "destination":{
+            "dest-node":"ROADMB-DEG1",
+            "dest-tp":"DEG1-TTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMB-DEG1-DEG1-TTP-TXRXtoROADMA-DEG2-DEG2-TTP-TXRX"
+        },
+        {
+          "link-id":"ROADMC-SRG1-SRG1-CP-TXRXtoROADMC-DEG2-DEG2-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMC-SRG1",
+            "source-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"ADD-LINK",
+          "destination":{
+            "dest-node":"ROADMC-DEG2",
+            "dest-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMC-DEG2-DEG2-CTP-TXRXtoROADMC-SRG1-SRG1-CP-TXRX"
+        },
+        {
+          "link-id":"ROADMC-DEG2-DEG2-TTP-TXRXtoROADMA-DEG1-DEG1-TTP-TXRX",
+          "source":{
+            "source-node":"ROADMC-DEG2",
+            "source-tp":"DEG2-TTP-TXRX"
+          },
+          "org-openroadm-network-topology:OMS-attributes":{
+            "opposite-link":"ROADMA-DEG1-DEG1-TTP-TXRXtoROADMC-DEG2-DEG2-TTP-TXRX",
+            "span":{
+              "spanloss-base":11.4,
+              "link-concatenation":[
+                {
+                  "SRLG-Id":0,
+                  "SRLG-length":100000,
+                  "pmd":0.5,
+                  "fiber-type":"smf"
+                }
+              ],
+              "spanloss-current":12,
+              "engineered-spanloss":12.2,
+              "clfi":"fiber6",
+              "auto-spanloss":"true"
+            }
+          },
+          "org-openroadm-network-topology:link-type":"ROADM-TO-ROADM",
+          "destination":{
+            "dest-node":"ROADMA-DEG1",
+            "dest-tp":"DEG1-TTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMA-DEG1-DEG1-TTP-TXRXtoROADMC-DEG2-DEG2-TTP-TXRX"
+        },
+        {
+          "link-id":"ROADMC-SRG1-SRG1-CP-TXRXtoROADMC-DEG1-DEG1-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMC-SRG1",
+            "source-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"ADD-LINK",
+          "destination":{
+            "dest-node":"ROADMC-DEG1",
+            "dest-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMC-DEG1-DEG1-CTP-TXRXtoROADMC-SRG1-SRG1-CP-TXRX"
+        },
+        {
+          "link-id":"ROADMB-SRG1-SRG1-CP-TXRXtoROADMB-DEG1-DEG1-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMB-SRG1",
+            "source-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"ADD-LINK",
+          "destination":{
+            "dest-node":"ROADMB-DEG1",
+            "dest-tp":"DEG1-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMB-DEG1-DEG1-CTP-TXRXtoROADMB-SRG1-SRG1-CP-TXRX"
+        },
+        {
+          "link-id":"ROADMB-SRG1-SRG1-CP-TXRXtoROADMB-DEG2-DEG2-CTP-TXRX",
+          "source":{
+            "source-node":"ROADMB-SRG1",
+            "source-tp":"SRG1-CP-TXRX"
+          },
+          "org-openroadm-network-topology:link-type":"ADD-LINK",
+          "destination":{
+            "dest-node":"ROADMB-DEG2",
+            "dest-tp":"DEG2-CTP-TXRX"
+          },
+          "org-openroadm-common-network:opposite-link":"ROADMB-DEG2-DEG2-CTP-TXRXtoROADMB-SRG1-SRG1-CP-TXRX"
+        },
+        {
+          "link-id":"ROADMB-SRG1-SRG1-PP1-TXRXtoXPDRB-XPDR1-XPDR1-NETWORK1",
+          "source":{
+            "source-node":"ROADMB-SRG1",
+            "source-tp":"SRG1-PP1-TXRX"
+          },
+          "org-openroadm-network-topology:opposite-link":"XPDRB-XPDR1-XPDR1-NETWORK1toROADMB-SRG1-SRG1-PP1-TXRX",
+          "org-openroadm-network-topology:link-type":"XPONDER-INPUT",
+          "destination":{
+            "dest-node":"XPDRB-XPDR1",
+            "dest-tp":"XPDR1-NETWORK1"
+          },
+          "org-openroadm-common-network:opposite-link":"XPDRB-XPDR1-XPDR1-NETWORK1toROADMB-SRG1-SRG1-PP1-TXRX"
+        }
+      ]
+    }
+  ]
+}
index 9ff056b6a5f6beb5737255136e00d7f92ab106b0..3cdb2e4e3e0ed7dab164389035c1bd18174ed9b0 100644 (file)
@@ -55,3704 +55,45 @@ class TransportGNPYtesting(unittest.TestCase):
     def setUp(self):
         time.sleep(2)
 
-    #Connect the different topology
+    #Mount the different topologies
     def test_01_connect_clliNetwork(self):
-        #Config ROADMA
         url = ("{}/config/ietf-network:networks/network/clli-network"
                .format(self.restconf_baseurl))
-        data = {"network": [{
-            "network-id": "clli-network",
-            "network-types": {
-                "org-openroadm-clli-network:clli-network": {}
-            },
-            "node": [
-                {
-                    "node-id": "NodeA",
-                    "org-openroadm-clli-network:clli": "NodeA"
-                },
-                {
-                    "node-id": "NodeB",
-                    "org-openroadm-clli-network:clli": "NodeB"
-                },
-                {
-                    "node-id": "NodeC",
-                    "org-openroadm-clli-network:clli": "NodeC"
-                }
-            ]
-            }]
-        }
+        topo_clliNet_file = "sample_configs/gnpy/clliNetwork.json"
+        if os.path.isfile(topo_clliNet_file):
+            with open(topo_clliNet_file, 'r') as clli_net:
+                body = clli_net.read()
         headers = {'content-type': 'application/json'}
         response = requests.request(
-             "PUT", url, data=json.dumps(data), headers=headers,
+             "PUT", url, data=body, headers=headers,
              auth=('admin', 'admin'))
         self.assertEqual(response.status_code, requests.codes.ok)
         time.sleep(3)
 
     def test_02_connect_openroadmNetwork(self):
-        #Config ROADMA
         url = ("{}/config/ietf-network:networks/network/openroadm-network"
                .format(self.restconf_baseurl))
-        data = {"network": [{
-            "network-id": "openroadm-network",
-            "network-types": {
-                "org-openroadm-common-network:openroadm-common-network": {}
-            },
-            "node": [
-                {
-                    "node-id": "ROADMB",
-                    "supporting-node": [
-                        {
-                            "network-ref": "clli-network",
-                            "node-ref": "NodeB"
-                        }
-                    ],
-                    "org-openroadm-network:node-type": "ROADM",
-                    "org-openroadm-network:vendor": "vendorA",
-                    "org-openroadm-network:ip": "127.0.0.12",
-                    "org-openroadm-network:model": "2"
-                },
-                {
-                    "node-id": "ROADMC",
-                    "supporting-node": [
-                        {
-                            "network-ref": "clli-network",
-                            "node-ref": "NodeC"
-                        }
-                    ],
-                    "org-openroadm-network:node-type": "ROADM",
-                    "org-openroadm-network:vendor": "vendorA",
-                    "org-openroadm-network:ip": "127.0.0.13",
-                    "org-openroadm-network:model": "2"
-                },
-                {
-                    "node-id": "XPDRB",
-                    "supporting-node": [
-                        {
-                            "network-ref": "clli-network",
-                            "node-ref": "NodeB"
-                        }
-                    ],
-                    "org-openroadm-network:node-type": "XPONDER",
-                    "org-openroadm-network:vendor": "vendorA",
-                    "org-openroadm-network:ip": "127.0.0.14",
-                    "org-openroadm-network:model": "1"
-                },
-                {
-                    "node-id": "ROADMA",
-                    "supporting-node": [
-                        {
-                            "network-ref": "clli-network",
-                            "node-ref": "NodeA"
-                        }
-                    ],
-                    "org-openroadm-network:node-type": "ROADM",
-                    "org-openroadm-network:vendor": "vendorA",
-                    "org-openroadm-network:ip": "127.0.0.11",
-                    "org-openroadm-network:model": "2"
-                },
-                {
-                    "node-id": "XPDRA",
-                    "supporting-node": [
-                        {
-                            "network-ref": "clli-network",
-                            "node-ref": "NodeA"
-                        }
-                    ],
-                    "org-openroadm-network:node-type": "XPONDER",
-                    "org-openroadm-network:vendor": "vendorA",
-                    "org-openroadm-network:ip": "127.0.0.10",
-                    "org-openroadm-network:model": "1"
-                }
-            ]
-            }]
-        }
+        topo_ordNet_file = "sample_configs/gnpy/openroadmNetwork.json"
+        if os.path.isfile(topo_ordNet_file):
+            with open(topo_ordNet_file, 'r') as ord_net:
+                body = ord_net.read()
         headers = {'content-type': 'application/json'}
         response = requests.request(
-             "PUT", url, data=json.dumps(data), headers=headers,
+             "PUT", url, data=body, headers=headers,
              auth=('admin', 'admin'))
         self.assertEqual(response.status_code, requests.codes.ok)
         time.sleep(3)
 
     def test_03_connect_openroadmTopology(self):
-        #Config ROADMA
         url = ("{}/config/ietf-network:networks/network/openroadm-topology"
                .format(self.restconf_baseurl))
-        data = {"network": [{
-            "network-id": "openroadm-topology",
-            "node": [
-                {
-                    "node-id": "XPDRA-XPDR1",
-                    "org-openroadm-network-topology:node-type": "XPONDER",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "XPDR1-CLIENT2",
-                            "org-openroadm-network-topology:xpdr-client-attributes": {
-                                "tail-equipment-id": "XPDR1-NETWORK2"
-                            },
-                            "org-openroadm-network-topology:tp-type": "XPONDER-CLIENT"
-                        },
-                        {
-                            "tp-id": "XPDR1-CLIENT1",
-                            "org-openroadm-network-topology:xpdr-client-attributes": {
-                                "tail-equipment-id": "XPDR1-NETWORK1"
-                            },
-                            "org-openroadm-network-topology:tp-type": "XPONDER-CLIENT"
-                        },
-                        {
-                            "tp-id": "XPDR1-NETWORK2",
-                            "org-openroadm-network-topology:xpdr-client-attributes": {
-                                "tail-equipment-id": "XPDR1-NETWORK1"
-                            },
-                            "org-openroadm-network-topology:tp-type": "XPONDER-NETWORK",
-                            "org-openroadm-network-topology:xpdr-network-attributes": {
-                                "tail-equipment-id": "XPDR1-CLIENT2"
-                            }
-                        },
-                        {
-                            "tp-id": "XPDR1-NETWORK1",
-                            "org-openroadm-network-topology:xpdr-client-attributes": {
-                                "tail-equipment-id": "XPDR1-NETWORK1"
-                            },
-                            "org-openroadm-network-topology:tp-type": "XPONDER-NETWORK",
-                            "org-openroadm-network-topology:xpdr-network-attributes": {
-                                "tail-equipment-id": "XPDR1-CLIENT1"
-                            }
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "XPDRA"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "ROADMC-DEG2",
-                    "org-openroadm-network-topology:degree-attributes": {
-                        "degree-number": 2,
-                        "available-wavelengths": [
-                            {
-                                "index": 94
-                            },
-                            {
-                                "index": 93
-                            },
-                            {
-                                "index": 96
-                            },
-                            {
-                                "index": 95
-                            },
-                            {
-                                "index": 42
-                            },
-                            {
-                                "index": 41
-                            },
-                            {
-                                "index": 44
-                            },
-                            {
-                                "index": 43
-                            },
-                            {
-                                "index": 38
-                            },
-                            {
-                                "index": 37
-                            },
-                            {
-                                "index": 40
-                            },
-                            {
-                                "index": 39
-                            },
-                            {
-                                "index": 34
-                            },
-                            {
-                                "index": 33
-                            },
-                            {
-                                "index": 36
-                            },
-                            {
-                                "index": 35
-                            },
-                            {
-                                "index": 30
-                            },
-                            {
-                                "index": 29
-                            },
-                            {
-                                "index": 32
-                            },
-                            {
-                                "index": 31
-                            },
-                            {
-                                "index": 58
-                            },
-                            {
-                                "index": 57
-                            },
-                            {
-                                "index": 60
-                            },
-                            {
-                                "index": 59
-                            },
-                            {
-                                "index": 54
-                            },
-                            {
-                                "index": 53
-                            },
-                            {
-                                "index": 56
-                            },
-                            {
-                                "index": 55
-                            },
-                            {
-                                "index": 50
-                            },
-                            {
-                                "index": 49
-                            },
-                            {
-                                "index": 52
-                            },
-                            {
-                                "index": 51
-                            },
-                            {
-                                "index": 46
-                            },
-                            {
-                                "index": 45
-                            },
-                            {
-                                "index": 48
-                            },
-                            {
-                                "index": 47
-                            },
-                            {
-                                "index": 74
-                            },
-                            {
-                                "index": 73
-                            },
-                            {
-                                "index": 76
-                            },
-                            {
-                                "index": 75
-                            },
-                            {
-                                "index": 70
-                            },
-                            {
-                                "index": 69
-                            },
-                            {
-                                "index": 72
-                            },
-                            {
-                                "index": 71
-                            },
-                            {
-                                "index": 66
-                            },
-                            {
-                                "index": 65
-                            },
-                            {
-                                "index": 68
-                            },
-                            {
-                                "index": 67
-                            },
-                            {
-                                "index": 62
-                            },
-                            {
-                                "index": 61
-                            },
-                            {
-                                "index": 64
-                            },
-                            {
-                                "index": 63
-                            },
-                            {
-                                "index": 90
-                            },
-                            {
-                                "index": 89
-                            },
-                            {
-                                "index": 92
-                            },
-                            {
-                                "index": 91
-                            },
-                            {
-                                "index": 86
-                            },
-                            {
-                                "index": 85
-                            },
-                            {
-                                "index": 88
-                            },
-                            {
-                                "index": 87
-                            },
-                            {
-                                "index": 82
-                            },
-                            {
-                                "index": 81
-                            },
-                            {
-                                "index": 84
-                            },
-                            {
-                                "index": 83
-                            },
-                            {
-                                "index": 78
-                            },
-                            {
-                                "index": 77
-                            },
-                            {
-                                "index": 80
-                            },
-                            {
-                                "index": 79
-                            },
-                            {
-                                "index": 10
-                            },
-                            {
-                                "index": 9
-                            },
-                            {
-                                "index": 12
-                            },
-                            {
-                                "index": 11
-                            },
-                            {
-                                "index": 6
-                            },
-                            {
-                                "index": 5
-                            },
-                            {
-                                "index": 8
-                            },
-                            {
-                                "index": 7
-                            },
-                            {
-                                "index": 2
-                            },
-                            {
-                                "index": 1
-                            },
-                            {
-                                "index": 4
-                            },
-                            {
-                                "index": 3
-                            },
-                            {
-                                "index": 26
-                            },
-                            {
-                                "index": 25
-                            },
-                            {
-                                "index": 28
-                            },
-                            {
-                                "index": 27
-                            },
-                            {
-                                "index": 22
-                            },
-                            {
-                                "index": 21
-                            },
-                            {
-                                "index": 24
-                            },
-                            {
-                                "index": 23
-                            },
-                            {
-                                "index": 18
-                            },
-                            {
-                                "index": 17
-                            },
-                            {
-                                "index": 20
-                            },
-                            {
-                                "index": 19
-                            },
-                            {
-                                "index": 14
-                            },
-                            {
-                                "index": 13
-                            },
-                            {
-                                "index": 16
-                            },
-                            {
-                                "index": 15
-                            }
-                        ]
-                    },
-                    "org-openroadm-network-topology:node-type": "DEGREE",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "DEG2-CTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-CTP"
-                        },
-                        {
-                            "tp-id": "DEG2-TTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-TTP"
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "ROADMC"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "ROADMC-SRG1",
-                    "org-openroadm-network-topology:srg-attributes": {
-                        "available-wavelengths": [
-                            {
-                                "index": 94
-                            },
-                            {
-                                "index": 93
-                            },
-                            {
-                                "index": 96
-                            },
-                            {
-                                "index": 95
-                            },
-                            {
-                                "index": 42
-                            },
-                            {
-                                "index": 41
-                            },
-                            {
-                                "index": 44
-                            },
-                            {
-                                "index": 43
-                            },
-                            {
-                                "index": 38
-                            },
-                            {
-                                "index": 37
-                            },
-                            {
-                                "index": 40
-                            },
-                            {
-                                "index": 39
-                            },
-                            {
-                                "index": 34
-                            },
-                            {
-                                "index": 33
-                            },
-                            {
-                                "index": 36
-                            },
-                            {
-                                "index": 35
-                            },
-                            {
-                                "index": 30
-                            },
-                            {
-                                "index": 29
-                            },
-                            {
-                                "index": 32
-                            },
-                            {
-                                "index": 31
-                            },
-                            {
-                                "index": 58
-                            },
-                            {
-                                "index": 57
-                            },
-                            {
-                                "index": 60
-                            },
-                            {
-                                "index": 59
-                            },
-                            {
-                                "index": 54
-                            },
-                            {
-                                "index": 53
-                            },
-                            {
-                                "index": 56
-                            },
-                            {
-                                "index": 55
-                            },
-                            {
-                                "index": 50
-                            },
-                            {
-                                "index": 49
-                            },
-                            {
-                                "index": 52
-                            },
-                            {
-                                "index": 51
-                            },
-                            {
-                                "index": 46
-                            },
-                            {
-                                "index": 45
-                            },
-                            {
-                                "index": 48
-                            },
-                            {
-                                "index": 47
-                            },
-                            {
-                                "index": 74
-                            },
-                            {
-                                "index": 73
-                            },
-                            {
-                                "index": 76
-                            },
-                            {
-                                "index": 75
-                            },
-                            {
-                                "index": 70
-                            },
-                            {
-                                "index": 69
-                            },
-                            {
-                                "index": 72
-                            },
-                            {
-                                "index": 71
-                            },
-                            {
-                                "index": 66
-                            },
-                            {
-                                "index": 65
-                            },
-                            {
-                                "index": 68
-                            },
-                            {
-                                "index": 67
-                            },
-                            {
-                                "index": 62
-                            },
-                            {
-                                "index": 61
-                            },
-                            {
-                                "index": 64
-                            },
-                            {
-                                "index": 63
-                            },
-                            {
-                                "index": 90
-                            },
-                            {
-                                "index": 89
-                            },
-                            {
-                                "index": 92
-                            },
-                            {
-                                "index": 91
-                            },
-                            {
-                                "index": 86
-                            },
-                            {
-                                "index": 85
-                            },
-                            {
-                                "index": 88
-                            },
-                            {
-                                "index": 87
-                            },
-                            {
-                                "index": 82
-                            },
-                            {
-                                "index": 81
-                            },
-                            {
-                                "index": 84
-                            },
-                            {
-                                "index": 83
-                            },
-                            {
-                                "index": 78
-                            },
-                            {
-                                "index": 77
-                            },
-                            {
-                                "index": 80
-                            },
-                            {
-                                "index": 79
-                            },
-                            {
-                                "index": 10
-                            },
-                            {
-                                "index": 9
-                            },
-                            {
-                                "index": 12
-                            },
-                            {
-                                "index": 11
-                            },
-                            {
-                                "index": 6
-                            },
-                            {
-                                "index": 5
-                            },
-                            {
-                                "index": 8
-                            },
-                            {
-                                "index": 7
-                            },
-                            {
-                                "index": 2
-                            },
-                            {
-                                "index": 1
-                            },
-                            {
-                                "index": 4
-                            },
-                            {
-                                "index": 3
-                            },
-                            {
-                                "index": 26
-                            },
-                            {
-                                "index": 25
-                            },
-                            {
-                                "index": 28
-                            },
-                            {
-                                "index": 27
-                            },
-                            {
-                                "index": 22
-                            },
-                            {
-                                "index": 21
-                            },
-                            {
-                                "index": 24
-                            },
-                            {
-                                "index": 23
-                            },
-                            {
-                                "index": 18
-                            },
-                            {
-                                "index": 17
-                            },
-                            {
-                                "index": 20
-                            },
-                            {
-                                "index": 19
-                            },
-                            {
-                                "index": 14
-                            },
-                            {
-                                "index": 13
-                            },
-                            {
-                                "index": 16
-                            },
-                            {
-                                "index": 15
-                            }
-                        ]
-                    },
-                    "org-openroadm-network-topology:node-type": "SRG",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "SRG1-PP16-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP10-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP3-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP6-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP9-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP1-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP13-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP4-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP7-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP11-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP15-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP8-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-CP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-CP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP12-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP14-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP2-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP5-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "ROADMC"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "ROADMA-DEG1",
-                    "org-openroadm-network-topology:degree-attributes": {
-                        "degree-number": 1,
-                        "available-wavelengths": [
-                            {
-                                "index": 94
-                            },
-                            {
-                                "index": 93
-                            },
-                            {
-                                "index": 96
-                            },
-                            {
-                                "index": 95
-                            },
-                            {
-                                "index": 42
-                            },
-                            {
-                                "index": 41
-                            },
-                            {
-                                "index": 44
-                            },
-                            {
-                                "index": 43
-                            },
-                            {
-                                "index": 38
-                            },
-                            {
-                                "index": 37
-                            },
-                            {
-                                "index": 40
-                            },
-                            {
-                                "index": 39
-                            },
-                            {
-                                "index": 34
-                            },
-                            {
-                                "index": 33
-                            },
-                            {
-                                "index": 36
-                            },
-                            {
-                                "index": 35
-                            },
-                            {
-                                "index": 30
-                            },
-                            {
-                                "index": 29
-                            },
-                            {
-                                "index": 32
-                            },
-                            {
-                                "index": 31
-                            },
-                            {
-                                "index": 58
-                            },
-                            {
-                                "index": 57
-                            },
-                            {
-                                "index": 60
-                            },
-                            {
-                                "index": 59
-                            },
-                            {
-                                "index": 54
-                            },
-                            {
-                                "index": 53
-                            },
-                            {
-                                "index": 56
-                            },
-                            {
-                                "index": 55
-                            },
-                            {
-                                "index": 50
-                            },
-                            {
-                                "index": 49
-                            },
-                            {
-                                "index": 52
-                            },
-                            {
-                                "index": 51
-                            },
-                            {
-                                "index": 46
-                            },
-                            {
-                                "index": 45
-                            },
-                            {
-                                "index": 48
-                            },
-                            {
-                                "index": 47
-                            },
-                            {
-                                "index": 74
-                            },
-                            {
-                                "index": 73
-                            },
-                            {
-                                "index": 76
-                            },
-                            {
-                                "index": 75
-                            },
-                            {
-                                "index": 70
-                            },
-                            {
-                                "index": 69
-                            },
-                            {
-                                "index": 72
-                            },
-                            {
-                                "index": 71
-                            },
-                            {
-                                "index": 66
-                            },
-                            {
-                                "index": 65
-                            },
-                            {
-                                "index": 68
-                            },
-                            {
-                                "index": 67
-                            },
-                            {
-                                "index": 62
-                            },
-                            {
-                                "index": 61
-                            },
-                            {
-                                "index": 64
-                            },
-                            {
-                                "index": 63
-                            },
-                            {
-                                "index": 90
-                            },
-                            {
-                                "index": 89
-                            },
-                            {
-                                "index": 92
-                            },
-                            {
-                                "index": 91
-                            },
-                            {
-                                "index": 86
-                            },
-                            {
-                                "index": 85
-                            },
-                            {
-                                "index": 88
-                            },
-                            {
-                                "index": 87
-                            },
-                            {
-                                "index": 82
-                            },
-                            {
-                                "index": 81
-                            },
-                            {
-                                "index": 84
-                            },
-                            {
-                                "index": 83
-                            },
-                            {
-                                "index": 78
-                            },
-                            {
-                                "index": 77
-                            },
-                            {
-                                "index": 80
-                            },
-                            {
-                                "index": 79
-                            },
-                            {
-                                "index": 10
-                            },
-                            {
-                                "index": 9
-                            },
-                            {
-                                "index": 12
-                            },
-                            {
-                                "index": 11
-                            },
-                            {
-                                "index": 6
-                            },
-                            {
-                                "index": 5
-                            },
-                            {
-                                "index": 8
-                            },
-                            {
-                                "index": 7
-                            },
-                            {
-                                "index": 2
-                            },
-                            {
-                                "index": 1
-                            },
-                            {
-                                "index": 4
-                            },
-                            {
-                                "index": 3
-                            },
-                            {
-                                "index": 26
-                            },
-                            {
-                                "index": 25
-                            },
-                            {
-                                "index": 28
-                            },
-                            {
-                                "index": 27
-                            },
-                            {
-                                "index": 22
-                            },
-                            {
-                                "index": 21
-                            },
-                            {
-                                "index": 24
-                            },
-                            {
-                                "index": 23
-                            },
-                            {
-                                "index": 18
-                            },
-                            {
-                                "index": 17
-                            },
-                            {
-                                "index": 20
-                            },
-                            {
-                                "index": 19
-                            },
-                            {
-                                "index": 14
-                            },
-                            {
-                                "index": 13
-                            },
-                            {
-                                "index": 16
-                            },
-                            {
-                                "index": 15
-                            }
-                        ]
-                    },
-                    "org-openroadm-network-topology:node-type": "DEGREE",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "DEG1-TTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-TTP"
-                        },
-                        {
-                            "tp-id": "DEG1-CTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-CTP"
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "ROADMA"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "ROADMA-DEG2",
-                    "org-openroadm-network-topology:degree-attributes": {
-                        "degree-number": 2,
-                        "available-wavelengths": [
-                            {
-                                "index": 94
-                            },
-                            {
-                                "index": 93
-                            },
-                            {
-                                "index": 96
-                            },
-                            {
-                                "index": 95
-                            },
-                            {
-                                "index": 42
-                            },
-                            {
-                                "index": 41
-                            },
-                            {
-                                "index": 44
-                            },
-                            {
-                                "index": 43
-                            },
-                            {
-                                "index": 38
-                            },
-                            {
-                                "index": 37
-                            },
-                            {
-                                "index": 40
-                            },
-                            {
-                                "index": 39
-                            },
-                            {
-                                "index": 34
-                            },
-                            {
-                                "index": 33
-                            },
-                            {
-                                "index": 36
-                            },
-                            {
-                                "index": 35
-                            },
-                            {
-                                "index": 30
-                            },
-                            {
-                                "index": 29
-                            },
-                            {
-                                "index": 32
-                            },
-                            {
-                                "index": 31
-                            },
-                            {
-                                "index": 58
-                            },
-                            {
-                                "index": 57
-                            },
-                            {
-                                "index": 60
-                            },
-                            {
-                                "index": 59
-                            },
-                            {
-                                "index": 54
-                            },
-                            {
-                                "index": 53
-                            },
-                            {
-                                "index": 56
-                            },
-                            {
-                                "index": 55
-                            },
-                            {
-                                "index": 50
-                            },
-                            {
-                                "index": 49
-                            },
-                            {
-                                "index": 52
-                            },
-                            {
-                                "index": 51
-                            },
-                            {
-                                "index": 46
-                            },
-                            {
-                                "index": 45
-                            },
-                            {
-                                "index": 48
-                            },
-                            {
-                                "index": 47
-                            },
-                            {
-                                "index": 74
-                            },
-                            {
-                                "index": 73
-                            },
-                            {
-                                "index": 76
-                            },
-                            {
-                                "index": 75
-                            },
-                            {
-                                "index": 70
-                            },
-                            {
-                                "index": 69
-                            },
-                            {
-                                "index": 72
-                            },
-                            {
-                                "index": 71
-                            },
-                            {
-                                "index": 66
-                            },
-                            {
-                                "index": 65
-                            },
-                            {
-                                "index": 68
-                            },
-                            {
-                                "index": 67
-                            },
-                            {
-                                "index": 62
-                            },
-                            {
-                                "index": 61
-                            },
-                            {
-                                "index": 64
-                            },
-                            {
-                                "index": 63
-                            },
-                            {
-                                "index": 90
-                            },
-                            {
-                                "index": 89
-                            },
-                            {
-                                "index": 92
-                            },
-                            {
-                                "index": 91
-                            },
-                            {
-                                "index": 86
-                            },
-                            {
-                                "index": 85
-                            },
-                            {
-                                "index": 88
-                            },
-                            {
-                                "index": 87
-                            },
-                            {
-                                "index": 82
-                            },
-                            {
-                                "index": 81
-                            },
-                            {
-                                "index": 84
-                            },
-                            {
-                                "index": 83
-                            },
-                            {
-                                "index": 78
-                            },
-                            {
-                                "index": 77
-                            },
-                            {
-                                "index": 80
-                            },
-                            {
-                                "index": 79
-                            },
-                            {
-                                "index": 10
-                            },
-                            {
-                                "index": 9
-                            },
-                            {
-                                "index": 12
-                            },
-                            {
-                                "index": 11
-                            },
-                            {
-                                "index": 6
-                            },
-                            {
-                                "index": 5
-                            },
-                            {
-                                "index": 8
-                            },
-                            {
-                                "index": 7
-                            },
-                            {
-                                "index": 2
-                            },
-                            {
-                                "index": 1
-                            },
-                            {
-                                "index": 4
-                            },
-                            {
-                                "index": 3
-                            },
-                            {
-                                "index": 26
-                            },
-                            {
-                                "index": 25
-                            },
-                            {
-                                "index": 28
-                            },
-                            {
-                                "index": 27
-                            },
-                            {
-                                "index": 22
-                            },
-                            {
-                                "index": 21
-                            },
-                            {
-                                "index": 24
-                            },
-                            {
-                                "index": 23
-                            },
-                            {
-                                "index": 18
-                            },
-                            {
-                                "index": 17
-                            },
-                            {
-                                "index": 20
-                            },
-                            {
-                                "index": 19
-                            },
-                            {
-                                "index": 14
-                            },
-                            {
-                                "index": 13
-                            },
-                            {
-                                "index": 16
-                            },
-                            {
-                                "index": 15
-                            }
-                        ]
-                    },
-                    "org-openroadm-network-topology:node-type": "DEGREE",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "DEG2-CTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-CTP"
-                        },
-                        {
-                            "tp-id": "DEG2-TTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-TTP"
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "ROADMA"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "ROADMB-SRG1",
-                    "org-openroadm-network-topology:srg-attributes": {
-                        "available-wavelengths": [
-                            {
-                                "index": 94
-                            },
-                            {
-                                "index": 93
-                            },
-                            {
-                                "index": 96
-                            },
-                            {
-                                "index": 95
-                            },
-                            {
-                                "index": 42
-                            },
-                            {
-                                "index": 41
-                            },
-                            {
-                                "index": 44
-                            },
-                            {
-                                "index": 43
-                            },
-                            {
-                                "index": 38
-                            },
-                            {
-                                "index": 37
-                            },
-                            {
-                                "index": 40
-                            },
-                            {
-                                "index": 39
-                            },
-                            {
-                                "index": 34
-                            },
-                            {
-                                "index": 33
-                            },
-                            {
-                                "index": 36
-                            },
-                            {
-                                "index": 35
-                            },
-                            {
-                                "index": 30
-                            },
-                            {
-                                "index": 29
-                            },
-                            {
-                                "index": 32
-                            },
-                            {
-                                "index": 31
-                            },
-                            {
-                                "index": 58
-                            },
-                            {
-                                "index": 57
-                            },
-                            {
-                                "index": 60
-                            },
-                            {
-                                "index": 59
-                            },
-                            {
-                                "index": 54
-                            },
-                            {
-                                "index": 53
-                            },
-                            {
-                                "index": 56
-                            },
-                            {
-                                "index": 55
-                            },
-                            {
-                                "index": 50
-                            },
-                            {
-                                "index": 49
-                            },
-                            {
-                                "index": 52
-                            },
-                            {
-                                "index": 51
-                            },
-                            {
-                                "index": 46
-                            },
-                            {
-                                "index": 45
-                            },
-                            {
-                                "index": 48
-                            },
-                            {
-                                "index": 47
-                            },
-                            {
-                                "index": 74
-                            },
-                            {
-                                "index": 73
-                            },
-                            {
-                                "index": 76
-                            },
-                            {
-                                "index": 75
-                            },
-                            {
-                                "index": 70
-                            },
-                            {
-                                "index": 69
-                            },
-                            {
-                                "index": 72
-                            },
-                            {
-                                "index": 71
-                            },
-                            {
-                                "index": 66
-                            },
-                            {
-                                "index": 65
-                            },
-                            {
-                                "index": 68
-                            },
-                            {
-                                "index": 67
-                            },
-                            {
-                                "index": 62
-                            },
-                            {
-                                "index": 61
-                            },
-                            {
-                                "index": 64
-                            },
-                            {
-                                "index": 63
-                            },
-                            {
-                                "index": 90
-                            },
-                            {
-                                "index": 89
-                            },
-                            {
-                                "index": 92
-                            },
-                            {
-                                "index": 91
-                            },
-                            {
-                                "index": 86
-                            },
-                            {
-                                "index": 85
-                            },
-                            {
-                                "index": 88
-                            },
-                            {
-                                "index": 87
-                            },
-                            {
-                                "index": 82
-                            },
-                            {
-                                "index": 81
-                            },
-                            {
-                                "index": 84
-                            },
-                            {
-                                "index": 83
-                            },
-                            {
-                                "index": 78
-                            },
-                            {
-                                "index": 77
-                            },
-                            {
-                                "index": 80
-                            },
-                            {
-                                "index": 79
-                            },
-                            {
-                                "index": 10
-                            },
-                            {
-                                "index": 9
-                            },
-                            {
-                                "index": 12
-                            },
-                            {
-                                "index": 11
-                            },
-                            {
-                                "index": 6
-                            },
-                            {
-                                "index": 5
-                            },
-                            {
-                                "index": 8
-                            },
-                            {
-                                "index": 7
-                            },
-                            {
-                                "index": 2
-                            },
-                            {
-                                "index": 1
-                            },
-                            {
-                                "index": 4
-                            },
-                            {
-                                "index": 3
-                            },
-                            {
-                                "index": 26
-                            },
-                            {
-                                "index": 25
-                            },
-                            {
-                                "index": 28
-                            },
-                            {
-                                "index": 27
-                            },
-                            {
-                                "index": 22
-                            },
-                            {
-                                "index": 21
-                            },
-                            {
-                                "index": 24
-                            },
-                            {
-                                "index": 23
-                            },
-                            {
-                                "index": 18
-                            },
-                            {
-                                "index": 17
-                            },
-                            {
-                                "index": 20
-                            },
-                            {
-                                "index": 19
-                            },
-                            {
-                                "index": 14
-                            },
-                            {
-                                "index": 13
-                            },
-                            {
-                                "index": 16
-                            },
-                            {
-                                "index": 15
-                            }
-                        ]
-                    },
-                    "org-openroadm-network-topology:node-type": "SRG",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "SRG1-PP16-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP10-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP3-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP6-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP9-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP1-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP13-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP4-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP7-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP11-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP15-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP8-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-CP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-CP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP12-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP14-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP2-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP5-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "ROADMB"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "ROADMC-DEG1",
-                    "org-openroadm-network-topology:degree-attributes": {
-                        "degree-number": 1,
-                        "available-wavelengths": [
-                            {
-                                "index": 94
-                            },
-                            {
-                                "index": 93
-                            },
-                            {
-                                "index": 96
-                            },
-                            {
-                                "index": 95
-                            },
-                            {
-                                "index": 42
-                            },
-                            {
-                                "index": 41
-                            },
-                            {
-                                "index": 44
-                            },
-                            {
-                                "index": 43
-                            },
-                            {
-                                "index": 38
-                            },
-                            {
-                                "index": 37
-                            },
-                            {
-                                "index": 40
-                            },
-                            {
-                                "index": 39
-                            },
-                            {
-                                "index": 34
-                            },
-                            {
-                                "index": 33
-                            },
-                            {
-                                "index": 36
-                            },
-                            {
-                                "index": 35
-                            },
-                            {
-                                "index": 30
-                            },
-                            {
-                                "index": 29
-                            },
-                            {
-                                "index": 32
-                            },
-                            {
-                                "index": 31
-                            },
-                            {
-                                "index": 58
-                            },
-                            {
-                                "index": 57
-                            },
-                            {
-                                "index": 60
-                            },
-                            {
-                                "index": 59
-                            },
-                            {
-                                "index": 54
-                            },
-                            {
-                                "index": 53
-                            },
-                            {
-                                "index": 56
-                            },
-                            {
-                                "index": 55
-                            },
-                            {
-                                "index": 50
-                            },
-                            {
-                                "index": 49
-                            },
-                            {
-                                "index": 52
-                            },
-                            {
-                                "index": 51
-                            },
-                            {
-                                "index": 46
-                            },
-                            {
-                                "index": 45
-                            },
-                            {
-                                "index": 48
-                            },
-                            {
-                                "index": 47
-                            },
-                            {
-                                "index": 74
-                            },
-                            {
-                                "index": 73
-                            },
-                            {
-                                "index": 76
-                            },
-                            {
-                                "index": 75
-                            },
-                            {
-                                "index": 70
-                            },
-                            {
-                                "index": 69
-                            },
-                            {
-                                "index": 72
-                            },
-                            {
-                                "index": 71
-                            },
-                            {
-                                "index": 66
-                            },
-                            {
-                                "index": 65
-                            },
-                            {
-                                "index": 68
-                            },
-                            {
-                                "index": 67
-                            },
-                            {
-                                "index": 62
-                            },
-                            {
-                                "index": 61
-                            },
-                            {
-                                "index": 64
-                            },
-                            {
-                                "index": 63
-                            },
-                            {
-                                "index": 90
-                            },
-                            {
-                                "index": 89
-                            },
-                            {
-                                "index": 92
-                            },
-                            {
-                                "index": 91
-                            },
-                            {
-                                "index": 86
-                            },
-                            {
-                                "index": 85
-                            },
-                            {
-                                "index": 88
-                            },
-                            {
-                                "index": 87
-                            },
-                            {
-                                "index": 82
-                            },
-                            {
-                                "index": 81
-                            },
-                            {
-                                "index": 84
-                            },
-                            {
-                                "index": 83
-                            },
-                            {
-                                "index": 78
-                            },
-                            {
-                                "index": 77
-                            },
-                            {
-                                "index": 80
-                            },
-                            {
-                                "index": 79
-                            },
-                            {
-                                "index": 10
-                            },
-                            {
-                                "index": 9
-                            },
-                            {
-                                "index": 12
-                            },
-                            {
-                                "index": 11
-                            },
-                            {
-                                "index": 6
-                            },
-                            {
-                                "index": 5
-                            },
-                            {
-                                "index": 8
-                            },
-                            {
-                                "index": 7
-                            },
-                            {
-                                "index": 2
-                            },
-                            {
-                                "index": 1
-                            },
-                            {
-                                "index": 4
-                            },
-                            {
-                                "index": 3
-                            },
-                            {
-                                "index": 26
-                            },
-                            {
-                                "index": 25
-                            },
-                            {
-                                "index": 28
-                            },
-                            {
-                                "index": 27
-                            },
-                            {
-                                "index": 22
-                            },
-                            {
-                                "index": 21
-                            },
-                            {
-                                "index": 24
-                            },
-                            {
-                                "index": 23
-                            },
-                            {
-                                "index": 18
-                            },
-                            {
-                                "index": 17
-                            },
-                            {
-                                "index": 20
-                            },
-                            {
-                                "index": 19
-                            },
-                            {
-                                "index": 14
-                            },
-                            {
-                                "index": 13
-                            },
-                            {
-                                "index": 16
-                            },
-                            {
-                                "index": 15
-                            }
-                        ]
-                    },
-                    "org-openroadm-network-topology:node-type": "DEGREE",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "DEG1-TTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-TTP"
-                        },
-                        {
-                            "tp-id": "DEG1-CTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-CTP"
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "ROADMC"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "XPDRB-XPDR1",
-                    "org-openroadm-network-topology:node-type": "XPONDER",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "XPDR1-CLIENT2",
-                            "org-openroadm-network-topology:xpdr-client-attributes": {
-                                "tail-equipment-id": "XPDR1-NETWORK2"
-                            },
-                            "org-openroadm-network-topology:tp-type": "XPONDER-CLIENT"
-                        },
-                        {
-                            "tp-id": "XPDR1-CLIENT1",
-                            "org-openroadm-network-topology:xpdr-client-attributes": {
-                                "tail-equipment-id": "XPDR1-NETWORK1"
-                            },
-                            "org-openroadm-network-topology:tp-type": "XPONDER-CLIENT"
-                        },
-                        {
-                            "tp-id": "XPDR1-NETWORK2",
-                            "org-openroadm-network-topology:xpdr-client-attributes": {
-                                "tail-equipment-id": "XPDR1-NETWORK1"
-                            },
-                            "org-openroadm-network-topology:tp-type": "XPONDER-NETWORK",
-                            "org-openroadm-network-topology:xpdr-network-attributes": {
-                                "tail-equipment-id": "XPDR1-CLIENT2"
-                            }
-                        },
-                        {
-                            "tp-id": "XPDR1-NETWORK1",
-                            "org-openroadm-network-topology:xpdr-client-attributes": {
-                                "tail-equipment-id": "XPDR1-NETWORK1"
-                            },
-                            "org-openroadm-network-topology:tp-type": "XPONDER-NETWORK",
-                            "org-openroadm-network-topology:xpdr-network-attributes": {
-                                "tail-equipment-id": "XPDR1-CLIENT1"
-                            }
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "XPDRB"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "ROADMB-DEG1",
-                    "org-openroadm-network-topology:degree-attributes": {
-                        "degree-number": 1,
-                        "available-wavelengths": [
-                            {
-                                "index": 94
-                            },
-                            {
-                                "index": 93
-                            },
-                            {
-                                "index": 96
-                            },
-                            {
-                                "index": 95
-                            },
-                            {
-                                "index": 42
-                            },
-                            {
-                                "index": 41
-                            },
-                            {
-                                "index": 44
-                            },
-                            {
-                                "index": 43
-                            },
-                            {
-                                "index": 38
-                            },
-                            {
-                                "index": 37
-                            },
-                            {
-                                "index": 40
-                            },
-                            {
-                                "index": 39
-                            },
-                            {
-                                "index": 34
-                            },
-                            {
-                                "index": 33
-                            },
-                            {
-                                "index": 36
-                            },
-                            {
-                                "index": 35
-                            },
-                            {
-                                "index": 30
-                            },
-                            {
-                                "index": 29
-                            },
-                            {
-                                "index": 32
-                            },
-                            {
-                                "index": 31
-                            },
-                            {
-                                "index": 58
-                            },
-                            {
-                                "index": 57
-                            },
-                            {
-                                "index": 60
-                            },
-                            {
-                                "index": 59
-                            },
-                            {
-                                "index": 54
-                            },
-                            {
-                                "index": 53
-                            },
-                            {
-                                "index": 56
-                            },
-                            {
-                                "index": 55
-                            },
-                            {
-                                "index": 50
-                            },
-                            {
-                                "index": 49
-                            },
-                            {
-                                "index": 52
-                            },
-                            {
-                                "index": 51
-                            },
-                            {
-                                "index": 46
-                            },
-                            {
-                                "index": 45
-                            },
-                            {
-                                "index": 48
-                            },
-                            {
-                                "index": 47
-                            },
-                            {
-                                "index": 74
-                            },
-                            {
-                                "index": 73
-                            },
-                            {
-                                "index": 76
-                            },
-                            {
-                                "index": 75
-                            },
-                            {
-                                "index": 70
-                            },
-                            {
-                                "index": 69
-                            },
-                            {
-                                "index": 72
-                            },
-                            {
-                                "index": 71
-                            },
-                            {
-                                "index": 66
-                            },
-                            {
-                                "index": 65
-                            },
-                            {
-                                "index": 68
-                            },
-                            {
-                                "index": 67
-                            },
-                            {
-                                "index": 62
-                            },
-                            {
-                                "index": 61
-                            },
-                            {
-                                "index": 64
-                            },
-                            {
-                                "index": 63
-                            },
-                            {
-                                "index": 90
-                            },
-                            {
-                                "index": 89
-                            },
-                            {
-                                "index": 92
-                            },
-                            {
-                                "index": 91
-                            },
-                            {
-                                "index": 86
-                            },
-                            {
-                                "index": 85
-                            },
-                            {
-                                "index": 88
-                            },
-                            {
-                                "index": 87
-                            },
-                            {
-                                "index": 82
-                            },
-                            {
-                                "index": 81
-                            },
-                            {
-                                "index": 84
-                            },
-                            {
-                                "index": 83
-                            },
-                            {
-                                "index": 78
-                            },
-                            {
-                                "index": 77
-                            },
-                            {
-                                "index": 80
-                            },
-                            {
-                                "index": 79
-                            },
-                            {
-                                "index": 10
-                            },
-                            {
-                                "index": 9
-                            },
-                            {
-                                "index": 12
-                            },
-                            {
-                                "index": 11
-                            },
-                            {
-                                "index": 6
-                            },
-                            {
-                                "index": 5
-                            },
-                            {
-                                "index": 8
-                            },
-                            {
-                                "index": 7
-                            },
-                            {
-                                "index": 2
-                            },
-                            {
-                                "index": 1
-                            },
-                            {
-                                "index": 4
-                            },
-                            {
-                                "index": 3
-                            },
-                            {
-                                "index": 26
-                            },
-                            {
-                                "index": 25
-                            },
-                            {
-                                "index": 28
-                            },
-                            {
-                                "index": 27
-                            },
-                            {
-                                "index": 22
-                            },
-                            {
-                                "index": 21
-                            },
-                            {
-                                "index": 24
-                            },
-                            {
-                                "index": 23
-                            },
-                            {
-                                "index": 18
-                            },
-                            {
-                                "index": 17
-                            },
-                            {
-                                "index": 20
-                            },
-                            {
-                                "index": 19
-                            },
-                            {
-                                "index": 14
-                            },
-                            {
-                                "index": 13
-                            },
-                            {
-                                "index": 16
-                            },
-                            {
-                                "index": 15
-                            }
-                        ]
-                    },
-                    "org-openroadm-network-topology:node-type": "DEGREE",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "DEG1-TTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-TTP"
-                        },
-                        {
-                            "tp-id": "DEG1-CTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-CTP"
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "ROADMB"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "ROADMA-SRG1",
-                    "org-openroadm-network-topology:srg-attributes": {
-                        "available-wavelengths": [
-                            {
-                                "index": 94
-                            },
-                            {
-                                "index": 93
-                            },
-                            {
-                                "index": 96
-                            },
-                            {
-                                "index": 95
-                            },
-                            {
-                                "index": 42
-                            },
-                            {
-                                "index": 41
-                            },
-                            {
-                                "index": 44
-                            },
-                            {
-                                "index": 43
-                            },
-                            {
-                                "index": 38
-                            },
-                            {
-                                "index": 37
-                            },
-                            {
-                                "index": 40
-                            },
-                            {
-                                "index": 39
-                            },
-                            {
-                                "index": 34
-                            },
-                            {
-                                "index": 33
-                            },
-                            {
-                                "index": 36
-                            },
-                            {
-                                "index": 35
-                            },
-                            {
-                                "index": 30
-                            },
-                            {
-                                "index": 29
-                            },
-                            {
-                                "index": 32
-                            },
-                            {
-                                "index": 31
-                            },
-                            {
-                                "index": 58
-                            },
-                            {
-                                "index": 57
-                            },
-                            {
-                                "index": 60
-                            },
-                            {
-                                "index": 59
-                            },
-                            {
-                                "index": 54
-                            },
-                            {
-                                "index": 53
-                            },
-                            {
-                                "index": 56
-                            },
-                            {
-                                "index": 55
-                            },
-                            {
-                                "index": 50
-                            },
-                            {
-                                "index": 49
-                            },
-                            {
-                                "index": 52
-                            },
-                            {
-                                "index": 51
-                            },
-                            {
-                                "index": 46
-                            },
-                            {
-                                "index": 45
-                            },
-                            {
-                                "index": 48
-                            },
-                            {
-                                "index": 47
-                            },
-                            {
-                                "index": 74
-                            },
-                            {
-                                "index": 73
-                            },
-                            {
-                                "index": 76
-                            },
-                            {
-                                "index": 75
-                            },
-                            {
-                                "index": 70
-                            },
-                            {
-                                "index": 69
-                            },
-                            {
-                                "index": 72
-                            },
-                            {
-                                "index": 71
-                            },
-                            {
-                                "index": 66
-                            },
-                            {
-                                "index": 65
-                            },
-                            {
-                                "index": 68
-                            },
-                            {
-                                "index": 67
-                            },
-                            {
-                                "index": 62
-                            },
-                            {
-                                "index": 61
-                            },
-                            {
-                                "index": 64
-                            },
-                            {
-                                "index": 63
-                            },
-                            {
-                                "index": 90
-                            },
-                            {
-                                "index": 89
-                            },
-                            {
-                                "index": 92
-                            },
-                            {
-                                "index": 91
-                            },
-                            {
-                                "index": 86
-                            },
-                            {
-                                "index": 85
-                            },
-                            {
-                                "index": 88
-                            },
-                            {
-                                "index": 87
-                            },
-                            {
-                                "index": 82
-                            },
-                            {
-                                "index": 81
-                            },
-                            {
-                                "index": 84
-                            },
-                            {
-                                "index": 83
-                            },
-                            {
-                                "index": 78
-                            },
-                            {
-                                "index": 77
-                            },
-                            {
-                                "index": 80
-                            },
-                            {
-                                "index": 79
-                            },
-                            {
-                                "index": 10
-                            },
-                            {
-                                "index": 9
-                            },
-                            {
-                                "index": 12
-                            },
-                            {
-                                "index": 11
-                            },
-                            {
-                                "index": 6
-                            },
-                            {
-                                "index": 5
-                            },
-                            {
-                                "index": 8
-                            },
-                            {
-                                "index": 7
-                            },
-                            {
-                                "index": 2
-                            },
-                            {
-                                "index": 1
-                            },
-                            {
-                                "index": 4
-                            },
-                            {
-                                "index": 3
-                            },
-                            {
-                                "index": 26
-                            },
-                            {
-                                "index": 25
-                            },
-                            {
-                                "index": 28
-                            },
-                            {
-                                "index": 27
-                            },
-                            {
-                                "index": 22
-                            },
-                            {
-                                "index": 21
-                            },
-                            {
-                                "index": 24
-                            },
-                            {
-                                "index": 23
-                            },
-                            {
-                                "index": 18
-                            },
-                            {
-                                "index": 17
-                            },
-                            {
-                                "index": 20
-                            },
-                            {
-                                "index": 19
-                            },
-                            {
-                                "index": 14
-                            },
-                            {
-                                "index": 13
-                            },
-                            {
-                                "index": 16
-                            },
-                            {
-                                "index": 15
-                            }
-                        ]
-                    },
-                    "org-openroadm-network-topology:node-type": "SRG",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "SRG1-PP16-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP10-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP3-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP6-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP9-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP1-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP13-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP4-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP7-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP11-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP15-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP8-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-CP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-CP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP12-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP14-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP2-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        },
-                        {
-                            "tp-id": "SRG1-PP5-TXRX",
-                            "org-openroadm-network-topology:tp-type": "SRG-TXRX-PP"
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "ROADMA"
-                        }
-                    ]
-                },
-                {
-                    "node-id": "ROADMB-DEG2",
-                    "org-openroadm-network-topology:degree-attributes": {
-                        "degree-number": 2,
-                        "available-wavelengths": [
-                            {
-                                "index": 94
-                            },
-                            {
-                                "index": 93
-                            },
-                            {
-                                "index": 96
-                            },
-                            {
-                                "index": 95
-                            },
-                            {
-                                "index": 42
-                            },
-                            {
-                                "index": 41
-                            },
-                            {
-                                "index": 44
-                            },
-                            {
-                                "index": 43
-                            },
-                            {
-                                "index": 38
-                            },
-                            {
-                                "index": 37
-                            },
-                            {
-                                "index": 40
-                            },
-                            {
-                                "index": 39
-                            },
-                            {
-                                "index": 34
-                            },
-                            {
-                                "index": 33
-                            },
-                            {
-                                "index": 36
-                            },
-                            {
-                                "index": 35
-                            },
-                            {
-                                "index": 30
-                            },
-                            {
-                                "index": 29
-                            },
-                            {
-                                "index": 32
-                            },
-                            {
-                                "index": 31
-                            },
-                            {
-                                "index": 58
-                            },
-                            {
-                                "index": 57
-                            },
-                            {
-                                "index": 60
-                            },
-                            {
-                                "index": 59
-                            },
-                            {
-                                "index": 54
-                            },
-                            {
-                                "index": 53
-                            },
-                            {
-                                "index": 56
-                            },
-                            {
-                                "index": 55
-                            },
-                            {
-                                "index": 50
-                            },
-                            {
-                                "index": 49
-                            },
-                            {
-                                "index": 52
-                            },
-                            {
-                                "index": 51
-                            },
-                            {
-                                "index": 46
-                            },
-                            {
-                                "index": 45
-                            },
-                            {
-                                "index": 48
-                            },
-                            {
-                                "index": 47
-                            },
-                            {
-                                "index": 74
-                            },
-                            {
-                                "index": 73
-                            },
-                            {
-                                "index": 76
-                            },
-                            {
-                                "index": 75
-                            },
-                            {
-                                "index": 70
-                            },
-                            {
-                                "index": 69
-                            },
-                            {
-                                "index": 72
-                            },
-                            {
-                                "index": 71
-                            },
-                            {
-                                "index": 66
-                            },
-                            {
-                                "index": 65
-                            },
-                            {
-                                "index": 68
-                            },
-                            {
-                                "index": 67
-                            },
-                            {
-                                "index": 62
-                            },
-                            {
-                                "index": 61
-                            },
-                            {
-                                "index": 64
-                            },
-                            {
-                                "index": 63
-                            },
-                            {
-                                "index": 90
-                            },
-                            {
-                                "index": 89
-                            },
-                            {
-                                "index": 92
-                            },
-                            {
-                                "index": 91
-                            },
-                            {
-                                "index": 86
-                            },
-                            {
-                                "index": 85
-                            },
-                            {
-                                "index": 88
-                            },
-                            {
-                                "index": 87
-                            },
-                            {
-                                "index": 82
-                            },
-                            {
-                                "index": 81
-                            },
-                            {
-                                "index": 84
-                            },
-                            {
-                                "index": 83
-                            },
-                            {
-                                "index": 78
-                            },
-                            {
-                                "index": 77
-                            },
-                            {
-                                "index": 80
-                            },
-                            {
-                                "index": 79
-                            },
-                            {
-                                "index": 10
-                            },
-                            {
-                                "index": 9
-                            },
-                            {
-                                "index": 12
-                            },
-                            {
-                                "index": 11
-                            },
-                            {
-                                "index": 6
-                            },
-                            {
-                                "index": 5
-                            },
-                            {
-                                "index": 8
-                            },
-                            {
-                                "index": 7
-                            },
-                            {
-                                "index": 2
-                            },
-                            {
-                                "index": 1
-                            },
-                            {
-                                "index": 4
-                            },
-                            {
-                                "index": 3
-                            },
-                            {
-                                "index": 26
-                            },
-                            {
-                                "index": 25
-                            },
-                            {
-                                "index": 28
-                            },
-                            {
-                                "index": 27
-                            },
-                            {
-                                "index": 22
-                            },
-                            {
-                                "index": 21
-                            },
-                            {
-                                "index": 24
-                            },
-                            {
-                                "index": 23
-                            },
-                            {
-                                "index": 18
-                            },
-                            {
-                                "index": 17
-                            },
-                            {
-                                "index": 20
-                            },
-                            {
-                                "index": 19
-                            },
-                            {
-                                "index": 14
-                            },
-                            {
-                                "index": 13
-                            },
-                            {
-                                "index": 16
-                            },
-                            {
-                                "index": 15
-                            }
-                        ]
-                    },
-                    "org-openroadm-network-topology:node-type": "DEGREE",
-                    "ietf-network-topology:termination-point": [
-                        {
-                            "tp-id": "DEG2-CTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-CTP"
-                        },
-                        {
-                            "tp-id": "DEG2-TTP-TXRX",
-                            "org-openroadm-network-topology:tp-type": "DEGREE-TXRX-TTP"
-                        }
-                    ],
-                    "supporting-node": [
-                        {
-                            "network-ref": "openroadm-network",
-                            "node-ref": "ROADMB"
-                        }
-                    ]
-                }
-            ],
-            "network-types": {
-                "org-openroadm-common-network:openroadm-common-network": {}
-            },
-            "ietf-network-topology:link": [
-                {
-                    "link-id": "ROADMA-DEG1-DEG1-CTP-TXRXtoROADMA-SRG1-SRG1-CP-TXRX",
-                    "source": {
-                        "source-node": "ROADMA-DEG1",
-                        "source-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "DROP-LINK",
-                    "destination": {
-                        "dest-node": "ROADMA-SRG1",
-                        "dest-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMA-SRG1-SRG1-CP-TXRXtoROADMA-DEG1-DEG1-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMA-DEG2-DEG2-CTP-TXRXtoROADMA-SRG1-SRG1-CP-TXRX",
-                    "source": {
-                        "source-node": "ROADMA-DEG2",
-                        "source-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "DROP-LINK",
-                    "destination": {
-                        "dest-node": "ROADMA-SRG1",
-                        "dest-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMA-SRG1-SRG1-CP-TXRXtoROADMA-DEG2-DEG2-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMA-DEG1-DEG1-CTP-TXRXtoROADMA-DEG2-DEG2-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMA-DEG1",
-                        "source-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "EXPRESS-LINK",
-                    "destination": {
-                        "dest-node": "ROADMA-DEG2",
-                        "dest-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMA-DEG2-DEG2-CTP-TXRXtoROADMA-DEG1-DEG1-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMC-DEG1-DEG1-CTP-TXRXtoROADMC-SRG1-SRG1-CP-TXRX",
-                    "source": {
-                        "source-node": "ROADMC-DEG1",
-                        "source-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "DROP-LINK",
-                    "destination": {
-                        "dest-node": "ROADMC-SRG1",
-                        "dest-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMC-SRG1-SRG1-CP-TXRXtoROADMC-DEG1-DEG1-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMB-DEG1-DEG1-CTP-TXRXtoROADMB-SRG1-SRG1-CP-TXRX",
-                    "source": {
-                        "source-node": "ROADMB-DEG1",
-                        "source-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "DROP-LINK",
-                    "destination": {
-                        "dest-node": "ROADMB-SRG1",
-                        "dest-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMB-SRG1-SRG1-CP-TXRXtoROADMB-DEG1-DEG1-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMB-DEG2-DEG2-CTP-TXRXtoROADMB-SRG1-SRG1-CP-TXRX",
-                    "source": {
-                        "source-node": "ROADMB-DEG2",
-                        "source-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "DROP-LINK",
-                    "destination": {
-                        "dest-node": "ROADMB-SRG1",
-                        "dest-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMB-SRG1-SRG1-CP-TXRXtoROADMB-DEG2-DEG2-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMC-DEG2-DEG2-CTP-TXRXtoROADMC-SRG1-SRG1-CP-TXRX",
-                    "source": {
-                        "source-node": "ROADMC-DEG2",
-                        "source-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "DROP-LINK",
-                    "destination": {
-                        "dest-node": "ROADMC-SRG1",
-                        "dest-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMC-SRG1-SRG1-CP-TXRXtoROADMC-DEG2-DEG2-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMC-DEG1-DEG1-CTP-TXRXtoROADMC-DEG2-DEG2-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMC-DEG1",
-                        "source-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "EXPRESS-LINK",
-                    "destination": {
-                        "dest-node": "ROADMC-DEG2",
-                        "dest-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMC-DEG2-DEG2-CTP-TXRXtoROADMC-DEG1-DEG1-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMB-DEG1-DEG1-CTP-TXRXtoROADMB-DEG2-DEG2-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMB-DEG1",
-                        "source-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "EXPRESS-LINK",
-                    "destination": {
-                        "dest-node": "ROADMB-DEG2",
-                        "dest-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMB-DEG2-DEG2-CTP-TXRXtoROADMB-DEG1-DEG1-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMA-DEG1-DEG1-TTP-TXRXtoROADMC-DEG2-DEG2-TTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMA-DEG1",
-                        "source-tp": "DEG1-TTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:OMS-attributes": {
-                        "opposite-link": "ROADMC-DEG2-DEG2-TTP-TXRXtoROADMA-DEG1-DEG1-TTP-TXRX",
-                        "span": {
-                            "spanloss-base": 11.4,
-                            "link-concatenation": [
-                                {
-                                    "SRLG-Id": 0,
-                                    "SRLG-length": 100000,
-                                    "pmd": 0.5,
-                                    "fiber-type": "smf"
-                                }
-                            ],
-                            "spanloss-current": 12,
-                            "engineered-spanloss": 12.2,
-                            "clfi": "fiber1",
-                            "auto-spanloss": "true"
-                        }
-                    },
-                    "org-openroadm-network-topology:link-type": "ROADM-TO-ROADM",
-                    "destination": {
-                        "dest-node": "ROADMC-DEG2",
-                        "dest-tp": "DEG2-TTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMC-DEG2-DEG2-TTP-TXRXtoROADMA-DEG1-DEG1-TTP-TXRX"
-                },
-                {
-                    "link-id": "XPDRA-XPDR1-XPDR1-NETWORK1toROADMA-SRG1-SRG1-PP1-TXRX",
-                    "source": {
-                        "source-node": "XPDRA-XPDR1",
-                        "source-tp": "XPDR1-NETWORK1"
-                    },
-                    "org-openroadm-network-topology:opposite-link": "ROADMA-SRG1-SRG1-PP1-TXRXtoXPDRA-XPDR1-XPDR1-NETWORK1",
-                    "org-openroadm-network-topology:link-type": "XPONDER-OUTPUT",
-                    "destination": {
-                        "dest-node": "ROADMA-SRG1",
-                        "dest-tp": "SRG1-PP1-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMA-SRG1-SRG1-PP1-TXRXtoXPDRA-XPDR1-XPDR1-NETWORK1"
-                },
-                {
-                    "link-id": "ROADMC-DEG1-DEG1-TTP-TXRXtoROADMB-DEG2-DEG2-TTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMC-DEG1",
-                        "source-tp": "DEG1-TTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:OMS-attributes": {
-                        "opposite-link": "ROADMB-DEG2-DEG2-TTP-TXRXtoROADMC-DEG1-DEG1-TTP-TXRX",
-                        "span": {
-                            "spanloss-base": 11.4,
-                            "link-concatenation": [
-                                {
-                                    "SRLG-Id": 0,
-                                    "SRLG-length": 100000,
-                                    "pmd": 0.5,
-                                    "fiber-type": "smf"
-                                }
-                            ],
-                            "spanloss-current": 12,
-                            "engineered-spanloss": 12.2,
-                            "clfi": "fiber2",
-                            "auto-spanloss": "true"
-                        }
-                    },
-                    "org-openroadm-network-topology:link-type": "ROADM-TO-ROADM",
-                    "destination": {
-                        "dest-node": "ROADMB-DEG2",
-                        "dest-tp": "DEG2-TTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMB-DEG2-DEG2-TTP-TXRXtoROADMC-DEG1-DEG1-TTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMB-DEG1-DEG1-TTP-TXRXtoROADMA-DEG2-DEG2-TTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMB-DEG1",
-                        "source-tp": "DEG1-TTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:OMS-attributes": {
-                        "opposite-link": "ROADMA-DEG2-DEG2-TTP-TXRXtoROADMB-DEG1-DEG1-TTP-TXRX",
-                        "span": {
-                            "spanloss-base": 11.4,
-                            "link-concatenation": [
-                                {
-                                    "SRLG-Id": 0,
-                                    "SRLG-length": 100000,
-                                    "pmd": 0.5,
-                                    "fiber-type": "smf"
-                                }
-                            ],
-                            "spanloss-current": 12,
-                            "engineered-spanloss": 12.2,
-                            "clfi": "fiber3",
-                            "auto-spanloss": "true"
-                        }
-                    },
-                    "org-openroadm-network-topology:link-type": "ROADM-TO-ROADM",
-                    "destination": {
-                        "dest-node": "ROADMA-DEG2",
-                        "dest-tp": "DEG2-TTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMA-DEG2-DEG2-TTP-TXRXtoROADMB-DEG1-DEG1-TTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMA-SRG1-SRG1-CP-TXRXtoROADMA-DEG2-DEG2-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMA-SRG1",
-                        "source-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "ADD-LINK",
-                    "destination": {
-                        "dest-node": "ROADMA-DEG2",
-                        "dest-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMA-DEG2-DEG2-CTP-TXRXtoROADMA-SRG1-SRG1-CP-TXRX"
-                },
-                {
-                    "link-id": "ROADMA-DEG2-DEG2-CTP-TXRXtoROADMA-DEG1-DEG1-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMA-DEG2",
-                        "source-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "EXPRESS-LINK",
-                    "destination": {
-                        "dest-node": "ROADMA-DEG1",
-                        "dest-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMA-DEG1-DEG1-CTP-TXRXtoROADMA-DEG2-DEG2-CTP-TXRX"
-                },
-                {
-                    "link-id": "XPDRB-XPDR1-XPDR1-NETWORK1toROADMB-SRG1-SRG1-PP1-TXRX",
-                    "source": {
-                        "source-node": "XPDRB-XPDR1",
-                        "source-tp": "XPDR1-NETWORK1"
-                    },
-                    "org-openroadm-network-topology:opposite-link": "ROADMB-SRG1-SRG1-PP1-TXRXtoXPDRB-XPDR1-XPDR1-NETWORK1",
-                    "org-openroadm-network-topology:link-type": "XPONDER-OUTPUT",
-                    "destination": {
-                        "dest-node": "ROADMB-SRG1",
-                        "dest-tp": "SRG1-PP1-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMB-SRG1-SRG1-PP1-TXRXtoXPDRB-XPDR1-XPDR1-NETWORK1"
-                },
-                {
-                    "link-id": "ROADMA-SRG1-SRG1-CP-TXRXtoROADMA-DEG1-DEG1-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMA-SRG1",
-                        "source-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "ADD-LINK",
-                    "destination": {
-                        "dest-node": "ROADMA-DEG1",
-                        "dest-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMA-DEG1-DEG1-CTP-TXRXtoROADMA-SRG1-SRG1-CP-TXRX"
-                },
-                {
-                    "link-id": "ROADMA-SRG1-SRG1-PP1-TXRXtoXPDRA-XPDR1-XPDR1-NETWORK1",
-                    "source": {
-                        "source-node": "ROADMA-SRG1",
-                        "source-tp": "SRG1-PP1-TXRX"
-                    },
-                    "org-openroadm-network-topology:opposite-link": "XPDRA-XPDR1-XPDR1-NETWORK1toROADMA-SRG1-SRG1-PP1-TXRX",
-                    "org-openroadm-network-topology:link-type": "XPONDER-INPUT",
-                    "destination": {
-                        "dest-node": "XPDRA-XPDR1",
-                        "dest-tp": "XPDR1-NETWORK1"
-                    },
-                    "org-openroadm-common-network:opposite-link": "XPDRA-XPDR1-XPDR1-NETWORK1toROADMA-SRG1-SRG1-PP1-TXRX"
-                },
-                {
-                    "link-id": "ROADMC-DEG2-DEG2-CTP-TXRXtoROADMC-DEG1-DEG1-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMC-DEG2",
-                        "source-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "EXPRESS-LINK",
-                    "destination": {
-                        "dest-node": "ROADMC-DEG1",
-                        "dest-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMC-DEG1-DEG1-CTP-TXRXtoROADMC-DEG2-DEG2-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMB-DEG2-DEG2-TTP-TXRXtoROADMC-DEG1-DEG1-TTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMB-DEG2",
-                        "source-tp": "DEG2-TTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:OMS-attributes": {
-                        "opposite-link": "ROADMC-DEG1-DEG1-TTP-TXRXtoROADMB-DEG2-DEG2-TTP-TXRX",
-                        "span": {
-                            "spanloss-base": 11.4,
-                            "link-concatenation": [
-                                {
-                                    "SRLG-Id": 0,
-                                    "SRLG-length": 100000,
-                                    "pmd": 0.5,
-                                    "fiber-type": "smf"
-                                }
-                            ],
-                            "spanloss-current": 12,
-                            "engineered-spanloss": 12.2,
-                            "clfi": "fiber4",
-                            "auto-spanloss": "true"
-                        }
-                    },
-                    "org-openroadm-network-topology:link-type": "ROADM-TO-ROADM",
-                    "destination": {
-                        "dest-node": "ROADMC-DEG1",
-                        "dest-tp": "DEG1-TTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMC-DEG1-DEG1-TTP-TXRXtoROADMB-DEG2-DEG2-TTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMB-DEG2-DEG2-CTP-TXRXtoROADMB-DEG1-DEG1-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMB-DEG2",
-                        "source-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "EXPRESS-LINK",
-                    "destination": {
-                        "dest-node": "ROADMB-DEG1",
-                        "dest-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMB-DEG1-DEG1-CTP-TXRXtoROADMB-DEG2-DEG2-CTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMA-DEG2-DEG2-TTP-TXRXtoROADMB-DEG1-DEG1-TTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMA-DEG2",
-                        "source-tp": "DEG2-TTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:OMS-attributes": {
-                        "opposite-link": "ROADMB-DEG1-DEG1-TTP-TXRXtoROADMA-DEG2-DEG2-TTP-TXRX",
-                        "span": {
-                            "spanloss-base": 11.4,
-                            "link-concatenation": [
-                                {
-                                    "SRLG-Id": 0,
-                                    "SRLG-length": 100000,
-                                    "pmd": 0.5,
-                                    "fiber-type": "smf"
-                                }
-                            ],
-                            "spanloss-current": 12,
-                            "engineered-spanloss": 12.2,
-                            "clfi": "fiber5",
-                            "auto-spanloss": "true"
-                        }
-                    },
-                    "org-openroadm-network-topology:link-type": "ROADM-TO-ROADM",
-                    "destination": {
-                        "dest-node": "ROADMB-DEG1",
-                        "dest-tp": "DEG1-TTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMB-DEG1-DEG1-TTP-TXRXtoROADMA-DEG2-DEG2-TTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMC-SRG1-SRG1-CP-TXRXtoROADMC-DEG2-DEG2-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMC-SRG1",
-                        "source-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "ADD-LINK",
-                    "destination": {
-                        "dest-node": "ROADMC-DEG2",
-                        "dest-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMC-DEG2-DEG2-CTP-TXRXtoROADMC-SRG1-SRG1-CP-TXRX"
-                },
-                {
-                    "link-id": "ROADMC-DEG2-DEG2-TTP-TXRXtoROADMA-DEG1-DEG1-TTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMC-DEG2",
-                        "source-tp": "DEG2-TTP-TXRX"
-                    },
-                    "org-openroadm-network-topology:OMS-attributes": {
-                        "opposite-link": "ROADMA-DEG1-DEG1-TTP-TXRXtoROADMC-DEG2-DEG2-TTP-TXRX",
-                        "span": {
-                            "spanloss-base": 11.4,
-                            "link-concatenation": [
-                                {
-                                    "SRLG-Id": 0,
-                                    "SRLG-length": 100000,
-                                    "pmd": 0.5,
-                                    "fiber-type": "smf"
-                                }
-                            ],
-                            "spanloss-current": 12,
-                            "engineered-spanloss": 12.2,
-                            "clfi": "fiber6",
-                            "auto-spanloss": "true"
-                        }
-                    },
-                    "org-openroadm-network-topology:link-type": "ROADM-TO-ROADM",
-                    "destination": {
-                        "dest-node": "ROADMA-DEG1",
-                        "dest-tp": "DEG1-TTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMA-DEG1-DEG1-TTP-TXRXtoROADMC-DEG2-DEG2-TTP-TXRX"
-                },
-                {
-                    "link-id": "ROADMC-SRG1-SRG1-CP-TXRXtoROADMC-DEG1-DEG1-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMC-SRG1",
-                        "source-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "ADD-LINK",
-                    "destination": {
-                        "dest-node": "ROADMC-DEG1",
-                        "dest-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMC-DEG1-DEG1-CTP-TXRXtoROADMC-SRG1-SRG1-CP-TXRX"
-                },
-                {
-                    "link-id": "ROADMB-SRG1-SRG1-CP-TXRXtoROADMB-DEG1-DEG1-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMB-SRG1",
-                        "source-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "ADD-LINK",
-                    "destination": {
-                        "dest-node": "ROADMB-DEG1",
-                        "dest-tp": "DEG1-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMB-DEG1-DEG1-CTP-TXRXtoROADMB-SRG1-SRG1-CP-TXRX"
-                },
-                {
-                    "link-id": "ROADMB-SRG1-SRG1-CP-TXRXtoROADMB-DEG2-DEG2-CTP-TXRX",
-                    "source": {
-                        "source-node": "ROADMB-SRG1",
-                        "source-tp": "SRG1-CP-TXRX"
-                    },
-                    "org-openroadm-network-topology:link-type": "ADD-LINK",
-                    "destination": {
-                        "dest-node": "ROADMB-DEG2",
-                        "dest-tp": "DEG2-CTP-TXRX"
-                    },
-                    "org-openroadm-common-network:opposite-link": "ROADMB-DEG2-DEG2-CTP-TXRXtoROADMB-SRG1-SRG1-CP-TXRX"
-                },
-                {
-                    "link-id": "ROADMB-SRG1-SRG1-PP1-TXRXtoXPDRB-XPDR1-XPDR1-NETWORK1",
-                    "source": {
-                        "source-node": "ROADMB-SRG1",
-                        "source-tp": "SRG1-PP1-TXRX"
-                    },
-                    "org-openroadm-network-topology:opposite-link": "XPDRB-XPDR1-XPDR1-NETWORK1toROADMB-SRG1-SRG1-PP1-TXRX",
-                    "org-openroadm-network-topology:link-type": "XPONDER-INPUT",
-                    "destination": {
-                        "dest-node": "XPDRB-XPDR1",
-                        "dest-tp": "XPDR1-NETWORK1"
-                    },
-                    "org-openroadm-common-network:opposite-link": "XPDRB-XPDR1-XPDR1-NETWORK1toROADMB-SRG1-SRG1-PP1-TXRX"
-                }
-            ]
-            }]
-        }
+        topo_ordTopo_file = "sample_configs/gnpy/openroadmTopology.json"
+        if os.path.isfile(topo_ordTopo_file):
+            with open(topo_ordTopo_file, 'r') as ord_topo:
+                body = ord_topo.read()
         headers = {'content-type': 'application/json'}
         response = requests.request(
-             "PUT", url, data=json.dumps(data), headers=headers,
+             "PUT", url, data=body, headers=headers,
              auth=('admin', 'admin'))
         self.assertEqual(response.status_code, requests.codes.ok)
         time.sleep(3)