tailcfg: add Hostinfo.OSVersion, DeviceModel

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
Brad Fitzpatrick
2020-07-20 15:55:31 -07:00
committed by Brad Fitzpatrick
parent d8e67ca2ab
commit ca2428ecaf
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -284,6 +284,8 @@ type Hostinfo struct {
FrontendLogID string // logtail ID of frontend instance
BackendLogID string // logtail ID of backend instance
OS string // operating system the client runs on (a version.OS value)
OSVersion string // operating system version, with optional distro prefix ("Debian 10.4", "Windows 10 Pro 10.0.19041")
DeviceModel string // mobile phone model ("Pixel 3a", "iPhone 11 Pro")
Hostname string // name of the host the client runs on
RoutableIPs []wgcfg.CIDR `json:",omitempty"` // set of IP ranges this client can route
RequestTags []string `json:",omitempty"` // set of ACL tags this node wants to claim