Skip to content
Snippets Groups Projects
Commit ccdf13d9 authored by Shayan Hajipour's avatar Shayan Hajipour
Browse files

bug fix:device's uuid assigned to EndpointId.device_id.device_uuid.uuid in bwm service creation.

parent c2179dd8
No related branches found
No related tags found
2 merge requests!294Release TeraFlowSDN 4.0,!196Resolve "(CTTC) Incorrect endpoint lookup in NBI ETSI BWM plugin"
......@@ -90,7 +90,7 @@ def bwInfo_2_service(client, bwInfo: dict) -> Service:
port_name = 'PORT-' + match_subif.groups(0)[0]
ep_id = EndPointId()
ep_id.endpoint_uuid.uuid = device_endpoint_uuids[port_name]
ep_id.device_id.device_uuid.uuid = device.device_id.device_uuid
ep_id.device_id.device_uuid.uuid = device.device_id.device_uuid.uuid
service.service_endpoint_ids.append(ep_id)
service.service_type = ServiceTypeEnum.SERVICETYPE_L3NM
......
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