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

noHostRouteIpv6LinkLocalNeighborTest testcase in saineighbor.py needs to modified as per SAI standard #2132

Open
kandancs opened this issue Jan 23, 2025 · 0 comments

Comments

@kandancs
Copy link

Hi All,

As per SAI PTF (noHostRouteIpv6LinkLocalNeighborTest in saineighbor.py) testcase expectation, host route should not created for link local IPv6 address irrespective of SAI_NEIGHBOR_ENTRY_ATTR_NO_HOST_ROUTE attribute value but SAI Header mention otherwise as below

/**
 * @brief Neighbor not to be programmed as a host route entry in ASIC and
 * to be only used to setup next-hop purpose.
 *
 * Typical use-case is to set this true for neighbor with IPv6 link-local
 * addresses.
 *
 * @type bool
 * @flags CREATE_AND_SET
 * @default false
 */
SAI_NEIGHBOR_ENTRY_ATTR_NO_HOST_ROUTE,

please refer below SAI Header link: https://github.com/opencomputeproject/SAI/blob/master/inc/saineighbor.h#L83

SAI PTF testcase link: https://github.com/opencomputeproject/SAI/blob/master/ptf/saineighbor.py#L66

it looks like SAI PTF testcase not adhere to SAI Header/standard

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