Loading src/device/service/Tools.py +2 −2 Original line number Diff line number Diff line Loading @@ -102,8 +102,8 @@ def populate_endpoints(device : Device, driver : _Driver, monitoring_loops : Mon endpoint_uuid = resource_value.get('uuid') device_endpoint = device.device_endpoints.add() device_endpoint.topology_id.context_id.context_uuid.uuid = DEFAULT_CONTEXT_NAME device_endpoint.topology_id.topology_uuid.uuid = DEFAULT_TOPOLOGY_NAME device_endpoint.endpoint_id.topology_id.context_id.context_uuid.uuid = DEFAULT_CONTEXT_NAME device_endpoint.endpoint_id.topology_id.topology_uuid.uuid = DEFAULT_TOPOLOGY_NAME device_endpoint.endpoint_id.device_id.device_uuid.uuid = device_uuid device_endpoint.endpoint_id.endpoint_uuid.uuid = endpoint_uuid device_endpoint.endpoint_type = resource_value.get('type') Loading Loading
src/device/service/Tools.py +2 −2 Original line number Diff line number Diff line Loading @@ -102,8 +102,8 @@ def populate_endpoints(device : Device, driver : _Driver, monitoring_loops : Mon endpoint_uuid = resource_value.get('uuid') device_endpoint = device.device_endpoints.add() device_endpoint.topology_id.context_id.context_uuid.uuid = DEFAULT_CONTEXT_NAME device_endpoint.topology_id.topology_uuid.uuid = DEFAULT_TOPOLOGY_NAME device_endpoint.endpoint_id.topology_id.context_id.context_uuid.uuid = DEFAULT_CONTEXT_NAME device_endpoint.endpoint_id.topology_id.topology_uuid.uuid = DEFAULT_TOPOLOGY_NAME device_endpoint.endpoint_id.device_id.device_uuid.uuid = device_uuid device_endpoint.endpoint_id.endpoint_uuid.uuid = endpoint_uuid device_endpoint.endpoint_type = resource_value.get('type') Loading