featureprofiles icon indicating copy to clipboard operation
featureprofiles copied to clipboard

TRANSCEIVER-101,102 fix as per README

Open snaragund opened this issue 5 months ago • 3 comments

  1. Added 800zr testbed in runtests.go
  2. Removed unwanted Nokia deviation eth_channel_ingress_parameters_unsupported.
  3. As per README changed functions under zr_validation.go
    • Configured oper-mode, frequency & targetOpticalPower with admin-state Up.
    • Removed redundant interface admin-state bouncing.
  4. Passed proper parameter with validateTempSensorTelemetry function call.

"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 avatar Oct 31 '25 16:10 snaragund

Pull Request Functional Test Report for #4771 / 16b4155a9a0866b571736f513ea24a006eaffd21

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.
Cisco 8000E status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.
Cisco XRd status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.
Juniper ncPTX status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.
Nokia SR Linux status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.
Openconfig Lemming status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.
Cisco 8808 status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.
Juniper PTX10008 status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.
Nokia 7250 IXR-10e status
status
TRANSCEIVER-101: Telemetry: ZR platform OC paths streaming.
TRANSCEIVER-102: Telemetry: ZR terminal-device OC paths streaming.

Help

OpenConfigBot avatar Oct 31 '25 16:10 OpenConfigBot

Summary of Changes

Hello @snaragund, I'm Gemini Code Assist[^1]! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request enhances the transceiver testing framework by adding support for the 800ZR testbed, removing an unnecessary Nokia deviation, and refining the configuration and validation processes within the ZR validation logic. These changes improve the accuracy and reliability of transceiver testing.

Highlights

  • Testbed Addition: Added 800zr testbed support in runtests.go.
  • Deviation Removal: Removed the eth_channel_ingress_parameters_unsupported Nokia deviation from metadata files.
  • Configuration Updates: Modified zr_validation.go to configure oper-mode, frequency, and targetOpticalPower with admin-state Up, and removed redundant interface admin-state bouncing.
  • Parameter Correction: Corrected the parameter passed with the validateTempSensorTelemetry function call.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with :thumbsup: and :thumbsdown: on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

[^1]: Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

gemini-code-assist[bot] avatar Oct 31 '25 16:10 gemini-code-assist[bot]

Pull Request Test Coverage Report for Build 18978157371

Details

  • 0 of 4 (0.0%) changed or added relevant lines in 1 file are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.01%) to 11.094%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/telemetry/transceiver/zr_validation.go 0 4 0.0%
<!-- Total: 0 4
Files with Coverage Reduction New Missed Lines %
internal/telemetry/transceiver/zr_validation.go 2 0.0%
<!-- Total: 2
Totals Coverage Status
Change from base Build 18964170800: 0.01%
Covered Lines: 2224
Relevant Lines: 20046

💛 - Coveralls

coveralls avatar Oct 31 '25 16:10 coveralls