Skip to content

feat: lan ipv4 cidr block support - #709

Merged
avirtopeanu-ionos merged 1 commit into
masterfrom
feat/lan-ipv4-cidr
Nov 5, 2026
Merged

avirtopeanu-ionos merged 1 commit into
masterfrom
feat/lan-ipv4-cidr

Conversation

@avirtopeanu-ionos

Copy link
Copy Markdown
Contributor

Adds support for updating the IPv4 CIDR Block on LANs

@avirtopeanu-ionos
avirtopeanu-ionos requested review from a team, adeatcu-ionos, cavramoniu-ionos, cristiGuranIonos and rmocanu-ionos and a balanced review from Copilot and removed request for a team November 4, 2026 12:26
@sonarqubecloud

sonarqubecloud Bot commented Nov 4, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The PR relies on POST/PATCH support for ipv4CidrBlock despite the vendored SDK marking it read-only, requiring confirmation from the current API contract or successful live integration results.

No open issues 🎉

What changed in this PR

Adds private LAN IPv4 CIDR configuration to the compute CLI, allowing users to choose a range during creation and change it later.

Changes:

  • Adds --ipv4-cidr to LAN create and update commands.
  • Displays IPv4CidrBlock by default in LAN output.
  • Adds unit and integration coverage, command documentation, and changelog entries.
File Description
test/​suites/​compute/​networking.bats Adds CIDR display, create/update, and invalid-input checks.
services/​cloudapi-v6/​constants.go Defines the IPv4 CIDR flag name.
docs/​subcommands/​Compute Engine/​lan/​update.md Documents CIDR updates and an example.
docs/​subcommands/​Compute Engine/​lan/​list.md Documents IPv4 CIDR output.
docs/​subcommands/​Compute Engine/​lan/​get.md Documents IPv4 CIDR details.
docs/​subcommands/​Compute Engine/​lan/​delete.md Updates the available output columns.
docs/​subcommands/​Compute Engine/​lan/​create.md Documents CIDR selection and automatic assignment.
commands/​compute/​lan/​update.go Registers the update flag and adds help text.
commands/​compute/​lan/​run_lan.go Passes IPv4 CIDR values into API requests.
commands/​compute/​lan/​list.go Updates list help to describe IPv4 CIDR output.
commands/​compute/​lan/​lan.go Adds the default IPv4 CIDR column.
commands/​compute/​lan/​lan_test.go Tests CIDR rendering and request properties.
commands/​compute/​lan/​get.go Updates get help to describe IPv4 CIDR details.
commands/​compute/​lan/​create.go Registers the create flag and adds help text.
CHANGELOG.md Records the new flag and output column.

Review effort: Balanced

@avirtopeanu-ionos
avirtopeanu-ionos merged commit 88f3221 into master Nov 5, 2026
13 checks passed
@avirtopeanu-ionos
avirtopeanu-ionos deleted the feat/lan-ipv4-cidr branch November 5, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants