Migrate IP fields in database to dedicated columns (#1869)
This commit is contained in:
parent
85cef84e17
commit
2ce23df45a
39 changed files with 1885 additions and 1055 deletions
|
@ -123,6 +123,13 @@ service HeadscaleService {
|
|||
post: "/api/v1/node/{node_id}/user"
|
||||
};
|
||||
}
|
||||
|
||||
rpc BackfillNodeIPs(BackfillNodeIPsRequest) returns (BackfillNodeIPsResponse) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/v1/node/backfillips"
|
||||
};
|
||||
}
|
||||
|
||||
// --- Node end ---
|
||||
|
||||
// --- Route start ---
|
||||
|
|
|
@ -126,3 +126,11 @@ message DebugCreateNodeRequest {
|
|||
message DebugCreateNodeResponse {
|
||||
Node node = 1;
|
||||
}
|
||||
|
||||
message BackfillNodeIPsRequest {
|
||||
bool confirmed = 1;
|
||||
}
|
||||
|
||||
message BackfillNodeIPsResponse {
|
||||
repeated string changes = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue