-
Notifications
You must be signed in to change notification settings - Fork 697
Add initial prefix filter #1441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
ElodinLaarz
wants to merge
19
commits into
master
Choose a base branch
from
afts-filter
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 6 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
682b613
add initial prefix filter
ElodinLaarz 28cdc50
version bump afts modules
ElodinLaarz ddcbed0
add config false to aft-summary
ElodinLaarz 8076a1f
fix config false in aft-summary
ElodinLaarz c062b67
replace generic AFT global filter policy with separate IPv4 and IPv6 …
ElodinLaarz 32c30d5
add example routing policy behavior to description
ElodinLaarz 048692e
re-order to trigger CI
ElodinLaarz 1a16087
change descriptions
ElodinLaarz 816165a
submodule to augment
ElodinLaarz eb1de08
update to run CI
ElodinLaarz b40839e
update to run CI (revert)
ElodinLaarz 421a30e
modify to CI
ElodinLaarz 866b273
modify to CI
ElodinLaarz 2574203
modify to CI
ElodinLaarz f52c191
modify to CI
ElodinLaarz c1ba943
modify to CI
ElodinLaarz eb1a6c8
modify to CI
ElodinLaarz 772774c
Merge branch 'master' into afts-filter
ElodinLaarz e4534cb
update language installed -> streamed
ElodinLaarz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,89 @@ | ||
| submodule openconfig-aft-global-filter { | ||
| belongs-to "openconfig-aft" { | ||
| prefix "oc-aft"; | ||
| } | ||
|
|
||
| import openconfig-extensions { prefix "oc-ext"; } | ||
| import openconfig-routing-policy { prefix "oc-rpol"; } | ||
|
|
||
| organization | ||
| "OpenConfig working group"; | ||
|
|
||
| contact | ||
| "OpenConfig working group | ||
| www.openconfig.net"; | ||
|
|
||
| description | ||
| "Submodule containing definitions of groupings for the global | ||
| filter configuration applicable to abstract forwarding tables."; | ||
|
|
||
| oc-ext:openconfig-version "3.3.0"; | ||
|
|
||
| revision "2026-03-10" { | ||
| description | ||
| "Add global-filter container to support per-network-instance and per | ||
| AFT filtering, with routing policy split by address family."; | ||
| reference "3.3.0"; | ||
| } | ||
|
|
||
| grouping aft-global-filter-config { | ||
| description | ||
| "Configuration parameters for the AFT global filter."; | ||
|
|
||
| leaf ipv4-policy { | ||
| type leafref { | ||
| path "/oc-rpol:routing-policy/oc-rpol:policy-definitions" + | ||
| "/oc-rpol:policy-definition/oc-rpol:config/oc-rpol:name"; | ||
| } | ||
| description | ||
| "Reference to a routing policy that is used to filter the | ||
| IPv4 prefixes that are installed into the AFT. Only prefixes | ||
| that are accepted by the referenced policy are installed. | ||
ElodinLaarz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| The policy may, for example, use an explicit prefix set to | ||
| match prefixes, or match prefixes that are more specific than | ||
| a given prefix."; | ||
| } | ||
|
|
||
| leaf ipv6-policy { | ||
| type leafref { | ||
| path "/oc-rpol:routing-policy/oc-rpol:policy-definitions" + | ||
| "/oc-rpol:policy-definition/oc-rpol:config/oc-rpol:name"; | ||
| } | ||
| description | ||
| "Reference to a routing policy that is used to filter the | ||
| IPv6 prefixes that are installed into the AFT. Only prefixes | ||
| that are accepted by the referenced policy are installed. | ||
ElodinLaarz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| The policy may, for example, use an explicit prefix set to | ||
| match prefixes, or match prefixes that are more specific than | ||
| a given prefix."; | ||
| } | ||
| } | ||
|
|
||
| grouping aft-global-filter-structural { | ||
| description | ||
| "Structural grouping defining the schema for the global filter | ||
| applied to the abstract forwarding tables."; | ||
|
|
||
| container global-filter { | ||
| description | ||
| "Configuration and state for a global filter applied to the | ||
| AFT. The filter is used to restrict which prefixes are | ||
| installed into the AFT for the network instance."; | ||
ElodinLaarz marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
|
||
| container config { | ||
| description | ||
| "Configuration parameters for the AFT global filter."; | ||
|
|
||
| uses aft-global-filter-config; | ||
| } | ||
|
|
||
| container state { | ||
| config false; | ||
| description | ||
| "Operational state parameters for the AFT global filter."; | ||
|
|
||
| uses aft-global-filter-config; | ||
| } | ||
| } | ||
| } | ||
| } | ||
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
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
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.