Commit 69c5ce50 authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

Compute component:

- Added Service Delete REST API method
parent c40f5731
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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)))