Show internal network settings on info (#694)

This commit is contained in:
Pascal Vizeli 2020-10-20 10:42:54 +02:00 committed by GitHub
parent 2c93407523
commit b69e0409ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1584,6 +1584,7 @@ Get network information.
| key | description | | key | description |
| ---------- | ---------------------------------------------------------------------- | | ---------- | ---------------------------------------------------------------------- |
| interfaces | A dictionary of [Network interface models](api/supervisor/models.md#network-interface) | | interfaces | A dictionary of [Network interface models](api/supervisor/models.md#network-interface) |
| docker | Information about the internal docker network |
**Example response:** **Example response:**
@ -1600,6 +1601,12 @@ Get network information.
"method": "static", "method": "static",
"primary": true "primary": true
} }
},
"docker": {
"interface": "hassio",
"address": "172.30.32.0/23",
"gateway": "172.30.32.1",
"dns": "172.30.32.3"
} }
} }
``` ```