-
Notifications
You must be signed in to change notification settings - Fork 93
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
Clarification on Service Tunnel Inbound Processing #428
Comments
@prsunny you might be the best to answer these. |
pinged @prsunny re: this after Community Call 8/30/2023 |
Inbound should create 2 flow entries, 1 IPv4 and 1 IPv6 PrivateLinkTransforms - created 433 SONiC DASH HLD - created 434 |
Close the PRs, create Issues instead |
yes, in the ST case, the outbound packet will evaluates the DASH policies and eventually create 2 flows:
Detailed transformation can be found in the doc that KrisNey-MSFT shared above. |
@r12f , @prsunny , and @kperumalbfn - for the other questions in this Issue, do I need to create separate Issues? Or can we use this one? We were going to answer these and update the documentation... In Section 3.6.2 "Service Tunnel": Question: Question: Question: |
Hi Kristina, it doesn't matter I guess, let's continue to use this issue : D. And Hi Bud @budgrise , for the questions:
|
Closing in favor of PR449 per Community Call |
The HLD describes service tunnel inbound processing:
https://github.com/sonic-net/DASH/blob/main/documentation/general/dash-sonic-hld.md
I have a few questions on the requirements.
In Section 2.3 "Service Tunnel (ST) and Private Link (PL) packet processing pipelines":
The text says: "ST/PL Inbound flow: Using the outbound unified flow, the reverse transposition (inbound unified flow) is created."
It was not clear to me what this is stating. Is it:
A) The outbound packet makes its way to the remote VM, and then the packet returned from the VM has its innermost SIP/DIP swapped.
B) Or, during processing of the outbound packet, the appliance creates a flow table entry for the reverse flow. And since the incoming outbound packet's innermost header is IPv4, and the incoming inbound packet's innermost header is IPv6, outbound processing creates two flow table entries?
In Section 3.6.2 "Service Tunnel":
e.g. the header stack looks like:
ETH IPV4 NVGRE ETH IPV4 NVGRE ETH IPV6 TCP
2a) h.4 says "Appliance shall first decapsulate the outer header and map it to a flow."
Does this mean decapsulate the first outer header or both the outer and middle headers?
2b) The flow table keys include IP addresses and L4 ports. What header fields from this stack are used for the flow table lookup?
The text was updated successfully, but these errors were encountered: