Skip to content

Commit ca0aab0

Browse files
committed
Regenerate interlink, product-catalog and s2s-vpn docs and usage goldens.
1 parent 9485d1e commit ca0aab0

9 files changed

Lines changed: 13 additions & 37 deletions

cmd/scw/testdata/test-all-usage-interlink-link-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ARGS:
1919
[vpc-id] Filter for links attached to this VPC
2020
[routing-policy-id] Filter for links using this routing policy
2121
[pairing-key] Filter for the link with this pairing_key
22-
[kind] Filter for hosted or self-hosted links (hosted | self_hosted | l2_hosted | l3_hosted)
22+
[kind] Filter for hosted or self-hosted links (hosted | self_hosted)
2323
[connection-id] Filter for links self-hosted on this connection
2424
[organization-id] Organization ID to filter for
2525
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | nl-ams | pl-waw | all)

cmd/scw/testdata/test-all-usage-interlink-partner-list-usage.golden

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ USAGE:
88
ARGS:
99
[order-by] Order in which to return results (name_asc | name_desc)
1010
[pop-ids.{index}] Filter for partners present (offering a connection) in one of these PoPs
11-
[l3-connectivity] Filter for partners supporting L3 connectivity
1211
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | nl-ams | pl-waw | all)
1312

1413
FLAGS:

cmd/scw/testdata/test-all-usage-interlink-pop-list-usage.golden

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@ USAGE:
66
scw interlink pop list [arg=value ...]
77

88
ARGS:
9-
[order-by] Order in which to return results (name_asc | name_desc)
10-
[name] PoP name to filter for
11-
[hosting-provider-name] Hosting provider name to filter for
12-
[partner-id] Filter for PoPs hosting an available shared connection from this partner
13-
[link-bandwidth-mbps] Filter for PoPs with a connection allowing this bandwidth size. Note that we cannot guarantee that PoPs returned will have available capacity.
14-
[dedicated-available] Filter for PoPs with a dedicated connection available for self-hosted links.
15-
[l3-connectivity-partners] Filter for PoPs with a shared connection available from a partner supporting L3 connectivity
16-
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | nl-ams | pl-waw | all)
9+
[order-by] Order in which to return results (name_asc | name_desc)
10+
[name] PoP name to filter for
11+
[hosting-provider-name] Hosting provider name to filter for
12+
[partner-id] Filter for PoPs hosting an available shared connection from this partner
13+
[link-bandwidth-mbps] Filter for PoPs with a shared connection allowing this bandwidth size. Note that we cannot guarantee that PoPs returned will have available capacity.
14+
[dedicated-available] Filter for PoPs with a dedicated connection available for self-hosted links.
15+
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | it-mil | nl-ams | pl-waw | all)
1716

1817
FLAGS:
1918
-h, --help help for list

cmd/scw/testdata/test-all-usage-product-catalog-product-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ USAGE:
66
scw product-catalog product list [arg=value ...]
77

88
ARGS:
9-
[product-types.{index}] The list of filtered product categories. (unknown_product_type | instance | apple_silicon | elastic_metal | dedibox | block_storage | object_storage | managed_inference | generative_apis | load_balancer | secret_manager | key_manager | managed_redis_database | kubernetes | managed_relational_database | managed_mongodb | serverless_functions)
9+
[product-types.{index}] The list of filtered product categories. (unknown_product_type | instance | apple_silicon | elastic_metal | dedibox | block_storage | object_storage | managed_inference | generative_apis | load_balancer | secret_manager | key_manager | managed_redis_database | kubernetes | managed_relational_database | managed_mongodb)
1010
[global] Filter global products.
1111
[region] Filter products by region.
1212
[zone] Filter products by zone.

cmd/scw/testdata/test-all-usage-s2s-vpn-connection-create-usage.golden

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ ARGS:
1818
[esp-ciphers.{index}.integrity] (unknown_integrity | sha256 | sha384 | sha512)
1919
[esp-ciphers.{index}.dh-group] (unknown_dhgroup | modp2048 | modp3072 | modp4096 | ecp256 | ecp384 | ecp521 | curve25519)
2020
[enable-route-propagation] Defines whether route propagation is enabled or not.
21-
[secret.id]
22-
[secret.revision]
2321
vpn-gateway-id ID of the VPN gateway to attach to the connection
2422
customer-gateway-id ID of the customer gateway to attach to the connection
2523
[bgp-config-ipv4.routing-policy-id]

docs/commands/interlink.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ scw interlink link list [arg=value ...]
269269
| vpc-id | | Filter for links attached to this VPC |
270270
| routing-policy-id | | Filter for links using this routing policy |
271271
| pairing-key | | Filter for the link with this pairing_key |
272-
| kind | One of: `hosted`, `self_hosted`, `l2_hosted`, `l3_hosted` | Filter for hosted or self-hosted links |
272+
| kind | One of: `hosted`, `self_hosted` | Filter for hosted or self-hosted links |
273273
| connection-id | | Filter for links self-hosted on this connection |
274274
| organization-id | | Organization ID to filter for |
275275
| region | Default: `fr-par`<br />One of: `fr-par`, `it-mil`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config |
@@ -341,7 +341,6 @@ scw interlink partner list [arg=value ...]
341341
|------|---|-------------|
342342
| order-by | One of: `name_asc`, `name_desc` | Order in which to return results |
343343
| pop-ids.{index} | | Filter for partners present (offering a connection) in one of these PoPs |
344-
| l3-connectivity | | Filter for partners supporting L3 connectivity |
345344
| region | Default: `fr-par`<br />One of: `fr-par`, `it-mil`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config |
346345

