fix: IPv4 /31 gateway index in 3-tier literal is wrong - #200
fix: IPv4 /31 gateway index in 3-tier literal is wrong#200andrewwhitecdw wants to merge 1 commit into
Conversation
Greptile SummaryThe PR corrects Spectrum-X IPv4
Confidence Score: 5/5The PR appears safe to merge. The implementation and all affected test expectations now consistently use gateway index 1, so the previously reported test contradiction no longer remains. Important Files Changed
Reviews (2): Last reviewed commit: "fix: IPv4 /31 gateway index in 3-tier li..." | Re-trigger Greptile |
Signed-off-by: andrewwhitecdw <andrewwhitecdw@users.noreply.github.com>
30e48a2 to
dc7a211
Compare
|
@greptile-apps Thanks for the review. I updated the IPv4 |
|
The fix is complete and consistent — |
This PR addresses the following issue in
pkg/networkoperatorplugin/spectrumx/addressing_test.go: IPv4 /31 gateway index in 3-tier literal is wrong.Changes
pkg/networkoperatorplugin/spectrumx/addressing_test.go: IPv4 /31 gateway index in 3-tier literal is wrong.Details
Tests
Contributor guidelines
Per this repo's CONTRIBUTING.md:
Signed-off-bytrailer, DCO).Update (post-Greptile review): The IPv4
poolSettingsimplementation has been updated to returnGatewayIndex: 1, and the remaining IPv4BuildCIDRPoolstest expectations (including the sibling AIR 3-tier case) have been updated to match. The Spectrum-X addressing test suite now passes (go test ./pkg/networkoperatorplugin/spectrumx/...). Commit:dc7a21164f13ea11af9a54cd75ac579433a5448c.