diff --git a/cmd/scw/testdata/test-all-usage-fip-ip-attach-usage.golden b/cmd/scw/testdata/test-all-usage-fip-ip-attach-usage.golden index aa525b18c..4b27dcbad 100644 --- a/cmd/scw/testdata/test-all-usage-fip-ip-attach-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-ip-attach-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: fips-ids.{index} List of flexible IP IDs to attach to a server server-id ID of the server on which to attach the flexible IPs - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for attach diff --git a/cmd/scw/testdata/test-all-usage-fip-ip-create-usage.golden b/cmd/scw/testdata/test-all-usage-fip-ip-create-usage.golden index bef0abb4e..b7370ad54 100644 --- a/cmd/scw/testdata/test-all-usage-fip-ip-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-ip-create-usage.golden @@ -12,7 +12,7 @@ ARGS: [server-id] ID of the server to which the newly created flexible IP will be attached. [reverse] Value of the reverse DNS [is-ipv6] Defines whether the flexible IP has an IPv6 address. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-fip-ip-delete-usage.golden b/cmd/scw/testdata/test-all-usage-fip-ip-delete-usage.golden index b25043195..f9e6e33f9 100644 --- a/cmd/scw/testdata/test-all-usage-fip-ip-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-ip-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: fip-id ID of the flexible IP to delete - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-fip-ip-detach-usage.golden b/cmd/scw/testdata/test-all-usage-fip-ip-detach-usage.golden index 5d335fbf3..0f5139901 100644 --- a/cmd/scw/testdata/test-all-usage-fip-ip-detach-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-ip-detach-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: fips-ids.{index} List of flexible IP IDs to detach from a server. Multiple IDs can be provided. Note that flexible IPs must belong to the same MAC group. - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for detach diff --git a/cmd/scw/testdata/test-all-usage-fip-ip-get-usage.golden b/cmd/scw/testdata/test-all-usage-fip-ip-get-usage.golden index 76f147aab..b22056d27 100644 --- a/cmd/scw/testdata/test-all-usage-fip-ip-get-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-ip-get-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: fip-id ID of the flexible IP - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for get diff --git a/cmd/scw/testdata/test-all-usage-fip-ip-list-usage.golden b/cmd/scw/testdata/test-all-usage-fip-ip-list-usage.golden index 27b9f8dce..20bc5a918 100644 --- a/cmd/scw/testdata/test-all-usage-fip-ip-list-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-ip-list-usage.golden @@ -12,7 +12,7 @@ ARGS: [server-ids.{index}] Filter by server IDs, only flexible IPs with these server IDs will be returned [project-id] Filter by Project ID, only flexible IPs from this Project will be returned [organization-id] Filter by Organization ID, only flexible IPs from this Organization will be returned - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | all) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3 | all) FLAGS: -h, --help help for list diff --git a/cmd/scw/testdata/test-all-usage-fip-ip-update-usage.golden b/cmd/scw/testdata/test-all-usage-fip-ip-update-usage.golden index 8363e157f..ee4edeb95 100644 --- a/cmd/scw/testdata/test-all-usage-fip-ip-update-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-ip-update-usage.golden @@ -10,7 +10,7 @@ ARGS: [description] Flexible IP description (max. 255 characters) [tags.{index}] Tags associated with the flexible IP [reverse] Value of the reverse DNS - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for update diff --git a/cmd/scw/testdata/test-all-usage-fip-mac-create-usage.golden b/cmd/scw/testdata/test-all-usage-fip-mac-create-usage.golden index a832dfcaa..0674354b4 100644 --- a/cmd/scw/testdata/test-all-usage-fip-mac-create-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-mac-create-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: fip-id ID of the flexible IP for which to generate a virtual MAC mac-type TODO (unknown_type | vmware | xen | kvm) - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for create diff --git a/cmd/scw/testdata/test-all-usage-fip-mac-delete-usage.golden b/cmd/scw/testdata/test-all-usage-fip-mac-delete-usage.golden index 15c9f78e5..f4e83e13d 100644 --- a/cmd/scw/testdata/test-all-usage-fip-mac-delete-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-mac-delete-usage.golden @@ -7,7 +7,7 @@ USAGE: ARGS: fip-id ID of the flexible IP from which to delete the virtual MAC - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for delete diff --git a/cmd/scw/testdata/test-all-usage-fip-mac-duplicate-usage.golden b/cmd/scw/testdata/test-all-usage-fip-mac-duplicate-usage.golden index cb4bed34f..4d1eb3b3c 100644 --- a/cmd/scw/testdata/test-all-usage-fip-mac-duplicate-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-mac-duplicate-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: fip-id ID of the flexible IP on which to duplicate the virtual MAC duplicate-from-fip-id ID of the flexible IP to duplicate the Virtual MAC from - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for duplicate diff --git a/cmd/scw/testdata/test-all-usage-fip-mac-move-usage.golden b/cmd/scw/testdata/test-all-usage-fip-mac-move-usage.golden index d8b56af95..5658a135f 100644 --- a/cmd/scw/testdata/test-all-usage-fip-mac-move-usage.golden +++ b/cmd/scw/testdata/test-all-usage-fip-mac-move-usage.golden @@ -8,7 +8,7 @@ USAGE: ARGS: fip-id [dst-fip-id] - [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1) + [zone=fr-par-1] Zone to target. If none is passed will use default zone from the config (fr-par-1 | fr-par-2 | nl-ams-1 | nl-ams-2 | pl-waw-2 | pl-waw-3) FLAGS: -h, --help help for move diff --git a/docs/commands/fip.md b/docs/commands/fip.md index 49bb6baff..d8f08db3b 100644 --- a/docs/commands/fip.md +++ b/docs/commands/fip.md @@ -40,7 +40,7 @@ scw fip ip attach [arg=value ...] |------|---|-------------| | fips-ids.{index} | Required | List of flexible IP IDs to attach to a server | | server-id | Required | ID of the server on which to attach the flexible IPs | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -65,7 +65,7 @@ scw fip ip create [arg=value ...] | server-id | | ID of the server to which the newly created flexible IP will be attached. | | reverse | | Value of the reverse DNS | | is-ipv6 | | Defines whether the flexible IP has an IPv6 address. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -85,7 +85,7 @@ scw fip ip delete [arg=value ...] | Name | | Description | |------|---|-------------| | fip-id | Required | ID of the flexible IP to delete | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -105,7 +105,7 @@ scw fip ip detach [arg=value ...] | Name | | Description | |------|---|-------------| | fips-ids.{index} | Required | List of flexible IP IDs to detach from a server. Multiple IDs can be provided. Note that flexible IPs must belong to the same MAC group. | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -125,7 +125,7 @@ scw fip ip get [arg=value ...] | Name | | Description | |------|---|-------------| | fip-id | Required | ID of the flexible IP | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -150,7 +150,7 @@ scw fip ip list [arg=value ...] | server-ids.{index} | | Filter by server IDs, only flexible IPs with these server IDs will be returned | | project-id | | Filter by Project ID, only flexible IPs from this Project will be returned | | organization-id | | Filter by Organization ID, only flexible IPs from this Organization will be returned | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `all` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3`, `all` | Zone to target. If none is passed will use default zone from the config | @@ -173,7 +173,7 @@ scw fip ip update [arg=value ...] | description | | Flexible IP description (max. 255 characters) | | tags.{index} | | Tags associated with the flexible IP | | reverse | | Value of the reverse DNS | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -199,7 +199,7 @@ scw fip mac create [arg=value ...] |------|---|-------------| | fip-id | Required | ID of the flexible IP for which to generate a virtual MAC | | mac-type | Required
One of: `unknown_type`, `vmware`, `xen`, `kvm` | TODO | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -219,7 +219,7 @@ scw fip mac delete [arg=value ...] | Name | | Description | |------|---|-------------| | fip-id | Required | ID of the flexible IP from which to delete the virtual MAC | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -240,7 +240,7 @@ scw fip mac duplicate [arg=value ...] |------|---|-------------| | fip-id | Required | ID of the flexible IP on which to duplicate the virtual MAC | | duplicate-from-fip-id | Required | ID of the flexible IP to duplicate the Virtual MAC from | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | @@ -261,7 +261,7 @@ scw fip mac move [arg=value ...] |------|---|-------------| | fip-id | Required | | | dst-fip-id | | | -| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1` | Zone to target. If none is passed will use default zone from the config | +| zone | Default: `fr-par-1`
One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `pl-waw-2`, `pl-waw-3` | Zone to target. If none is passed will use default zone from the config | diff --git a/go.mod b/go.mod index 0091fcb1a..50c59ddc4 100644 --- a/go.mod +++ b/go.mod @@ -26,7 +26,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/moby/buildkit v0.13.2 github.com/opencontainers/go-digest v1.0.0 - github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241023141424-2a6e7206bfc4 + github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241025112925-105ce0f288e4 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/spf13/cobra v1.8.1 github.com/spf13/pflag v1.0.5 diff --git a/go.sum b/go.sum index 5a9f29ea1..5a3c7c73f 100644 --- a/go.sum +++ b/go.sum @@ -465,8 +465,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI= github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241023141424-2a6e7206bfc4 h1:okyDIIJ9HiRGLNhONgQqWIdT/Aw5VyedIJWqjj+OR0Y= -github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241023141424-2a6e7206bfc4/go.mod h1:3jrRJM7638J+P33hKy9MBvfOBxNo8pEGNQQoIv65Ihg= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241025112925-105ce0f288e4 h1:2pEfSGb8zVgPgS1sQHMeJX+TaMMMkeldFjqR/J7ZZyI= +github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241025112925-105ce0f288e4/go.mod h1:3jrRJM7638J+P33hKy9MBvfOBxNo8pEGNQQoIv65Ihg= github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8= github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM= github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA= diff --git a/internal/namespaces/flexibleip/v1alpha1/flexibleip_cli.go b/internal/namespaces/flexibleip/v1alpha1/flexibleip_cli.go index 1eb1ad361..cdfce410b 100644 --- a/internal/namespaces/flexibleip/v1alpha1/flexibleip_cli.go +++ b/internal/namespaces/flexibleip/v1alpha1/flexibleip_cli.go @@ -108,7 +108,7 @@ func fipIPCreate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.CreateFlexibleIPRequest) @@ -138,7 +138,7 @@ func fipIPGet() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.GetFlexibleIPRequest) @@ -205,7 +205,7 @@ func fipIPList() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.Zone(core.AllLocalities)), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3, scw.Zone(core.AllLocalities)), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.ListFlexibleIPsRequest) @@ -300,7 +300,7 @@ func fipIPUpdate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.UpdateFlexibleIPRequest) @@ -330,7 +330,7 @@ func fipIPDelete() *core.Command { Deprecated: false, Positional: true, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.DeleteFlexibleIPRequest) @@ -373,7 +373,7 @@ func fipIPAttach() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.AttachFlexibleIPRequest) @@ -403,7 +403,7 @@ func fipIPDetach() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.DetachFlexibleIPRequest) @@ -441,7 +441,7 @@ func fipMacCreate() *core.Command { Positional: false, EnumValues: []string{"unknown_type", "vmware", "xen", "kvm"}, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.GenerateMACAddrRequest) @@ -478,7 +478,7 @@ func fipMacDuplicate() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.DuplicateMACAddrRequest) @@ -513,7 +513,7 @@ func fipMacMove() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.MoveMACAddrRequest) @@ -543,7 +543,7 @@ func fipMacDelete() *core.Command { Deprecated: false, Positional: false, }, - core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1), + core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZonePlWaw2, scw.ZonePlWaw3), }, Run: func(ctx context.Context, args interface{}) (i interface{}, e error) { request := args.(*flexibleip.DeleteMACAddrRequest)