@@ -2383,16 +2383,27 @@ 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 |
2387
- | ipv4 | dict | True | A struct with ipv4 interface settings |
2386
+ | enabled | bool | True | Enable/Disable an ethernet interface / VLAN got removed with disabled |
2388
2387
| ipv6 | dict | True | A struct with ipv6 interface settings |
2388
+ | ipv4 | dict | True | A struct with ipv4 interface settings |
2389
2389
| wifi | dict | True | A struct with Wireless connection settings |
2390
2390
2391
- ** ipv4 / ipv6:**
2391
+ ** ipv6:**
2392
+
2393
+ | key | type | optional | description |
2394
+ | ------------- | ------ | -------- | --------------------------------------------------------------------------------------------------- |
2395
+ | method | string | True | Set IP configuration method can be ` auto ` for DHCP or Router Advertisements, ` static ` or ` disabled ` |
2396
+ | addr_gen_mode | string | True | Address generation mode can be ` eui64 ` , ` stable-privacy ` , ` default-or-eui64 ` or ` default ` |
2397
+ | ip6_privacy | string | True | Privacy extensions options are ` disabled ` , ` enabled-prefer-public ` , ` enabled ` or ` default ` |
2398
+ | address | list | True | The new IP address for the interface in the ::/XX format as list |
2399
+ | nameservers | list | True | List of DNS servers to use |
2400
+ | gateway | string | True | The gateway the interface should use |
2401
+
2402
+ ** ipv4:**
2392
2403
2393
2404
| key | type | optional | description |
2394
2405
| ----------- | ------ | -------- | ------------------------------------------------------------------------------------- |
2395
- | method | string | True | Set IP configuration method can be ` auto ` for DHCP or Router Advertisements (only IPv6) , ` static ` or ` disabled ` |
2406
+ | method | string | True | Set IP configuration method can be ` auto ` for DHCP, ` static ` or ` disabled ` |
2396
2407
| address | list | True | The new IP address for the interface in the X.X.X.X/XX format as list |
2397
2408
| nameservers | list | True | List of DNS servers to use |
2398
2409
| gateway | string | True | The gateway the interface should use |
@@ -2401,7 +2412,7 @@ Update the settings for a network interface.
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
@@ -2448,8 +2459,8 @@ Create a new VLAN *id* on this network interface.
2448
2459
2449
2460
| key | type | optional | description |
2450
2461
| ------- | ------ | -------- | ---------------------------------------------------------------------- |
2451
- | ipv4 | dict | True | A struct with ipv4 interface settings |
2452
2462
| ipv6 | dict | True | A struct with ipv6 interface settings |
2463
+ | ipv4 | dict | True | A struct with ipv4 interface settings |
2453
2464
2454
2465
</ApiEndpoint >
2455
2466
@@ -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