Skip to content
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

how would one define a underlay route that will do hair-pinning ? #405

Open
mgheorghe opened this issue Jul 20, 2023 · 0 comments
Open

how would one define a underlay route that will do hair-pinning ? #405

mgheorghe opened this issue Jul 20, 2023 · 0 comments

Comments

@mgheorghe
Copy link
Collaborator

mgheorghe commented Jul 20, 2023

lets take the scenario with a DPU with 8 ports 8x25G, or 8x50G or 8x100G fanout or anything with more than 1 port.

if SAI_ROUTE_ENTRY_ATTR_NEXT_HOP_ID is SAI_NULL_OBJECT_ID we hairpin if it is defined we respect it ?

    {
        "name": "default_route",
        "op": "create",
        "type": "SAI_OBJECT_TYPE_ROUTE_ENTRY",
        "key": {
            "switch_id": "$SWITCH_ID",
            "vr_id": "$VR_ID",
            "destination": "0.0.0.0/0"
        },
        "attributes": [
            "SAI_ROUTE_ENTRY_ATTR_NEXT_HOP_ID",
            "SAI_NULL_OBJECT_ID"
        ]
    }

if we specify port 3, 7 ... we respect the route

@chrispsommers chrispsommers changed the title how would one define a underlay route that will do hair-pining ? how would one define a underlay route that will do hair-pinning ? Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant