Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
15 commits
Select commit Hold shift + click to select a range
a2d59a5
fix: yaml output of servers userdata is bytearray instead of base64 (…
Benjosh95 Sep 24, 2025
ca6dc4b
fix(deps): update stackit sdk modules (#999)
stackit-pipeline Sep 25, 2025
95cedde
chore(deps): bump github.com/stackitcloud/stackit-sdk-go/services/aut…
dependabot[bot] Sep 29, 2025
edf55a4
chore(deps): update renovatebot/github-action action to v43.0.14 (#1011)
stackit-pipeline Sep 30, 2025
14481e4
feat: provide functionality to list public ip-ranges (#993)
h3adex Oct 2, 2025
f3db2df
chore(deps): bump renovatebot/github-action from 43.0.14 to 43.0.15 (…
dependabot[bot] Oct 6, 2025
6da7c6d
chore(deps): bump renovatebot/github-action from 43.0.15 to 43.0.16 (…
dependabot[bot] Oct 8, 2025
f533ca8
chore(deps): bump golang.org/x/oauth2 from 0.31.0 to 0.32.0 (#1014)
dependabot[bot] Oct 8, 2025
e808ade
fix(deps): update module golang.org/x/text to v0.30.0 (#1020)
stackit-pipeline Oct 9, 2025
5532b96
fix(deps): update module golang.org/x/mod to v0.29.0 (#1018)
stackit-pipeline Oct 9, 2025
09b87c3
fix(deps): update module golang.org/x/term to v0.36.0 (#1019)
stackit-pipeline Oct 9, 2025
e687b71
chore(deps): update module golang.org/x/tools to v0.38.0 (#1017)
stackit-pipeline Oct 9, 2025
b42533e
refactor: use a func to print input model debug output (#1016)
rubenhoenle Oct 9, 2025
45b9020
fix(deps): update module github.com/stackitcloud/stackit-sdk-go/servi…
stackit-pipeline Oct 10, 2025
45f6702
feat(routing-table): provide rt and routes functionality
h3adex Sep 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 1 addition & 9 deletions .github/docs/contribution-guide/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,7 @@ func parseInput(p *print.Printer, cmd *cobra.Command, inputArgs []string) (*inpu
}

// Write the input model to the debug logs
if p.IsVerbosityDebug() {
modelStr, err := print.BuildDebugStrFromInputModel(model)
if err != nil {
p.Debug(print.ErrorLevel, "convert model to string for debugging: %v", err)
} else {
p.Debug(print.DebugLevel, "parsed input values: %s", modelStr)
}
}

p.DebugInputModel(model)
return &model, nil
}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/renovate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v5
- name: Self-hosted Renovate
uses: renovatebot/github-action@v43.0.13
uses: renovatebot/github-action@v43.0.16
with:
configurationFile: .github/renovate.json
token: ${{ secrets.RENOVATE_TOKEN }}
4 changes: 2 additions & 2 deletions CONTRIBUTION.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Please remember to run `make generate-docs` after your changes to keep the comma

Below is a typical structure of a CLI command:

https://github.com/stackitcloud/stackit-cli/blob/85ce44cd18d11169f2548d8657031b5fc6f94740/.github/docs/contribution-guide/cmd.go#L23-L156
https://github.com/stackitcloud/stackit-cli/blob/main/.github/docs/contribution-guide/cmd.go

Please remember to always add unit tests for `parseInput`, `buildRequest` (in `bar_test.go`), and any other util functions used.

Expand Down Expand Up @@ -87,7 +87,7 @@ If you want to add a command that uses a STACKIT service `foo` that was not yet
1. This is done in `internal/pkg/services/foo/client/client.go`
2. Below is an example of a typical `client.go` file structure:

https://github.com/stackitcloud/stackit-cli/blob/85ce44cd18d11169f2548d8657031b5fc6f94740/.github/docs/contribution-guide/client.go#L12-L35
https://github.com/stackitcloud/stackit-cli/blob/main/.github/docs/contribution-guide/client.go

### Local development

Expand Down
1 change: 1 addition & 0 deletions docs/stackit_beta.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,6 @@ stackit beta [flags]

* [stackit](./stackit.md) - Manage STACKIT resources using the command line
* [stackit beta alb](./stackit_beta_alb.md) - Manages application loadbalancers
* [stackit beta routing-table](./stackit_beta_routing-table.md) - Manage routing-tables and its according routes
* [stackit beta sqlserverflex](./stackit_beta_sqlserverflex.md) - Provides functionality for SQLServer Flex

45 changes: 45 additions & 0 deletions docs/stackit_beta_routing-table.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
## stackit beta routing-table

Manage routing-tables and its according routes

### Synopsis

Manage routing tables and their associated routes.

This functionality is currently in BETA. At this stage, only listing and describing
routing-tables, as well as full CRUD operations for routes, are supported.
This feature is primarily intended for debugging routes created through Terraform.

Once the feature reaches General Availability, we plan to introduce support
for creating routing tables and attaching them to networks directly via the
CLI. Until then, we recommend users continue managing routing tables and
attachments through the Terraform provider.

```
stackit beta routing-table [flags]
```

### Options

```
-h, --help Help for "stackit beta routing-table"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta](./stackit_beta.md) - Contains beta STACKIT CLI commands
* [stackit beta routing-table describe](./stackit_beta_routing-table_describe.md) - Describe a routing-table
* [stackit beta routing-table list](./stackit_beta_routing-table_list.md) - List all routing-tables
* [stackit beta routing-table route](./stackit_beta_routing-table_route.md) - Manage routes of a routing-table

42 changes: 42 additions & 0 deletions docs/stackit_beta_routing-table_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## stackit beta routing-table describe

Describe a routing-table

### Synopsis

Describe a routing-table

```
stackit beta routing-table describe ROUTING_TABLE_ID_ARG [flags]
```

### Examples

```
Describe a routing-table
$ stackit beta routing-table describe xxxx-xxxx-xxxx-xxxx --organization-id xxx --network-area-id yyy
```

### Options

```
-h, --help Help for "stackit beta routing-table describe"
--network-area-id string Network-Area ID
--organization-id string Organization ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta routing-table](./stackit_beta_routing-table.md) - Manage routing-tables and its according routes

50 changes: 50 additions & 0 deletions docs/stackit_beta_routing-table_list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
## stackit beta routing-table list

List all routing-tables

### Synopsis

List all routing-tables

```
stackit beta routing-table list [flags]
```

### Examples

```
List all routing-tables
$ stackit beta routing-table list --organization-id xxx --network-area-id yyy

List all routing-tables with labels
$ stackit beta routing-table list --label-selector env=dev,env=rc --organization-id xxx --network-area-id yyy

List all routing-tables with labels and set limit to 10
$ stackit beta routing-table list --label-selector env=dev,env=rc --limit 10 --organization-id xxx --network-area-id yyy
```

### Options

```
-h, --help Help for "stackit beta routing-table list"
--label-selector string Filter by label
--limit int Maximum number of entries to list
--network-area-id string Network-Area ID
--organization-id string Organization ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta routing-table](./stackit_beta_routing-table.md) - Manage routing-tables and its according routes

38 changes: 38 additions & 0 deletions docs/stackit_beta_routing-table_route.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
## stackit beta routing-table route

Manage routes of a routing-table

### Synopsis

Manage routes of a routing-table

```
stackit beta routing-table route [flags]
```

### Options

```
-h, --help Help for "stackit beta routing-table route"
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta routing-table](./stackit_beta_routing-table.md) - Manage routing-tables and its according routes
* [stackit beta routing-table route create](./stackit_beta_routing-table_route_create.md) - Creates a route in a routing-table
* [stackit beta routing-table route delete](./stackit_beta_routing-table_route_delete.md) - Deletes a route within a routing-table
* [stackit beta routing-table route describe](./stackit_beta_routing-table_route_describe.md) - Describe a route within a routing-table
* [stackit beta routing-table route list](./stackit_beta_routing-table_route_list.md) - list all routes within a routing-table
* [stackit beta routing-table route update](./stackit_beta_routing-table_route_update.md) - Updates a route in a routing-table

63 changes: 63 additions & 0 deletions docs/stackit_beta_routing-table_route_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
## stackit beta routing-table route create

Creates a route in a routing-table

### Synopsis

Creates a route in a routing-table.

```
stackit beta routing-table route create [flags]
```

### Examples

```
Create a route with CIDRv4 destination and IPv4 nexthop
stackit beta routing-tables route create \
--routing-table-id xxx --organization-id yyy --network-area-id zzz \
--destination-type cidrv4 --destination-value <ipv4-cidr> \
--nexthop-type ipv4 --nexthop-value <ipv4-address>

Create a route with CIDRv6 destination and IPv6 nexthop
stackit beta routing-tables route create \
--routing-table-id xxx --organization-id yyy --network-area-id zzz \
--destination-type cidrv6 --destination-value <ipv6-cidr> \
--nexthop-type ipv6 --nexthop-value <ipv6-address>

Create a route with CIDRv6 destination and Nexthop Internet
stackit beta routing-tables route create \
--routing-table-id xxx --organization-id yyy --network-area-id zzz \
--destination-type cidrv6 --destination-value <ipv6-cidr> \
--nexthop-type internet
```

### Options

```
--destination-type string Destination type
--destination-value string Destination value
-h, --help Help for "stackit beta routing-table route create"
--labels stringToString Key=value labels (default [])
--network-area-id string Network-Area ID
--nexthop-type string Next hop type
--nexthop-value string NextHop value
--organization-id string Organization ID
--routing-table-id string Routing-Table ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta routing-table route](./stackit_beta_routing-table_route.md) - Manage routes of a routing-table

43 changes: 43 additions & 0 deletions docs/stackit_beta_routing-table_route_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## stackit beta routing-table route delete

Deletes a route within a routing-table

### Synopsis

Deletes a route within a routing-table

```
stackit beta routing-table route delete routing-table-id [flags]
```

### Examples

```
Deletes a route within a routing-table
$ stackit beta routing-table route delete xxxx-xxxx-xxxx-xxxx --routing-table-id xxx --organization-id yyy --network-area-id zzz
```

### Options

```
-h, --help Help for "stackit beta routing-table route delete"
--network-area-id string Network-Area ID
--organization-id string Organization ID
--routing-table-id string Routing-Table ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta routing-table route](./stackit_beta_routing-table_route.md) - Manage routes of a routing-table

43 changes: 43 additions & 0 deletions docs/stackit_beta_routing-table_route_describe.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
## stackit beta routing-table route describe

Describe a route within a routing-table

### Synopsis

Describe a route within a routing-table

```
stackit beta routing-table route describe ROUTE_ID_ARG [flags]
```

### Examples

```
Describe a route within a routing-table
$ stackit beta routing-table route describe xxxx-xxxx-xxxx-xxxx --routing-table-id xxx --organization-id yyy --network-area-id zzz
```

### Options

```
-h, --help Help for "stackit beta routing-table route describe"
--network-area-id string Network-Area ID
--organization-id string Organization ID
--routing-table-id string Routing-Table ID
```

### Options inherited from parent commands

```
-y, --assume-yes If set, skips all confirmation prompts
--async If set, runs the command asynchronously
-o, --output-format string Output format, one of ["json" "pretty" "none" "yaml"]
-p, --project-id string Project ID
--region string Target region for region-specific requests
--verbosity string Verbosity of the CLI, one of ["debug" "info" "warning" "error"] (default "info")
```

### SEE ALSO

* [stackit beta routing-table route](./stackit_beta_routing-table_route.md) - Manage routes of a routing-table

Loading
Loading