Skip to content

Commit 6cf8479

Browse files
committed
add create, delete routing table command
1 parent e48248a commit 6cf8479

23 files changed

+358
-60
lines changed

docs/stackit_routing-table.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ stackit routing-table [flags]
3333
### SEE ALSO
3434

3535
* [stackit](./stackit.md) - Manage STACKIT resources using the command line
36+
* [stackit routing-table delete](./stackit_routing-table_delete.md) - Deletes a routing-table
3637
* [stackit routing-table describe](./stackit_routing-table_describe.md) - Describe a routing-table
3738
* [stackit routing-table list](./stackit_routing-table_list.md) - List all routing-tables
3839
* [stackit routing-table route](./stackit_routing-table_route.md) - Manage routes of a routing-table
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
## stackit routing-table delete
2+
3+
Deletes a routing-table
4+
5+
### Synopsis
6+
7+
Deletes a routing-table
8+
9+
```
10+
stackit routing-table delete ROUTE_TABLE_ARG [flags]
11+
```
12+
13+
### Examples
14+
15+
```
16+
Deletes a a routing-table
17+
$ stackit routing-table delete xxxx-xxxx-xxxx-xxxx --organization-id yyy --network-area-id zzz
18+
```
19+
20+
### Options
21+
22+
```
23+
-h, --help Help for "stackit 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 routing-table](./stackit_routing-table.md) - Manage routing-tables and its according routes
42+

docs/stackit_routing-table_describe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stackit routing-table describe ROUTING_TABLE_ID_ARG [flags]
1414

1515
```
1616
Describe a routing-table
17-
$ stackit beta routing-table describe xxxx-xxxx-xxxx-xxxx --organization-id xxx --network-area-id yyy
17+
$ stackit routing-table describe xxxx-xxxx-xxxx-xxxx --organization-id xxx --network-area-id yyy
1818
```
1919

2020
### Options

docs/stackit_routing-table_list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ stackit routing-table list [flags]
1414

1515
```
1616
List all routing-tables
17-
$ stackit beta routing-table list --organization-id xxx --network-area-id yyy
17+
$ stackit routing-table list --organization-id xxx --network-area-id yyy
1818
1919
List all routing-tables with labels
20-
$ stackit beta routing-table list --label-selector env=dev,env=rc --organization-id xxx --network-area-id yyy
20+
$ stackit routing-table list --label-selector env=dev,env=rc --organization-id xxx --network-area-id yyy
2121
2222
List all routing-tables with labels and set limit to 10
23-
$ stackit beta routing-table list --label-selector env=dev,env=rc --limit 10 --organization-id xxx --network-area-id yyy
23+
$ stackit routing-table list --label-selector env=dev,env=rc --limit 10 --organization-id xxx --network-area-id yyy
2424
```
2525

2626
### Options

docs/stackit_routing-table_route_create.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ stackit routing-table route create [flags]
1414

1515
```
1616
Create a route with CIDRv4 destination and IPv4 nexthop
17-
stackit beta routing-tables route create \
17+
stackit routing-table route create \
1818
--routing-table-id xxx --organization-id yyy --network-area-id zzz \
1919
--destination-type cidrv4 --destination-value <ipv4-cidr> \
2020
--nexthop-type ipv4 --nexthop-value <ipv4-address>
2121
2222
Create a route with CIDRv6 destination and IPv6 nexthop
23-
stackit beta routing-tables route create \
23+
stackit routing-table route create \
2424
--routing-table-id xxx --organization-id yyy --network-area-id zzz \
2525
--destination-type cidrv6 --destination-value <ipv6-cidr> \
2626
--nexthop-type ipv6 --nexthop-value <ipv6-address>
2727
2828
Create a route with CIDRv6 destination and Nexthop Internet
29-
stackit beta routing-tables route create \
29+
stackit routing-table route create \
3030
--routing-table-id xxx --organization-id yyy --network-area-id zzz \
3131
--destination-type cidrv6 --destination-value <ipv6-cidr> \
3232
--nexthop-type internet

docs/stackit_routing-table_route_delete.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stackit routing-table route delete routing-table-id [flags]
1414

