Skip to content
device 353 KiB
Newer Older
[2024-07-23 07:52:22,478] INFO:__main__:Starting...
[2024-07-23 07:52:22,513] INFO:device.service.DeviceService:Starting Service (tentative endpoint: 0.0.0.0:2020, max_workers: 200)...
[2024-07-23 07:52:22,628] INFO:device.service.DeviceService:Listening on 0.0.0.0:2020...
[2024-07-23 07:52:22,648] INFO:__main__:Pre-loading drivers...
[2024-07-23 07:53:39,977] 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-07-23 07:53:39,977] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,980] 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-07-23 07:53:39,980] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,982] 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-07-23 07:53:39,982] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,985] 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-07-23 07:53:39,985] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,993] 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-07-23 07:53:39,993] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,994] 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-07-23 07:53:39,995] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,997] 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-07-23 07:53:39,997] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:39,999] 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-07-23 07:53:39,999] INFO:device.service.DeviceServiceServicerImpl:lenght of connection_config_rules 3
[2024-07-23 07:53:41,991] 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-07-23 07:53:41,991] 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-07-23 07:53:42,112] 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-07-23 07:53:42,481] INFO:root:settings {'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-07-23 07:53:42,482] INFO:ncclient.operations.rpc:[host 172.17.254.41 session-id 29] Requesting 'Get'
[2024-07-23 07:53:42,483] 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-07-23 07:53:42,483] 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-07-23 07:53:42,483] 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-07-23 07:53:42,600] INFO:root:settings {'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-07-23 07:53:42,601] INFO:ncclient.operations.rpc:[host 172.17.254.22 session-id 85] Requesting 'Get'
[2024-07-23 07:53:42,601] 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-07-23 07:53:42,601] 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-07-23 07:53:42,602] 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-07-23 07:53:42,833] INFO:root:settings {'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-07-23 07:53:42,834] INFO:ncclient.operations.rpc:[host 172.17.254.41 session-id 30] Requesting 'Get'
[2024-07-23 07:53:42,835] 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-07-23 07:53:42,836] 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-07-23 07:53:42,837] 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-07-23 07:53:42,862] INFO:root:type optical-transponder
[2024-07-23 07:53:42,866] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:42,868] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,870] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:42,870] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,871] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:42,872] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,915] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:42,916] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,918] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:42,920] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,921] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:42,921] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,922] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:42,923] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,924] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:42,924] INFO:root:resource_key line-port and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,925] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-2'}
[2024-07-23 07:53:42,927] INFO:root:resource_key frequency and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,928] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:42,929] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,930] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:42,930] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,976] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:42,978] INFO:root:resource_key line-port and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,982] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-3'}
[2024-07-23 07:53:42,984] INFO:root:resource_key frequency and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,986] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:42,987] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,988] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:42,989] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,990] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:42,990] INFO:root:resource_key line-port and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:42,991] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-4'}
[2024-07-23 07:53:42,993] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/cf618e18-c0a1-58c4-9827-943a2c0523d6', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "cf618e18-c0a1-58c4-9827-943a2c0523d6"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:42,994] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/cf618e18-c0a1-58c4-9827-943a2c0523d6', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "cf618e18-c0a1-58c4-9827-943a2c0523d6"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:42,994] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "cf618e18-c0a1-58c4-9827-943a2c0523d6"
  }
}
}}
[2024-07-23 07:53:43,052] INFO:root:settings {'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-07-23 07:53:43,052] INFO:ncclient.operations.rpc:[host 172.17.254.42 session-id 29] Requesting 'Get'
[2024-07-23 07:53:43,053] 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-07-23 07:53:43,053] 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-07-23 07:53:43,054] 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-07-23 07:53:43,153] INFO:root:type optical-transponder
[2024-07-23 07:53:43,157] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:43,158] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,160] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,160] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,161] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,161] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,162] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,163] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,164] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:43,166] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,167] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,167] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,168] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,169] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,170] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,170] INFO:root:resource_key line-port and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,171] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-2'}
[2024-07-23 07:53:43,173] INFO:root:resource_key frequency and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,175] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,175] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,176] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,177] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,178] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,178] INFO:root:resource_key line-port and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,179] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-3'}
[2024-07-23 07:53:43,181] INFO:root:resource_key frequency and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,182] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,182] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,184] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,184] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,185] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,185] INFO:root:resource_key line-port and channgel_name {'index': 'channel-4'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,186] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-4'}
[2024-07-23 07:53:43,188] INFO:root:from OCDriver [('/opticalconfigs/opticalconfig/4dbdc2d8-cbde-5e48-a3c0-5161387a58c7', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,189] INFO:device.service.Tools:results_getconfig = [('/opticalconfigs/opticalconfig/4dbdc2d8-cbde-5e48-a3c0-5161387a58c7', {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"
  }
}
}), ('/endpoints/endpoint[1]', {'uuid': '1', 'type': 'port-1'}), ('/endpoints/endpoint[2]', {'uuid': '2', 'type': 'port-2'}), ('/endpoints/endpoint[3]', {'uuid': '3', 'type': 'port-3'}), ('/endpoints/endpoint[4]', {'uuid': '4', 'type': 'port-4'})]
[2024-07-23 07:53:43,189] INFO:device.service.DeviceServiceServicerImpl:add_device {'new_optical_config': {'opticalconfig': config: "{\"type\": \"optical-transponder\", \"channels\": [{\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-1\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-1\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-2\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-2\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-3\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-3\"}}, {\"frequency\": \"191600000\", \"target-output-power\": \"100.0\", \"operational-mode\": \"0\", \"line-port\": \"transceiver-4\", \"status\": \"DISABLED\", \"name\": {\"index\": \"channel-4\"}}], \"transceivers\": {\"transceiver\": []}, \"channel_namespace\": \"http://openconfig.net/yang/terminal-device\", \"endpoints\": [{\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-1\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-2\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-3\"}}}, {\"endpoint_uuid\": {\"uuid\": {\"index\": \"channel-4\"}}}], \"ports\": [[\"/endpoints/endpoint[1]\", {\"uuid\": \"1\", \"type\": \"port-1\"}], [\"/endpoints/endpoint[2]\", {\"uuid\": \"2\", \"type\": \"port-2\"}], [\"/endpoints/endpoint[3]\", {\"uuid\": \"3\", \"type\": \"port-3\"}], [\"/endpoints/endpoint[4]\", {\"uuid\": \"4\", \"type\": \"port-4\"}]]}"
device_id {
  device_uuid {
    uuid: "4dbdc2d8-cbde-5e48-a3c0-5161387a58c7"
  }
}
}}
[2024-07-23 07:53:43,201] INFO:root:settings {'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-07-23 07:53:43,201] INFO:ncclient.operations.rpc:[host 172.17.254.41 session-id 31] Requesting 'Get'
[2024-07-23 07:53:43,201] 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-07-23 07:53:43,202] 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-07-23 07:53:43,202] 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-07-23 07:53:43,313] INFO:root:settings {'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-07-23 07:53:43,313] INFO:ncclient.operations.rpc:[host 172.17.254.22 session-id 87] Requesting 'Get'
[2024-07-23 07:53:43,313] 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-07-23 07:53:43,314] 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-07-23 07:53:43,314] 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-07-23 07:53:43,510] INFO:root:type optical-transponder
[2024-07-23 07:53:43,518] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:43,522] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,524] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,525] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,528] INFO:root:type optical-transponder
[2024-07-23 07:53:43,540] INFO:root:channel_names [{'index': 'channel-1'}, {'index': 'channel-2'}, {'index': 'channel-3'}, {'index': 'channel-4'}]
[2024-07-23 07:53:43,544] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,545] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,547] INFO:root:resource_key frequency and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,551] INFO:root:settings {'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-07-23 07:53:43,553] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,557] INFO:ncclient.operations.rpc:[host 172.17.254.42 session-id 30] Requesting 'Get'
[2024-07-23 07:53:43,558] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,562] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:43,563] 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-07-23 07:53:43,563] 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-07-23 07:53:43,564] 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-07-23 07:53:43,565] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,565] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,567] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,569] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,571] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,573] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,574] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,577] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0'}
[2024-07-23 07:53:43,578] INFO:root:resource_key operational-mode and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,579] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,580] INFO:root:resource_key line-port and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,582] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0'}
[2024-07-23 07:53:43,583] INFO:root:resource_key line-port and channgel_name {'index': 'channel-1'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,584] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-2'}
[2024-07-23 07:53:43,585] INFO:root:dic {'frequency': '191600000', 'target-output-power': '100.0', 'operational-mode': '0', 'line-port': 'transceiver-1'}
[2024-07-23 07:53:43,587] INFO:root:resource_key frequency and channgel_name {'index': 'channel-2'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,588] INFO:root:resource_key frequency and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
[2024-07-23 07:53:43,590] INFO:root:dic {'frequency': '191600000'}
[2024-07-23 07:53:43,590] INFO:root:resource_key target-output-power and channgel_name {'index': 'channel-3'} and channel_namespace http://openconfig.net/yang/terminal-device
Loading
Loading full blame…