@@ -2383,25 +2383,36 @@ Update the settings for a network interface.
2383
2383
2384
2384
| key | type | optional | description |
2385
2385
| ------- | ------ | -------- | ---------------------------------------------------------------------- |
2386
- | enabled | bool | True | Enable/Disable an ethernet interface / VLAN got removed with disabled |
2386
+ | enabled | bool | True | Enable/Disable an ethernet interface / VLAN got removed with disabled |
2387
2387
| ipv4 | dict | True | A struct with ipv4 interface settings |
2388
2388
| ipv6 | dict | True | A struct with ipv6 interface settings |
2389
2389
| wifi | dict | True | A struct with Wireless connection settings |
2390
2390
2391
- ** ipv4 / ipv6 :**
2391
+ ** ipv4:**
2392
2392
2393
2393
| key | type | optional | description |
2394
2394
| ----------- | ------ | -------- | ------------------------------------------------------------------------------------- |
2395
- | method | string | True | Set IP configuration method can be ` auto ` for DHCP or Router Advertisements (only IPv6) , ` static ` or ` disabled ` |
2395
+ | method | string | True | Set IP configuration method can be ` auto ` for DHCP, ` static ` or ` disabled ` |
2396
2396
| address | list | True | The new IP address for the interface in the X.X.X.X/XX format as list |
2397
2397
| nameservers | list | True | List of DNS servers to use |
2398
2398
| gateway | string | True | The gateway the interface should use |
2399
2399
2400
+ ** ipv6:**
2401
+
2402
+ | key | type | optional | description |
2403
+ | ------------- | ------ | -------- | --------------------------------------------------------------------------------------------------- |
2404
+ | method | string | True | Set IP configuration method can be ` auto ` for DHCP or Router Advertisements, ` static ` or ` disabled ` |
2405
+ | addr_gen_mode | string | True | Address generation mode can be ` eui64 ` or ` stable-privacy ` |
2406
+ | ip6_privacy | string | True | Privacy extensions options are ` disabled ` , ` enabled-prefer-public ` or ` enabled ` |
2407
+ | address | list | True | The new IP address for the interface in the ::/XX format as list |
2408
+ | nameservers | list | True | List of DNS servers to use |
2409
+ | gateway | string | True | The gateway the interface should use |
2410
+
2400
2411
** wifi:**
2401
2412
2402
2413
| key | type | optional | description |
2403
2414
| ------ | ------ | -------- | ------------------------------------------------------------------------------ |
2404
- | mode | string | True | Set the mode ` infrastructure ` (default), ` mesh ` , ` adhoc ` or ` ap ` |
2415
+ | mode | string | True | Set the mode ` infrastructure ` (default), ` mesh ` , ` adhoc ` or ` ap ` |
2405
2416
| auth | string | True | Set the auth mode: ` open ` (default), ` web ` , ` wpa-psk ` |
2406
2417
| ssid | string | True | Set the SSID for connect into |
2407
2418
| psk | string | True | The shared key which is used with ` web ` or ` wpa-psk ` |
@@ -2418,7 +2429,7 @@ Return a list of available [Access Points](api/supervisor/models.md#access-point
2418
2429
2419
2430
| key | description |
2420
2431
| ------------ | ---------------------------------------------------------------------- |
2421
- | accesspoints | A list of [ Access Points] ( api/supervisor/models.md#access-points ) |
2432
+ | accesspoints | A list of [ Access Points] ( api/supervisor/models.md#access-points ) |
2422
2433
2423
2434
** Example response:**
2424
2435
@@ -2673,8 +2684,8 @@ Move datadisk to a new location, **This will also reboot the device!**
2673
2684
2674
2685
** Payload:**
2675
2686
2676
- | key | type | description |
2677
- | ------- | ------ | ----------------------------------------------------------------- |
2687
+ | key | type | description |
2688
+ | ------- | ------ | ------------------------------------------------------------------------------- |
2678
2689
| device | string | ID of the disk device which should be used as the target for the data migration |
2679
2690
2680
2691
</ApiEndpoint >
0 commit comments