mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01:00
26 lines
510 B
Protocol Buffer
26 lines
510 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package headscale.v1;
|
||
|
option go_package = "github.com/juanfont/headscale/gen/go/v1";
|
||
|
|
||
|
message Routes {
|
||
|
repeated string advertised_routes = 1;
|
||
|
repeated string enabled_routes = 2;
|
||
|
}
|
||
|
|
||
|
message GetMachineRouteRequest {
|
||
|
uint64 machine_id = 1;
|
||
|
}
|
||
|
|
||
|
message GetMachineRouteResponse {
|
||
|
Routes routes = 1;
|
||
|
}
|
||
|
|
||
|
message EnableMachineRoutesRequest {
|
||
|
uint64 machine_id = 1;
|
||
|
repeated string routes = 2;
|
||
|
}
|
||
|
|
||
|
message EnableMachineRoutesResponse {
|
||
|
Routes routes = 1;
|
||
|
}
|