diff options
| author | Claire Wang <clairew@users.noreply.github.com> | 2024-03-05 10:54:41 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-05 10:54:41 -0500 |
| commit | d610f8eec0fe9366e19cfb77b271c5ae34100bfb (patch) | |
| tree | 53734cd020b40a415a2c6352bd7a7eee9f394393 | |
| parent | 13853e7f297f99efb0fbbb71526937cbcd87c676 (diff) | |
| download | tailscale-d610f8eec0fe9366e19cfb77b271c5ae34100bfb.tar.xz tailscale-d610f8eec0fe9366e19cfb77b271c5ae34100bfb.zip | |
tailcfg: add suggest exit node related node attribute (#11329)
Updates tailscale/corp#17516
Signed-off-by: Claire Wang <claire@tailscale.com>
| -rw-r--r-- | tailcfg/tailcfg.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tailcfg/tailcfg.go b/tailcfg/tailcfg.go index 8021b423d..49c4132c3 100644 --- a/tailcfg/tailcfg.go +++ b/tailcfg/tailcfg.go @@ -2214,6 +2214,10 @@ const ( // NodeAttrsTailFSAccess enables accessing shares via TailFS. 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. |
