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

Compute component:

- Added Service Delete REST API method
parent c40f5731
Branches feat/cttc-nbi-post-service
No related tags found
2 merge requests!235Release TeraFlowSDN 3.0,!129Resolve "(CTTC) Implement methods create/update/delete for services in the NBI debug-api plugin"
......@@ -82,6 +82,11 @@ class Service(_Resource):
config_rules = service['service_config']['config_rules']
)))
def delete(self, context_uuid : str, service_uuid : str):
return format_grpc_to_json(self.service_client.DeleteService(grpc_service_id(
context_uuid, service_uuid,
)))
class SliceIds(_Resource):
def get(self, context_uuid : str):
return format_grpc_to_json(self.client.ListSliceIds(grpc_context_id(context_uuid)))
......
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