mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-04-26 06:17:16 +00:00
Use technology neutral "auto" instead of "dhcp" for IP configuration (#722)
This commit is contained in:
parent
ea486b226d
commit
944089caf1
@ -1462,7 +1462,7 @@ Update the settings for a network interface.
|
||||
|
||||
| key | type | optional | description |
|
||||
| ----------- | ------ | -------- | ------------------------------------------------------------------------------------- |
|
||||
| method | string | True | Set if the interface should use DHCP or not, can be `dhcp`, `static` or `disabled` |
|
||||
| method | string | True | Set IP configuration method can be `auto` for DHCP or Router Advertisments (only IPv6), `static` or `disabled` |
|
||||
| address | list | True | The new IP address for the interface in the X.X.X.X/XX format as list |
|
||||
| nameservers | list | True | List of DNS servers to use |
|
||||
| gateway | string | True | The gateway the interface should use |
|
||||
|
@ -108,7 +108,7 @@ These models are describing objects that are getting returned from the superviso
|
||||
|
||||
| key | type | description |
|
||||
| ----------- | ------- | ---------------------------------------------------------------------------- |
|
||||
| method | string | The method used to set the IP can be `static`, `dhcp` or `disabled`. |
|
||||
| method | string | The method used to set the IP can be `static`, `auto` or `disabled`. |
|
||||
| address | list | A list with IP address and the netmask in a X.X.X.X/XX format. |
|
||||
| gateway | string | The IP address of the gateway. |
|
||||
| nameservers | list | A list containing the IP addresses of the configured nameservers as strings. |
|
||||
|
Loading…
x
Reference in New Issue
Block a user