1515
```
1616
Deletes a route within a routing-table
17-
$ stackit beta routing-table route delete xxxx-xxxx-xxxx-xxxx --routing-table-id xxx --organization-id yyy --network-area-id zzz
17+
$ stackit routing-table route delete xxxx-xxxx-xxxx-xxxx --routing-table-id xxx --organization-id yyy --network-area-id zzz
1818
```
1919

2020
### Options

docs/stackit_routing-table_route_describe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stackit routing-table route describe ROUTE_ID_ARG [flags]
1414

1515
```
1616
Describe a route within a routing-table
17-
$ stackit beta routing-table route describe xxxx-xxxx-xxxx-xxxx --routing-table-id xxx --organization-id yyy --network-area-id zzz
17+
$ stackit routing-table route describe xxxx-xxxx-xxxx-xxxx --routing-table-id xxx --organization-id yyy --network-area-id zzz
1818
```
1919

2020
### Options

docs/stackit_routing-table_route_list.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ stackit routing-table route list [flags]
1414

1515
```
1616
List all routes within a routing-table
17-
$ stackit beta routing-table route list --routing-table-id xxx --organization-id yyy --network-area-id zzz
17+
$ stackit routing-table route list --routing-table-id xxx --organization-id yyy --network-area-id zzz
1818
1919
List all routes within a routing-table with labels
20-
$ stackit beta routing-table list --routing-table-id xxx --organization-id yyy --network-area-id zzz --label-selector env=dev,env=rc
20+
$ stackit routing-table list --routing-table-id xxx --organization-id yyy --network-area-id zzz --label-selector env=dev,env=rc
2121
2222
List all routes within a routing-tables with labels and limit to 10
23-
$ stackit beta routing-table list --routing-table-id xxx --organization-id yyy --network-area-id zzz --label-selector env=dev,env=rc --limit 10
23+
$ stackit routing-table list --routing-table-id xxx --organization-id yyy --network-area-id zzz --label-selector env=dev,env=rc --limit 10
2424
```
2525

2626
### Options

docs/stackit_routing-table_route_update.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ stackit routing-table route update ROUTE_ID_ARG [flags]
1414

1515
```
1616
Updates the label(s) of a route with ID "xxx" in a routing-table ID "xxx" in organization with ID "yyy" and network-area with ID "zzz"
17-
$ stackit beta routing-table route update xxx --labels key=value,foo=bar --routing-table-id xxx --organization-id yyy --network-area-id zzz
17+
$ stackit routing-table route update xxx --labels key=value,foo=bar --routing-table-id xxx --organization-id yyy --network-area-id zzz
1818
```
1919

2020
### Options

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,8 @@ github.com/stackitcloud/stackit-sdk-go/services/git v0.9.0 h1:zuoJnsLnjxdQcQbs7g
573573
github.com/stackitcloud/stackit-sdk-go/services/git v0.9.0/go.mod h1:AXFfYBJZIW1o0W0zZEb/proQMhMsb3Nn5E1htS8NDPE=
574574
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.31.0 h1:dnEjyapuv8WwRN5vE2z6+4/+ZqQTBx+bX27x2nOF7Jw=
575575
github.com/stackitcloud/stackit-sdk-go/services/iaas v0.31.0/go.mod h1:854gnLR92NvAbJAA1xZEumrtNh1DoBP1FXTMvhwYA6w=
576+
github.com/stackitcloud/stackit-sdk-go/services/iaasalpha v0.1.21-alpha h1:m1jq6a8dbUe+suFuUNdHmM/cSehpGLUtDbK1CqLqydg=
577+
github.com/stackitcloud/stackit-sdk-go/services/iaasalpha v0.1.21-alpha/go.mod h1:Nu1b5Phsv8plgZ51+fkxPVsU91ZJ5Ayz+cthilxdmQ8=
576578
github.com/stackitcloud/stackit-sdk-go/services/kms v1.0.0 h1:zxoOv7Fu+FmdsvTKiKkbmLItrMKfL+QoVtz9ReEF30E=
577579
github.com/stackitcloud/stackit-sdk-go/services/kms v1.0.0/go.mod h1:KEPVoO21pC4bjy5l0nyhjUJ0+uVwVWb+k2TYrzJ8xYw=
578580
github.com/stackitcloud/stackit-sdk-go/services/loadbalancer v1.6.0 h1:q33ZaCBVEBUsnMDxYyuJKtJvGcE5nKgvuPed3s8zXNI=

0 commit comments

Comments
 (0)