mirror of
https://github.com/tailscale/tailscale.git
synced 2025-07-14 17:48:44 +00:00
ipn/ipnlocal: add traffic-steering nodecap (#16529)
To signal when a tailnet has the `traffic-steering` feature flag, Control will send a `traffic-steering` NodeCapability in netmap’s AllCaps. This patch adds `tailcfg.NodeAttrTrafficSteering` so that it can be used in the control plane. Future patches will implement the actual steering mechanisms. Updates tailscale/corp#29966 Signed-off-by: Simon Law <sfllaw@tailscale.com>
This commit is contained in:
parent
f9bfd8118a
commit
bebc796e6c
@ -2622,6 +2622,10 @@ const (
|
||||
// NodeAttrMagicDNSPeerAAAA is a capability that tells the node's MagicDNS
|
||||
// server to answer AAAA queries about its peers. See tailscale/tailscale#1152.
|
||||
NodeAttrMagicDNSPeerAAAA NodeCapability = "magicdns-aaaa"
|
||||
|
||||
// NodeAttrTrafficSteering configures the node to use the traffic
|
||||
// steering subsystem for via routes. See tailscale/corp#29966.
|
||||
NodeAttrTrafficSteering NodeCapability = "traffic-steering"
|
||||
)
|
||||
|
||||
// SetDNSRequest is a request to add a DNS record.
|
||||
|
Loading…
x
Reference in New Issue
Block a user