compute.proto 765 Bytes
Newer Older
Ricard Vilalta's avatar
Ricard Vilalta committed
//Example of topology
syntax = "proto3";
package compute;

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

service ComputeService {
  rpc check_credentials (context.TeraFlowController) returns (context.AuthenticationResult) {}
  rpc get_connectivity_service_status ( service.ServiceId ) returns (service.ServiceState) {}
  rpc create_connectivity_service ( service.Service ) returns (service.ServiceId) {}
  rpc edit_connectivity_service ( service.Service ) returns (service.ServiceId) {}
  rpc delete_connectivity_service ( service.Service ) returns ( context.Empty ) {}
  rpc get_all_active_connectivity_services ( context.Empty ) returns ( service.ServiceIdList ) {}
  rpc clear_all_connectivity_services ( context.Empty ) returns ( context.Empty ) {}