Add DSCP leaf to GRE encapsulation config#1510
Conversation
There was a problem hiding this comment.
Code Review
This pull request updates the openconfig-aft-common.yang submodule to version 3.5.0 and adds a dscp leaf to the GRE encapsulation configuration. The review feedback points out a version mismatch issue, noting that the parent module openconfig-aft.yang must also be updated to version 3.5.0 to prevent compilation and linter failures. Additionally, a technical correction was suggested for the dscp leaf description to clarify that the DSCP value applies to the outer IP header of the GRE-encapsulated packet rather than the GRE header itself.
384c74e to
4095e59
Compare
|
OC operator review June 30: @dongping-zhu please take care of the review comments from gemini |
Hi @navaneethyv, thanks for checking, the review comments from Gemini have been addressed in the amended commit 4095e59. |
|
Can you clarify the expected semantics of the dscp state leaf in the following cases?
In these cases, should state/dscp be absent, report a configured value only, or is an additional encap behavior/config leaf needed to distinguish explicit DSCP marking from copy-from-inner behavior? For example, Junos supports copying the inner ToS bits to the outer GRE header |
|
Jul 7th OC operator review : supporting implementation section doesn't have vendor B, could you please add another vendor implementation [ should be atleast 2] so that this can move forward? |
Hi @nsr-gh, thanks for the comments. Adding clarification here for the following scenarios:
From a long-term standardization perspective, adding a separate configuration leaf would be the best way to cleanly support copy-from-inner behavior. |
Change Scope
Platform Implementations
Tree View
module: openconfig-network-instance +--rw static | +--rw next-hops | +--rw next-hop* [index] | +--rw index -> ../config/index | +--rw encap-headers | +--rw encap-header* [index] | +--rw index -> ../config/index | +--rw gre | | +--rw config | | | +--rw src-ip? oc-inet:ip-address | | | +--rw dst-ip? oc-inet:ip-address | | | +--rw ttl? uint8 + | | | +--rw dscp? oc-inet:dscp | | +--ro state | | +--ro src-ip? oc-inet:ip-address | | +--ro dst-ip? oc-inet:ip-address | | +--ro ttl? uint8 + | | +--ro dscp? oc-inet:dscp | +--rw mpls +--rw afts | +--ro next-hops | +--ro next-hop* [index] | +--ro index -> ../state/index | +--ro gre | | +--ro state | | +--ro src-ip? oc-inet:ip-address | | +--ro dst-ip? oc-inet:ip-address | | +--ro ttl? uint8 + | | +--ro dscp? oc-inet:dscp | +--ro encap-headers | | +--ro encap-header* [index] | | +--ro index -> ../state/index | | +--ro state | | | +--ro index? uint8 | | | +--ro type? oc-aftt:encapsulation-header-type | | +--ro gre | | | +--ro state | | | +--ro src-ip? oc-inet:ip-address | | | +--ro dst-ip? oc-inet:ip-address | | | +--ro ttl? uint8 + | | | +--ro dscp? oc-inet:dscp +--rw protocols