Skip to content
Snippets Groups Projects
Commit 41fbf497 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Pre-merge code cleanup

parent ecd3cd08
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!284Resolve: "(CNIT) Multi-Granular Optical Nodes and Optical Transpoders management"
This commit is part of merge request !284. Comments created here will be created in the context of that merge request.
File deleted
File deleted
File deleted
a deleted 100644 → 0
Source diff could not be displayed: it is too large. Options to address this: view the blob.
aa deleted 100644 → 0
Source diff could not be displayed: it is too large. Options to address this: view the blob.
<?xml version="1.0" encoding="UTF-8"?><data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" xmlns:nc="urn:ietf:params:xml:ns:netconf:base:1.0"><interfaces xmlns="http://openconfig.net/yang/interfaces"><interface><name>eth0</name><config><name>eth0</name><enabled>true</enabled></config><ipv4 xmlns="http://openconfig.net/yang/interfaces/ip"><addresses><address><ip>192.168.1.1</ip><config><ip>192.168.1.1</ip><prefix-length>24</prefix-length></config></address></addresses></ipv4></interface></interfaces><components xmlns="http://openconfig.net/yang/platform"><component><name>channel-1</name><config><name>channel-1</name></config><state><name>channel-1</name><type xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:OPTICAL_CHANNEL</type></state><optical-channel xmlns="http://openconfig.net/yang/terminal-device"><config><frequency>191600000</frequency><target-output-power>100.0</target-output-power><operational-mode>0</operational-mode><line-port>transceiver-1</line-port></config><state><frequency>191600000</frequency><target-output-power>0.0</target-output-power><operational-mode>0</operational-mode><line-port>transceiver-1</line-port><group-id>1</group-id><output-power><instant>0.0</instant><avg>0.0</avg><min>0.0</min><max>0.0</max><interval>0</interval></output-power><input-power><instant>0.0</instant><avg>0.0</avg><min>0.0</min><max>0.0</max><interval>0</interval></input-power><laser-bias-current><instant>0.0</instant><avg>0.0</avg><min>0.0</min><max>0.0</max><interval>0</interval></laser-bias-current><chromatic-dispersion><instant>0.0</instant><avg>0.0</avg><min>0.0</min><max>0.0</max></chromatic-dispersion><polarization-mode-dispersion><instant>0.0</instant><avg>0.0</avg><min>0.0</min><max>0.0</max></polarization-mode-dispersion><second-order-polarization-mode-dispersion><instant>0.0</instant><avg>0.0</avg><min>0.0</min><max>0.0</max></second-order-polarization-mode-dispersion><polarization-dependent-loss><instant>0.0</instant><avg>0.0</avg><min>0.0</min><max>0.0</max><interval>0</interval></polarization-dependent-loss></state></optical-channel></component><component><name>device</name><config><name>device</name></config><state><name>MellanoxSwitch</name><type xmlns:oc-platform-types="http://openconfig.net/yang/platform-types">oc-platform-types:OPERATING_SYSTEM</type><mfg-name>SSSA-CNIT</mfg-name><hardware-version>1.0.0</hardware-version><firmware-version>1.0.0</firmware-version><software-version>1.0.0</software-version><serial-no>610610</serial-no></state></component><component><name>port-1</name><config><name>port-1</name></config><state><name>port-1</name><type xmlns:oc-platform-types="http://openconfig.net/yang/platform-types">oc-platform-types:PORT</type></state><properties><property><name>odtn-port-type</name><config><name>odtn-port-type</name><value>line</value></config><state><name>odtn-port-type</name><value>line</value></state></property><property><name>onos-index</name><config><name>onos-index</name><value>4</value></config><state><name>onos-index</name><value>4</value></state></property></properties><subcomponents><subcomponent><name>channel-1</name><config><name>channel-1</name></config><state><name>channel-1</name></state></subcomponent></subcomponents></component><component><name>transceiver-1</name><config><name>transceiver-1</name></config><state><name>transceiver-1</name><type xmlns:oc-platform-types="http://openconfig.net/yang/platform-types">oc-platform-types:TRANSCEIVER</type></state><transceiver xmlns="http://openconfig.net/yang/platform/transceiver"><config><enabled>true</enabled><form-factor-preconf xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:QSFP56_DD_TYPE1</form-factor-preconf><ethernet-pmd-preconf xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:ETH_400GBASE_ZR</ethernet-pmd-preconf><fec-mode xmlns:oc-platform-types="http://openconfig.net/yang/platform-types">oc-platform-types:FEC_AUTO</fec-mode><module-functional-type xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:TYPE_DIGITAL_COHERENT_OPTIC</module-functional-type></config><state><enabled>true</enabled><form-factor-preconf xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:QSFP56_DD_TYPE1</form-factor-preconf><ethernet-pmd-preconf xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:ETH_400GBASE_ZR</ethernet-pmd-preconf><fec-mode xmlns:oc-platform-types="http://openconfig.net/yang/platform-types">oc-platform-types:FEC_AUTO</fec-mode><module-functional-type xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:TYPE_DIGITAL_COHERENT_OPTIC</module-functional-type><vendor>Cisco</vendor><vendor-part>400zr-QSFP-DD</vendor-part><vendor-rev>01</vendor-rev><serial-no>1567321</serial-no></state><physical-channels><channel><index>1</index><config><index>1</index><associated-optical-channel>channel-1</associated-optical-channel></config></channel></physical-channels></transceiver></component></components><bgp-instance xmlns="http://openconfig.net/yang/protocols"><bgp><neighbors><neighbor><neighbor-address>192.168.1.1</neighbor-address><config><neighbor-address>192.168.1.1</neighbor-address><neighbor-port>88</neighbor-port><enabled>true</enabled><peer-as>65432</peer-as></config></neighbor></neighbors></bgp></bgp-instance><terminal-device xmlns="http://openconfig.net/yang/terminal-device"><logical-channels><channel><index>1</index><config><index>1</index><description>Logical channel 1</description><admin-state>DISABLED</admin-state><logical-channel-type xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:PROT_OTN</logical-channel-type><loopback-mode>NONE</loopback-mode></config><state><index>1</index><description>Logical channel 1</description><admin-state>DISABLED</admin-state><logical-channel-type xmlns:oc-opt-types="http://openconfig.net/yang/transport-types">oc-opt-types:PROT_OTN</logical-channel-type><loopback-mode>NONE</loopback-mode><link-state>UP</link-state></state><ingress><config><transceiver>transceiver-1</transceiver></config><state><transceiver>transceiver-1</transceiver></state></ingress><logical-channel-assignments><assignment><index>1</index><config><index>1</index><description>Optical channel assigned 100</description><assignment-type>OPTICAL_CHANNEL</assignment-type><optical-channel>channel-1</optical-channel><allocation>100.0</allocation></config><state><index>1</index><description>Optical channel assigned 100</description><assignment-type>OPTICAL_CHANNEL</assignment-type><optical-channel>channel-1</optical-channel><allocation>100.0</allocation></state></assignment></logical-channel-assignments></channel></logical-channels><operational-modes><mode><mode-id>1</mode-id><state><mode-id>1</mode-id><description>FEC1</description><vendor-id>Ericsson</vendor-id></state></mode><mode><mode-id>2</mode-id><state><mode-id>2</mode-id><description>FEC2</description><vendor-id>Ericsson</vendor-id></state></mode></operational-modes></terminal-device><aaa xmlns="http://tail-f.com/ns/aaa/1.1"><authentication><users><user><name>admin</name><uid>9000</uid><gid>100</gid><password>$1$HWfCFyTg$TOxt04aLi5ONWrSB8X94U.</password><ssh_keydir>/var/confd/homes/admin/.ssh</ssh_keydir><homedir>/var/confd/homes/admin</homedir></user><user><name>oper</name><uid>9003</uid><gid>103</gid><password>$1$D8R6MYXb$ah52S1b/zOYSlbVU9MS/21</password><ssh_keydir>/var/confd/homes/oper/.ssh</ssh_keydir><homedir>/var/confd/homes/oper</homedir></user><user><name>optical</name><uid>9001</uid><gid>101</gid><password>$1$qJM5YOJZ$Y1ECCKsRIgMFJBk.hrjkv1</password><ssh_keydir>/var/confd/homes/optical/.ssh</ssh_keydir><homedir>/var/confd/homes/optical</homedir></user><user><name>packet</name><uid>9002</uid><gid>102</gid><password>$1$Fmz.hLNd$8yG5nYZhSPNPjinrCWId8.</password><ssh_keydir>/var/confd/homes/packet/.ssh</ssh_keydir><homedir>/var/confd/homes/packet</homedir></user><user><name>private</name><uid>9005</uid><gid>103</gid><password>$1$4uQVo9HU$xjyOZc8JhotXBtfcFV7MX.</password><ssh_keydir>/var/confd/homes/private/.ssh</ssh_keydir><homedir>/var/confd/homes/private</homedir></user><user><name>public</name><uid>9004</uid><gid>100</gid><password>$1$YhqvvCDs$LAGH/GQUMGMbqTUMWpapD1</password><ssh_keydir>/var/confd/homes/public/.ssh</ssh_keydir><homedir>/var/confd/homes/public</homedir></user></users></authentication><ios><level><nr>0</nr><prompt>\h&gt; </prompt></level><level><nr>15</nr><prompt>\h# </prompt></level><privilege><mode>exec</mode><level><nr>0</nr><command><name>action</name></command><command><name>autowizard</name></command><command><name>enable</name></command><command><name>exit</name></command><command><name>help</name></command><command><name>startup</name></command></level><level><nr>15</nr><command><name>configure</name></command></level></privilege></ios></aaa><nacm xmlns="urn:ietf:params:xml:ns:yang:ietf-netconf-acm"><enable-nacm>true</enable-nacm><read-default>permit</read-default><write-default>permit</write-default><exec-default>permit</exec-default><enable-external-groups>true</enable-external-groups><groups><group><name>admin</name><user-name>admin</user-name><user-name>private</user-name></group><group><name>oper</name><user-name>oper</user-name><user-name>public</user-name></group><group><name>opt</name><user-name>optical</user-name></group><group><name>pck</name><user-name>packet</user-name></group></groups><rule-list><name>any-group</name><group>*</group><rule><name>get</name><module-name>*</module-name><path>/</path><access-operations>read</access-operations><action>permit</action></rule><rule><name>tailf-aaa-authentication</name><module-name>tailf-aaa</module-name><path>/aaa/authentication/users/user[name='$USER']</path><access-operations>read update</access-operations><action>permit</action></rule><rule><name>tailf-aaa-user</name><module-name>tailf-aaa</module-name><path>/user[name='$USER']</path><access-operations>create read update delete</access-operations><action>permit</action></rule><rule><name>tailf-webui-user</name><module-name>tailf-webui</module-name><path>/webui/data-stores/user-profile[username='$USER']</path><access-operations>create read update delete</access-operations><action>permit</action></rule></rule-list><rule-list><name>packet</name><group>pck</group><rule><name>vlan</name><module-name>vlan</module-name><path>/switched-vlans</path><access-operations>create read update delete</access-operations><action>permit</action></rule><rule><name>terminal-device</name><module-name>*</module-name><path>/terminal-device</path><access-operations>create update delete</access-operations><action>deny</action></rule><rule><name>components</name><module-name>*</module-name><path>/components</path><access-operations>create update delete</access-operations><action>deny</action></rule></rule-list><rule-list><name>optical</name><group>opt</group><rule><name>terminal-device</name><module-name>*</module-name><path>/terminal-device</path><access-operations>create read update delete</access-operations><action>permit</action></rule><rule><name>components</name><module-name>*</module-name><path>/components</path><access-operations>create read update delete</access-operations><action>permit</action></rule><rule><name>vlan</name><module-name>vlan</module-name><path>/switched-vlans</path><access-operations>create update delete</access-operations><action>deny</action></rule></rule-list><rule-list><name>admin</name><group>admin</group><rule><name>any-access</name><action>permit</action></rule></rule-list></nacm></data>
[2024-09-13 12:09:42,326] INFO:__main__:Starting...
[2024-09-13 12:09:42,328] INFO:device.service.DeviceService:Starting Service (tentative endpoint: 0.0.0.0:2020, max_workers: 200)...
[2024-09-13 12:09:42,334] INFO:device.service.DeviceService:Listening on 0.0.0.0:2020...
[2024-09-13 12:09:42,336] INFO:__main__:Pre-loading drivers...
[2024-09-13 12:09:50,349] INFO:common.tools.client.RetryDecorator:Retry 1/15 after 5.000000 seconds...
[2024-09-13 12:13:00,367] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.41', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-09-13 12:13:00,367] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-09-13 12:13:00,370] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.41', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-09-13 12:13:00,370] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-09-13 12:13:00,372] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.41', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-09-13 12:13:00,372] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-09-13 12:13:00,376] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.42', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-09-13 12:13:00,377] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.42', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-09-13 12:13:00,381] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.42', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-transponder",\n"username": "admin"\n}'}
[2024-09-13 12:13:00,383] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-09-13 12:13:00,383] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-09-13 12:13:00,383] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-09-13 12:13:00,385] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.21', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-roadm",\n"username": "admin"\n}'}
[2024-09-13 12:13:00,386] INFO:device.service.DeviceServiceServicerImpl:connection_config_rules {'address': '172.17.254.22', 'port': '2022', 'settings': '{\n"allow_agent": false,\n"commit_per_rule": false,\n"device_params": {\n"name": "default"\n},\n"endpoints": [],\n"force_running": false,\n"hostkey_verify": false,\n"look_for_keys": false,\n"manager_params": {\n"timeout": 120\n},\n"password": "admin",\n"type": "optical-roadm",\n"username": "admin"\n}'}
[2024-09-13 12:13:00,390] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-09-13 12:13:00,390] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-09-13 12:13:00,567] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(68741528-2e94-5274-ab3c-fddcd8dc05ef) with filter_fields({'device_type': 'optical-roadm', 'driver': [11]})...
[2024-09-13 12:13:00,567] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(68741528-2e94-5274-ab3c-fddcd8dc05ef) with filter_fields({'device_type': 'optical-roadm', 'driver': [11]})...
[2024-09-13 12:13:00,686] INFO:root:setting ocdriver address 172.17.254.21 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-roadm', 'username': 'admin'}
[2024-09-13 12:13:01,705] ERROR:ncclient.transport.ssh:Exception (client): Error reading SSH protocol banner
[2024-09-13 12:13:01,716] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:01,717] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
[2024-09-13 12:13:01,717] ERROR:ncclient.transport.ssh: buf = self.packetizer.readline(timeout)
[2024-09-13 12:13:01,717] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
[2024-09-13 12:13:01,717] ERROR:ncclient.transport.ssh: buf += self._read_timeout(timeout)
[2024-09-13 12:13:01,717] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
[2024-09-13 12:13:01,717] ERROR:ncclient.transport.ssh: raise EOFError()
[2024-09-13 12:13:01,717] ERROR:ncclient.transport.ssh:EOFError
[2024-09-13 12:13:01,718] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:01,718] ERROR:ncclient.transport.ssh:During handling of the above exception, another exception occurred:
[2024-09-13 12:13:01,718] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:01,718] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:01,718] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
[2024-09-13 12:13:01,718] ERROR:ncclient.transport.ssh: self._check_banner()
[2024-09-13 12:13:01,718] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
[2024-09-13 12:13:01,718] ERROR:ncclient.transport.ssh: raise SSHException(
[2024-09-13 12:13:01,719] ERROR:ncclient.transport.ssh:paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
[2024-09-13 12:13:01,719] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:01,719] ERROR:device.service.DeviceServiceServicerImpl:AddDevice exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
buf = self.packetizer.readline(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
buf += self._read_timeout(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
raise EOFError()
EOFError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 331, in connect
self._transport.start_client()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 698, in start_client
raise e
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
self._check_banner()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
raise SSHException(
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/teraflow/common/method_wrappers/Decorator.py", line 220, in inner_wrapper
reply = func(self, request, grpc_context)
File "/var/teraflow/device/service/DeviceServiceServicerImpl.py", line 102, in AddDevice
driver : _Driver = get_driver(self.driver_instance_cache, device)
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 105, in get_driver
driver : _Driver = driver_instance_cache.get(
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 57, in get
driver_instance : _Driver = driver_class(address, port, device_uuid=device_uuid, **settings)
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 234, in __init__
self.Connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 240, in Connect
self.__netconf_handler.connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 92, in connect
self.__manager = connect_ssh(
File "/usr/local/lib/python3.9/site-packages/ncclient/manager.py", line 143, in connect_ssh
session.connect(*args, **kwds)
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 333, in connect
raise SSHError('Negotiation failed: %s' % e)
ncclient.transport.errors.SSHError: Negotiation failed: Error reading SSH protocol banner
[2024-09-13 12:13:01,722] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(87d74166-65e3-595e-b643-122b4fd0303f) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:01,723] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(87d74166-65e3-595e-b643-122b4fd0303f) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:01,724] INFO:root:setting ocdriver address 172.17.254.42 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-09-13 12:13:02,726] ERROR:ncclient.transport.ssh:Exception (client): Error reading SSH protocol banner
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh: buf = self.packetizer.readline(timeout)
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh: buf += self._read_timeout(timeout)
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh: raise EOFError()
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh:EOFError
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:02,727] ERROR:ncclient.transport.ssh:During handling of the above exception, another exception occurred:
[2024-09-13 12:13:02,728] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:02,728] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:02,728] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
[2024-09-13 12:13:02,728] ERROR:ncclient.transport.ssh: self._check_banner()
[2024-09-13 12:13:02,728] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
[2024-09-13 12:13:02,728] ERROR:ncclient.transport.ssh: raise SSHException(
[2024-09-13 12:13:02,728] ERROR:ncclient.transport.ssh:paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
[2024-09-13 12:13:02,728] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:02,728] ERROR:device.service.DeviceServiceServicerImpl:AddDevice exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
buf = self.packetizer.readline(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
buf += self._read_timeout(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
raise EOFError()
EOFError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 331, in connect
self._transport.start_client()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 698, in start_client
raise e
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
self._check_banner()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
raise SSHException(
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/teraflow/common/method_wrappers/Decorator.py", line 220, in inner_wrapper
reply = func(self, request, grpc_context)
File "/var/teraflow/device/service/DeviceServiceServicerImpl.py", line 102, in AddDevice
driver : _Driver = get_driver(self.driver_instance_cache, device)
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 105, in get_driver
driver : _Driver = driver_instance_cache.get(
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 57, in get
driver_instance : _Driver = driver_class(address, port, device_uuid=device_uuid, **settings)
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 234, in __init__
self.Connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 240, in Connect
self.__netconf_handler.connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 92, in connect
self.__manager = connect_ssh(
File "/usr/local/lib/python3.9/site-packages/ncclient/manager.py", line 143, in connect_ssh
session.connect(*args, **kwds)
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 333, in connect
raise SSHError('Negotiation failed: %s' % e)
ncclient.transport.errors.SSHError: Negotiation failed: Error reading SSH protocol banner
[2024-09-13 12:13:02,729] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(012c4e67-0024-5f30-b527-55ec6daf2639) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:02,729] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(012c4e67-0024-5f30-b527-55ec6daf2639) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:02,730] INFO:root:setting ocdriver address 172.17.254.42 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-09-13 12:13:03,732] ERROR:ncclient.transport.ssh:Exception (client): Error reading SSH protocol banner
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh: buf = self.packetizer.readline(timeout)
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh: buf += self._read_timeout(timeout)
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh: raise EOFError()
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh:EOFError
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh:During handling of the above exception, another exception occurred:
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
[2024-09-13 12:13:03,733] ERROR:ncclient.transport.ssh: self._check_banner()
[2024-09-13 12:13:03,734] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
[2024-09-13 12:13:03,734] ERROR:ncclient.transport.ssh: raise SSHException(
[2024-09-13 12:13:03,734] ERROR:ncclient.transport.ssh:paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
[2024-09-13 12:13:03,734] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:03,737] ERROR:device.service.DeviceServiceServicerImpl:AddDevice exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
buf = self.packetizer.readline(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
buf += self._read_timeout(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
raise EOFError()
EOFError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 331, in connect
self._transport.start_client()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 698, in start_client
raise e
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
self._check_banner()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
raise SSHException(
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/teraflow/common/method_wrappers/Decorator.py", line 220, in inner_wrapper
reply = func(self, request, grpc_context)
File "/var/teraflow/device/service/DeviceServiceServicerImpl.py", line 102, in AddDevice
driver : _Driver = get_driver(self.driver_instance_cache, device)
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 105, in get_driver
driver : _Driver = driver_instance_cache.get(
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 57, in get
driver_instance : _Driver = driver_class(address, port, device_uuid=device_uuid, **settings)
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 234, in __init__
self.Connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 240, in Connect
self.__netconf_handler.connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 92, in connect
self.__manager = connect_ssh(
File "/usr/local/lib/python3.9/site-packages/ncclient/manager.py", line 143, in connect_ssh
session.connect(*args, **kwds)
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 333, in connect
raise SSHError('Negotiation failed: %s' % e)
ncclient.transport.errors.SSHError: Negotiation failed: Error reading SSH protocol banner
[2024-09-13 12:13:03,737] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(4dbdc2d8-cbde-5e48-a3c0-5161387a58c7) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:03,738] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(4dbdc2d8-cbde-5e48-a3c0-5161387a58c7) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:03,739] INFO:root:setting ocdriver address 172.17.254.41 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-09-13 12:13:04,742] ERROR:ncclient.transport.ssh:Exception (client): Error reading SSH protocol banner
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh: buf = self.packetizer.readline(timeout)
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh: buf += self._read_timeout(timeout)
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh: raise EOFError()
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh:EOFError
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh:During handling of the above exception, another exception occurred:
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:04,743] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:04,744] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
[2024-09-13 12:13:04,744] ERROR:ncclient.transport.ssh: self._check_banner()
[2024-09-13 12:13:04,744] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
[2024-09-13 12:13:04,744] ERROR:ncclient.transport.ssh: raise SSHException(
[2024-09-13 12:13:04,744] ERROR:ncclient.transport.ssh:paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
[2024-09-13 12:13:04,744] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:04,744] ERROR:device.service.DeviceServiceServicerImpl:AddDevice exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
buf = self.packetizer.readline(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
buf += self._read_timeout(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
raise EOFError()
EOFError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 331, in connect
self._transport.start_client()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 698, in start_client
raise e
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
self._check_banner()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
raise SSHException(
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/teraflow/common/method_wrappers/Decorator.py", line 220, in inner_wrapper
reply = func(self, request, grpc_context)
File "/var/teraflow/device/service/DeviceServiceServicerImpl.py", line 102, in AddDevice
driver : _Driver = get_driver(self.driver_instance_cache, device)
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 105, in get_driver
driver : _Driver = driver_instance_cache.get(
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 57, in get
driver_instance : _Driver = driver_class(address, port, device_uuid=device_uuid, **settings)
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 234, in __init__
self.Connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 240, in Connect
self.__netconf_handler.connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 92, in connect
self.__manager = connect_ssh(
File "/usr/local/lib/python3.9/site-packages/ncclient/manager.py", line 143, in connect_ssh
session.connect(*args, **kwds)
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 333, in connect
raise SSHError('Negotiation failed: %s' % e)
ncclient.transport.errors.SSHError: Negotiation failed: Error reading SSH protocol banner
[2024-09-13 12:13:04,744] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(cf618e18-c0a1-58c4-9827-943a2c0523d6) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:04,745] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(cf618e18-c0a1-58c4-9827-943a2c0523d6) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:04,746] INFO:root:setting ocdriver address 172.17.254.41 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-09-13 12:13:05,748] ERROR:ncclient.transport.ssh:Exception (client): Error reading SSH protocol banner
[2024-09-13 12:13:05,748] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:05,748] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
[2024-09-13 12:13:05,748] ERROR:ncclient.transport.ssh: buf = self.packetizer.readline(timeout)
[2024-09-13 12:13:05,749] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
[2024-09-13 12:13:05,749] ERROR:ncclient.transport.ssh: buf += self._read_timeout(timeout)
[2024-09-13 12:13:05,749] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
[2024-09-13 12:13:05,749] ERROR:ncclient.transport.ssh: raise EOFError()
[2024-09-13 12:13:05,749] ERROR:ncclient.transport.ssh:EOFError
[2024-09-13 12:13:05,749] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:05,750] ERROR:ncclient.transport.ssh:During handling of the above exception, another exception occurred:
[2024-09-13 12:13:05,750] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:05,750] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:05,750] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
[2024-09-13 12:13:05,750] ERROR:ncclient.transport.ssh: self._check_banner()
[2024-09-13 12:13:05,751] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
[2024-09-13 12:13:05,751] ERROR:ncclient.transport.ssh: raise SSHException(
[2024-09-13 12:13:05,751] ERROR:ncclient.transport.ssh:paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
[2024-09-13 12:13:05,751] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:05,752] ERROR:device.service.DeviceServiceServicerImpl:AddDevice exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
buf = self.packetizer.readline(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
buf += self._read_timeout(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
raise EOFError()
EOFError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 331, in connect
self._transport.start_client()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 698, in start_client
raise e
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
self._check_banner()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
raise SSHException(
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/teraflow/common/method_wrappers/Decorator.py", line 220, in inner_wrapper
reply = func(self, request, grpc_context)
File "/var/teraflow/device/service/DeviceServiceServicerImpl.py", line 102, in AddDevice
driver : _Driver = get_driver(self.driver_instance_cache, device)
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 105, in get_driver
driver : _Driver = driver_instance_cache.get(
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 57, in get
driver_instance : _Driver = driver_class(address, port, device_uuid=device_uuid, **settings)
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 234, in __init__
self.Connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 240, in Connect
self.__netconf_handler.connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 92, in connect
self.__manager = connect_ssh(
File "/usr/local/lib/python3.9/site-packages/ncclient/manager.py", line 143, in connect_ssh
session.connect(*args, **kwds)
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 333, in connect
raise SSHError('Negotiation failed: %s' % e)
ncclient.transport.errors.SSHError: Negotiation failed: Error reading SSH protocol banner
[2024-09-13 12:13:05,752] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(27c2ed23-e74a-518f-820d-ae2c8ae23086) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:05,753] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(27c2ed23-e74a-518f-820d-ae2c8ae23086) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:05,754] INFO:root:setting ocdriver address 172.17.254.41 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-09-13 12:13:06,756] ERROR:ncclient.transport.ssh:Exception (client): Error reading SSH protocol banner
[2024-09-13 12:13:06,756] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:06,756] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
[2024-09-13 12:13:06,757] ERROR:ncclient.transport.ssh: buf = self.packetizer.readline(timeout)
[2024-09-13 12:13:06,757] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
[2024-09-13 12:13:06,757] ERROR:ncclient.transport.ssh: buf += self._read_timeout(timeout)
[2024-09-13 12:13:06,757] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
[2024-09-13 12:13:06,757] ERROR:ncclient.transport.ssh: raise EOFError()
[2024-09-13 12:13:06,757] ERROR:ncclient.transport.ssh:EOFError
[2024-09-13 12:13:06,757] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:06,757] ERROR:ncclient.transport.ssh:During handling of the above exception, another exception occurred:
[2024-09-13 12:13:06,758] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:06,758] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:06,758] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
[2024-09-13 12:13:06,758] ERROR:ncclient.transport.ssh: self._check_banner()
[2024-09-13 12:13:06,758] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
[2024-09-13 12:13:06,758] ERROR:ncclient.transport.ssh: raise SSHException(
[2024-09-13 12:13:06,758] ERROR:ncclient.transport.ssh:paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
[2024-09-13 12:13:06,758] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:06,759] ERROR:device.service.DeviceServiceServicerImpl:AddDevice exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
buf = self.packetizer.readline(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
buf += self._read_timeout(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
raise EOFError()
EOFError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 331, in connect
self._transport.start_client()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 698, in start_client
raise e
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
self._check_banner()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
raise SSHException(
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/teraflow/common/method_wrappers/Decorator.py", line 220, in inner_wrapper
reply = func(self, request, grpc_context)
File "/var/teraflow/device/service/DeviceServiceServicerImpl.py", line 102, in AddDevice
driver : _Driver = get_driver(self.driver_instance_cache, device)
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 105, in get_driver
driver : _Driver = driver_instance_cache.get(
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 57, in get
driver_instance : _Driver = driver_class(address, port, device_uuid=device_uuid, **settings)
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 234, in __init__
self.Connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 240, in Connect
self.__netconf_handler.connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 92, in connect
self.__manager = connect_ssh(
File "/usr/local/lib/python3.9/site-packages/ncclient/manager.py", line 143, in connect_ssh
session.connect(*args, **kwds)
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 333, in connect
raise SSHError('Negotiation failed: %s' % e)
ncclient.transport.errors.SSHError: Negotiation failed: Error reading SSH protocol banner
[2024-09-13 12:13:06,759] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(c944aaeb-bbdf-5f2d-b31c-8cc8903045b6) with filter_fields({'device_type': 'optical-roadm', 'driver': [11]})...
[2024-09-13 12:13:06,760] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(c944aaeb-bbdf-5f2d-b31c-8cc8903045b6) with filter_fields({'device_type': 'optical-roadm', 'driver': [11]})...
[2024-09-13 12:13:06,760] INFO:root:setting ocdriver address 172.17.254.22 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-roadm', 'username': 'admin'}
[2024-09-13 12:13:07,763] ERROR:ncclient.transport.ssh:Exception (client): Error reading SSH protocol banner
[2024-09-13 12:13:07,764] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:07,764] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
[2024-09-13 12:13:07,764] ERROR:ncclient.transport.ssh: buf = self.packetizer.readline(timeout)
[2024-09-13 12:13:07,764] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
[2024-09-13 12:13:07,764] ERROR:ncclient.transport.ssh: buf += self._read_timeout(timeout)
[2024-09-13 12:13:07,764] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
[2024-09-13 12:13:07,764] ERROR:ncclient.transport.ssh: raise EOFError()
[2024-09-13 12:13:07,764] ERROR:ncclient.transport.ssh:EOFError
[2024-09-13 12:13:07,764] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:07,765] ERROR:ncclient.transport.ssh:During handling of the above exception, another exception occurred:
[2024-09-13 12:13:07,765] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:07,765] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:07,765] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
[2024-09-13 12:13:07,765] ERROR:ncclient.transport.ssh: self._check_banner()
[2024-09-13 12:13:07,765] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
[2024-09-13 12:13:07,765] ERROR:ncclient.transport.ssh: raise SSHException(
[2024-09-13 12:13:07,765] ERROR:ncclient.transport.ssh:paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
[2024-09-13 12:13:07,765] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:07,765] ERROR:device.service.DeviceServiceServicerImpl:AddDevice exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
buf = self.packetizer.readline(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
buf += self._read_timeout(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
raise EOFError()
EOFError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 331, in connect
self._transport.start_client()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 698, in start_client
raise e
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
self._check_banner()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
raise SSHException(
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/teraflow/common/method_wrappers/Decorator.py", line 220, in inner_wrapper
reply = func(self, request, grpc_context)
File "/var/teraflow/device/service/DeviceServiceServicerImpl.py", line 102, in AddDevice
driver : _Driver = get_driver(self.driver_instance_cache, device)
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 105, in get_driver
driver : _Driver = driver_instance_cache.get(
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 57, in get
driver_instance : _Driver = driver_class(address, port, device_uuid=device_uuid, **settings)
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 234, in __init__
self.Connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 240, in Connect
self.__netconf_handler.connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 92, in connect
self.__manager = connect_ssh(
File "/usr/local/lib/python3.9/site-packages/ncclient/manager.py", line 143, in connect_ssh
session.connect(*args, **kwds)
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 333, in connect
raise SSHError('Negotiation failed: %s' % e)
ncclient.transport.errors.SSHError: Negotiation failed: Error reading SSH protocol banner
[2024-09-13 12:13:07,766] INFO:device.service.driver_api.DriverInstanceCache:Selecting driver for device(ce0cdfdd-2182-5027-8177-676ca3244f9d) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:07,766] INFO:device.service.driver_api.DriverInstanceCache:Driver(OCDriver) selected for device(ce0cdfdd-2182-5027-8177-676ca3244f9d) with filter_fields({'device_type': 'optical-transponder', 'driver': [11]})...
[2024-09-13 12:13:07,767] INFO:root:setting ocdriver address 172.17.254.42 and 2022 {'allow_agent': False, 'commit_per_rule': False, 'device_params': {'name': 'default'}, 'endpoints': [], 'force_running': False, 'hostkey_verify': False, 'look_for_keys': False, 'manager_params': {'timeout': 120}, 'password': 'admin', 'type': 'optical-transponder', 'username': 'admin'}
[2024-09-13 12:13:08,769] ERROR:ncclient.transport.ssh:Exception (client): Error reading SSH protocol banner
[2024-09-13 12:13:08,769] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh: buf = self.packetizer.readline(timeout)
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh: buf += self._read_timeout(timeout)
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh: raise EOFError()
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh:EOFError
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh:During handling of the above exception, another exception occurred:
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh:Traceback (most recent call last):
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
[2024-09-13 12:13:08,770] ERROR:ncclient.transport.ssh: self._check_banner()
[2024-09-13 12:13:08,771] ERROR:ncclient.transport.ssh: File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
[2024-09-13 12:13:08,771] ERROR:ncclient.transport.ssh: raise SSHException(
[2024-09-13 12:13:08,771] ERROR:ncclient.transport.ssh:paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
[2024-09-13 12:13:08,771] ERROR:ncclient.transport.ssh:
[2024-09-13 12:13:08,771] ERROR:device.service.DeviceServiceServicerImpl:AddDevice exception
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2270, in _check_banner
buf = self.packetizer.readline(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 380, in readline
buf += self._read_timeout(timeout)
File "/usr/local/lib/python3.9/site-packages/paramiko/packet.py", line 609, in _read_timeout
raise EOFError()
EOFError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 331, in connect
self._transport.start_client()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 698, in start_client
raise e
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2093, in run
self._check_banner()
File "/usr/local/lib/python3.9/site-packages/paramiko/transport.py", line 2274, in _check_banner
raise SSHException(
paramiko.ssh_exception.SSHException: Error reading SSH protocol banner
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/var/teraflow/common/method_wrappers/Decorator.py", line 220, in inner_wrapper
reply = func(self, request, grpc_context)
File "/var/teraflow/device/service/DeviceServiceServicerImpl.py", line 102, in AddDevice
driver : _Driver = get_driver(self.driver_instance_cache, device)
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 105, in get_driver
driver : _Driver = driver_instance_cache.get(
File "/var/teraflow/device/service/driver_api/DriverInstanceCache.py", line 57, in get
driver_instance : _Driver = driver_class(address, port, device_uuid=device_uuid, **settings)
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 234, in __init__
self.Connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 240, in Connect
self.__netconf_handler.connect()
File "/var/teraflow/device/service/drivers/oc_driver/OCDriver.py", line 92, in connect
self.__manager = connect_ssh(
File "/usr/local/lib/python3.9/site-packages/ncclient/manager.py", line 143, in connect_ssh
session.connect(*args, **kwds)
File "/usr/local/lib/python3.9/site-packages/ncclient/transport/ssh.py", line 333, in connect
raise SSHError('Negotiation failed: %s' % e)
ncclient.transport.errors.SSHError: Negotiation failed: Error reading SSH protocol banner
Source diff could not be displayed: it is too large. Options to address this: view the blob.
* Serving Flask app "OpticalController" (lazy loading)
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
* Running on http://0.0.0.0:10060/ (Press CTRL+C to quit)
topog_id context_id {
context_uuid {
uuid: "admin"
}
}
topology_uuid {
uuid: "admin"
}
{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'3': 1, '18': 1, '10': 1, '5': 1, '8': 1, '20': 1, '14': 1, '17': 1, '15': 1, '1': 1, '11': 1, '13': 1, '9': 1, '12': 1, '4': 1, '19': 1, '16': 1, '6': 1, '7': 1, '2': 1}, 'l_slots': {'112': 1, '106': 1, '108': 1, '111': 1, '104': 1, '102': 1, '101': 1, '105': 1, '118': 1, '119': 1, '117': 1, '113': 1, '116': 1, '115': 1, '109': 1, '110': 1, '107': 1, '103': 1, '120': 1, '114': 1}, 's_slots': {'508': 1, '501': 1, '515': 1, '513': 1, '507': 1, '510': 1, '511': 1, '517': 1, '512': 1, '518': 1, '509': 1, '504': 1, '502': 1, '514': 1, '516': 1, '503': 1, '506': 1, '505': 1, '520': 1, '519': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}
{'name': 'R2-T2.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'19': 1, '11': 1, '20': 1, '6': 1, '1': 1, '15': 1, '5': 1, '17': 1, '13': 1, '7': 1, '9': 1, '8': 1, '10': 1, '18': 1, '4': 1, '2': 1, '14': 1, '16': 1, '3': 1, '12': 1}, 'l_slots': {'103': 1, '120': 1, '114': 1, '110': 1, '115': 1, '108': 1, '109': 1, '107': 1, '104': 1, '112': 1, '119': 1, '118': 1, '117': 1, '101': 1, '106': 1, '113': 1, '111': 1, '105': 1, '116': 1, '102': 1}, 's_slots': {'510': 1, '503': 1, '502': 1, '512': 1, '514': 1, '515': 1, '505': 1, '504': 1, '501': 1, '507': 1, '516': 1, '519': 1, '518': 1, '508': 1, '513': 1, '517': 1, '506': 1, '520': 1, '509': 1, '511': 1}}, 'link_id': {'link_uuid': {'uuid': '5f9f4309-d24d-52e0-9d60-ba84839a5bda'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '463f5b52-bb8e-54e7-a63d-aeb4ad4b72bc'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}
{'name': 'R1-T1.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'14': 1, '6': 1, '10': 1, '9': 1, '4': 1, '19': 1, '1': 1, '17': 1, '15': 1, '12': 1, '8': 1, '18': 1, '7': 1, '13': 1, '16': 1, '3': 1, '20': 1, '5': 1, '2': 1, '11': 1}, 'l_slots': {'102': 1, '110': 1, '116': 1, '118': 1, '108': 1, '114': 1, '115': 1, '104': 1, '105': 1, '113': 1, '112': 1, '117': 1, '101': 1, '103': 1, '106': 1, '119': 1, '120': 1, '111': 1, '107': 1, '109': 1}, 's_slots': {'506': 1, '503': 1, '502': 1, '507': 1, '511': 1, '504': 1, '513': 1, '517': 1, '512': 1, '520': 1, '515': 1, '501': 1, '505': 1, '514': 1, '510': 1, '518': 1, '509': 1, '508': 1, '519': 1, '516': 1}}, 'link_id': {'link_uuid': {'uuid': '63c6a257-f171-59f8-b1e8-e3c4086ba36a'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'c7b7a565-0469-5463-809b-8ef4851d89c4'}}]}
{'name': 'T1.2-R1', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'8': 1, '2': 1, '13': 1, '14': 1, '1': 1, '4': 1, '16': 1, '9': 1, '5': 1, '19': 1, '17': 1, '3': 1, '15': 1, '10': 1, '18': 1, '11': 1, '7': 1, '12': 1, '6': 1, '20': 1}, 'l_slots': {'103': 1, '117': 1, '112': 1, '101': 1, '110': 1, '115': 1, '109': 1, '102': 1, '116': 1, '111': 1, '113': 1, '114': 1, '119': 1, '120': 1, '106': 1, '107': 1, '105': 1, '118': 1, '104': 1, '108': 1}, 's_slots': {'515': 1, '516': 1, '510': 1, '511': 1, '519': 1, '513': 1, '505': 1, '502': 1, '501': 1, '504': 1, '506': 1, '508': 1, '507': 1, '517': 1, '514': 1, '503': 1, '509': 1, '520': 1, '518': 1, '512': 1}}, 'link_id': {'link_uuid': {'uuid': '817a2fcb-5dfd-55a6-b669-a141014cc38d'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '27b6ed2a-b0d1-5be9-b9be-cc9a540ac0d1'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}
{'name': 'T2.2-R2', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'8': 1, '5': 1, '12': 1, '2': 1, '9': 1, '10': 1, '11': 1, '20': 1, '7': 1, '6': 1, '1': 1, '18': 1, '4': 1, '14': 1, '17': 1, '13': 1, '19': 1, '16': 1, '3': 1, '15': 1}, 'l_slots': {'109': 1, '101': 1, '113': 1, '118': 1, '119': 1, '110': 1, '108': 1, '105': 1, '102': 1, '114': 1, '112': 1, '111': 1, '103': 1, '107': 1, '120': 1, '106': 1, '115': 1, '117': 1, '116': 1, '104': 1}, 's_slots': {'517': 1, '508': 1, '519': 1, '511': 1, '515': 1, '504': 1, '512': 1, '506': 1, '520': 1, '505': 1, '516': 1, '501': 1, '503': 1, '510': 1, '502': 1, '513': 1, '509': 1, '507': 1, '514': 1, '518': 1}}, 'link_id': {'link_uuid': {'uuid': '884c6c6a-ad1b-5228-a48f-e9db4bc174df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'be24d4af-c784-50cc-baa4-976a499fcd5a'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}
{'name': 'R1-T1.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'10': 1, '17': 1, '11': 1, '2': 1, '4': 1, '18': 1, '3': 1, '16': 1, '5': 1, '8': 1, '13': 1, '14': 1, '12': 1, '15': 1, '9': 1, '7': 1, '1': 1, '20': 1, '19': 1, '6': 1}, 'l_slots': {'101': 1, '109': 1, '106': 1, '103': 1, '102': 1, '113': 1, '107': 1, '119': 1, '117': 1, '116': 1, '115': 1, '120': 1, '108': 1, '112': 1, '104': 1, '118': 1, '110': 1, '105': 1, '114': 1, '111': 1}, 's_slots': {'510': 1, '519': 1, '518': 1, '504': 1, '508': 1, '520': 1, '516': 1, '512': 1, '515': 1, '502': 1, '505': 1, '513': 1, '506': 1, '514': 1, '503': 1, '511': 1, '517': 1, '509': 1, '507': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': '89e3a6c6-d613-55bf-925c-c817ee24a133'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4fca89b8-237c-52bd-8131-9129316b524f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}]}
{'name': 'R1-T1.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'17': 1, '3': 1, '14': 1, '9': 1, '11': 1, '8': 1, '1': 1, '18': 1, '12': 1, '6': 1, '19': 1, '20': 1, '7': 1, '2': 1, '5': 1, '15': 1, '10': 1, '16': 1, '13': 1, '4': 1}, 'l_slots': {'107': 1, '103': 1, '115': 1, '105': 1, '102': 1, '112': 1, '119': 1, '104': 1, '111': 1, '117': 1, '113': 1, '116': 1, '106': 1, '114': 1, '118': 1, '120': 1, '108': 1, '110': 1, '101': 1, '109': 1}, 's_slots': {'518': 1, '509': 1, '504': 1, '513': 1, '519': 1, '515': 1, '516': 1, '508': 1, '502': 1, '514': 1, '503': 1, '506': 1, '517': 1, '520': 1, '507': 1, '501': 1, '512': 1, '511': 1, '510': 1, '505': 1}}, 'link_id': {'link_uuid': {'uuid': 'b11e2e7b-ef00-5c11-9dc6-5fd34bd11f6e'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '1a8d66e2-5d94-520f-b94a-0aca4cfd891f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}
{'name': 'T2.3-R2', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'17': 1, '18': 1, '13': 1, '12': 1, '6': 1, '14': 1, '11': 1, '3': 1, '8': 1, '4': 1, '10': 1, '1': 1, '9': 1, '19': 1, '7': 1, '15': 1, '20': 1, '16': 1, '5': 1, '2': 1}, 'l_slots': {'116': 1, '115': 1, '114': 1, '113': 1, '101': 1, '107': 1, '118': 1, '106': 1, '104': 1, '105': 1, '103': 1, '120': 1, '109': 1, '119': 1, '112': 1, '111': 1, '117': 1, '102': 1, '110': 1, '108': 1}, 's_slots': {'515': 1, '520': 1, '507': 1, '514': 1, '503': 1, '505': 1, '502': 1, '518': 1, '501': 1, '508': 1, '519': 1, '516': 1, '504': 1, '511': 1, '509': 1, '513': 1, '517': 1, '506': 1, '512': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'be7afc05-6e45-5899-896b-b331d6ab65c8'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'ac9e9079-6cf5-5d21-834d-1940c76fd78d'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}
{'name': 'R2-T2.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'20': 1, '1': 1, '19': 1, '3': 1, '11': 1, '13': 1, '4': 1, '10': 1, '8': 1, '7': 1, '14': 1, '6': 1, '16': 1, '9': 1, '12': 1, '2': 1, '18': 1, '17': 1, '15': 1, '5': 1}, 'l_slots': {'118': 1, '111': 1, '113': 1, '108': 1, '114': 1, '117': 1, '115': 1, '106': 1, '112': 1, '109': 1, '103': 1, '101': 1, '104': 1, '105': 1, '102': 1, '110': 1, '120': 1, '119': 1, '116': 1, '107': 1}, 's_slots': {'504': 1, '515': 1, '509': 1, '514': 1, '508': 1, '501': 1, '510': 1, '519': 1, '518': 1, '512': 1, '516': 1, '511': 1, '507': 1, '503': 1, '520': 1, '502': 1, '505': 1, '513': 1, '506': 1, '517': 1}}, 'link_id': {'link_uuid': {'uuid': 'd4e89764-11c5-5f59-b7d6-a3aa2dab43df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '88a0bc2f-1ebf-5aca-b472-c339a1c302f9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}
{'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'16': 1, '6': 1, '19': 1, '11': 1, '20': 1, '2': 1, '4': 1, '8': 1, '5': 1, '9': 1, '18': 1, '10': 1, '17': 1, '1': 1, '13': 1, '7': 1, '15': 1, '12': 1, '14': 1, '3': 1}, 'l_slots': {'111': 1, '115': 1, '105': 1, '106': 1, '108': 1, '101': 1, '109': 1, '104': 1, '103': 1, '102': 1, '113': 1, '116': 1, '118': 1, '119': 1, '117': 1, '110': 1, '114': 1, '120': 1, '107': 1, '112': 1}, 's_slots': {'512': 1, '514': 1, '503': 1, '519': 1, '513': 1, '507': 1, '516': 1, '509': 1, '511': 1, '505': 1, '517': 1, '506': 1, '520': 1, '501': 1, '515': 1, '518': 1, '502': 1, '510': 1, '504': 1, '508': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}
10.1.83.219 - - [25/Apr/2024 18:04:29] "GET /OpticalTFS/GetTopology/admin/admin HTTP/1.1" 200 -
INFO:werkzeug:10.1.83.219 - - [25/Apr/2024 18:04:29] "GET /OpticalTFS/GetTopology/admin/admin HTTP/1.1" 200 -
{'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'14': 1, '6': 1, '8': 1, '11': 1, '20': 1, '13': 1, '4': 1, '19': 1, '17': 1, '15': 1, '12': 1, '9': 1, '10': 1, '2': 1, '1': 1, '3': 1, '16': 1, '5': 1, '18': 1, '7': 1}, 'l_slots': {'108': 1, '103': 1, '110': 1, '115': 1, '105': 1, '111': 1, '119': 1, '106': 1, '107': 1, '120': 1, '114': 1, '116': 1, '109': 1, '113': 1, '102': 1, '101': 1, '112': 1, '104': 1, '118': 1, '117': 1}, 's_slots': {'502': 1, '517': 1, '514': 1, '513': 1, '509': 1, '520': 1, '501': 1, '516': 1, '512': 1, '503': 1, '510': 1, '519': 1, '506': 1, '507': 1, '508': 1, '505': 1, '518': 1, '515': 1, '504': 1, '511': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}
{'name': 'R2-R1', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'15': 1, '13': 1, '2': 1, '8': 1, '5': 1, '1': 1, '9': 1, '11': 1, '7': 1, '17': 1, '19': 1, '3': 1, '12': 1, '10': 1, '18': 1, '14': 1, '20': 1, '4': 1, '6': 1, '16': 1}, 'l_slots': {'115': 1, '110': 1, '117': 1, '106': 1, '108': 1, '112': 1, '104': 1, '107': 1, '103': 1, '114': 1, '119': 1, '111': 1, '102': 1, '109': 1, '105': 1, '118': 1, '120': 1, '101': 1, '113': 1, '116': 1}, 's_slots': {'507': 1, '517': 1, '504': 1, '514': 1, '505': 1, '509': 1, '515': 1, '503': 1, '508': 1, '510': 1, '520': 1, '518': 1, '519': 1, '501': 1, '511': 1, '506': 1, '502': 1, '513': 1, '512': 1, '516': 1}}, 'link_id': {'link_uuid': {'uuid': 'eae23f48-40de-5aae-b3d1-fa3cda231678'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4255273d-5038-512d-9838-d5dd921cb858'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'f45593bb-41b1-50af-8944-524212ca012a'}}]}
{'name': 'T2.1-R2', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'2': 1, '1': 1, '20': 1, '12': 1, '18': 1, '5': 1, '6': 1, '14': 1, '19': 1, '11': 1, '17': 1, '8': 1, '7': 1, '13': 1, '15': 1, '3': 1, '9': 1, '4': 1, '16': 1, '10': 1}, 'l_slots': {'111': 1, '116': 1, '117': 1, '106': 1, '120': 1, '119': 1, '105': 1, '108': 1, '101': 1, '104': 1, '115': 1, '110': 1, '113': 1, '109': 1, '114': 1, '118': 1, '112': 1, '103': 1, '102': 1, '107': 1}, 's_slots': {'510': 1, '504': 1, '508': 1, '516': 1, '513': 1, '520': 1, '515': 1, '517': 1, '509': 1, '505': 1, '512': 1, '518': 1, '502': 1, '501': 1, '506': 1, '511': 1, '514': 1, '507': 1, '503': 1, '519': 1}}, 'link_id': {'link_uuid': {'uuid': 'ebb2ca0f-d4c1-51c4-ab41-dceea90f811f'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '1b9f85aa-8cc9-5b9d-99dc-8f0eec714d67'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}]}
{'name': 'T1.3-R1', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'2': 1, '16': 1, '7': 1, '3': 1, '9': 1, '11': 1, '12': 1, '17': 1, '10': 1, '14': 1, '13': 1, '15': 1, '1': 1, '5': 1, '20': 1, '6': 1, '8': 1, '18': 1, '19': 1, '4': 1}, 'l_slots': {'117': 1, '116': 1, '113': 1, '115': 1, '101': 1, '114': 1, '112': 1, '106': 1, '119': 1, '110': 1, '103': 1, '111': 1, '102': 1, '104': 1, '105': 1, '107': 1, '118': 1, '109': 1, '120': 1, '108': 1}, 's_slots': {'518': 1, '519': 1, '508': 1, '520': 1, '510': 1, '507': 1, '502': 1, '511': 1, '503': 1, '517': 1, '514': 1, '516': 1, '505': 1, '512': 1, '513': 1, '515': 1, '501': 1, '504': 1, '506': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': 'f79a817c-a6a0-55d5-9398-a582a9835be9'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'dad62073-9e4f-5b05-947d-571e6c3a6068'}}]}
INFO: Graph initiated.2
( T2.2 , R2, 2, 13, 1, 1)
( T1.2 , R1, 2, 3, 1, 1)
( T1.1 , R1, 1, 12, 1, 1)
( R1 , T1.1, 12, 1, 1, 1)
( R1 , T1.2, 3, 2, 1, 1)
( R1 , T1.3, 14, 3, 1, 1)
( R1 , R2, 111, 101, 1, 1)
( T2.1 , R2, 1, 12, 1, 1)
( R2 , T2.1, 12, 1, 1, 1)
( R2 , T2.2, 13, 2, 1, 1)
( R2 , T2.3, 4, 3, 1, 1)
( R2 , R1, 101, 111, 1, 1)
( T2.3 , R2, 3, 4, 1, 1)
( T1.3 , R1, 3, 14, 1, 1)
20,20,20
topog_id context_id {
context_uuid {
uuid: "admin"
}
}
topology_uuid {
uuid: "admin"
}
{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 1, '4': 1, '7': 1, '2': 1, '14': 1, '8': 1, '3': 1}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}
{'name': 'R2-T2.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'17': 1, '16': 1, '3': 1, '18': 1, '4': 1, '5': 1, '8': 1, '15': 1, '6': 1, '1': 1, '2': 1, '10': 1, '19': 1, '9': 1, '13': 1, '12': 1, '14': 1, '11': 1, '7': 1, '20': 1}, 'l_slots': {'113': 1, '119': 1, '102': 1, '115': 1, '114': 1, '104': 1, '107': 1, '120': 1, '112': 1, '118': 1, '116': 1, '109': 1, '108': 1, '105': 1, '110': 1, '103': 1, '111': 1, '101': 1, '117': 1, '106': 1}, 's_slots': {'517': 1, '501': 1, '520': 1, '508': 1, '503': 1, '504': 1, '510': 1, '511': 1, '514': 1, '513': 1, '505': 1, '518': 1, '502': 1, '509': 1, '507': 1, '506': 1, '516': 1, '515': 1, '512': 1, '519': 1}}, 'link_id': {'link_uuid': {'uuid': '5f9f4309-d24d-52e0-9d60-ba84839a5bda'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '463f5b52-bb8e-54e7-a63d-aeb4ad4b72bc'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}
{'name': 'R1-T1.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'11': 1, '12': 1, '1': 1, '4': 1, '7': 1, '15': 1, '10': 1, '9': 1, '8': 1, '3': 1, '6': 1, '19': 1, '14': 1, '2': 1, '16': 1, '13': 1, '17': 1, '18': 1, '5': 1, '20': 1}, 'l_slots': {'118': 1, '112': 1, '107': 1, '115': 1, '108': 1, '101': 1, '113': 1, '103': 1, '117': 1, '114': 1, '109': 1, '120': 1, '119': 1, '105': 1, '110': 1, '104': 1, '106': 1, '111': 1, '102': 1, '116': 1}, 's_slots': {'509': 1, '504': 1, '503': 1, '505': 1, '520': 1, '507': 1, '502': 1, '511': 1, '513': 1, '519': 1, '508': 1, '510': 1, '516': 1, '517': 1, '506': 1, '501': 1, '518': 1, '515': 1, '514': 1, '512': 1}}, 'link_id': {'link_uuid': {'uuid': '63c6a257-f171-59f8-b1e8-e3c4086ba36a'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'c7b7a565-0469-5463-809b-8ef4851d89c4'}}]}
{'name': 'T1.2-R1', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'2': 1, '1': 1, '7': 1, '10': 1, '13': 1, '19': 1, '11': 1, '15': 1, '16': 1, '18': 1, '9': 1, '20': 1, '12': 1, '5': 1, '14': 1, '4': 1, '8': 1, '17': 1, '3': 1, '6': 1}, 'l_slots': {'110': 1, '102': 1, '109': 1, '119': 1, '113': 1, '117': 1, '120': 1, '105': 1, '114': 1, '103': 1, '104': 1, '118': 1, '108': 1, '112': 1, '101': 1, '116': 1, '115': 1, '111': 1, '106': 1, '107': 1}, 's_slots': {'510': 1, '506': 1, '505': 1, '512': 1, '502': 1, '516': 1, '507': 1, '514': 1, '511': 1, '517': 1, '513': 1, '503': 1, '508': 1, '519': 1, '518': 1, '504': 1, '501': 1, '515': 1, '520': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '817a2fcb-5dfd-55a6-b669-a141014cc38d'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '27b6ed2a-b0d1-5be9-b9be-cc9a540ac0d1'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}
{'name': 'T2.2-R2', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '2': 1, '8': 1, '4': 1, '5': 1, '17': 1, '20': 1, '9': 1, '19': 1, '11': 1, '12': 1, '1': 1, '15': 1, '16': 1, '3': 1, '7': 1, '10': 1, '6': 1, '13': 1}, 'l_slots': {'120': 1, '118': 1, '111': 1, '110': 1, '116': 1, '104': 1, '117': 1, '102': 1, '109': 1, '114': 1, '119': 1, '103': 1, '115': 1, '113': 1, '107': 1, '105': 1, '106': 1, '108': 1, '101': 1, '112': 1}, 's_slots': {'513': 1, '506': 1, '510': 1, '504': 1, '502': 1, '512': 1, '515': 1, '501': 1, '507': 1, '518': 1, '520': 1, '511': 1, '505': 1, '514': 1, '503': 1, '519': 1, '516': 1, '508': 1, '509': 1, '517': 1}}, 'link_id': {'link_uuid': {'uuid': '884c6c6a-ad1b-5228-a48f-e9db4bc174df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'be24d4af-c784-50cc-baa4-976a499fcd5a'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}
{'name': 'R1-T1.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '15': 1, '7': 1, '4': 1, '5': 1, '12': 1, '8': 1, '2': 1, '13': 1, '20': 1, '16': 1, '17': 1, '1': 1, '19': 1, '9': 1, '11': 1, '6': 1, '10': 1, '3': 1}, 'l_slots': {'119': 1, '107': 1, '103': 1, '108': 1, '116': 1, '105': 1, '120': 1, '113': 1, '114': 1, '106': 1, '104': 1, '109': 1, '110': 1, '101': 1, '112': 1, '111': 1, '117': 1, '102': 1, '115': 1, '118': 1}, 's_slots': {'505': 1, '501': 1, '519': 1, '503': 1, '502': 1, '510': 1, '517': 1, '518': 1, '506': 1, '515': 1, '514': 1, '507': 1, '511': 1, '504': 1, '512': 1, '516': 1, '508': 1, '509': 1, '520': 1, '513': 1}}, 'link_id': {'link_uuid': {'uuid': '89e3a6c6-d613-55bf-925c-c817ee24a133'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4fca89b8-237c-52bd-8131-9129316b524f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}]}
{'name': 'R1-T1.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'4': 1, '15': 1, '14': 1, '11': 1, '19': 1, '6': 1, '12': 1, '2': 1, '20': 1, '9': 1, '13': 1, '10': 1, '17': 1, '5': 1, '8': 1, '16': 1, '3': 1, '1': 1, '7': 1, '18': 1}, 'l_slots': {'118': 1, '104': 1, '103': 1, '112': 1, '107': 1, '102': 1, '105': 1, '109': 1, '110': 1, '108': 1, '120': 1, '106': 1, '114': 1, '117': 1, '101': 1, '119': 1, '113': 1, '111': 1, '116': 1, '115': 1}, 's_slots': {'502': 1, '501': 1, '508': 1, '514': 1, '506': 1, '509': 1, '513': 1, '518': 1, '504': 1, '505': 1, '515': 1, '517': 1, '520': 1, '519': 1, '512': 1, '510': 1, '516': 1, '507': 1, '503': 1, '511': 1}}, 'link_id': {'link_uuid': {'uuid': 'b11e2e7b-ef00-5c11-9dc6-5fd34bd11f6e'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '1a8d66e2-5d94-520f-b94a-0aca4cfd891f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}
{'name': 'T2.3-R2', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'20': 1, '11': 1, '8': 1, '9': 1, '1': 1, '19': 1, '5': 1, '14': 1, '12': 1, '6': 1, '18': 1, '3': 1, '4': 1, '2': 1, '15': 1, '16': 1, '7': 1, '13': 1, '17': 1, '10': 1}, 'l_slots': {'119': 1, '111': 1, '120': 1, '113': 1, '115': 1, '105': 1, '117': 1, '108': 1, '104': 1, '106': 1, '103': 1, '107': 1, '114': 1, '109': 1, '116': 1, '101': 1, '102': 1, '112': 1, '110': 1, '118': 1}, 's_slots': {'504': 1, '508': 1, '506': 1, '512': 1, '502': 1, '507': 1, '520': 1, '501': 1, '516': 1, '514': 1, '511': 1, '518': 1, '510': 1, '503': 1, '517': 1, '515': 1, '519': 1, '505': 1, '513': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': 'be7afc05-6e45-5899-896b-b331d6ab65c8'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'ac9e9079-6cf5-5d21-834d-1940c76fd78d'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}
{'name': 'R2-T2.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'17': 1, '10': 1, '16': 1, '9': 1, '2': 1, '3': 1, '7': 1, '13': 1, '6': 1, '1': 1, '8': 1, '11': 1, '15': 1, '14': 1, '12': 1, '18': 1, '19': 1, '4': 1, '20': 1, '5': 1}, 'l_slots': {'103': 1, '102': 1, '114': 1, '111': 1, '117': 1, '115': 1, '108': 1, '113': 1, '109': 1, '116': 1, '118': 1, '120': 1, '110': 1, '104': 1, '112': 1, '119': 1, '106': 1, '101': 1, '105': 1, '107': 1}, 's_slots': {'512': 1, '518': 1, '503': 1, '516': 1, '504': 1, '520': 1, '513': 1, '511': 1, '501': 1, '517': 1, '519': 1, '514': 1, '507': 1, '506': 1, '509': 1, '505': 1, '502': 1, '510': 1, '508': 1, '515': 1}}, 'link_id': {'link_uuid': {'uuid': 'd4e89764-11c5-5f59-b7d6-a3aa2dab43df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '88a0bc2f-1ebf-5aca-b472-c339a1c302f9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}
{'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 1, '20': 1, '16': 1, '9': 1, '6': 1, '14': 1, '13': 1, '12': 1, '1': 1, '15': 1, '7': 1, '2': 1, '8': 1, '4': 1, '5': 1, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}
{'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 1, '3': 1, '10': 1, '9': 1, '2': 1, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 1, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}
10.1.83.219 - - [25/Apr/2024 18:04:52] "GET /OpticalTFS/GetTopology/admin/admin HTTP/1.1" 200 -
INFO:werkzeug:10.1.83.219 - - [25/Apr/2024 18:04:52] "GET /OpticalTFS/GetTopology/admin/admin HTTP/1.1" 200 -
{'name': 'R2-R1', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'9': 1, '20': 1, '10': 1, '11': 1, '17': 1, '19': 1, '5': 1, '1': 1, '15': 1, '3': 1, '2': 1, '6': 1, '14': 1, '13': 1, '18': 1, '12': 1, '4': 1, '7': 1, '16': 1, '8': 1}, 'l_slots': {'101': 1, '119': 1, '111': 1, '116': 1, '109': 1, '103': 1, '110': 1, '106': 1, '105': 1, '102': 1, '108': 1, '114': 1, '113': 1, '112': 1, '104': 1, '117': 1, '118': 1, '107': 1, '120': 1, '115': 1}, 's_slots': {'518': 1, '505': 1, '506': 1, '514': 1, '516': 1, '502': 1, '501': 1, '508': 1, '509': 1, '519': 1, '520': 1, '517': 1, '515': 1, '512': 1, '511': 1, '504': 1, '503': 1, '510': 1, '507': 1, '513': 1}}, 'link_id': {'link_uuid': {'uuid': 'eae23f48-40de-5aae-b3d1-fa3cda231678'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4255273d-5038-512d-9838-d5dd921cb858'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'f45593bb-41b1-50af-8944-524212ca012a'}}]}
{'name': 'T2.1-R2', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'18': 1, '6': 1, '16': 1, '7': 1, '2': 1, '4': 1, '3': 1, '17': 1, '11': 1, '20': 1, '15': 1, '19': 1, '10': 1, '9': 1, '5': 1, '13': 1, '8': 1, '1': 1, '12': 1, '14': 1}, 'l_slots': {'107': 1, '109': 1, '103': 1, '108': 1, '102': 1, '119': 1, '110': 1, '105': 1, '111': 1, '101': 1, '114': 1, '117': 1, '112': 1, '116': 1, '115': 1, '113': 1, '120': 1, '118': 1, '104': 1, '106': 1}, 's_slots': {'518': 1, '505': 1, '520': 1, '510': 1, '507': 1, '511': 1, '513': 1, '506': 1, '515': 1, '504': 1, '503': 1, '519': 1, '508': 1, '512': 1, '501': 1, '502': 1, '509': 1, '516': 1, '517': 1, '514': 1}}, 'link_id': {'link_uuid': {'uuid': 'ebb2ca0f-d4c1-51c4-ab41-dceea90f811f'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '1b9f85aa-8cc9-5b9d-99dc-8f0eec714d67'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}]}
{'name': 'T1.3-R1', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'5': 1, '9': 1, '4': 1, '2': 1, '10': 1, '16': 1, '17': 1, '8': 1, '19': 1, '11': 1, '20': 1, '7': 1, '14': 1, '1': 1, '12': 1, '3': 1, '6': 1, '18': 1, '15': 1, '13': 1}, 'l_slots': {'101': 1, '117': 1, '111': 1, '113': 1, '116': 1, '102': 1, '118': 1, '107': 1, '103': 1, '112': 1, '120': 1, '106': 1, '105': 1, '119': 1, '109': 1, '108': 1, '115': 1, '110': 1, '114': 1, '104': 1}, 's_slots': {'518': 1, '519': 1, '517': 1, '501': 1, '507': 1, '511': 1, '514': 1, '510': 1, '512': 1, '516': 1, '506': 1, '515': 1, '508': 1, '502': 1, '520': 1, '503': 1, '513': 1, '505': 1, '509': 1, '504': 1}}, 'link_id': {'link_uuid': {'uuid': 'f79a817c-a6a0-55d5-9398-a582a9835be9'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'dad62073-9e4f-5b05-947d-571e6c3a6068'}}]}
INFO: Graph initiated.2
( T2.2 , R2, 2, 13, 1, 1)
( T1.2 , R1, 2, 3, 1, 1)
( T1.1 , R1, 1, 12, 1, 1)
( R1 , T1.1, 12, 1, 1, 1)
( R1 , T1.2, 3, 2, 1, 1)
( R1 , T1.3, 14, 3, 1, 1)
( R1 , R2, 111, 101, 1, 1)
( T2.1 , R2, 1, 12, 1, 1)
( R2 , T2.1, 12, 1, 1, 1)
( R2 , T2.2, 13, 2, 1, 1)
( R2 , T2.3, 4, 3, 1, 1)
( R2 , R1, 101, 111, 1, 1)
( T2.3 , R2, 3, 4, 1, 1)
( T1.3 , R1, 3, 14, 1, 1)
20,20,20
INFO: New FlexLightpath request from T1.1 to T2.1 with rate 100
( T2.2 , R2, 2, 13, 1, 1)
( T1.2 , R1, 2, 3, 1, 1)
( T1.1 , R1, 1, 12, 1, 1)
( R1 , T1.1, 12, 1, 1, 1)
( R1 , T1.2, 3, 2, 1, 1)
( R1 , T1.3, 14, 3, 1, 1)
( R1 , R2, 111, 101, 1, 1)
( T2.1 , R2, 1, 12, 1, 1)
( R2 , T2.1, 12, 1, 1, 1)
( R2 , T2.2, 13, 2, 1, 1)
( R2 , T2.3, 4, 3, 1, 1)
( R2 , R1, 101, 111, 1, 1)
( T2.3 , R2, 3, 4, 1, 1)
( T1.3 , R1, 3, 14, 1, 1)
100 8
INFO: TP to TP connection
INFO: optical-band width specified
INFO: Path from T1.1 to T2.1 with distance: 3
['T1.1', 'R1', 'R2', 'T2.1']
T1.1
{'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 1, '3': 1, '10': 1, '9': 1, '2': 1, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 1, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}
T1.1-R1 {'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 1, '3': 1, '10': 1, '9': 1, '2': 1, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 1, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}
R1
{'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 1, '20': 1, '16': 1, '9': 1, '6': 1, '14': 1, '13': 1, '12': 1, '1': 1, '15': 1, '7': 1, '2': 1, '8': 1, '4': 1, '5': 1, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}
R1-R2 {'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 1, '20': 1, '16': 1, '9': 1, '6': 1, '14': 1, '13': 1, '12': 1, '1': 1, '15': 1, '7': 1, '2': 1, '8': 1, '4': 1, '5': 1, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}
R2
{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 1, '4': 1, '7': 1, '2': 1, '14': 1, '8': 1, '3': 1}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}
R2-T2.1 {'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 1, '4': 1, '7': 1, '2': 1, '14': 1, '8': 1, '3': 1}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}
INFO: Creating optical-band of 8 slots
{'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 1, '20': 1, '16': 1, '9': 1, '6': 1, '14': 1, '13': 1, '12': 1, '1': 1, '15': 1, '7': 1, '2': 1, '8': 1, '4': 1, '5': 1, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}
R1-R2 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
1
R1-R2
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
[101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120]
[501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520]
['R1-R2'] 8 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20] [101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120] [501, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520] 0 20 20 20
c_slots [1, 2, 3, 4, 5, 6, 7, 8]
INFO: Path forward computation completed
{'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 0, '20': 1, '16': 1, '9': 1, '6': 0, '14': 1, '13': 1, '12': 1, '1': 0, '15': 1, '7': 0, '2': 0, '8': 0, '4': 0, '5': 0, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}
{'optical_links': [{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 1, '4': 1, '7': 1, '2': 1, '14': 1, '8': 1, '3': 1}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}, {'name': 'R2-T2.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'17': 1, '16': 1, '3': 1, '18': 1, '4': 1, '5': 1, '8': 1, '15': 1, '6': 1, '1': 1, '2': 1, '10': 1, '19': 1, '9': 1, '13': 1, '12': 1, '14': 1, '11': 1, '7': 1, '20': 1}, 'l_slots': {'113': 1, '119': 1, '102': 1, '115': 1, '114': 1, '104': 1, '107': 1, '120': 1, '112': 1, '118': 1, '116': 1, '109': 1, '108': 1, '105': 1, '110': 1, '103': 1, '111': 1, '101': 1, '117': 1, '106': 1}, 's_slots': {'517': 1, '501': 1, '520': 1, '508': 1, '503': 1, '504': 1, '510': 1, '511': 1, '514': 1, '513': 1, '505': 1, '518': 1, '502': 1, '509': 1, '507': 1, '506': 1, '516': 1, '515': 1, '512': 1, '519': 1}}, 'link_id': {'link_uuid': {'uuid': '5f9f4309-d24d-52e0-9d60-ba84839a5bda'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '463f5b52-bb8e-54e7-a63d-aeb4ad4b72bc'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}, {'name': 'R1-T1.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'11': 1, '12': 1, '1': 1, '4': 1, '7': 1, '15': 1, '10': 1, '9': 1, '8': 1, '3': 1, '6': 1, '19': 1, '14': 1, '2': 1, '16': 1, '13': 1, '17': 1, '18': 1, '5': 1, '20': 1}, 'l_slots': {'118': 1, '112': 1, '107': 1, '115': 1, '108': 1, '101': 1, '113': 1, '103': 1, '117': 1, '114': 1, '109': 1, '120': 1, '119': 1, '105': 1, '110': 1, '104': 1, '106': 1, '111': 1, '102': 1, '116': 1}, 's_slots': {'509': 1, '504': 1, '503': 1, '505': 1, '520': 1, '507': 1, '502': 1, '511': 1, '513': 1, '519': 1, '508': 1, '510': 1, '516': 1, '517': 1, '506': 1, '501': 1, '518': 1, '515': 1, '514': 1, '512': 1}}, 'link_id': {'link_uuid': {'uuid': '63c6a257-f171-59f8-b1e8-e3c4086ba36a'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'c7b7a565-0469-5463-809b-8ef4851d89c4'}}]}, {'name': 'T1.2-R1', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'2': 1, '1': 1, '7': 1, '10': 1, '13': 1, '19': 1, '11': 1, '15': 1, '16': 1, '18': 1, '9': 1, '20': 1, '12': 1, '5': 1, '14': 1, '4': 1, '8': 1, '17': 1, '3': 1, '6': 1}, 'l_slots': {'110': 1, '102': 1, '109': 1, '119': 1, '113': 1, '117': 1, '120': 1, '105': 1, '114': 1, '103': 1, '104': 1, '118': 1, '108': 1, '112': 1, '101': 1, '116': 1, '115': 1, '111': 1, '106': 1, '107': 1}, 's_slots': {'510': 1, '506': 1, '505': 1, '512': 1, '502': 1, '516': 1, '507': 1, '514': 1, '511': 1, '517': 1, '513': 1, '503': 1, '508': 1, '519': 1, '518': 1, '504': 1, '501': 1, '515': 1, '520': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '817a2fcb-5dfd-55a6-b669-a141014cc38d'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '27b6ed2a-b0d1-5be9-b9be-cc9a540ac0d1'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}, {'name': 'T2.2-R2', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '2': 1, '8': 1, '4': 1, '5': 1, '17': 1, '20': 1, '9': 1, '19': 1, '11': 1, '12': 1, '1': 1, '15': 1, '16': 1, '3': 1, '7': 1, '10': 1, '6': 1, '13': 1}, 'l_slots': {'120': 1, '118': 1, '111': 1, '110': 1, '116': 1, '104': 1, '117': 1, '102': 1, '109': 1, '114': 1, '119': 1, '103': 1, '115': 1, '113': 1, '107': 1, '105': 1, '106': 1, '108': 1, '101': 1, '112': 1}, 's_slots': {'513': 1, '506': 1, '510': 1, '504': 1, '502': 1, '512': 1, '515': 1, '501': 1, '507': 1, '518': 1, '520': 1, '511': 1, '505': 1, '514': 1, '503': 1, '519': 1, '516': 1, '508': 1, '509': 1, '517': 1}}, 'link_id': {'link_uuid': {'uuid': '884c6c6a-ad1b-5228-a48f-e9db4bc174df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'be24d4af-c784-50cc-baa4-976a499fcd5a'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}, {'name': 'R1-T1.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '15': 1, '7': 1, '4': 1, '5': 1, '12': 1, '8': 1, '2': 1, '13': 1, '20': 1, '16': 1, '17': 1, '1': 1, '19': 1, '9': 1, '11': 1, '6': 1, '10': 1, '3': 1}, 'l_slots': {'119': 1, '107': 1, '103': 1, '108': 1, '116': 1, '105': 1, '120': 1, '113': 1, '114': 1, '106': 1, '104': 1, '109': 1, '110': 1, '101': 1, '112': 1, '111': 1, '117': 1, '102': 1, '115': 1, '118': 1}, 's_slots': {'505': 1, '501': 1, '519': 1, '503': 1, '502': 1, '510': 1, '517': 1, '518': 1, '506': 1, '515': 1, '514': 1, '507': 1, '511': 1, '504': 1, '512': 1, '516': 1, '508': 1, '509': 1, '520': 1, '513': 1}}, 'link_id': {'link_uuid': {'uuid': '89e3a6c6-d613-55bf-925c-c817ee24a133'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4fca89b8-237c-52bd-8131-9129316b524f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}]}, {'name': 'R1-T1.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'4': 1, '15': 1, '14': 1, '11': 1, '19': 1, '6': 1, '12': 1, '2': 1, '20': 1, '9': 1, '13': 1, '10': 1, '17': 1, '5': 1, '8': 1, '16': 1, '3': 1, '1': 1, '7': 1, '18': 1}, 'l_slots': {'118': 1, '104': 1, '103': 1, '112': 1, '107': 1, '102': 1, '105': 1, '109': 1, '110': 1, '108': 1, '120': 1, '106': 1, '114': 1, '117': 1, '101': 1, '119': 1, '113': 1, '111': 1, '116': 1, '115': 1}, 's_slots': {'502': 1, '501': 1, '508': 1, '514': 1, '506': 1, '509': 1, '513': 1, '518': 1, '504': 1, '505': 1, '515': 1, '517': 1, '520': 1, '519': 1, '512': 1, '510': 1, '516': 1, '507': 1, '503': 1, '511': 1}}, 'link_id': {'link_uuid': {'uuid': 'b11e2e7b-ef00-5c11-9dc6-5fd34bd11f6e'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '1a8d66e2-5d94-520f-b94a-0aca4cfd891f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}, {'name': 'T2.3-R2', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'20': 1, '11': 1, '8': 1, '9': 1, '1': 1, '19': 1, '5': 1, '14': 1, '12': 1, '6': 1, '18': 1, '3': 1, '4': 1, '2': 1, '15': 1, '16': 1, '7': 1, '13': 1, '17': 1, '10': 1}, 'l_slots': {'119': 1, '111': 1, '120': 1, '113': 1, '115': 1, '105': 1, '117': 1, '108': 1, '104': 1, '106': 1, '103': 1, '107': 1, '114': 1, '109': 1, '116': 1, '101': 1, '102': 1, '112': 1, '110': 1, '118': 1}, 's_slots': {'504': 1, '508': 1, '506': 1, '512': 1, '502': 1, '507': 1, '520': 1, '501': 1, '516': 1, '514': 1, '511': 1, '518': 1, '510': 1, '503': 1, '517': 1, '515': 1, '519': 1, '505': 1, '513': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': 'be7afc05-6e45-5899-896b-b331d6ab65c8'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'ac9e9079-6cf5-5d21-834d-1940c76fd78d'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}, {'name': 'R2-T2.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'17': 1, '10': 1, '16': 1, '9': 1, '2': 1, '3': 1, '7': 1, '13': 1, '6': 1, '1': 1, '8': 1, '11': 1, '15': 1, '14': 1, '12': 1, '18': 1, '19': 1, '4': 1, '20': 1, '5': 1}, 'l_slots': {'103': 1, '102': 1, '114': 1, '111': 1, '117': 1, '115': 1, '108': 1, '113': 1, '109': 1, '116': 1, '118': 1, '120': 1, '110': 1, '104': 1, '112': 1, '119': 1, '106': 1, '101': 1, '105': 1, '107': 1}, 's_slots': {'512': 1, '518': 1, '503': 1, '516': 1, '504': 1, '520': 1, '513': 1, '511': 1, '501': 1, '517': 1, '519': 1, '514': 1, '507': 1, '506': 1, '509': 1, '505': 1, '502': 1, '510': 1, '508': 1, '515': 1}}, 'link_id': {'link_uuid': {'uuid': 'd4e89764-11c5-5f59-b7d6-a3aa2dab43df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '88a0bc2f-1ebf-5aca-b472-c339a1c302f9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}, {'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 0, '20': 1, '16': 1, '9': 1, '6': 0, '14': 1, '13': 1, '12': 1, '1': 0, '15': 1, '7': 0, '2': 0, '8': 0, '4': 0, '5': 0, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}, {'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 1, '3': 1, '10': 1, '9': 1, '2': 1, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 1, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}, {'name': 'R2-R1', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'9': 1, '20': 1, '10': 1, '11': 1, '17': 1, '19': 1, '5': 1, '1': 1, '15': 1, '3': 1, '2': 1, '6': 1, '14': 1, '13': 1, '18': 1, '12': 1, '4': 1, '7': 1, '16': 1, '8': 1}, 'l_slots': {'101': 1, '119': 1, '111': 1, '116': 1, '109': 1, '103': 1, '110': 1, '106': 1, '105': 1, '102': 1, '108': 1, '114': 1, '113': 1, '112': 1, '104': 1, '117': 1, '118': 1, '107': 1, '120': 1, '115': 1}, 's_slots': {'518': 1, '505': 1, '506': 1, '514': 1, '516': 1, '502': 1, '501': 1, '508': 1, '509': 1, '519': 1, '520': 1, '517': 1, '515': 1, '512': 1, '511': 1, '504': 1, '503': 1, '510': 1, '507': 1, '513': 1}}, 'link_id': {'link_uuid': {'uuid': 'eae23f48-40de-5aae-b3d1-fa3cda231678'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4255273d-5038-512d-9838-d5dd921cb858'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'f45593bb-41b1-50af-8944-524212ca012a'}}]}, {'name': 'T2.1-R2', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'18': 1, '6': 1, '16': 1, '7': 1, '2': 1, '4': 1, '3': 1, '17': 1, '11': 1, '20': 1, '15': 1, '19': 1, '10': 1, '9': 1, '5': 1, '13': 1, '8': 1, '1': 1, '12': 1, '14': 1}, 'l_slots': {'107': 1, '109': 1, '103': 1, '108': 1, '102': 1, '119': 1, '110': 1, '105': 1, '111': 1, '101': 1, '114': 1, '117': 1, '112': 1, '116': 1, '115': 1, '113': 1, '120': 1, '118': 1, '104': 1, '106': 1}, 's_slots': {'518': 1, '505': 1, '520': 1, '510': 1, '507': 1, '511': 1, '513': 1, '506': 1, '515': 1, '504': 1, '503': 1, '519': 1, '508': 1, '512': 1, '501': 1, '502': 1, '509': 1, '516': 1, '517': 1, '514': 1}}, 'link_id': {'link_uuid': {'uuid': 'ebb2ca0f-d4c1-51c4-ab41-dceea90f811f'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '1b9f85aa-8cc9-5b9d-99dc-8f0eec714d67'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}]}, {'name': 'T1.3-R1', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'5': 1, '9': 1, '4': 1, '2': 1, '10': 1, '16': 1, '17': 1, '8': 1, '19': 1, '11': 1, '20': 1, '7': 1, '14': 1, '1': 1, '12': 1, '3': 1, '6': 1, '18': 1, '15': 1, '13': 1}, 'l_slots': {'101': 1, '117': 1, '111': 1, '113': 1, '116': 1, '102': 1, '118': 1, '107': 1, '103': 1, '112': 1, '120': 1, '106': 1, '105': 1, '119': 1, '109': 1, '108': 1, '115': 1, '110': 1, '114': 1, '104': 1}, 's_slots': {'518': 1, '519': 1, '517': 1, '501': 1, '507': 1, '511': 1, '514': 1, '510': 1, '512': 1, '516': 1, '506': 1, '515': 1, '508': 1, '502': 1, '520': 1, '503': 1, '513': 1, '505': 1, '509': 1, '504': 1}}, 'link_id': {'link_uuid': {'uuid': 'f79a817c-a6a0-55d5-9398-a582a9835be9'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'dad62073-9e4f-5b05-947d-571e6c3a6068'}}]}]}
{'R1': {'f': {'in': '0', 'out': '101'}, 'b': {}}, 'R2': {'f': {'in': '111', 'out': '0'}, 'b': {}}}
INFO: Flow matrix computed
{'R1': {'f': {'in': '0', 'out': '101'}, 'b': {}}, 'R2': {'f': {'in': '111', 'out': '0'}, 'b': {}}} c_slots [1, 2, 3, 4, 5, 6, 7, 8] {} {}
[1, 2, 3, 4, 5, 6, 7, 8]
pari 8
4
192050.0
192056250 100000
INFO: RSA completed for optical band
['R1-R2']
{'R1': {'f': {'in': '0', 'out': '101'}, 'b': {}}, 'R2': {'f': {'in': '111', 'out': '0'}, 'b': {}}}
{'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 0, '20': 1, '16': 1, '9': 1, '6': 0, '14': 1, '13': 1, '12': 1, '1': 0, '15': 1, '7': 0, '2': 0, '8': 0, '4': 0, '5': 0, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}
['T1.1-R1', 'R2-T2.1']
{'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 1, '3': 1, '10': 1, '9': 1, '2': 1, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 1, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}
T1.1-R1 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 1, '4': 1, '7': 1, '2': 1, '14': 1, '8': 1, '3': 1}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}
R2-T2.1 [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20]
2
T1.1-R1
R2-T2.1
[1, 2, 3, 4, 5, 6, 7, 8]
[]
[]
{'optical_links': [{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 1, '4': 1, '7': 1, '2': 1, '14': 1, '8': 1, '3': 1}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}, {'name': 'R2-T2.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'17': 1, '16': 1, '3': 1, '18': 1, '4': 1, '5': 1, '8': 1, '15': 1, '6': 1, '1': 1, '2': 1, '10': 1, '19': 1, '9': 1, '13': 1, '12': 1, '14': 1, '11': 1, '7': 1, '20': 1}, 'l_slots': {'113': 1, '119': 1, '102': 1, '115': 1, '114': 1, '104': 1, '107': 1, '120': 1, '112': 1, '118': 1, '116': 1, '109': 1, '108': 1, '105': 1, '110': 1, '103': 1, '111': 1, '101': 1, '117': 1, '106': 1}, 's_slots': {'517': 1, '501': 1, '520': 1, '508': 1, '503': 1, '504': 1, '510': 1, '511': 1, '514': 1, '513': 1, '505': 1, '518': 1, '502': 1, '509': 1, '507': 1, '506': 1, '516': 1, '515': 1, '512': 1, '519': 1}}, 'link_id': {'link_uuid': {'uuid': '5f9f4309-d24d-52e0-9d60-ba84839a5bda'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '463f5b52-bb8e-54e7-a63d-aeb4ad4b72bc'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}, {'name': 'R1-T1.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'11': 1, '12': 1, '1': 1, '4': 1, '7': 1, '15': 1, '10': 1, '9': 1, '8': 1, '3': 1, '6': 1, '19': 1, '14': 1, '2': 1, '16': 1, '13': 1, '17': 1, '18': 1, '5': 1, '20': 1}, 'l_slots': {'118': 1, '112': 1, '107': 1, '115': 1, '108': 1, '101': 1, '113': 1, '103': 1, '117': 1, '114': 1, '109': 1, '120': 1, '119': 1, '105': 1, '110': 1, '104': 1, '106': 1, '111': 1, '102': 1, '116': 1}, 's_slots': {'509': 1, '504': 1, '503': 1, '505': 1, '520': 1, '507': 1, '502': 1, '511': 1, '513': 1, '519': 1, '508': 1, '510': 1, '516': 1, '517': 1, '506': 1, '501': 1, '518': 1, '515': 1, '514': 1, '512': 1}}, 'link_id': {'link_uuid': {'uuid': '63c6a257-f171-59f8-b1e8-e3c4086ba36a'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'c7b7a565-0469-5463-809b-8ef4851d89c4'}}]}, {'name': 'T1.2-R1', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'2': 1, '1': 1, '7': 1, '10': 1, '13': 1, '19': 1, '11': 1, '15': 1, '16': 1, '18': 1, '9': 1, '20': 1, '12': 1, '5': 1, '14': 1, '4': 1, '8': 1, '17': 1, '3': 1, '6': 1}, 'l_slots': {'110': 1, '102': 1, '109': 1, '119': 1, '113': 1, '117': 1, '120': 1, '105': 1, '114': 1, '103': 1, '104': 1, '118': 1, '108': 1, '112': 1, '101': 1, '116': 1, '115': 1, '111': 1, '106': 1, '107': 1}, 's_slots': {'510': 1, '506': 1, '505': 1, '512': 1, '502': 1, '516': 1, '507': 1, '514': 1, '511': 1, '517': 1, '513': 1, '503': 1, '508': 1, '519': 1, '518': 1, '504': 1, '501': 1, '515': 1, '520': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '817a2fcb-5dfd-55a6-b669-a141014cc38d'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '27b6ed2a-b0d1-5be9-b9be-cc9a540ac0d1'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}, {'name': 'T2.2-R2', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '2': 1, '8': 1, '4': 1, '5': 1, '17': 1, '20': 1, '9': 1, '19': 1, '11': 1, '12': 1, '1': 1, '15': 1, '16': 1, '3': 1, '7': 1, '10': 1, '6': 1, '13': 1}, 'l_slots': {'120': 1, '118': 1, '111': 1, '110': 1, '116': 1, '104': 1, '117': 1, '102': 1, '109': 1, '114': 1, '119': 1, '103': 1, '115': 1, '113': 1, '107': 1, '105': 1, '106': 1, '108': 1, '101': 1, '112': 1}, 's_slots': {'513': 1, '506': 1, '510': 1, '504': 1, '502': 1, '512': 1, '515': 1, '501': 1, '507': 1, '518': 1, '520': 1, '511': 1, '505': 1, '514': 1, '503': 1, '519': 1, '516': 1, '508': 1, '509': 1, '517': 1}}, 'link_id': {'link_uuid': {'uuid': '884c6c6a-ad1b-5228-a48f-e9db4bc174df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'be24d4af-c784-50cc-baa4-976a499fcd5a'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}, {'name': 'R1-T1.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '15': 1, '7': 1, '4': 1, '5': 1, '12': 1, '8': 1, '2': 1, '13': 1, '20': 1, '16': 1, '17': 1, '1': 1, '19': 1, '9': 1, '11': 1, '6': 1, '10': 1, '3': 1}, 'l_slots': {'119': 1, '107': 1, '103': 1, '108': 1, '116': 1, '105': 1, '120': 1, '113': 1, '114': 1, '106': 1, '104': 1, '109': 1, '110': 1, '101': 1, '112': 1, '111': 1, '117': 1, '102': 1, '115': 1, '118': 1}, 's_slots': {'505': 1, '501': 1, '519': 1, '503': 1, '502': 1, '510': 1, '517': 1, '518': 1, '506': 1, '515': 1, '514': 1, '507': 1, '511': 1, '504': 1, '512': 1, '516': 1, '508': 1, '509': 1, '520': 1, '513': 1}}, 'link_id': {'link_uuid': {'uuid': '89e3a6c6-d613-55bf-925c-c817ee24a133'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4fca89b8-237c-52bd-8131-9129316b524f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}]}, {'name': 'R1-T1.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'4': 1, '15': 1, '14': 1, '11': 1, '19': 1, '6': 1, '12': 1, '2': 1, '20': 1, '9': 1, '13': 1, '10': 1, '17': 1, '5': 1, '8': 1, '16': 1, '3': 1, '1': 1, '7': 1, '18': 1}, 'l_slots': {'118': 1, '104': 1, '103': 1, '112': 1, '107': 1, '102': 1, '105': 1, '109': 1, '110': 1, '108': 1, '120': 1, '106': 1, '114': 1, '117': 1, '101': 1, '119': 1, '113': 1, '111': 1, '116': 1, '115': 1}, 's_slots': {'502': 1, '501': 1, '508': 1, '514': 1, '506': 1, '509': 1, '513': 1, '518': 1, '504': 1, '505': 1, '515': 1, '517': 1, '520': 1, '519': 1, '512': 1, '510': 1, '516': 1, '507': 1, '503': 1, '511': 1}}, 'link_id': {'link_uuid': {'uuid': 'b11e2e7b-ef00-5c11-9dc6-5fd34bd11f6e'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '1a8d66e2-5d94-520f-b94a-0aca4cfd891f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}, {'name': 'T2.3-R2', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'20': 1, '11': 1, '8': 1, '9': 1, '1': 1, '19': 1, '5': 1, '14': 1, '12': 1, '6': 1, '18': 1, '3': 1, '4': 1, '2': 1, '15': 1, '16': 1, '7': 1, '13': 1, '17': 1, '10': 1}, 'l_slots': {'119': 1, '111': 1, '120': 1, '113': 1, '115': 1, '105': 1, '117': 1, '108': 1, '104': 1, '106': 1, '103': 1, '107': 1, '114': 1, '109': 1, '116': 1, '101': 1, '102': 1, '112': 1, '110': 1, '118': 1}, 's_slots': {'504': 1, '508': 1, '506': 1, '512': 1, '502': 1, '507': 1, '520': 1, '501': 1, '516': 1, '514': 1, '511': 1, '518': 1, '510': 1, '503': 1, '517': 1, '515': 1, '519': 1, '505': 1, '513': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': 'be7afc05-6e45-5899-896b-b331d6ab65c8'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'ac9e9079-6cf5-5d21-834d-1940c76fd78d'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}, {'name': 'R2-T2.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'17': 1, '10': 1, '16': 1, '9': 1, '2': 1, '3': 1, '7': 1, '13': 1, '6': 1, '1': 1, '8': 1, '11': 1, '15': 1, '14': 1, '12': 1, '18': 1, '19': 1, '4': 1, '20': 1, '5': 1}, 'l_slots': {'103': 1, '102': 1, '114': 1, '111': 1, '117': 1, '115': 1, '108': 1, '113': 1, '109': 1, '116': 1, '118': 1, '120': 1, '110': 1, '104': 1, '112': 1, '119': 1, '106': 1, '101': 1, '105': 1, '107': 1}, 's_slots': {'512': 1, '518': 1, '503': 1, '516': 1, '504': 1, '520': 1, '513': 1, '511': 1, '501': 1, '517': 1, '519': 1, '514': 1, '507': 1, '506': 1, '509': 1, '505': 1, '502': 1, '510': 1, '508': 1, '515': 1}}, 'link_id': {'link_uuid': {'uuid': 'd4e89764-11c5-5f59-b7d6-a3aa2dab43df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '88a0bc2f-1ebf-5aca-b472-c339a1c302f9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}, {'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 0, '20': 1, '16': 1, '9': 1, '6': 0, '14': 1, '13': 1, '12': 1, '1': 0, '15': 1, '7': 0, '2': 0, '8': 0, '4': 0, '5': 0, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}, {'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 1, '3': 1, '10': 1, '9': 1, '2': 1, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 1, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}, {'name': 'R2-R1', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'9': 1, '20': 1, '10': 1, '11': 1, '17': 1, '19': 1, '5': 1, '1': 1, '15': 1, '3': 1, '2': 1, '6': 1, '14': 1, '13': 1, '18': 1, '12': 1, '4': 1, '7': 1, '16': 1, '8': 1}, 'l_slots': {'101': 1, '119': 1, '111': 1, '116': 1, '109': 1, '103': 1, '110': 1, '106': 1, '105': 1, '102': 1, '108': 1, '114': 1, '113': 1, '112': 1, '104': 1, '117': 1, '118': 1, '107': 1, '120': 1, '115': 1}, 's_slots': {'518': 1, '505': 1, '506': 1, '514': 1, '516': 1, '502': 1, '501': 1, '508': 1, '509': 1, '519': 1, '520': 1, '517': 1, '515': 1, '512': 1, '511': 1, '504': 1, '503': 1, '510': 1, '507': 1, '513': 1}}, 'link_id': {'link_uuid': {'uuid': 'eae23f48-40de-5aae-b3d1-fa3cda231678'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4255273d-5038-512d-9838-d5dd921cb858'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'f45593bb-41b1-50af-8944-524212ca012a'}}]}, {'name': 'T2.1-R2', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'18': 1, '6': 1, '16': 1, '7': 1, '2': 1, '4': 1, '3': 1, '17': 1, '11': 1, '20': 1, '15': 1, '19': 1, '10': 1, '9': 1, '5': 1, '13': 1, '8': 1, '1': 1, '12': 1, '14': 1}, 'l_slots': {'107': 1, '109': 1, '103': 1, '108': 1, '102': 1, '119': 1, '110': 1, '105': 1, '111': 1, '101': 1, '114': 1, '117': 1, '112': 1, '116': 1, '115': 1, '113': 1, '120': 1, '118': 1, '104': 1, '106': 1}, 's_slots': {'518': 1, '505': 1, '520': 1, '510': 1, '507': 1, '511': 1, '513': 1, '506': 1, '515': 1, '504': 1, '503': 1, '519': 1, '508': 1, '512': 1, '501': 1, '502': 1, '509': 1, '516': 1, '517': 1, '514': 1}}, 'link_id': {'link_uuid': {'uuid': 'ebb2ca0f-d4c1-51c4-ab41-dceea90f811f'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '1b9f85aa-8cc9-5b9d-99dc-8f0eec714d67'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}]}, {'name': 'T1.3-R1', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'5': 1, '9': 1, '4': 1, '2': 1, '10': 1, '16': 1, '17': 1, '8': 1, '19': 1, '11': 1, '20': 1, '7': 1, '14': 1, '1': 1, '12': 1, '3': 1, '6': 1, '18': 1, '15': 1, '13': 1}, 'l_slots': {'101': 1, '117': 1, '111': 1, '113': 1, '116': 1, '102': 1, '118': 1, '107': 1, '103': 1, '112': 1, '120': 1, '106': 1, '105': 1, '119': 1, '109': 1, '108': 1, '115': 1, '110': 1, '114': 1, '104': 1}, 's_slots': {'518': 1, '519': 1, '517': 1, '501': 1, '507': 1, '511': 1, '514': 1, '510': 1, '512': 1, '516': 1, '506': 1, '515': 1, '508': 1, '502': 1, '520': 1, '503': 1, '513': 1, '505': 1, '509': 1, '504': 1}}, 'link_id': {'link_uuid': {'uuid': 'f79a817c-a6a0-55d5-9398-a582a9835be9'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'dad62073-9e4f-5b05-947d-571e6c3a6068'}}]}]}
c_slots [1, 2, 3, 4]
INFO: Path forward computation completed
{'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 0, '3': 0, '10': 1, '9': 1, '2': 0, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 0, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}
{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 0, '4': 0, '7': 1, '2': 0, '14': 1, '8': 1, '3': 0}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}
{'optical_links': [{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 0, '4': 0, '7': 1, '2': 0, '14': 1, '8': 1, '3': 0}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}, {'name': 'R2-T2.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'17': 1, '16': 1, '3': 1, '18': 1, '4': 1, '5': 1, '8': 1, '15': 1, '6': 1, '1': 1, '2': 1, '10': 1, '19': 1, '9': 1, '13': 1, '12': 1, '14': 1, '11': 1, '7': 1, '20': 1}, 'l_slots': {'113': 1, '119': 1, '102': 1, '115': 1, '114': 1, '104': 1, '107': 1, '120': 1, '112': 1, '118': 1, '116': 1, '109': 1, '108': 1, '105': 1, '110': 1, '103': 1, '111': 1, '101': 1, '117': 1, '106': 1}, 's_slots': {'517': 1, '501': 1, '520': 1, '508': 1, '503': 1, '504': 1, '510': 1, '511': 1, '514': 1, '513': 1, '505': 1, '518': 1, '502': 1, '509': 1, '507': 1, '506': 1, '516': 1, '515': 1, '512': 1, '519': 1}}, 'link_id': {'link_uuid': {'uuid': '5f9f4309-d24d-52e0-9d60-ba84839a5bda'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '463f5b52-bb8e-54e7-a63d-aeb4ad4b72bc'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}, {'name': 'R1-T1.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'11': 1, '12': 1, '1': 1, '4': 1, '7': 1, '15': 1, '10': 1, '9': 1, '8': 1, '3': 1, '6': 1, '19': 1, '14': 1, '2': 1, '16': 1, '13': 1, '17': 1, '18': 1, '5': 1, '20': 1}, 'l_slots': {'118': 1, '112': 1, '107': 1, '115': 1, '108': 1, '101': 1, '113': 1, '103': 1, '117': 1, '114': 1, '109': 1, '120': 1, '119': 1, '105': 1, '110': 1, '104': 1, '106': 1, '111': 1, '102': 1, '116': 1}, 's_slots': {'509': 1, '504': 1, '503': 1, '505': 1, '520': 1, '507': 1, '502': 1, '511': 1, '513': 1, '519': 1, '508': 1, '510': 1, '516': 1, '517': 1, '506': 1, '501': 1, '518': 1, '515': 1, '514': 1, '512': 1}}, 'link_id': {'link_uuid': {'uuid': '63c6a257-f171-59f8-b1e8-e3c4086ba36a'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'c7b7a565-0469-5463-809b-8ef4851d89c4'}}]}, {'name': 'T1.2-R1', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'2': 1, '1': 1, '7': 1, '10': 1, '13': 1, '19': 1, '11': 1, '15': 1, '16': 1, '18': 1, '9': 1, '20': 1, '12': 1, '5': 1, '14': 1, '4': 1, '8': 1, '17': 1, '3': 1, '6': 1}, 'l_slots': {'110': 1, '102': 1, '109': 1, '119': 1, '113': 1, '117': 1, '120': 1, '105': 1, '114': 1, '103': 1, '104': 1, '118': 1, '108': 1, '112': 1, '101': 1, '116': 1, '115': 1, '111': 1, '106': 1, '107': 1}, 's_slots': {'510': 1, '506': 1, '505': 1, '512': 1, '502': 1, '516': 1, '507': 1, '514': 1, '511': 1, '517': 1, '513': 1, '503': 1, '508': 1, '519': 1, '518': 1, '504': 1, '501': 1, '515': 1, '520': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '817a2fcb-5dfd-55a6-b669-a141014cc38d'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '27b6ed2a-b0d1-5be9-b9be-cc9a540ac0d1'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}, {'name': 'T2.2-R2', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '2': 1, '8': 1, '4': 1, '5': 1, '17': 1, '20': 1, '9': 1, '19': 1, '11': 1, '12': 1, '1': 1, '15': 1, '16': 1, '3': 1, '7': 1, '10': 1, '6': 1, '13': 1}, 'l_slots': {'120': 1, '118': 1, '111': 1, '110': 1, '116': 1, '104': 1, '117': 1, '102': 1, '109': 1, '114': 1, '119': 1, '103': 1, '115': 1, '113': 1, '107': 1, '105': 1, '106': 1, '108': 1, '101': 1, '112': 1}, 's_slots': {'513': 1, '506': 1, '510': 1, '504': 1, '502': 1, '512': 1, '515': 1, '501': 1, '507': 1, '518': 1, '520': 1, '511': 1, '505': 1, '514': 1, '503': 1, '519': 1, '516': 1, '508': 1, '509': 1, '517': 1}}, 'link_id': {'link_uuid': {'uuid': '884c6c6a-ad1b-5228-a48f-e9db4bc174df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'be24d4af-c784-50cc-baa4-976a499fcd5a'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}, {'name': 'R1-T1.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '15': 1, '7': 1, '4': 1, '5': 1, '12': 1, '8': 1, '2': 1, '13': 1, '20': 1, '16': 1, '17': 1, '1': 1, '19': 1, '9': 1, '11': 1, '6': 1, '10': 1, '3': 1}, 'l_slots': {'119': 1, '107': 1, '103': 1, '108': 1, '116': 1, '105': 1, '120': 1, '113': 1, '114': 1, '106': 1, '104': 1, '109': 1, '110': 1, '101': 1, '112': 1, '111': 1, '117': 1, '102': 1, '115': 1, '118': 1}, 's_slots': {'505': 1, '501': 1, '519': 1, '503': 1, '502': 1, '510': 1, '517': 1, '518': 1, '506': 1, '515': 1, '514': 1, '507': 1, '511': 1, '504': 1, '512': 1, '516': 1, '508': 1, '509': 1, '520': 1, '513': 1}}, 'link_id': {'link_uuid': {'uuid': '89e3a6c6-d613-55bf-925c-c817ee24a133'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4fca89b8-237c-52bd-8131-9129316b524f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}]}, {'name': 'R1-T1.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'4': 1, '15': 1, '14': 1, '11': 1, '19': 1, '6': 1, '12': 1, '2': 1, '20': 1, '9': 1, '13': 1, '10': 1, '17': 1, '5': 1, '8': 1, '16': 1, '3': 1, '1': 1, '7': 1, '18': 1}, 'l_slots': {'118': 1, '104': 1, '103': 1, '112': 1, '107': 1, '102': 1, '105': 1, '109': 1, '110': 1, '108': 1, '120': 1, '106': 1, '114': 1, '117': 1, '101': 1, '119': 1, '113': 1, '111': 1, '116': 1, '115': 1}, 's_slots': {'502': 1, '501': 1, '508': 1, '514': 1, '506': 1, '509': 1, '513': 1, '518': 1, '504': 1, '505': 1, '515': 1, '517': 1, '520': 1, '519': 1, '512': 1, '510': 1, '516': 1, '507': 1, '503': 1, '511': 1}}, 'link_id': {'link_uuid': {'uuid': 'b11e2e7b-ef00-5c11-9dc6-5fd34bd11f6e'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '1a8d66e2-5d94-520f-b94a-0aca4cfd891f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}, {'name': 'T2.3-R2', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'20': 1, '11': 1, '8': 1, '9': 1, '1': 1, '19': 1, '5': 1, '14': 1, '12': 1, '6': 1, '18': 1, '3': 1, '4': 1, '2': 1, '15': 1, '16': 1, '7': 1, '13': 1, '17': 1, '10': 1}, 'l_slots': {'119': 1, '111': 1, '120': 1, '113': 1, '115': 1, '105': 1, '117': 1, '108': 1, '104': 1, '106': 1, '103': 1, '107': 1, '114': 1, '109': 1, '116': 1, '101': 1, '102': 1, '112': 1, '110': 1, '118': 1}, 's_slots': {'504': 1, '508': 1, '506': 1, '512': 1, '502': 1, '507': 1, '520': 1, '501': 1, '516': 1, '514': 1, '511': 1, '518': 1, '510': 1, '503': 1, '517': 1, '515': 1, '519': 1, '505': 1, '513': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': 'be7afc05-6e45-5899-896b-b331d6ab65c8'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'ac9e9079-6cf5-5d21-834d-1940c76fd78d'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}, {'name': 'R2-T2.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'17': 1, '10': 1, '16': 1, '9': 1, '2': 1, '3': 1, '7': 1, '13': 1, '6': 1, '1': 1, '8': 1, '11': 1, '15': 1, '14': 1, '12': 1, '18': 1, '19': 1, '4': 1, '20': 1, '5': 1}, 'l_slots': {'103': 1, '102': 1, '114': 1, '111': 1, '117': 1, '115': 1, '108': 1, '113': 1, '109': 1, '116': 1, '118': 1, '120': 1, '110': 1, '104': 1, '112': 1, '119': 1, '106': 1, '101': 1, '105': 1, '107': 1}, 's_slots': {'512': 1, '518': 1, '503': 1, '516': 1, '504': 1, '520': 1, '513': 1, '511': 1, '501': 1, '517': 1, '519': 1, '514': 1, '507': 1, '506': 1, '509': 1, '505': 1, '502': 1, '510': 1, '508': 1, '515': 1}}, 'link_id': {'link_uuid': {'uuid': 'd4e89764-11c5-5f59-b7d6-a3aa2dab43df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '88a0bc2f-1ebf-5aca-b472-c339a1c302f9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}, {'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 0, '20': 1, '16': 1, '9': 1, '6': 0, '14': 1, '13': 1, '12': 1, '1': 0, '15': 1, '7': 0, '2': 0, '8': 0, '4': 0, '5': 0, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}, {'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 0, '3': 0, '10': 1, '9': 1, '2': 0, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 0, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}, {'name': 'R2-R1', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'9': 1, '20': 1, '10': 1, '11': 1, '17': 1, '19': 1, '5': 1, '1': 1, '15': 1, '3': 1, '2': 1, '6': 1, '110.1.83.219 - - [25/Apr/2024 18:04:52] "PUT /OpticalTFS/AddFlexLightpath/T1.1/T2.1/100/0/100 HTTP/1.1" 200 -
INFO:werkzeug:10.1.83.219 - - [25/Apr/2024 18:04:52] "PUT /OpticalTFS/AddFlexLightpath/T1.1/T2.1/100/0/100 HTTP/1.1" 200 -
10.1.83.219 - - [25/Apr/2024 18:04:52] "GET /OpticalTFS/GetOpticalBand/1 HTTP/1.1" 200 -
INFO:werkzeug:10.1.83.219 - - [25/Apr/2024 18:04:52] "GET /OpticalTFS/GetOpticalBand/1 HTTP/1.1" 200 -
4': 1, '13': 1, '18': 1, '12': 1, '4': 1, '7': 1, '16': 1, '8': 1}, 'l_slots': {'101': 1, '119': 1, '111': 1, '116': 1, '109': 1, '103': 1, '110': 1, '106': 1, '105': 1, '102': 1, '108': 1, '114': 1, '113': 1, '112': 1, '104': 1, '117': 1, '118': 1, '107': 1, '120': 1, '115': 1}, 's_slots': {'518': 1, '505': 1, '506': 1, '514': 1, '516': 1, '502': 1, '501': 1, '508': 1, '509': 1, '519': 1, '520': 1, '517': 1, '515': 1, '512': 1, '511': 1, '504': 1, '503': 1, '510': 1, '507': 1, '513': 1}}, 'link_id': {'link_uuid': {'uuid': 'eae23f48-40de-5aae-b3d1-fa3cda231678'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4255273d-5038-512d-9838-d5dd921cb858'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'f45593bb-41b1-50af-8944-524212ca012a'}}]}, {'name': 'T2.1-R2', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'18': 1, '6': 1, '16': 1, '7': 1, '2': 1, '4': 1, '3': 1, '17': 1, '11': 1, '20': 1, '15': 1, '19': 1, '10': 1, '9': 1, '5': 1, '13': 1, '8': 1, '1': 1, '12': 1, '14': 1}, 'l_slots': {'107': 1, '109': 1, '103': 1, '108': 1, '102': 1, '119': 1, '110': 1, '105': 1, '111': 1, '101': 1, '114': 1, '117': 1, '112': 1, '116': 1, '115': 1, '113': 1, '120': 1, '118': 1, '104': 1, '106': 1}, 's_slots': {'518': 1, '505': 1, '520': 1, '510': 1, '507': 1, '511': 1, '513': 1, '506': 1, '515': 1, '504': 1, '503': 1, '519': 1, '508': 1, '512': 1, '501': 1, '502': 1, '509': 1, '516': 1, '517': 1, '514': 1}}, 'link_id': {'link_uuid': {'uuid': 'ebb2ca0f-d4c1-51c4-ab41-dceea90f811f'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '1b9f85aa-8cc9-5b9d-99dc-8f0eec714d67'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}]}, {'name': 'T1.3-R1', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'5': 1, '9': 1, '4': 1, '2': 1, '10': 1, '16': 1, '17': 1, '8': 1, '19': 1, '11': 1, '20': 1, '7': 1, '14': 1, '1': 1, '12': 1, '3': 1, '6': 1, '18': 1, '15': 1, '13': 1}, 'l_slots': {'101': 1, '117': 1, '111': 1, '113': 1, '116': 1, '102': 1, '118': 1, '107': 1, '103': 1, '112': 1, '120': 1, '106': 1, '105': 1, '119': 1, '109': 1, '108': 1, '115': 1, '110': 1, '114': 1, '104': 1}, 's_slots': {'518': 1, '519': 1, '517': 1, '501': 1, '507': 1, '511': 1, '514': 1, '510': 1, '512': 1, '516': 1, '506': 1, '515': 1, '508': 1, '502': 1, '520': 1, '503': 1, '513': 1, '505': 1, '509': 1, '504': 1}}, 'link_id': {'link_uuid': {'uuid': 'f79a817c-a6a0-55d5-9398-a582a9835be9'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'dad62073-9e4f-5b05-947d-571e6c3a6068'}}]}]}
{'T1.1': {'f': {'in': '0', 'out': '1'}, 'b': {}}, 'R1': {'f': {'in': '12', 'out': '101'}, 'b': {}}, 'R2': {'f': {'in': '111', 'out': '2'}, 'b': {}}, 'T2.1': {'f': {'in': '1', 'out': '0'}, 'b': {}}}
INFO: Flow matrix computed for Flex Lightpath
[1, 2, 3, 4]
pari 4
2
192025.0
192031250 50000
INFO: RSA completed for FLex Lightpath with new OB
INFO: time elapsed = 187.212890625 ms
{'optical_band_id': 1, 'bidir': 0, 'src': 'R1', 'dst': 'R2', 'flows': {'R1': {'f': {'in': '0', 'out': '101'}, 'b': {}}, 'R2': {'f': {'in': '111', 'out': '0'}, 'b': {}}}, 'band_type': 'c_slots', 'fiber_forward': {}, 'fiber_backward': {}, 'op-mode': 0, 'n_slots': 8, 'links': ['R1-R2'], 'path': ['R1', 'R2'], 'band': 100000, 'freq': 192056250, 'is_active': True, 'src_port': '101', 'dst_port': '111', 'rev_dst_port': '111', 'rev_src_port': '101', 'c_slots': {'1': 0, '2': 0, '3': 0, '4': 0, '5': 1, '6': 1, '7': 1, '8': 1}, 'served_lightpaths': [1]}
T1.1-R1
{'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 0, '3': 0, '10': 1, '9': 1, '2': 0, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 0, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}
R2-T2.1
{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 0, '4': 0, '7': 1, '2': 0, '14': 1, '8': 1, '3': 0}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}
{'optical_links': [{'name': 'R2-T2.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'5': 1, '18': 1, '9': 1, '20': 1, '16': 1, '11': 1, '19': 1, '17': 1, '10': 1, '15': 1, '12': 1, '13': 1, '6': 1, '1': 0, '4': 0, '7': 1, '2': 0, '14': 1, '8': 1, '3': 0}, 'l_slots': {'109': 1, '112': 1, '106': 1, '110': 1, '101': 1, '111': 1, '119': 1, '115': 1, '108': 1, '103': 1, '118': 1, '102': 1, '104': 1, '105': 1, '114': 1, '116': 1, '117': 1, '120': 1, '113': 1, '107': 1}, 's_slots': {'513': 1, '505': 1, '502': 1, '507': 1, '516': 1, '508': 1, '501': 1, '517': 1, '503': 1, '506': 1, '520': 1, '518': 1, '504': 1, '512': 1, '510': 1, '515': 1, '511': 1, '519': 1, '514': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '5ba1d9b6-120a-5680-b745-2ea24aec1cc3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '87d74166-65e3-595e-b643-122b4fd0303f'}}, 'endpoint_uuid': {'uuid': '2a307a8e-d326-5ea2-9437-b0320fb4c2a6'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd1e7e6c7-f1d7-56f3-be32-8982a72966f6'}}]}, {'name': 'R2-T2.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'17': 1, '16': 1, '3': 1, '18': 1, '4': 1, '5': 1, '8': 1, '15': 1, '6': 1, '1': 1, '2': 1, '10': 1, '19': 1, '9': 1, '13': 1, '12': 1, '14': 1, '11': 1, '7': 1, '20': 1}, 'l_slots': {'113': 1, '119': 1, '102': 1, '115': 1, '114': 1, '104': 1, '107': 1, '120': 1, '112': 1, '118': 1, '116': 1, '109': 1, '108': 1, '105': 1, '110': 1, '103': 1, '111': 1, '101': 1, '117': 1, '106': 1}, 's_slots': {'517': 1, '501': 1, '520': 1, '508': 1, '503': 1, '504': 1, '510': 1, '511': 1, '514': 1, '513': 1, '505': 1, '518': 1, '502': 1, '509': 1, '507': 1, '506': 1, '516': 1, '515': 1, '512': 1, '519': 1}}, 'link_id': {'link_uuid': {'uuid': '5f9f4309-d24d-52e0-9d60-ba84839a5bda'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '463f5b52-bb8e-54e7-a63d-aeb4ad4b72bc'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}, {'name': 'R1-T1.1', 'optical_details': {'src_port': '2', 'dst_port': '1', 'local_peer_port': '12', 'remote_peer_port': '1', 'c_slots': {'11': 1, '12': 1, '1': 1, '4': 1, '7': 1, '15': 1, '10': 1, '9': 1, '8': 1, '3': 1, '6': 1, '19': 1, '14': 1, '2': 1, '16': 1, '13': 1, '17': 1, '18': 1, '5': 1, '20': 1}, 'l_slots': {'118': 1, '112': 1, '107': 1, '115': 1, '108': 1, '101': 1, '113': 1, '103': 1, '117': 1, '114': 1, '109': 1, '120': 1, '119': 1, '105': 1, '110': 1, '104': 1, '106': 1, '111': 1, '102': 1, '116': 1}, 's_slots': {'509': 1, '504': 1, '503': 1, '505': 1, '520': 1, '507': 1, '502': 1, '511': 1, '513': 1, '519': 1, '508': 1, '510': 1, '516': 1, '517': 1, '506': 1, '501': 1, '518': 1, '515': 1, '514': 1, '512': 1}}, 'link_id': {'link_uuid': {'uuid': '63c6a257-f171-59f8-b1e8-e3c4086ba36a'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': 'c7b7a565-0469-5463-809b-8ef4851d89c4'}}]}, {'name': 'T1.2-R1', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'2': 1, '1': 1, '7': 1, '10': 1, '13': 1, '19': 1, '11': 1, '15': 1, '16': 1, '18': 1, '9': 1, '20': 1, '12': 1, '5': 1, '14': 1, '4': 1, '8': 1, '17': 1, '3': 1, '6': 1}, 'l_slots': {'110': 1, '102': 1, '109': 1, '119': 1, '113': 1, '117': 1, '120': 1, '105': 1, '114': 1, '103': 1, '104': 1, '118': 1, '108': 1, '112': 1, '101': 1, '116': 1, '115': 1, '111': 1, '106': 1, '107': 1}, 's_slots': {'510': 1, '506': 1, '505': 1, '512': 1, '502': 1, '516': 1, '507': 1, '514': 1, '511': 1, '517': 1, '513': 1, '503': 1, '508': 1, '519': 1, '518': 1, '504': 1, '501': 1, '515': 1, '520': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': '817a2fcb-5dfd-55a6-b669-a141014cc38d'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '27b6ed2a-b0d1-5be9-b9be-cc9a540ac0d1'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}, {'name': 'T2.2-R2', 'optical_details': {'src_port': '2', 'dst_port': '13', 'local_peer_port': '2', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '2': 1, '8': 1, '4': 1, '5': 1, '17': 1, '20': 1, '9': 1, '19': 1, '11': 1, '12': 1, '1': 1, '15': 1, '16': 1, '3': 1, '7': 1, '10': 1, '6': 1, '13': 1}, 'l_slots': {'120': 1, '118': 1, '111': 1, '110': 1, '116': 1, '104': 1, '117': 1, '102': 1, '109': 1, '114': 1, '119': 1, '103': 1, '115': 1, '113': 1, '107': 1, '105': 1, '106': 1, '108': 1, '101': 1, '112': 1}, 's_slots': {'513': 1, '506': 1, '510': 1, '504': 1, '502': 1, '512': 1, '515': 1, '501': 1, '507': 1, '518': 1, '520': 1, '511': 1, '505': 1, '514': 1, '503': 1, '519': 1, '516': 1, '508': 1, '509': 1, '517': 1}}, 'link_id': {'link_uuid': {'uuid': '884c6c6a-ad1b-5228-a48f-e9db4bc174df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'be24d4af-c784-50cc-baa4-976a499fcd5a'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '012c4e67-0024-5f30-b527-55ec6daf2639'}}, 'endpoint_uuid': {'uuid': 'c4b8eb66-2fcf-5f66-802f-6cd9590fe70b'}}]}, {'name': 'R1-T1.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'18': 1, '14': 1, '15': 1, '7': 1, '4': 1, '5': 1, '12': 1, '8': 1, '2': 1, '13': 1, '20': 1, '16': 1, '17': 1, '1': 1, '19': 1, '9': 1, '11': 1, '6': 1, '10': 1, '3': 1}, 'l_slots': {'119': 1, '107': 1, '103': 1, '108': 1, '116': 1, '105': 1, '120': 1, '113': 1, '114': 1, '106': 1, '104': 1, '109': 1, '110': 1, '101': 1, '112': 1, '111': 1, '117': 1, '102': 1, '115': 1, '118': 1}, 's_slots': {'505': 1, '501': 1, '519': 1, '503': 1, '502': 1, '510': 1, '517': 1, '518': 1, '506': 1, '515': 1, '514': 1, '507': 1, '511': 1, '504': 1, '512': 1, '516': 1, '508': 1, '509': 1, '520': 1, '513': 1}}, 'link_id': {'link_uuid': {'uuid': '89e3a6c6-d613-55bf-925c-c817ee24a133'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '4fca89b8-237c-52bd-8131-9129316b524f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'cf618e18-c0a1-58c4-9827-943a2c0523d6'}}, 'endpoint_uuid': {'uuid': 'bbdfc5ef-4f8b-5921-9d1f-33dd9a5f18c8'}}]}, {'name': 'R1-T1.2', 'optical_details': {'src_port': '3', 'dst_port': '2', 'local_peer_port': '13', 'remote_peer_port': '2', 'c_slots': {'4': 1, '15': 1, '14': 1, '11': 1, '19': 1, '6': 1, '12': 1, '2': 1, '20': 1, '9': 1, '13': 1, '10': 1, '17': 1, '5': 1, '8': 1, '16': 1, '3': 1, '1': 1, '7': 1, '18': 1}, 'l_slots': {'118': 1, '104': 1, '103': 1, '112': 1, '107': 1, '102': 1, '105': 1, '109': 1, '110': 1, '108': 1, '120': 1, '106': 1, '114': 1, '117': 1, '101': 1, '119': 1, '113': 1, '111': 1, '116': 1, '115': 1}, 's_slots': {'502': 1, '501': 1, '508': 1, '514': 1, '506': 1, '509': 1, '513': 1, '518': 1, '504': 1, '505': 1, '515': 1, '517': 1, '520': 1, '519': 1, '512': 1, '510': 1, '516': 1, '507': 1, '503': 1, '511': 1}}, 'link_id': {'link_uuid': {'uuid': 'b11e2e7b-ef00-5c11-9dc6-5fd34bd11f6e'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '1a8d66e2-5d94-520f-b94a-0aca4cfd891f'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '27c2ed23-e74a-518f-820d-ae2c8ae23086'}}, 'endpoint_uuid': {'uuid': '7dc65d0e-af57-5d3c-9ba6-f6ec81a354c6'}}]}, {'name': 'T2.3-R2', 'optical_details': {'src_port': '3', 'dst_port': '14', 'local_peer_port': '3', 'remote_peer_port': '4', 'c_slots': {'20': 1, '11': 1, '8': 1, '9': 1, '1': 1, '19': 1, '5': 1, '14': 1, '12': 1, '6': 1, '18': 1, '3': 1, '4': 1, '2': 1, '15': 1, '16': 1, '7': 1, '13': 1, '17': 1, '10': 1}, 'l_slots': {'119': 1, '111': 1, '120': 1, '113': 1, '115': 1, '105': 1, '117': 1, '108': 1, '104': 1, '106': 1, '103': 1, '107': 1, '114': 1, '109': 1, '116': 1, '101': 1, '102': 1, '112': 1, '110': 1, '118': 1}, 's_slots': {'504': 1, '508': 1, '506': 1, '512': 1, '502': 1, '507': 1, '520': 1, '501': 1, '516': 1, '514': 1, '511': 1, '518': 1, '510': 1, '503': 1, '517': 1, '515': 1, '519': 1, '505': 1, '513': 1, '509': 1}}, 'link_id': {'link_uuid': {'uuid': 'be7afc05-6e45-5899-896b-b331d6ab65c8'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'ac9e9079-6cf5-5d21-834d-1940c76fd78d'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}, {'name': 'R2-T2.3', 'optical_details': {'src_port': '4', 'dst_port': '3', 'local_peer_port': '14', 'remote_peer_port': '3', 'c_slots': {'17': 1, '10': 1, '16': 1, '9': 1, '2': 1, '3': 1, '7': 1, '13': 1, '6': 1, '1': 1, '8': 1, '11': 1, '15': 1, '14': 1, '12': 1, '18': 1, '19': 1, '4': 1, '20': 1, '5': 1}, 'l_slots': {'103': 1, '102': 1, '114': 1, '111': 1, '117': 1, '115': 1, '108': 1, '113': 1, '109': 1, '116': 1, '118': 1, '120': 1, '110': 1, '104': 1, '112': 1, '119': 1, '106': 1, '101': 1, '105': 1, '107': 1}, 's_slots': {'512': 1, '518': 1, '503': 1, '516': 1, '504': 1, '520': 1, '513': 1, '511': 1, '501': 1, '517': 1, '519': 1, '514': 1, '507': 1, '506': 1, '509': 1, '505': 1, '502': 1, '510': 1, '508': 1, '515': 1}}, 'link_id': {'link_uuid': {'uuid': 'd4e89764-11c5-5f59-b7d6-a3aa2dab43df'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': '88a0bc2f-1ebf-5aca-b472-c339a1c302f9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'ce0cdfdd-2182-5027-8177-676ca3244f9d'}}, 'endpoint_uuid': {'uuid': 'b1acaee3-904d-5106-ac3d-5ae6c42b5333'}}]}, {'name': 'R1-R2', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'3': 0, '20': 1, '16': 1, '9': 1, '6': 0, '14': 1, '13': 1, '12': 1, '1': 0, '15': 1, '7': 0, '2': 0, '8': 0, '4': 0, '5': 0, '18': 1, '10': 1, '11': 1, '17': 1, '19': 1}, 'l_slots': {'112': 1, '110': 1, '101': 1, '105': 1, '109': 1, '104': 1, '108': 1, '118': 1, '106': 1, '119': 1, '103': 1, '107': 1, '120': 1, '114': 1, '113': 1, '102': 1, '115': 1, '117': 1, '116': 1, '111': 1}, 's_slots': {'519': 1, '520': 1, '512': 1, '502': 1, '515': 1, '507': 1, '513': 1, '516': 1, '505': 1, '517': 1, '508': 1, '518': 1, '509': 1, '506': 1, '503': 1, '514': 1, '511': 1, '501': 1, '504': 1, '510': 1}}, 'link_id': {'link_uuid': {'uuid': 'e273644c-0dfa-5053-8850-0722995e7ba3'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '811b34f9-112c-5cc5-a4e0-6e5f5e0bdada'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': 'c944aaeb-bbdf-5f2d-b31c-8cc8903045b6'}}, 'endpoint_uuid': {'uuid': 'd777e553-af96-5ee7-a957-ce70b49e36ac'}}]}, {'name': 'T1.1-R1', 'optical_details': {'src_port': '1', 'dst_port': '12', 'local_peer_port': '1', 'remote_peer_port': '2', 'c_slots': {'4': 0, '3': 0, '10': 1, '9': 1, '2': 0, '13': 1, '8': 1, '6': 1, '17': 1, '5': 1, '20': 1, '1': 0, '18': 1, '14': 1, '19': 1, '11': 1, '15': 1, '12': 1, '7': 1, '16': 1}, 'l_slots': {'114': 1, '105': 1, '120': 1, '106': 1, '113': 1, '102': 1, '117': 1, '107': 1, '116': 1, '119': 1, '115': 1, '109': 1, '101': 1, '110': 1, '103': 1, '118': 1, '111': 1, '112': 1, '108': 1, '104': 1}, 's_slots': {'504': 1, '518': 1, '516': 1, '509': 1, '503': 1, '506': 1, '520': 1, '510': 1, '514': 1, '511': 1, '507': 1, '517': 1, '502': 1, '508': 1, '519': 1, '505': 1, '515': 1, '513': 1, '512': 1, '501': 1}}, 'link_id': {'link_uuid': {'uuid': 'e8bd9082-ebad-55b8-b110-7c21fddaf1cf'}}, 'link_endpoint_ids': [{'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '4dbdc2d8-cbde-5e48-a3c0-5161387a58c7'}}, 'endpoint_uuid': {'uuid': '5eb4f156-7811-53f3-9172-8402127cf7b9'}}, {'topology_id': {'context_id': {'context_uuid': {'uuid': '43813baf-195e-5da6-af20-b3d0922e71a7'}}, 'topology_uuid': {'uuid': 'c76135e3-24a8-5e92-9bed-c3c9139359c8'}}, 'device_id': {'device_uuid': {'uuid': '68741528-2e94-5274-ab3c-fddcd8dc05ef'}}, 'endpoint_uuid': {'uuid': '690284c6-a8f7-54a0-82ed-19e721976221'}}]}, {'name': 'R2-R1', 'optical_details': {'src_port': '101', 'dst_port': '111', 'local_peer_port': '111', 'remote_peer_port': '101', 'c_slots': {'9': 1, '20': 1, '10': 1, '11': 1, '17': 1, '19': 1, '5': 1, '1': 1, '15': 1, '3': 1, '2': 1, '6': 1, '110.1.83.219 - - [25/Apr/2024 18:06:28] "DELETE /OpticalTFS/DelLightpath/1/T1.1/T2.1/100 HTTP/1.1" 200 -
INFO:werkzeug:10.1.83.219 - - [25/Apr/2024 18:06:28] "DELETE /OpticalTFS/DelLightpath/1/T1.1/T2.1/100 HTTP/1.1" 200 -
...@@ -77,20 +77,20 @@ service ContextService { ...@@ -77,20 +77,20 @@ service ContextService {
// ------------------------------ Experimental ----------------------------- // ------------------------------ Experimental -----------------------------
rpc GetOpticalConfig (Empty ) returns ( OpticalConfigList ) {} rpc GetOpticalConfig (Empty ) returns (OpticalConfigList) {}
rpc SetOpticalConfig (OpticalConfig ) returns ( OpticalConfigId ) {} rpc SetOpticalConfig (OpticalConfig ) returns (OpticalConfigId ) {}
rpc UpdateOpticalConfig (OpticalConfig ) returns ( OpticalConfigId ) {} rpc UpdateOpticalConfig (OpticalConfig ) returns (OpticalConfigId ) {}
rpc SelectOpticalConfig (OpticalConfigId ) returns ( OpticalConfig ) {} rpc SelectOpticalConfig (OpticalConfigId ) returns (OpticalConfig ) {}
rpc DeleteOpticalConfig (OpticalConfigId ) returns ( Empty ) {} rpc DeleteOpticalConfig (OpticalConfigId ) returns (Empty ) {}
rpc DeleteOpticalChannel (OpticalConfig ) returns ( Empty ) {} rpc DeleteOpticalChannel (OpticalConfig ) returns (Empty ) {}
rpc SetOpticalLink (OpticalLink ) returns ( Empty ) {} rpc SetOpticalLink (OpticalLink ) returns (Empty ) {}
rpc GetOpticalLink (LinkId ) returns ( OpticalLink ) {} rpc GetOpticalLink (LinkId ) returns (OpticalLink ) {}
rpc DeleteOpticalLink (LinkId ) returns ( Empty ) {} rpc DeleteOpticalLink (LinkId ) returns (Empty ) {}
rpc GetOpticalLinkList (Empty ) returns ( OpticalLinkList ) {} rpc GetOpticalLinkList (Empty ) returns (OpticalLinkList ) {}
rpc DeleteServiceConfigRule (ServiceConfigRule ) returns ( Empty ) {} rpc DeleteServiceConfigRule(ServiceConfigRule) returns (Empty ) {}
} }
// ----- Generic ------------------------------------------------------------------------------------------------------- // ----- Generic -------------------------------------------------------------------------------------------------------
message Empty {} message Empty {}
...@@ -329,7 +329,6 @@ enum ServiceStatusEnum { ...@@ -329,7 +329,6 @@ enum ServiceStatusEnum {
SERVICESTATUS_UPDATING = 3; SERVICESTATUS_UPDATING = 3;
SERVICESTATUS_PENDING_REMOVAL = 4; SERVICESTATUS_PENDING_REMOVAL = 4;
SERVICESTATUS_SLA_VIOLATED = 5; SERVICESTATUS_SLA_VIOLATED = 5;
} }
message ServiceStatus { message ServiceStatus {
...@@ -680,7 +679,6 @@ message OpticalConfigEvent { ...@@ -680,7 +679,6 @@ message OpticalConfigEvent {
// ---- Optical Link ---- // ---- Optical Link ----
message OpticalEndPointId { message OpticalEndPointId {
DeviceId device_id = 2; DeviceId device_id = 2;
Uuid endpoint_uuid = 3; Uuid endpoint_uuid = 3;
} }
...@@ -699,16 +697,16 @@ message OpticalLinkDetails { ...@@ -699,16 +697,16 @@ message OpticalLinkDetails {
string local_peer_port = 4; string local_peer_port = 4;
string remote_peer_port = 5 ; string remote_peer_port = 5 ;
bool used = 6 ; bool used = 6 ;
map< string ,int32 > c_slots = 7; map<string, int32> c_slots = 7;
map< string ,int32 > l_slots = 8; map<string, int32> l_slots = 8;
map< string ,int32 > s_slots = 9; map<string, int32> s_slots = 9;
} }
message OpticalLink { message OpticalLink {
string name = 1; string name = 1;
OpticalLinkDetails optical_details = 2; OpticalLinkDetails optical_details = 2;
LinkId link_id = 3; LinkId link_id = 3;
repeated EndPointId link_endpoint_ids=4; repeated EndPointId link_endpoint_ids=4;
} }
...@@ -718,4 +716,4 @@ message OpticalLink { ...@@ -718,4 +716,4 @@ message OpticalLink {
message ServiceConfigRule { message ServiceConfigRule {
ServiceId service_id =1; ServiceId service_id =1;
ConfigRule_Custom configrule_custom =2; ConfigRule_Custom configrule_custom =2;
} }
\ No newline at end of file
...@@ -18,9 +18,8 @@ package optical_device; ...@@ -18,9 +18,8 @@ package optical_device;
import "context.proto"; import "context.proto";
service OpenConfigService { service OpenConfigService {
rpc AddOpenConfigDevice (context.OpticalConfig) returns (context.OpticalConfigId) {} rpc AddOpenConfigDevice (context.OpticalConfig ) returns (context.OpticalConfigId) {}
rpc ConfigureOpticalDevice(context.OpticalConfig) returns (context.Empty ) {} rpc ConfigureOpticalDevice(context.OpticalConfig ) returns (context.Empty ) {}
rpc DisableOpticalDevice(context.OpticalConfig) returns (context.Empty ) {} rpc DisableOpticalDevice (context.OpticalConfig ) returns (context.Empty ) {}
rpc GetDeviceConfiguration(context.OpticalConfigList) returns (context.Empty) {} rpc GetDeviceConfiguration(context.OpticalConfigList) returns (context.Empty ) {}
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment