mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-09-08 07:42:55 +02:00
add a ChangeSource enum to the change protobuf messages
This commit is contained in:
parent
282d7c7f9d
commit
ba6200fb96
2 changed files with 16 additions and 0 deletions
|
@ -33,7 +33,15 @@ message MemberChange {
|
|||
string controller_id = 2;
|
||||
}
|
||||
|
||||
enum ChangeSource {
|
||||
UNKNOWN = 0;
|
||||
CV1 = 1;
|
||||
CV2 = 2;
|
||||
CONTROLLER = 3;
|
||||
}
|
||||
|
||||
optional Member old = 1;
|
||||
optional Member new = 2;
|
||||
optional MemberChangeMetadata metadata = 3;
|
||||
optional ChangeSource change_source = 4;
|
||||
}
|
||||
|
|
|
@ -60,7 +60,15 @@ message NetworkChange {
|
|||
string rules_source = 24; // source code for rules
|
||||
}
|
||||
|
||||
enum ChangeSource {
|
||||
UNKNOWN = 0;
|
||||
CV1 = 1;
|
||||
CV2 = 2;
|
||||
CONTROLLER = 3;
|
||||
}
|
||||
|
||||
optional Network old = 1;
|
||||
optional Network new = 2;
|
||||
optional NetworkChangeMetadata metadata = 3;
|
||||
optional ChangeSource change_source = 4;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue