tailcfg: add suggest exit node related node attribute (#11329)

Updates tailscale/corp#17516

Signed-off-by: Claire Wang <claire@tailscale.com>
This commit is contained in:
Claire Wang 2024-03-05 10:54:41 -05:00 committed by GitHub
parent 13853e7f29
commit d610f8eec0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -2214,6 +2214,10 @@ const (
// NodeAttrsTailFSAccess enables accessing shares via TailFS. // NodeAttrsTailFSAccess enables accessing shares via TailFS.
NodeAttrsTailFSAccess NodeCapability = "tailfs:access" NodeAttrsTailFSAccess NodeCapability = "tailfs:access"
// NodeAttrsSuggestExitNode is applied to each exit node which the control plane has determined
// is a recommended exit node.
NodeAttrsSuggestExitNode NodeCapability = "suggest-exit-node"
) )
// SetDNSRequest is a request to add a DNS record. // SetDNSRequest is a request to add a DNS record.