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 ) {}
}
