Skip to content

Commit da37fa3

Browse files
authored
Merge pull request #59 from serverscom/rbs-docs
adding rbs and feature-set docs
2 parents 6433cb4 + dc62dce commit da37fa3

18 files changed

Lines changed: 178 additions & 0 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
This command activates or deactivates a feature on the selected enterprise bare metal server.
2+
3+
The `--feature` and `--state` flags are required. The `--state` flag accepts `activate` or `deactivate`.
4+
5+
Supported feature names:
6+
7+
- `disaggregated_public_ports` - disaggregated public network ports.
8+
- `disaggregated_private_ports` - disaggregated private network ports.
9+
- `no_public_ip_address` - disable public IP address assignment.
10+
- `no_private_ip` - disable private IP address assignment.
11+
- `oob_public_access` - enable public access to out-of-band management.
12+
- `no_public_network` - disable public network connectivity.
13+
- `host_rescue_mode` - boot into rescue mode. When activating, use `--auth-method` (repeatable: `password`, `ssh_key`) and `--ssh-key-fingerprint` (repeatable) to configure access.
14+
- `private_ipxe_boot` - boot from a private iPXE script. When activating, use `--ipxe-config` to supply the iPXE script.
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
A command to activate disaggregated public ports on the server with the "ex4mp1eID" ID:
2+
3+
```
4+
srvctl hosts ebm feature-set ex4mp1eID --feature disaggregated_public_ports --state activate
5+
```
6+
7+
A command to deactivate disaggregated public ports on the server with the "ex4mp1eID" ID:
8+
9+
```
10+
srvctl hosts ebm feature-set ex4mp1eID --feature disaggregated_public_ports --state deactivate
11+
```
12+
13+
A command to activate rescue mode with password and SSH key authentication:
14+
15+
```
16+
srvctl hosts ebm feature-set ex4mp1eID \
17+
--feature host_rescue_mode \
18+
--state activate \
19+
--auth-method password \
20+
--auth-method ssh_key \
21+
--ssh-key-fingerprint aa:bb:cc:dd:ee:ff
22+
```
23+
24+
A command to activate private iPXE boot with a custom script:
25+
26+
```
27+
srvctl hosts ebm feature-set ex4mp1eID \
28+
--feature private_ipxe_boot \
29+
--state activate \
30+
--ipxe-config "#!ipxe\nchain http://boot.example.com/script.ipxe"
31+
```
32+
33+
A command to deactivate rescue mode:
34+
35+
```
36+
srvctl hosts ebm feature-set ex4mp1eID --feature host_rescue_mode --state deactivate
37+
```

docs/srvctl-rbs-add/description.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
A command to create a new remote block storage volume. It allows to pass parameters in two ways:
2+
3+
- Input - volume parameters are described in a file, a path to the file is specified via the `-i` or `--input` flag. The path can be absolute or relative to the srvctl file. There is also an option to use standard input (stdin) when specifying the flag this way: `--input -`
4+
5+
- Flags - parameters are specified via flags inside the command. The `--name`, `--size`, and `--flavor-id` flags are required.

docs/srvctl-rbs-add/examples.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
An example of a command for a file in the same directory with srvctl:
2+
3+
```
4+
srvctl rbs add --input <file name>
5+
```
6+
7+
An example of the file's content:
8+
9+
```
10+
{
11+
"name": "",
12+
"size": 0,
13+
"location_id": 0,
14+
"flavor_id": 0,
15+
"labels": {
16+
"key": "value"
17+
}
18+
}
19+
```
20+
21+
An example of a command to create a remote block storage volume via flags:
22+
23+
```
24+
srvctl rbs add \
25+
--name my-volume \
26+
--size 100 \
27+
--flavor-id 1 \
28+
--location-id 1 \
29+
--label environment=production
30+
```
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This command deletes the selected remote block storage volume.

docs/srvctl-rbs-delete/examples.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
A command to delete the remote block storage volume with the "ex4mp1eID" ID:
2+
3+
```
4+
srvctl rbs delete ex4mp1eID
5+
```
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This command provides iSCSI credentials for the selected remote block storage volume, including username, password, target IQN, and IP address.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
A command to get credentials for the remote block storage volume with the "ex4mp1eID" ID:
2+
3+
```
4+
srvctl rbs get-credentials ex4mp1eID
5+
```

docs/srvctl-rbs-get/description.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This command provides information for the selected remote block storage volume.

docs/srvctl-rbs-get/examples.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
A command to get information for the remote block storage volume with the "ex4mp1eID" ID:
2+
3+
```
4+
srvctl rbs get ex4mp1eID
5+
```

0 commit comments

Comments
 (0)