syntax = "proto3";
package celp.protobuf.svc;
import "celp_header.proto";
option optimize_for = SPEED;
message TransparentRoutingRequest {
// Individual entry for a TransparentRoute
message RouteEntry {
// Source and destination from the CELP broker
string source = 1;
string destination = 3;
// Duration and disable are mutually exclusive.
oneof mode {
// Number of seconds to enable the route for. 0 means infinity.
uint64 duration_s = 5;
// Disable the route
bool disable = 7;
}
}
// Base header from CELP
celp.protobuf.Header header = 1;
// Collection of routes to enable/disable
repeated RouteEntry entries = 3;
}