347346

@@ -390,9 +389,8 @@ scw interlink pop list [arg=value ...]
390389
| name | | PoP name to filter for |
391390
| hosting-provider-name | | Hosting provider name to filter for |
392391
| partner-id | | Filter for PoPs hosting an available shared connection from this partner |
393-
| link-bandwidth-mbps | | Filter for PoPs with a connection allowing this bandwidth size. Note that we cannot guarantee that PoPs returned will have available capacity. |
392+
| link-bandwidth-mbps | | Filter for PoPs with a shared connection allowing this bandwidth size. Note that we cannot guarantee that PoPs returned will have available capacity. |
394393
| dedicated-available | | Filter for PoPs with a dedicated connection available for self-hosted links. |
395-
| l3-connectivity-partners | | Filter for PoPs with a shared connection available from a partner supporting L3 connectivity |
396394
| region | Default: `fr-par`<br />One of: `fr-par`, `it-mil`, `nl-ams`, `pl-waw`, `all` | Region to target. If none is passed will use default region from the config |
397395

398396

docs/commands/product-catalog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ scw product-catalog product list [arg=value ...]
2828

2929
| Name | | Description |
3030
|------|---|-------------|
31-
| product-types.{index} | One of: `unknown_product_type`, `instance`, `apple_silicon`, `elastic_metal`, `dedibox`, `block_storage`, `object_storage`, `managed_inference`, `generative_apis`, `load_balancer`, `secret_manager`, `key_manager`, `managed_redis_database`, `kubernetes`, `managed_relational_database`, `managed_mongodb`, `serverless_functions` | The list of filtered product categories. |
31+
| product-types.{index} | One of: `unknown_product_type`, `instance`, `apple_silicon`, `elastic_metal`, `dedibox`, `block_storage`, `object_storage`, `managed_inference`, `generative_apis`, `load_balancer`, `secret_manager`, `key_manager`, `managed_redis_database`, `kubernetes`, `managed_relational_database`, `managed_mongodb` | The list of filtered product categories. |
3232
| global | | Filter global products. |
3333
| region | | Filter products by region. |
3434
| zone | | Filter products by zone. |

docs/commands/s2s-vpn.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,6 @@ scw s2s-vpn connection create [arg=value ...]
6767
| esp-ciphers.{index}.integrity | One of: `unknown_integrity`, `sha256`, `sha384`, `sha512` | |
6868
| esp-ciphers.{index}.dh-group | One of: `unknown_dhgroup`, `modp2048`, `modp3072`, `modp4096`, `ecp256`, `ecp384`, `ecp521`, `curve25519` | |
6969
| enable-route-propagation | | Defines whether route propagation is enabled or not. |
70-
| secret.id | | |
71-
| secret.revision | | |
7270
| vpn-gateway-id | Required | ID of the VPN gateway to attach to the connection |
7371
| customer-gateway-id | Required | ID of the customer gateway to attach to the connection |
7472
| bgp-config-ipv4.routing-policy-id | | |

internal/namespaces/interlink/v1beta1/interlink_cli.go

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -129,13 +129,6 @@ func interlinkPartnerList() *core.Command {
129129
Deprecated: false,
130130
Positional: false,
131131
},
132-
{
133-
Name: "l3-connectivity",
134-
Short: `Filter for partners supporting L3 connectivity`,
135-
Required: false,
136-
Deprecated: false,
137-
Positional: false,
138-
},
139132
core.RegionArgSpec(
140133
scw.RegionFrPar,
141134
scw.RegionItMil,
@@ -243,7 +236,7 @@ func interlinkPopList() *core.Command {
243236
},
244237
{
245238
Name: "link-bandwidth-mbps",
246-
Short: `Filter for PoPs with a connection allowing this bandwidth size. Note that we cannot guarantee that PoPs returned will have available capacity.`,
239+
Short: `Filter for PoPs with a shared connection allowing this bandwidth size. Note that we cannot guarantee that PoPs returned will have available capacity.`,
247240
Required: false,
248241
Deprecated: false,
249242
Positional: false,
@@ -255,13 +248,6 @@ func interlinkPopList() *core.Command {
255248
Deprecated: false,
256249
Positional: false,
257250
},
258-
{
259-
Name: "l3-connectivity-partners",
260-
Short: `Filter for PoPs with a shared connection available from a partner supporting L3 connectivity`,
261-
Required: false,
262-
Deprecated: false,
263-
Positional: false,
264-
},
265251
core.RegionArgSpec(
266252
scw.RegionFrPar,
267253
scw.RegionItMil,
@@ -471,8 +457,6 @@ func interlinkLinkList() *core.Command {
471457
EnumValues: []string{
472458
"hosted",
473459
"self_hosted",
474-
"l2_hosted",
475-
"l3_hosted",
476460
},
477461
},
478462
{

0 commit comments

Comments
 (0)