Skip to content

Commit cf299df

Browse files
committed
Update interlink docs and usage goldens.
1 parent 9485d1e commit cf299df

5 files changed

Lines changed: 11 additions & 31 deletions

File tree

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

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

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)