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

Solved bug in IETF L2VPN Service Handler

- service was created instead of updated.
parent d1f4372d
No related branches found
No related tags found
2 merge requests!142Release TeraFlowSDN 2.1,!70Add IETF Slice NBI
......@@ -125,7 +125,7 @@ def process_list_site_network_access(
for site_network_access in request_data['ietf-l2vpn-svc:site-network-access']:
try:
service_request = process_site_network_access(context_client, site_network_access)
service_reply = service_client.CreateService(service_request)
service_reply = service_client.UpdateService(service_request)
if service_reply != service_request.service_id: # pylint: disable=no-member
raise Exception('Service update failed. Wrong Service Id was returned')
except Exception as e: # pylint: disable=broad-except
......
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