Add new keys to /network/info (#723)

This commit is contained in:
Joakim Sørensen 2020-11-13 09:31:28 +01:00 committed by GitHub
parent d1af30730a
commit 70ca7d9639
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1406,6 +1406,8 @@ Get network information.
| ---------- | ---------------------------------------------------------------------- |
| interfaces | A list of [Network interface models](api/supervisor/models.md#network-interface) |
| docker | Information about the internal docker network |
| host_internet | Boolean to indicate if the host can reach the internet. |
| supervisor_internet | Boolean to indicate if the Supervisor can reach the internet. |
**Example response:**
@ -1434,7 +1436,9 @@ Get network information.
"address": "172.30.32.0/23",
"gateway": "172.30.32.1",
"dns": "172.30.32.3"
}
},
"host_internet": true,
"supervisor_internet": true
}
```