feat(dns): configure and store public IP when initialising machine

This commit is contained in:
Pavel Sviderski
2025-02-25 21:21:37 +10:00
parent d0fd9db258
commit 289d964b2a
8 changed files with 359 additions and 228 deletions
+7 -1
View File
@@ -19,18 +19,24 @@ message MachineInfo {
string id = 1;
string name = 2;
NetworkConfig network = 3;
IP public_ip = 4;
}
message NetworkConfig {
IPPrefix subnet = 1;
IP management_ip = 2;
repeated IPPort endpoints = 3;
bytes publicKey = 4;
bytes public_key = 4;
}
message InitClusterRequest {
string machineName = 1;
IPPrefix network = 2;
oneof public_ip_config {
IP public_ip = 3;
bool public_ip_auto = 4;
}
}
message InitClusterResponse {