Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/stackit.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ stackit [flags]
* [stackit quota](./stackit_quota.md) - Manage server quotas
* [stackit rabbitmq](./stackit_rabbitmq.md) - Provides functionality for RabbitMQ
* [stackit redis](./stackit_redis.md) - Provides functionality for Redis
* [stackit routing-table](./stackit_routing-table.md) - Manage routing-tables and its according routes
* [stackit secrets-manager](./stackit_secrets-manager.md) - Provides functionality for Secrets Manager
* [stackit security-group](./stackit_security-group.md) - Manage security groups
* [stackit server](./stackit_server.md) - Provides functionality for servers
Expand Down
4 changes: 4 additions & 0 deletions docs/stackit_network_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ stackit network create [flags]

Create an IPv6 network with name "network-1" with DNS name servers, a prefix and a gateway
$ 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"

Create a network with name "network-1" and attach routing-table "xxx"
$ stackit network create --name network-1 --routing-table-id xxx
```

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

### Options inherited from parent commands
Expand Down
4 changes: 4 additions & 0 deletions docs/stackit_network_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ stackit network update NETWORK_ID [flags]

Update IPv6 network with ID "xxx" with new name "network-1-new", new gateway and new DNS name servers
$ stackit network update xxx --name network-1-new --ipv6-dns-name-servers "2001:4860:4860::8888" --ipv6-gateway "2001:4860:4860::8888"

Update network with ID "xxx" with new routing-table id "xxx"
$ stackit network update xxx --routing-table-id xxx
```

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

### Options inherited from parent commands
Expand Down
42 changes: 42 additions & 0 deletions docs/stackit_routing-table.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## stackit routing-table

Manage routing-tables and its according routes

### Synopsis

Manage routing-tables and their associated routes.

This API is currently available only to selected customers.
To request access, please contact your account manager or submit a support ticket.

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

### Options

```
-h, --help Help for "stackit 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](./stackit.md) - Manage STACKIT resources using the command line
* [stackit routing-table create](./stackit_routing-table_create.md) - Creates a routing-table
* [stackit routing-table delete](./stackit_routing-table_delete.md) - Deletes a routing-table
* [stackit routing-table describe](./stackit_routing-table_describe.md) - Describes a routing-table
* [stackit routing-table list](./stackit_routing-table_list.md) - Lists all routing-tables
* [stackit routing-table route](./stackit_routing-table_route.md) - Manages routes of a routing-table
* [stackit routing-table update](./stackit_routing-table_update.md) - Updates a routing-table

56 changes: 56 additions & 0 deletions docs/stackit_routing-table_create.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
## stackit routing-table create

Creates a routing-table

### Synopsis

Creates a routing-table.

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

### Examples

```
Create a routing-table with name `rt`
stackit routing-table create --organization-id xxx --network-area-id yyy --name "rt"

Create a routing-table with name `rt` and description `some description`
stackit routing-table create --organization-id xxx --network-area-id yyy --name "rt" --description "some description"

Create a routing-table with name `rt` with system_routes disabled
stackit routing-table create --organization-id xxx --network-area-id yyy --name "rt" --non-system-routes

Create a routing-table with name `rt` with dynamic_routes disabled
stackit routing-table create --organization-id xxx --network-area-id yyy --name "rt" --non-dynamic-routes
```

### Options

```
--description string Description of the routing-table
-h, --help Help for "stackit routing-table create"
--labels stringToString Key=value labels (default [])
--name string Name of the routing-table
--network-area-id string Network-Area ID
--non-dynamic-routes If true, preventing dynamic routes from propagating to the routing-table.
--non-system-routes If true, automatically disables routes for project-to-project communication.
--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 routing-table](./stackit_routing-table.md) - Manage routing-tables and its according routes

42 changes: 42 additions & 0 deletions docs/stackit_routing-table_delete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
## stackit routing-table delete

Deletes a routing-table

### Synopsis

Deletes a routing-table

```
stackit routing-table delete ROUTING_TABLE_ARG [flags]
```

### Examples

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

### Options

```
-h, --help Help for "stackit routing-table delete"
--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 routing-table](./stackit_routing-table.md) - Manage routing-tables and its according routes

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

Describes a routing-table

### Synopsis

Describes a routing-table

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

### Examples

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

### Options

```
-h, --help Help for "stackit 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 routing-table](./stackit_routing-table.md) - Manage routing-tables and its according routes

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

Lists all routing-tables

### Synopsis

Lists all routing-tables

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

### Examples

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

List all routing-tables with labels
$ stackit 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 routing-table list --label-selector env=dev,env=rc --limit 10 --organization-id xxx --network-area-id yyy
```

### Options

```
-h, --help Help for "stackit 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 routing-table](./stackit_routing-table.md) - Manage routing-tables and its according routes

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

Manages routes of a routing-table

### Synopsis

Manages routes of a routing-table

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

### Options

```
-h, --help Help for "stackit 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 routing-table](./stackit_routing-table.md) - Manage routing-tables and its according routes
* [stackit routing-table route create](./stackit_routing-table_route_create.md) - Creates a route in a routing-table
* [stackit routing-table route delete](./stackit_routing-table_route_delete.md) - Deletes a route within a routing-table
* [stackit routing-table route describe](./stackit_routing-table_route_describe.md) - Describes a route within a routing-table
* [stackit routing-table route list](./stackit_routing-table_route_list.md) - Lists all routes within a routing-table
* [stackit routing-table route update](./stackit_routing-table_route_update.md) - Updates a route in a routing-table

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

Creates a route in a routing-table

### Synopsis

Creates a route in a routing-table.

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

### Examples

```
Create a route with CIDRv4 destination and IPv4 nexthop
stackit routing-table 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 routing-table 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 routing-table 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 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 routing-table route](./stackit_routing-table_route.md) - Manages routes of a routing-table

Loading
Loading