Browse Source

tailcfg: add suggest exit node UI node attribute (#11918)

Add node attribute to determine whether or not to show suggested exit
node in UI.
Updates tailscale/corp#19515

Signed-off-by: Claire Wang <[email protected]>
Claire Wang 1 year ago
parent
commit
5254f6de06
1 changed files with 3 additions and 0 deletions
  1. 3 0
      tailcfg/tailcfg.go

+ 3 - 0
tailcfg/tailcfg.go

@@ -2256,6 +2256,9 @@ const (
 
 	// NodeAttrStoreAppCRoutes configures the node to store app connector routes persistently.
 	NodeAttrStoreAppCRoutes NodeCapability = "store-appc-routes"
+
+	// NodeAttrSuggestExitNodeUI allows the currently suggested exit node to appear in the client GUI.
+	NodeAttrSuggestExitNodeUI NodeCapability = "suggest-exit-node-ui"
 )
 
 // SetDNSRequest is a request to add a DNS record.