TPT-4708: Expose NodeBalancer backend IPv6 prefix - #745
Merged
lgarber-akamai merged 1 commit intoSep 30, 2026
Merged
lgarber-akamai merged 1 commit into
lgarber-akamai merged 1 commit into
Conversation
zliang-akamai
requested review from
lgarber-akamai and
psnoch-akamai
and
a lite review from Copilot
and removed request for
a team
September 28, 2026 18:10
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Create requests can still forward a caller-supplied read-only backend_ipv6_prefix.
Review effort: Lite
Findings: 1
Open (1)
What changed in this PR
Exposes the system-assigned, read-only backend_ipv6_prefix on NodeBalancer resources.
Changes:
- Adds the model property and populated/null fixture coverage.
- Adds unit and integration tests for retrieval and update omission.
- Create requests still require filtering or rejecting caller-supplied
backend_ipv6_prefix.
| File | Description |
|---|---|
test/unit/objects/nodebalancers_test.py |
Tests populated, null, and update behavior. |
test/unit/linode_client_test.py |
Tests create response handling and request exclusion. |
test/integration/models/nodebalancer/test_nodebalancer.py |
Validates the returned value type. |
test/fixtures/nodebalancers.json |
Adds populated and null values. |
test/fixtures/nodebalancers_123456.json |
Adds the populated prefix. |
test/fixtures/linode_instances_123_nodebalancers.json |
Adds the prefix to nested data. |
linode_api4/objects/nodebalancer.py |
Adds the read-only property. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
mawilk90
approved these changes
Sep 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

📝 Description
Expose the system-assigned
backend_ipv6_prefixreturned on NodeBalancer resources, so callers can use it when configuring inbound firewall rules for IPv6 backends. Cover populated and null values and confirm the read-only prefix is not sent in create or update requests.The
/backend_aclendpoint is not available yet and is intentionally excluded from this PR.✔️ How to Test
python -m pytest test/unit/objects/nodebalancers_test.py test/unit/linode_client_test.py -k 'backend_ipv6_prefix or test_get or test_type_and_backend_connectivity_not_in_put or test_create_with_ipv6_backend_connectivity'22 passed, 76 deselected. The added integration assertion was not run against the live API.