redid versioning

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
Dmitri Dolguikh
2026-07-16 17:45:57 +02:00
parent cfb534af8f
commit 20243fcfee
23 changed files with 1570 additions and 1657 deletions
File diff suppressed because it is too large Load Diff
+2 -6
View File
@@ -121,11 +121,6 @@ message SyncRequest {
PeerSystemMeta meta = 1;
}
enum SyncResponseVersion {
VersionUnknown = 0;
VersionComponentNetworkMap = 1;
}
// SyncResponse represents a state that should be applied to the local peer (e.g. Netbird servers config as well as local peer and remote peers configs)
message SyncResponse {
@@ -162,7 +157,7 @@ message SyncResponse {
// locally instead of receiving an expanded NetworkMap.
NetworkMapEnvelope NetworkMapEnvelope = 8;
SyncResponseVersion Version = 9;
int32 Version = 9;
}
message SyncMetaRequest {
@@ -267,6 +262,7 @@ message PeerSystemMeta {
Flags flags = 17;
repeated PeerCapability capabilities = 18;
int32 syncMessageVersion = 19;
}
message LoginResponse {