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

RT-7.11: BGP Policy - Import/Export Policy Action Using Multiple Criteria changes incorporated #3574

Merged
merged 14 commits into from
Jan 10, 2025

Conversation

ampattan
Copy link
Contributor

Updated metadata.textproto

  • vender check included for NOKIA
  • Added deviations.

Updated import_export_multi_test.go

  • Added community-set-refs configuration for add_comm 60/70.
  • Delete routePolicy policy applied to neighbour before configurating multipolicy.
  • Added deviation for prefixset_Mode.
  • Policy result changed to ACCEPT from NEXT-STATEMENT for policy match_community_regex statements.

The policy "match_community_regex" contains a single, non-nested statement with a policy result "NEXT-STATEMENT," which is non-terminating. Therefore, the policy result has been updated to "ACCEPT_ROUTE," a definitive action.

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."

…eria

Updated metadata.textproto
 -vender check included for NOKIA
 -Added deviations.

Updated import_export_multi_test.go
 - Added community-set-refs configuration for add_comm 60/70.
 - Delete routePolicy policy applied to neighbour before configurating multipolicy.
 - Added deviation for prefixset_Mode.
 - Policy result changed to ACCEPT from NEXT-STATEMENT for policy match_community_regex statements.

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."
The policy "match_community_regex" contains a single, non-nested statement with a policy result "NEXT-STATEMENT," which is non-terminating. Therefore, the policy result has been updated to "ACCEPT_ROUTE," a definitive action.

"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."
@ampattan ampattan requested a review from dplore as a code owner November 11, 2024 18:35
ampattan and others added 3 commits November 12, 2024 14:46
"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."
@ampattan ampattan requested a review from rohit-rp as a code owner November 12, 2024 18:21
@dplore dplore assigned dplore and unassigned nsadhasivam Nov 15, 2024
@coveralls
Copy link

coveralls commented Nov 15, 2024

Pull Request Test Coverage Report for Build 12696305394

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 55.268%

Totals Coverage Status
Change from base Build 12681294086: 0.0%
Covered Lines: 1983
Relevant Lines: 3588

💛 - Coveralls

@dplore dplore added the P1 Priority 1 label Nov 19, 2024
@dplore
Copy link
Member

dplore commented Nov 19, 2024

/fptest virtual

@dplore
Copy link
Member

dplore commented Nov 21, 2024

/fptest virtual

@dplore
Copy link
Member

dplore commented Nov 22, 2024

Also, I see this fail on srlinux container. Here are the logs: https://gist.github.com/dplore/a225ebad5d96c00ea5adb9b9b885305f

On the next submission, please ensure at least that this passes on your platform.

@dplore dplore removed the request for review from rohit-rp November 22, 2024 01:23
"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."
@ampattan
Copy link
Contributor Author

ampattan commented Dec 2, 2024

HW log with these changes are available at - b/381853612

@dplore
Copy link
Member

dplore commented Dec 13, 2024

/fptest virtual

@dplore
Copy link
Member

dplore commented Dec 17, 2024

/fptest virtual

Copy link
Member

@dplore dplore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one suggestion left to use an await call instead of sleep for the traffic check.

@ampattan ampattan requested a review from a team as a code owner January 8, 2025 11:50
"This code is a Contribution to the OpenConfig Feature Profiles project ("Work") made under the Google Software Grant and Corporate Contributor License Agreement ("CLA") and governed by the Apache License 2.0. No other rights or licenses in or to any of Nokia's intellectual property are granted for any other purpose. This code is provided on an "as is" basis without any warranties of any kind."
@dplore dplore merged commit ba3bed8 into openconfig:main Jan 10, 2025
13 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
nokia-pr P1 Priority 1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants