Skip to content

Add ipv6 support to bootz server.#358

Merged
gmacf merged 4 commits into
openconfig:mainfrom
chaskayamane:ipv6
Jul 16, 2026
Merged

Add ipv6 support to bootz server.#358
gmacf merged 4 commits into
openconfig:mainfrom
chaskayamane:ipv6

Conversation

@chaskayamane

Copy link
Copy Markdown
Contributor

The ipv6 format uses colons, :, in the address so splitting on colon to find port does not work for ipv6 addresses. By adding port as a separate config field, we can support ipv6 bootz server addresses.

The ipv6 format uses colons, `:`, in the address
so splitting on colon to find port does not work
for ipv6 addresses. By adding port as a seperate
config field, we can support ipv6 bootz server
addresses.

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request splits the server_address configuration field (previously formatted as "IP:port") into two distinct fields: server_address for the IP address and server_port for the port. This change is reflected in the configuration protobuf, server initialization logic, tests, and test configuration files. Additionally, several dependency versions in MODULE.bazel.lock were updated. Feedback on the changes suggests validating that server_port is not empty during server initialization to prevent binding to a random port.

Comment thread server/server.go
@gmacf gmacf assigned gmacf and Chounoki and unassigned gmacf and Chounoki Jul 15, 2026
@gmacf
gmacf requested review from Chounoki and gmacf July 15, 2026 23:43
The ipv6 format uses colons, `:`, in the address
so splitting on colon to find port does not work
for ipv6 addresses. By adding port as a separate
config field, we can support ipv6 bootz server
addresses.

@Chounoki Chounoki 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.

Please fix the errors.

@chaskayamane
chaskayamane requested a review from Chounoki July 16, 2026 04:30

@Chounoki Chounoki 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.

@chaskayamane

Copy link
Copy Markdown
Contributor Author

Thanks for catching that. test/bootz_config.textproto should also be updated now.

@chaskayamane
chaskayamane requested a review from Chounoki July 16, 2026 05:28
@gmacf
gmacf merged commit 5816829 into openconfig:main Jul 16, 2026
13 checks passed
@chaskayamane
chaskayamane deleted the ipv6 branch July 16, 2026 05:55
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