Skip to content

Commit 976271f

Browse files
authored
Merge branch 'main' into feat/consistent-output-for-async
2 parents 6e7d725 + f4a50af commit 976271f

35 files changed

+2888
-103
lines changed

docs/stackit_network-area.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,6 @@ stackit network-area [flags]
3737
* [stackit network-area network-range](./stackit_network-area_network-range.md) - Provides functionality for network ranges in STACKIT Network Areas
3838
* [stackit network-area region](./stackit_network-area_region.md) - Provides functionality for regional configuration of STACKIT Network Area (SNA)
3939
* [stackit network-area route](./stackit_network-area_route.md) - Provides functionality for static routes in STACKIT Network Areas
40+
* [stackit network-area routing-table](./stackit_network-area_routing-table.md) - Manage routing-tables and its according routes
4041
* [stackit network-area update](./stackit_network-area_update.md) - Updates a STACKIT Network Area (SNA)
4142

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## stackit network-area routing-table
2+
3+
Manage routing-tables and its according routes
4+
5+
### Synopsis
6+
7+
Manage routing-tables and their associated routes.
8+
9+
This API is currently available only to selected customers.
10+
To request access, please contact your account manager or submit a support ticket.
11+
12+
```
13+
stackit network-area routing-table [flags]
14+
```
15+
16+
### Options
17+
18+
```
19+
-h, --help Help for "stackit network-area routing-table"
20+
```
21+
22+
### Options inherited from parent commands
23+
24+
```
25+
-y, --assume-yes If set, skips all confirmation prompts
26+
--async If set, runs the command asynchronously
27+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
28+
-p, --project-id string Project ID
29+
--region string Target region for region-specific requests
30+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
31+
```
32+
33+
### SEE ALSO
34+
35+
* [stackit network-area](./stackit_network-area.md) - Provides functionality for STACKIT Network Area (SNA)
36+
* [stackit network-area routing-table create](./stackit_network-area_routing-table_create.md) - Creates a routing-table
37+
* [stackit network-area routing-table delete](./stackit_network-area_routing-table_delete.md) - Deletes a routing-table
38+
* [stackit network-area routing-table describe](./stackit_network-area_routing-table_describe.md) - Describes a routing-table
39+
* [stackit network-area routing-table list](./stackit_network-area_routing-table_list.md) - Lists all routing-tables
40+
* [stackit network-area routing-table update](./stackit_network-area_routing-table_update.md) - Updates a routing-table
41+
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
## stackit network-area routing-table create
2+
3+
Creates a routing-table
4+
5+
### Synopsis
6+
7+
Creates a routing-table.
8+
9+
```
10+
stackit network-area routing-table create [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Create a routing-table with name "rt"
17+
$ stackit network-area routing-table create --organization-id xxx --network-area-id yyy --name "rt"
18+
19+
Create a routing-table with name "rt" and description "some description"
20+
$ stackit network-area routing-table create --organization-id xxx --network-area-id yyy --name "rt" --description "some description"
21+
22+
Create a routing-table with name "rt" with system routes disabled
23+
$ stackit network-area routing-table create --organization-id xxx --network-area-id yyy --name "rt" --system-routes=false
24+
25+
Create a routing-table with name "rt" with dynamic routes disabled
26+
$ stackit network-area routing-table create --organization-id xxx --network-area-id yyy --name "rt" --dynamic-routes=false
27+
```
28+
29+
### Options
30+
31+
```
32+
--description string Description of the routing-table
33+
--dynamic-routes If set to false, prevents dynamic routes from propagating to the routing table. (default true)
34+
-h, --help Help for "stackit network-area routing-table create"
35+
--labels stringToString Key=value labels (default [])
36+
--name string Name of the routing-table
37+
--network-area-id string Network-Area ID
38+
--organization-id string Organization ID
39+
--system-routes If set to false, disables routes for project-to-project communication. (default true)
40+
```
41+
42+
### Options inherited from parent commands
43+
44+
```
45+
-y, --assume-yes If set, skips all confirmation prompts
46+
--async If set, runs the command asynchronously
47+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
48+
-p, --project-id string Project ID
49+
--region string Target region for region-specific requests
50+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
51+
```
52+
53+
### SEE ALSO
54+
55+
* [stackit network-area routing-table](./stackit_network-area_routing-table.md) - Manage routing-tables and its according routes
56+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## stackit network-area routing-table delete
2+
3+
Deletes a routing-table
4+
5+
### Synopsis
6+
7+
Deletes a routing-table
8+
9+
```
10+
stackit network-area routing-table delete ROUTING_TABLE_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Delete a routing-table with ID "xxx"
17+
$ stackit network-area routing-table delete xxx --organization-id yyy --network-area-id zzz
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit network-area routing-table delete"
24+
--network-area-id string Network-Area ID
25+
--organization-id string Organization ID
26+
```
27+
28+
### Options inherited from parent commands
29+
30+
```
31+
-y, --assume-yes If set, skips all confirmation prompts
32+
--async If set, runs the command asynchronously
33+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
34+
-p, --project-id string Project ID
35+
--region string Target region for region-specific requests
36+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
37+
```
38+
39+
### SEE ALSO
40+
41+
* [stackit network-area routing-table](./stackit_network-area_routing-table.md) - Manage routing-tables and its according routes
42+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## stackit network-area routing-table describe
2+
3+
Describes a routing-table
4+
5+
### Synopsis
6+
7+
Describes a routing-table
8+
9+
```
10+
stackit network-area routing-table describe ROUTING_TABLE_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Describe a routing-table
17+
$ stackit network-area routing-table describe xxx --organization-id xxx --network-area-id yyy
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit network-area routing-table describe"
24+
--network-area-id string Network-Area ID
25+
--organization-id string Organization ID
26+
```
27+
28+
### Options inherited from parent commands
29+
30+
```
31+
-y, --assume-yes If set, skips all confirmation prompts
32+
--async If set, runs the command asynchronously
33+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
34+
-p, --project-id string Project ID
35+
--region string Target region for region-specific requests
36+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
37+
```
38+
39+
### SEE ALSO
40+
41+
* [stackit network-area routing-table](./stackit_network-area_routing-table.md) - Manage routing-tables and its according routes
42+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
## stackit network-area routing-table list
2+
3+
Lists all routing-tables
4+
5+
### Synopsis
6+
7+
Lists all routing-tables
8+
9+
```
10+
stackit network-area routing-table list [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
List all routing-tables
17+
$ stackit network-area routing-table list --organization-id xxx --network-area-id yyy
18+
19+
List all routing-tables with labels
20+
$ stackit network-area routing-table list --label-selector env=dev,env=rc --organization-id xxx --network-area-id yyy
21+
22+
List all routing-tables with labels and set limit to 10
23+
$ stackit network-area routing-table list --label-selector env=dev,env=rc --limit 10 --organization-id xxx --network-area-id yyy
24+
```
25+
26+
### Options
27+
28+
```
29+
-h, --help Help for "stackit network-area routing-table list"
30+
--label-selector string Filter by label
31+
--limit int Maximum number of entries to list
32+
--network-area-id string Network-Area ID
33+
--organization-id string Organization ID
34+
```
35+
36+
### Options inherited from parent commands
37+
38+
```
39+
-y, --assume-yes If set, skips all confirmation prompts
40+
--async If set, runs the command asynchronously
41+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
42+
-p, --project-id string Project ID
43+
--region string Target region for region-specific requests
44+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
45+
```
46+
47+
### SEE ALSO
48+
49+
* [stackit network-area routing-table](./stackit_network-area_routing-table.md) - Manage routing-tables and its according routes
50+
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
## stackit network-area routing-table update
2+
3+
Updates a routing-table
4+
5+
### Synopsis
6+
7+
Updates a routing-table.
8+
9+
```
10+
stackit network-area routing-table update ROUTING_TABLE_ID [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Updates the label(s) of a routing-table with ID "xxx" in organization with ID "yyy" and network-area with ID "zzz"
17+
$ stackit network-area routing-table update xxx --labels key=value,foo=bar --organization-id yyy --network-area-id zzz
18+
19+
Updates the name of a routing-table with ID "xxx" in organization with ID "yyy" and network-area with ID "zzz"
20+
$ stackit network-area routing-table update xxx --name foo --organization-id yyy --network-area-id zzz
21+
22+
Updates the description of a routing-table with ID "xxx" in organization with ID "yyy" and network-area with ID "zzz"
23+
$ stackit network-area routing-table update xxx --description foo --organization-id yyy --network-area-id zzz
24+
25+
Disables the dynamic routes of a routing-table with ID "xxx" in organization with ID "yyy" and network-area with ID "zzz"
26+
$ stackit network-area routing-table update xxx --organization-id yyy --network-area-id zzz --dynamic-routes=false
27+
28+
Disables the system routes of a routing-table with ID "xxx" in organization with ID "yyy" and network-area with ID "zzz"
29+
$ stackit network-area routing-table update xxx --organization-id yyy --network-area-id zzz --system-routes=false
30+
```
31+
32+
### Options
33+
34+
```
35+
--description string Description of the routing-table
36+
--dynamic-routes If set to false, prevents dynamic routes from propagating to the routing table.
37+
-h, --help Help for "stackit network-area routing-table update"
38+
--labels stringToString Key=value labels (default [])
39+
--name string Name of the routing-table
40+
--network-area-id string Network-Area ID
41+
--organization-id string Organization ID
42+
--system-routes If set to false, disables routes for project-to-project communication.
43+
```
44+
45+
### Options inherited from parent commands
46+
47+
```
48+
-y, --assume-yes If set, skips all confirmation prompts
49+
--async If set, runs the command asynchronously
50+
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
51+
-p, --project-id string Project ID
52+
--region string Target region for region-specific requests
53+
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
54+
```
55+
56+
### SEE ALSO
57+
58+
* [stackit network-area routing-table](./stackit_network-area_routing-table.md) - Manage routing-tables and its according routes
59+

