Skip to content

Commit c041d7f

Browse files
scaleway-botLaure-diremyleone
authored
feat(vpc/v2): add apple silicon pnic to rtype of routes with nexthop (#4509)
Co-authored-by: Laure-di <[email protected]> Co-authored-by: Rémy Léone <[email protected]>
1 parent b248b68 commit c041d7f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

cmd/scw/testdata/test-all-usage-vpc-route-list-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARGS:
1010
[vpc-id] VPC to filter for. Only routes within this VPC will be returned
1111
[nexthop-resource-id] Next hop resource ID to filter for. Only routes with a matching next hop resource ID will be returned
1212
[nexthop-private-network-id] Next hop private network ID to filter for. Only routes with a matching next hop private network ID will be returned
13-
[nexthop-resource-type] Next hop resource type to filter for. Only Routes with a matching next hop resource type will be returned (unknown_type | vpc_gateway_network | instance_private_nic | baremetal_private_nic)
13+
[nexthop-resource-type] Next hop resource type to filter for. Only Routes with a matching next hop resource type will be returned (unknown_type | vpc_gateway_network | instance_private_nic | baremetal_private_nic | apple_silicon_private_nic)
1414
[contains] Only routes whose destination is contained in this subnet will be returned
1515
[tags.{index}] Tags to filter for, only routes with one or more matching tags will be returned
1616
[is-ipv6] Only routes with an IPv6 destination will be returned

docs/commands/vpc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ scw vpc route list [arg=value ...]
276276
| vpc-id | | VPC to filter for. Only routes within this VPC will be returned |
277277
| nexthop-resource-id | | Next hop resource ID to filter for. Only routes with a matching next hop resource ID will be returned |
278278
| nexthop-private-network-id | | Next hop private network ID to filter for. Only routes with a matching next hop private network ID will be returned |
279-
| nexthop-resource-type | One of: `unknown_type`, `vpc_gateway_network`, `instance_private_nic`, `baremetal_private_nic` | Next hop resource type to filter for. Only Routes with a matching next hop resource type will be returned |
279+
| nexthop-resource-type | One of: `unknown_type`, `vpc_gateway_network`, `instance_private_nic`, `baremetal_private_nic`, `apple_silicon_private_nic` | Next hop resource type to filter for. Only Routes with a matching next hop resource type will be returned |
280280
| contains | | Only routes whose destination is contained in this subnet will be returned |
281281
| tags.{index} | | Tags to filter for, only routes with one or more matching tags will be returned |
282282
| is-ipv6 | | Only routes with an IPv6 destination will be returned |

internal/namespaces/vpc/v2/vpc_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -893,7 +893,7 @@ func vpcRouteList() *core.Command {
893893
Required: false,
894894
Deprecated: false,
895895
Positional: false,
896-
EnumValues: []string{"unknown_type", "vpc_gateway_network", "instance_private_nic", "baremetal_private_nic"},
896+
EnumValues: []string{"unknown_type", "vpc_gateway_network", "instance_private_nic", "baremetal_private_nic", "apple_silicon_private_nic"},
897897
},
898898
{
899899
Name: "contains",

0 commit comments

Comments
 (0)