Skip to content

Commit e86d0eb

Browse files
scaleway-botyfodil
andauthored
feat(lb): release private lb feature (#3377)
Co-authored-by: Yacine Fodil <[email protected]>
1 parent 41675c1 commit e86d0eb

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

cmd/scw/testdata/test-all-usage-lb-private-network-attach-usage.golden

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ USAGE:
66
scw lb private-network attach <lb-id ...> [arg=value ...]
77

88
ARGS:
9-
lb-id Load Balancer ID
10-
private-network-id Private Network ID
11-
[dhcp-config.ip-id]
12-
[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 | nl-ams-3 | pl-waw-1 | pl-waw-2)
9+
lb-id Load Balancer ID
10+
private-network-id Private Network ID
11+
[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 | nl-ams-3 | pl-waw-1 | pl-waw-2)
1312

1413
DEPRECATED ARGS:
1514
[static-config.ip-address.{index}] Array of a local IP address for the Load Balancer on this Private Network
15+
[dhcp-config.ip-id]
1616

1717
FLAGS:
1818
-h, --help help for attach

docs/commands/lb.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1124,7 +1124,7 @@ scw lb private-network attach <lb-id ...> [arg=value ...]
11241124
| lb-id | Required | Load Balancer ID |
11251125
| private-network-id | Required | Private Network ID |
11261126
| ~~static-config.ip-address.{index}~~ | Deprecated | Array of a local IP address for the Load Balancer on this Private Network |
1127-
| dhcp-config.ip-id | | |
1127+
| ~~dhcp-config.ip-id~~ | Deprecated | |
11281128
| zone | Default: `fr-par-1`<br />One of: `fr-par-1`, `fr-par-2`, `nl-ams-1`, `nl-ams-2`, `nl-ams-3`, `pl-waw-1`, `pl-waw-2` | Zone to target. If none is passed will use default zone from the config |
11291129

11301130

internal/namespaces/lb/v1/lb_cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3260,7 +3260,7 @@ func lbPrivateNetworkAttach() *core.Command {
32603260
{
32613261
Name: "dhcp-config.ip-id",
32623262
Required: false,
3263-
Deprecated: false,
3263+
Deprecated: true,
32643264
Positional: false,
32653265
},
32663266
core.ZoneArgSpec(scw.ZoneFrPar1, scw.ZoneFrPar2, scw.ZoneNlAms1, scw.ZoneNlAms2, scw.ZoneNlAms3, scw.ZonePlWaw1, scw.ZonePlWaw2),

0 commit comments

Comments
 (0)