tailcfg: add relay client and server NodeAttr's (#15513)

Updates tailscale/corp#27502

Signed-off-by: Jordan Whited <jordan@tailscale.com>
This commit is contained in:
Jordan Whited 2025-04-02 16:05:40 -07:00 committed by GitHub
parent 8c062c07c6
commit 66d741aa3e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2446,6 +2446,14 @@ const (
// native tailnet. This is currently only sent to Hello, in its
// peer node list.
NodeAttrNativeIPV4 NodeCapability = "native-ipv4"
// NodeAttrRelayServer permits the node to act as an underlay UDP relay
// server. There are no expected values for this key in NodeCapMap.
NodeAttrRelayServer NodeCapability = "relay:server"
// NodeAttrRelayClient permits the node to act as an underlay UDP relay
// client. There are no expected values for this key in NodeCapMap.
NodeAttrRelayClient NodeCapability = "relay:client"
)
// SetDNSRequest is a request to add a DNS record.