-
Notifications
You must be signed in to change notification settings - Fork 668
Add new policy type for decapsulation and new leaf for configuring global policy #1288
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
base: master
Are you sure you want to change the base?
Conversation
I'd like to add more details on the motivation for this addition: Current OpenConfig policy-forwarding decapsulation configuration paths for UDP/GUE do not map well to implementations. OC policies can only be attached to interfaces, but multiple vendor hardware implementations only support:
These constraints could be accommodated implicitly in OC models today. One can know these constraints out of band and generate a policy that meets all these un-modeled constraints. While this small addition does not directly attempt to model all these constraints in detail, it makes the decap to network-instance relationship explicit. This should be "good enough" for a user to observe the constraints in the configuration and provides the hint to a NOS that the decap constraints should be applied to this policy. |
/gcbrun |
No major YANG version changes in commit 64246ae |
Copy/pasting the comments from OC community meeting:
|
In the case of two policies, the global should be processed first. If a match is found the actions should be performed and the second policy should not be processed.
|
release/models/policy-forwarding/openconfig-pf-forwarding-policies.yang
Outdated
Show resolved
Hide resolved
…obal policy Co-authored-by: Darren Loher <[email protected]>
/gcbrun |
Questions:
(reviewed in 2025-06-03 OpenConfig operators group.) |
Change Scope
DECAP_POLICY
for decapsulation.These are new enhancements being proposed to policy forwarding to allow implementations configure and apply decapsulation policies.
Tree View
Flatten View