Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 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
28 changes: 8 additions & 20 deletions docs/stackit_network-area_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,32 +13,20 @@ stackit network-area create [flags]
### Examples

```
Create a network area with name "network-area-1" in organization with ID "xxx" with network ranges and a transfer network
$ stackit network-area create --name network-area-1 --organization-id xxx --network-ranges "1.1.1.0/24,192.123.1.0/24" --transfer-network "192.160.0.0/24"
Create a network area with name "network-area-1" in organization with ID "xxx"
$ stackit network-area create --name network-area-1 --organization-id xxx"

Create a network area with name "network-area-2" in organization with ID "xxx" with network ranges, transfer network and DNS name server
$ stackit network-area create --name network-area-2 --organization-id xxx --network-ranges "1.1.1.0/24,192.123.1.0/24" --transfer-network "192.160.0.0/24" --dns-name-servers "1.1.1.1"

Create a network area with name "network-area-3" in organization with ID "xxx" with network ranges, transfer network and additional options
$ stackit network-area create --name network-area-3 --organization-id xxx --network-ranges "1.1.1.0/24,192.123.1.0/24" --transfer-network "192.160.0.0/24" --default-prefix-length 25 --max-prefix-length 29 --min-prefix-length 24

Create a network area with name "network-area-1" in organization with ID "xxx" with network ranges and a transfer network and labels "key=value,key1=value1"
$ stackit network-area create --name network-area-1 --organization-id xxx --network-ranges "1.1.1.0/24,192.123.1.0/24" --transfer-network "192.160.0.0/24" --labels key=value,key1=value1
Create a network area with name "network-area-1" in organization with ID "xxx" with labels "key=value,key1=value1"
$ stackit network-area create --name network-area-1 --organization-id xxx --labels key=value,key1=value1
```

### Options

```
--default-prefix-length int The default prefix length for networks in the network area
--dns-name-servers strings List of DNS name server IPs
-h, --help Help for "stackit network-area create"
--labels stringToString Labels are key-value string pairs which can be attached to a network-area. E.g. '--labels key1=value1,key2=value2,...' (default [])
--max-prefix-length int The maximum prefix length for networks in the network area
--min-prefix-length int The minimum prefix length for networks in the network area
-n, --name string Network area name
--network-ranges strings List of network ranges (default [])
--organization-id string Organization ID
--transfer-network string Transfer network in CIDR notation
-h, --help Help for "stackit network-area create"
--labels stringToString Labels are key-value string pairs which can be attached to a network-area. E.g. '--labels key1=value1,key2=value2,...' (default [])
-n, --name string Network area name
--organization-id string Organization ID
```

### Options inherited from parent commands
Expand Down
15 changes: 9 additions & 6 deletions docs/stackit_network-area_route_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,25 @@ stackit network-area route create [flags]
### Examples

```
Create a static route with prefix "1.1.1.0/24" and next hop "1.1.1.1" in a STACKIT Network Area with ID "xxx" in organization with ID "yyy"
$ stackit network-area route create --organization-id yyy --network-area-id xxx --prefix 1.1.1.0/24 --next-hop 1.1.1.1
Create a static route with destination "1.1.1.0/24" and next hop "1.1.1.1" in a STACKIT Network Area with ID "xxx" in organization with ID "yyy"
$ stackit network-area route create --organization-id yyy --network-area-id xxx --destination 1.1.1.0/24 --next-hop 1.1.1.1

Create a static route with labels "key:value" and "foo:bar" with prefix "1.1.1.0/24" and next hop "1.1.1.1" in a STACKIT Network Area with ID "xxx" in organization with ID "yyy"
$ stackit network-area route create --labels key=value,foo=bar --organization-id yyy --network-area-id xxx --prefix 1.1.1.0/24 --next-hop 1.1.1.1
Create a static route with labels "key:value" and "foo:bar" with destination "1.1.1.0/24" and next hop "1.1.1.1" in a STACKIT Network Area with ID "xxx" in organization with ID "yyy"
$ stackit network-area route create --labels key=value,foo=bar --organization-id yyy --network-area-id xxx --destination 1.1.1.0/24 --next-hop 1.1.1.1
```

### Options

```
--destination string Destination route. Must be a valid IPv4 or IPv6 CIDR
-h, --help Help for "stackit network-area route create"
--labels stringToString Labels are key-value string pairs which can be attached to a route. A label can be provided with the format key=value and the flag can be used multiple times to provide a list of labels (default [])
--network-area-id string STACKIT Network Area ID
--next-hop string Next hop IP address. Must be a valid IPv4
--next-hop-ipv4 string Next hop IPv4 address
--next-hop-ipv6 string Next hop IPv6 address
--nexthop-blackhole Sets next hop to black hole
--nexthop-internet Sets next hop to internet
--organization-id string Organization ID
--prefix string Static route prefix
```

### Options inherited from parent commands
Expand Down
12 changes: 4 additions & 8 deletions docs/stackit_network-area_update.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,10 @@ stackit network-area update AREA_ID [flags]
### Options

```
--default-prefix-length int The default prefix length for networks in the network area
--dns-name-servers strings List of DNS name server IPs
-h, --help Help for "stackit network-area update"
--labels stringToString Labels are key-value string pairs which can be attached to a network-area. E.g. '--labels key1=value1,key2=value2,...' (default [])
--max-prefix-length int The maximum prefix length for networks in the network area
--min-prefix-length int The minimum prefix length for networks in the network area
-n, --name string Network area name
--organization-id string Organization ID
-h, --help Help for "stackit network-area update"
--labels stringToString Labels are key-value string pairs which can be attached to a network-area. E.g. '--labels key1=value1,key2=value2,...' (default [])
-n, --name string Network area name
--organization-id string Organization ID
```

### Options inherited from parent commands
Expand Down
2 changes: 1 addition & 1 deletion docs/stackit_network_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ stackit network create [flags]
$ stackit network create --name network-1 --labels key=value,key1=value1

Create an IPv4 network with name "network-1" with DNS name servers, a prefix and a gateway
$ stackit network create --name network-1 --ipv4-dns-name-servers "1.1.1.1,8.8.8.8,9.9.9.9" --ipv4-prefix "10.1.2.0/24" --ipv4-gateway "10.1.2.3"
$ stackit network create --name network-1 --non-routed --ipv4-dns-name-servers "1.1.1.1,8.8.8.8,9.9.9.9" --ipv4-prefix "10.1.2.0/24" --ipv4-gateway "10.1.2.3"

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"
Expand Down
Loading
Loading