docs/stackit_network_create.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ stackit network create [flags]
3030
3131
Create an IPv6 network with name "network-1" with DNS name servers, a prefix and a gateway
3232
$ stackit network create --name network-1 --ipv6-dns-name-servers "2001:4860:4860::8888,2001:4860:4860::8844" --ipv6-prefix "2001:4860:4860::8888" --ipv6-gateway "2001:4860:4860::8888"
33+
34+
Create a network with name "network-1" and attach routing-table "xxx"
35+
$ stackit network create --name network-1 --routing-table-id xxx
3336
```
3437

3538
### Options
@@ -49,6 +52,7 @@ stackit network create [flags]
4952
--no-ipv4-gateway If set to true, the network doesn't have an IPv4 gateway
5053
--no-ipv6-gateway If set to true, the network doesn't have an IPv6 gateway
5154
--non-routed If set to true, the network is not routed and therefore not accessible from other networks
55+
--routing-table-id string The ID of the routing-table for the network
5256
```
5357

5458
### Options inherited from parent commands

docs/stackit_network_update.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ stackit network update NETWORK_ID [flags]
2424
2525
Update IPv6 network with ID "xxx" with new name "network-1-new", new gateway and new DNS name servers
2626
$ stackit network update xxx --name network-1-new --ipv6-dns-name-servers "2001:4860:4860::8888" --ipv6-gateway "2001:4860:4860::8888"
27+
28+
Update network with ID "xxx" with new routing-table id "xxx"
29+
$ stackit network update xxx --routing-table-id xxx
2730
```
2831

2932
### Options
@@ -38,6 +41,7 @@ stackit network update NETWORK_ID [flags]
3841
-n, --name string Network name
3942
--no-ipv4-gateway If set to true, the network doesn't have an IPv4 gateway
4043
--no-ipv6-gateway If set to true, the network doesn't have an IPv6 gateway
44+
--routing-table-id string The ID of the routing-table for the network
4145
```
4246

4347
### Options inherited from parent commands

0 commit comments

Comments
 (0)