You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-baremetal-private-network-add-usage.golden
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,15 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
Add a server to a Private Network.
3
+
Add an Elastic Metal server to a Private Network.
4
4
5
5
USAGE:
6
6
scw baremetal private-network add [arg=value ...]
7
7
8
8
ARGS:
9
-
server-id The ID of the server
10
-
private-network-id The ID of the Private Network
11
-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
9
+
server-id UUID of the server
10
+
private-network-id UUID of the Private Network
11
+
[ipam-ip-ids.{index}] IPAM IDs of an IPs to attach to the server
12
+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3)
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
9
+
server-id UUID of the server
10
+
private-network-id UUID of the Private Network
11
+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3)
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-baremetal-private-network-list-usage.golden
+8-7Lines changed: 8 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,17 +1,18 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
List the Private Networks of a server.
3
+
List the Private Networks of an Elastic Metal server.
4
4
5
5
USAGE:
6
6
scw baremetal private-network list [arg=value ...]
7
7
8
8
ARGS:
9
-
[order-by] The sort order for the returned Private Networks (created_at_asc | created_at_desc | updated_at_asc | updated_at_desc)
10
-
[server-id] Filter Private Networks by server ID
11
-
[private-network-id] Filter Private Networks by Private Network ID
12
-
[project-id] Filter Private Networks by Project ID
13
-
[organization-id] Filter Private Networks by Organization ID
14
-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2 | all)
9
+
[order-by] Sort order for the returned Private Networks (created_at_asc | created_at_desc | updated_at_asc | updated_at_desc)
10
+
[server-id] Filter Private Networks by server UUID
11
+
[private-network-id] Filter Private Networks by Private Network UUID
12
+
[project-id] Filter Private Networks by project UUID
13
+
[ipam-ip-ids.{index}] Filter Private Networks by IPAM IP UUIDs
14
+
[organization-id] Filter Private Networks by organization UUID
15
+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3 | all)
Copy file name to clipboardExpand all lines: cmd/scw/testdata/test-all-usage-baremetal-private-network-set-usage.golden
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,14 +1,14 @@
1
1
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
2
2
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3
-
Set multiple Private Networks on a server.
3
+
Configure multiple Private Networks on an Elastic Metal server.
4
4
5
5
USAGE:
6
6
scw baremetal private-network set [arg=value ...]
7
7
8
8
ARGS:
9
-
server-id The ID of the server
10
-
private-network-ids.{index} The IDs of the Private Networks
11
-
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-2)
9
+
server-id UUID of the server
10
+
per-private-network-ipam-ip-ids.{key} Object where the keys are the UUIDs of Private Networks and the values are arrays of IPAM IDs representing the IPs to assign to this Elastic Metal server on the Private Network. If the array supplied for a Private Network is empty, the next available IP from the Private Network's CIDR block will automatically be used for attachment.
11
+
[zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3)
A Private Network allows you to interconnect your resources
397
+
in an isolated and private
398
+
network. Network reachability is limited to the
399
+
resources that are on the same Private Network. A VLAN
400
+
interface is available on the server and can be freely
401
+
managed (adding IP addresses, shutdown interface etc.).
402
+
403
+
Note that a resource can be a part of multiple Private Networks.
404
+
405
+
406
+
### Add a server to a Private Network
407
+
408
+
Add an Elastic Metal server to a Private Network.
409
+
410
+
**Usage:**
411
+
412
+
```
413
+
scw baremetal private-network add [arg=value ...]
414
+
```
415
+
416
+
417
+
**Args:**
418
+
419
+
| Name || Description |
420
+
|------|---|-------------|
421
+
| server-id | Required | UUID of the server |
422
+
| private-network-id | Required | UUID of the Private Network |
423
+
| ipam-ip-ids.{index} || IPAM IDs of an IPs to attach to the server |
424
+
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3`| Zone to target. If none is passed will use default zone from the config |
| private-network-id | Required | UUID of the Private Network |
445
+
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3`| Zone to target. If none is passed will use default zone from the config |
446
+
447
+
448
+
449
+
### List the Private Networks of a server
450
+
451
+
List the Private Networks of an Elastic Metal server.
452
+
453
+
**Usage:**
454
+
455
+
```
456
+
scw baremetal private-network list [arg=value ...]
457
+
```
458
+
459
+
460
+
**Args:**
461
+
462
+
| Name || Description |
463
+
|------|---|-------------|
464
+
| order-by | One of: `created_at_asc`, `created_at_desc`, `updated_at_asc`, `updated_at_desc`| Sort order for the returned Private Networks |
465
+
| server-id || Filter Private Networks by server UUID |
| project-id || Filter Private Networks by project UUID |
468
+
| ipam-ip-ids.{index} || Filter Private Networks by IPAM IP UUIDs |
469
+
| organization-id || Filter Private Networks by organization UUID |
470
+
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3`, `all`| Zone to target. If none is passed will use default zone from the config |
471
+
472
+
473
+
474
+
### Set multiple Private Networks on a server
475
+
476
+
Configure multiple Private Networks on an Elastic Metal server.
477
+
478
+
**Usage:**
479
+
480
+
```
481
+
scw baremetal private-network set [arg=value ...]
482
+
```
483
+
484
+
485
+
**Args:**
486
+
487
+
| Name || Description |
488
+
|------|---|-------------|
489
+
| server-id | Required | UUID of the server |
490
+
| per-private-network-ipam-ip-ids.{key} | Required | Object where the keys are the UUIDs of Private Networks and the values are arrays of IPAM IDs representing the IPs to assign to this Elastic Metal server on the Private Network. If the array supplied for a Private Network is empty, the next available IP from the Private Network's CIDR block will automatically be used for attachment. |
491
+
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3`| Zone to target. If none is passed will use default zone from the config |
492
+
493
+
494
+
389
495
## Server management commands
390
496
391
497
A server is a denomination of a type of instances provided by Scaleway.
0 commit comments