syntax = "proto3";
package compute;

import "context.proto";
import "service.proto";

service ComputeService {
  rpc checkCredentials (context.TeraFlowController) returns (context.AuthenticationResult) {}
  rpc getConnectivityServiceStatus ( service.ServiceId ) returns (service.ServiceState) {}
  rpc createConnectivityService ( service.Service ) returns (service.ServiceId) {}
  rpc editConnectivityService ( service.Service ) returns (service.ServiceId) {}
  rpc deleteConnectivityService ( service.Service ) returns ( context.Empty ) {}
  rpc getAllActiveConnectivityServices ( context.Empty ) returns ( service.ServiceIdList ) {}
  rpc clearAllConnectivityServices ( context.Empty ) returns ( context.Empty ) {}
}
