Newer
Older
//Example of topology
syntax = "proto3";
package compute;
import "google/protobuf/empty.proto";
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 ( google.protobuf.Empty ) {}
rpc get_all_active_connectivity_services ( google.protobuf.Empty ) returns ( service.ServiceIdList ) {}
rpc clear_all_connectivity_services ( google.protobuf.Empty ) returns (google.protobuf.Empty ) {}
}