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

System_banner Cisco deviation #3853

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

fmolinar
Copy link
Contributor

Creating deviation : banner_empty_delimiter_unsupported for the empty string banner.
applying deviation: banner_delimiter since Cisco currently requires a delimiter on the banners.

@fmolinar fmolinar requested review from a team as code owners February 27, 2025 03:36
Copy link

Important

The terms of service for this installation has not been accepted. Please ask the Organization owners to visit the Gemini Code Assist Admin Console to sign it.

@OpenConfigBot
Copy link

Pull Request Functional Test Report for #3853 / b5c2717

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
System-1.1: System banner test
Cisco 8000E status
System-1.1: System banner test
Cisco XRd status
System-1.1: System banner test
Juniper ncPTX status
System-1.1: System banner test
Nokia SR Linux status
System-1.1: System banner test
Openconfig Lemming status
System-1.1: System banner test

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
System-1.1: System banner test
Cisco 8808 status
System-1.1: System banner test
Juniper PTX10008 status
System-1.1: System banner test
Nokia 7250 IXR-10e status
System-1.1: System banner test

Help

@ram-mac ram-mac self-requested a review February 27, 2025 07:16
@ram-mac ram-mac self-assigned this Feb 27, 2025
@coveralls
Copy link

Pull Request Test Coverage Report for Build 13558375764

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 8 (0.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.01%) to 18.194%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/deviations/deviations.go 0 3 0.0%
proto/metadata_go_proto/metadata.pb.go 0 5 0.0%
Totals Coverage Status
Change from base Build 13557151326: -0.01%
Covered Lines: 2479
Relevant Lines: 13625

💛 - Coveralls

Copy link
Contributor

@ram-mac ram-mac left a comment

Choose a reason for hiding this comment

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

The changes looks good and i have validated the changes in the Google environment and passing

Please resolve the conflicts and re-post it for review

@ram-mac ram-mac requested a review from ihebboubaker February 27, 2025 09:47
if testCase.banner == "" {
if v, ok := gnmi.LookupConfig(t, dut, config.Config()).Val(); ok && v != "" {
t.Errorf("MOTD Banner not empty")
if testCase.banner == deviations.BannerDelimiter(dut)+""+deviations.BannerDelimiter(dut) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We need to ensure that empty strings are still supported. This current deviation prevents that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've open a bug for this, I'm working with the dev team to fix this issue.

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.

5 participants