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-1.28: Fixed script with added deviations #3567

Merged
merged 20 commits into from
Dec 27, 2024

Conversation

snaragund
Copy link
Contributor

@snaragund snaragund commented Nov 7, 2024

  • Added new deviation EnableTableConnections & other required deviation.
  • Used bgp_community_member_is_a_string: true with reference to https://partnerissuetracker.corp.google.com/issues/376799780#comment2
  • Match-Community-Set under bgp-conditions configuration moved to policy-defitions as its configuration is deprecated under bgp-defined-sets.
  • Under nonMatchingCommunityRoutePolicy(both v4 & v6) changed gnmi.Replace to gnmi.Update to avoid precondition error of failing to delete AllowAll route-policy.

"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."

- Added new deviation EnableTableConnections & other required deviation.
- Used `bgp_community_member_is_a_string: true` with ref to https://partnerissuetracker.corp.google.com/issues/376799780#comment2
- Match-Community-Set under bgp-conditions configuration moved under policy-defitions as its configuration is deprecated under bgp-defined-sets.
- Under nonMatchingCommunityRoutePolicy(both v4 & v6) changed gnmi.Replace to gnmi.Update to avoid precondition error of failing to delete AllowAll route-policy.

"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."
"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."
… EnableTableConnections.

"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."
@snaragund snaragund requested review from dplore and a team as code owners November 7, 2024 17:45
@OpenConfigBot
Copy link

OpenConfigBot commented Nov 7, 2024

Pull Request Functional Test Report for #3567 / cf9a628

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
RT-1.28: BGP to IS-IS redistribution
Cisco 8000E status
RT-1.28: BGP to IS-IS redistribution
Cisco XRd status
RT-1.28: BGP to IS-IS redistribution
Juniper ncPTX status
RT-1.28: BGP to IS-IS redistribution
Nokia SR Linux status
RT-1.28: BGP to IS-IS redistribution
Openconfig Lemming status
RT-1.28: BGP to IS-IS redistribution

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
RT-1.28: BGP to IS-IS redistribution
Cisco 8808 status
RT-1.28: BGP to IS-IS redistribution
Juniper PTX10008 status
RT-1.28: BGP to IS-IS redistribution
Nokia 7250 IXR-10e status
RT-1.28: BGP to IS-IS redistribution

Help

@coveralls
Copy link

coveralls commented Nov 7, 2024

Pull Request Test Coverage Report for Build 12494086254

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 12487396638: 0.0%
Covered Lines: 1983
Relevant Lines: 3588

💛 - Coveralls

@dplore
Copy link
Member

dplore commented Nov 7, 2024

/fptest virtual

@dplore dplore self-assigned this Nov 7, 2024
@dplore
Copy link
Member

dplore commented Nov 8, 2024

/fptest virtual

@dplore
Copy link
Member

dplore commented Nov 8, 2024

Note, there is another PR in progress for this same test which is being reviewed by @Swetha-haridasula

#3359

We should allow the earlier submitted PR to be reviewed an merged, then you can base you edits on the result.

@dplore
Copy link
Member

dplore commented Nov 8, 2024

/fptest nokia-7250

@dplore dplore added P0 Priority 0 P1 Priority 1 and removed P0 Priority 0 labels Nov 19, 2024
@dplore
Copy link
Member

dplore commented Nov 19, 2024

/fptest virtual

@snaragund
Copy link
Contributor Author

After #3359 is resolved will commit changes & share logs.

"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 removed the request for review from yunjie-lu December 4, 2024 20:44
@dplore
Copy link
Member

dplore commented Dec 4, 2024

/fptest physical

@dplore
Copy link
Member

dplore commented Dec 5, 2024

@snaragund this is missing the InterfaceEnabled deviation which srlinux requires.

I see the deviation is enabled in the metadata.textproto for this test, but there is no code in the isis sessions package to use it. You'll need to update that to get this test to pass.

Ref:

DUTISISAttrs.ConfigOCInterface(s.DUTConf.GetOrCreateInterface(s.DUTPort1.Name()), s.DUT)

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.

Please add InterfaceEnabled as required for srlinux where necessary (I think it's just in the isissessions package)

internal/fptest/tableconnection.go Show resolved Hide resolved
@snaragund
Copy link
Contributor Author

snaragund commented Dec 9, 2024

@dplore please do check logs when ConfigOCInterface called in attrs package & then in isissession package. It has respective bgp_isis_redistribution_test.go, isissession.go, attrs.go files to refer. In both ways tests are passing.

https://partnerissuetracker.corp.google.com/issues/382020665#comment3

@dplore
Copy link
Member

dplore commented Dec 13, 2024

/fptest virtual

@dplore
Copy link
Member

dplore commented Dec 14, 2024

@dplore please do check logs when ConfigOCInterface called in attrs package & then in isissession package. It has respective bgp_isis_redistribution_test.go, isissession.go, attrs.go files to refer. In both ways tests are passing.

https://partnerissuetracker.corp.google.com/issues/382020665#comment3

Got it. It turned out I was running the wrong code. Also I have run into a bug in OTG in our environment which is now fixed. I now have the test passing in my environment and will complete the review on Monday next week.

@dplore
Copy link
Member

dplore commented Dec 18, 2024

/fptest virtual

dplore
dplore previously approved these changes Dec 19, 2024
@dplore dplore requested a review from a team December 19, 2024 23:06
@dplore
Copy link
Member

dplore commented Dec 20, 2024

@openconfig/featureprofiles-approvers this is ready for final review/approval

dplore
dplore previously approved these changes Dec 20, 2024
self-maurya
self-maurya previously approved these changes Dec 23, 2024
@snaragund snaragund dismissed stale reviews from self-maurya and dplore via 3fc5125 December 23, 2024 13:27
"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
Copy link
Member

dplore commented Dec 26, 2024

@self-maurya for final approval

@self-maurya self-maurya merged commit 3a3d098 into openconfig:main Dec 27, 2024
14 checks passed
ampattan pushed a commit to nokia/featureprofiles that referenced this pull request Jan 17, 2025
* RT-1.28: Fixed script with additional deviations
- Added new deviation EnableTableConnections & other required deviation.
- Used `bgp_community_member_is_a_string: true` with ref to https://partnerissuetracker.corp.google.com/issues/376799780#comment2
- Match-Community-Set under bgp-conditions configuration moved under policy-defitions as its configuration is deprecated under bgp-defined-sets.
- Under nonMatchingCommunityRoutePolicy(both v4 & v6) changed gnmi.Replace to gnmi.Update to avoid precondition error of failing to delete AllowAll route-policy.

"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."

* -Removed comment

"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."

* -Adding changes to deviations.go, metadata.proto & metadata.pb.go for EnableTableConnections.

"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."

* -Resolving conflicts

"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."

* Revert "-Resolving conflicts"

This reverts commit f41b14a.

* -Defined & calling  `ConfigEnableTbNative` function from fptest.

"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."

* -updated deviation comment

"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."

* Fixed tableconnection with comment

* -Removing extra space in deviations.go

"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."

---------

Co-authored-by: trathod <[email protected]>
Co-authored-by: Tushar Rathod <[email protected]>
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.

6 participants