Skip to content

Handle routes using link local nexthop#156

Open
yue-fred-gao wants to merge 4 commits intosonic-net:mainfrom
yue-fred-gao:link_local_address
Open

Handle routes using link local nexthop#156
yue-fred-gao wants to merge 4 commits intosonic-net:mainfrom
yue-fred-gao:link_local_address

Conversation

@yue-fred-gao
Copy link
Copy Markdown
Contributor

why

When we add a route, the current code doesn't provide interface to vl_api_ip_route_add_del but only provides nexthop address. It works with if the nexthop address is unique. However, in link-local case, the nexthop address is not unique and only valid with the egress interface. vpp fails to find the correct nexthop and interface.

what this PR does

SAI provides SAI_NEXT_HOP_ATTR_ROUTER_INTERFACE_ID. We can get the egress interface from this attribute and provide it to vpp in the vl_api_ip_route_add_del. This removes the ambiguity in the link-local case.

 - ipv6 link local addess is enabled by default in SONIC
 - Remove manifest.json, which is generated from build
 - correct indentation in SaiVppXlate.c
@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines could not run because the pipeline triggers exclude this branch/path.

@mssonicbld
Copy link
Copy Markdown

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

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

Successfully merging this pull request may close these issues.

2 participants