Extend BGP Confederation schema with member-ASN ranges and loose-path-validation.#1482
Open
rszarecki wants to merge 5 commits into
Open
Extend BGP Confederation schema with member-ASN ranges and loose-path-validation.#1482rszarecki wants to merge 5 commits into
rszarecki wants to merge 5 commits into
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the OpenConfig BGP models to version 9.10.0, introducing schema support for BGP Confederation member-ASN ranges and loose-path-validation. The changes include a new grouping for ASN ranges and a configuration leaf for path validation behavior. Feedback suggests adding a 'must' constraint to ensure ASN ranges are valid and provides corrections for typos in the documentation strings.
|
No major YANG version changes in commit e1acc8a |
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
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.
Change Scope
Extend BGP Confederation member-ASN ranges and loose-path-validation.
In large BGP Confederated network it is impractical to explicitly list in configuration all potentially 100's of member-AS. It is also not required for implementaion to be aware of all member-ASN. Implementation only need to know member-ASN it has configured confederation external BGP session.
Platform Implementations
AS_PATH validation:
member-as-rangeThis is a new feature.
Tree View
module: openconfig-network-instance +--rw network-instances +--rw network-instance* [name] +--rw protocols +--rw protocol* [identifier name] +--rw bgp +--rw global +--rw confederation +--rw config | +--rw identifier? oc-inet:as-number | +--rw member-as* oc-inet:as-number + | +--rw loose-path-validation? boolean +--ro state | +--ro identifier? oc-inet:as-number | +--ro member-as* oc-inet:as-number + | +--ro loose-path-validation? boolean + +--rw member-as-ranges + +--rw member-as-range* [first-asn last-asn] + +--rw first-asn -> ../config/first-asn + +--rw last-asn -> ../config/last-asn + +--rw config + | +--rw first-asn? oc-inet:as-number + | +--rw last-asn? oc-inet:as-number + +--ro state + +--ro first-asn? oc-inet:as-number + +--ro last-asn? oc-inet:as-number