Use technology neutral "auto" instead of "dhcp" for IP configuration (#722)

This commit is contained in:
Stefan Agner 2020-11-11 18:23:48 +01:00 committed by GitHub
parent ea486b226d
commit 944089caf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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 |

View File

@ -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. |