Skip to content

docs(examples): update web examples to match current API - #719

Open
maiqueb wants to merge 1 commit into
openperouter:mainfrom
maiqueb:worktree-fix-web-examples-new-api
Open

docs(examples): update web examples to match current API#719
maiqueb wants to merge 1 commit into
openperouter:mainfrom
maiqueb:worktree-fix-web-examples-new-api

Conversation

@maiqueb

@maiqueb maiqueb commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Is this a BUG FIX or a FEATURE ?:

Uncomment only one, leave it on its own line:

/kind bug

/kind cleanup

/kind feature
/kind design
/kind flake
/kind failing
/kind documentation
/kind regression
/kind example

What this PR does / why we need it:

  • Fix API group from openpe.openperouter.github.io to network.openperouter.io
  • Rename L2VNI hostmaster to hostMaster with correct type capitalization
  • Replace autoCreate with lifecycle: Managed for bridge configuration
  • Rename l2gatewayips to gatewayIPs
  • Rename vxlanport to vxlanPort
  • Rename hostsession to hostSession, hostasn to hostASN, localcidr to localCIDR
  • Update L2VNI VRF references to use routingDomain discriminated union
  • Update documentation to reflect RoutingDomain API changes

The tests in internal/webhooks/l2vni_webhook_test.go were already using the correct API, which is why the discrepancy wasn't caught - the tests weren't being compared against the web examples documentation.

Special notes for your reviewer:

Release note:

NONE

AI Guidelines Acknowledgment:

  • I have reviewed all changes in this PR, including any AI-generated content, and I take full responsibility for its accuracy and correctness.

- Fix API group from openpe.openperouter.github.io to network.openperouter.io
- Rename L2VNI hostmaster to hostMaster with correct type capitalization
- Replace autoCreate with lifecycle: Managed for bridge configuration
- Rename l2gatewayips to gatewayIPs
- Rename vxlanport to vxlanPort
- Rename hostsession to hostSession, hostasn to hostASN, localcidr to localCIDR
- Update L2VNI VRF references to use routingDomain discriminated union
- Update documentation to reflect RoutingDomain API changes

The tests in internal/webhooks/l2vni_webhook_test.go were already using the
correct API, which is why the discrepancy wasn't caught - the tests weren't
being compared against the web examples documentation.

Assisted-by: Claude Haiku 4.5 <noreply@anthropic.com>
Signed-off-by: Miguel Duarte Barroso <mdbarroso@redhat.com>
@coderabbitai

coderabbitai Bot commented Aug 27, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 26 minutes.

View limit details

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 45ad27b6-e763-4372-8729-cc70ac5d6f16

📥 Commits

Reviewing files that changed from the base of the PR and between 664b197 and ce59631.

📒 Files selected for processing (1)
  • website/content/docs/examples/evpnexamples/route-reflector.md

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant