Skip to content

RT-1.1: Enabling TCP FIN-Delay for Cease notification#5290

Open
trathod1 wants to merge 3 commits intoopenconfig:mainfrom
nokia:RT1dot1
Open

RT-1.1: Enabling TCP FIN-Delay for Cease notification#5290
trathod1 wants to merge 3 commits intoopenconfig:mainfrom
nokia:RT1dot1

Conversation

@trathod1
Copy link
Copy Markdown
Contributor

@trathod1 trathod1 commented Apr 2, 2026

OTG fix to add FIN delay is made available in ixia-c version V1.51.0 - issues/46

Following changes are done -

  1. Updating script to use "SetFinDelay()" function. Delay is set to 500ms as suggested under issues/46 to support KNE also.
  2. Updating go.mod/go.sum to update gosnappi package version to use v1.51.0

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

OTG fix to add FIN delay is made available in ixia-c version V1.51.0.

Following changes are done -
  1. Updating script to use "SetFinDelay()" function.
  2. Updating go.mod/go.sum to update gosnappi package version to use v1.51.0

"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."
@trathod1 trathod1 requested review from a team as code owners April 2, 2026 00:16
@gemini-code-assist
Copy link
Copy Markdown
Contributor

Summary of Changes

Hello, I'm Gemini Code Assist1! 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 introduces a necessary delay in TCP FIN packets during BGP cease notifications to ensure stability in specific network emulation environments. Additionally, it performs a routine update of project dependencies to maintain compatibility and leverage the latest features and fixes provided by the updated packages.

Highlights

  • TCP FIN-Delay Implementation: Updated the BGP cease action configuration to include a 500ms FIN delay, improving compatibility with KNE environments.
  • Dependency Updates: Upgraded the gosnappi package to version v1.51.0 and updated various Go modules to their latest versions.
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 👍 and 👎 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.

Footnotes

  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.

@OpenConfigBot
Copy link
Copy Markdown

OpenConfigBot commented Apr 2, 2026

Pull Request Functional Test Report for #5290 / b286caf

Virtual Devices

Device Test Test Documentation Job Raw Log
Arista cEOS status
RT-1.1: Base BGP Session Parameters
Cisco 8000E status
RT-1.1: Base BGP Session Parameters
Cisco XRd status
RT-1.1: Base BGP Session Parameters
Juniper ncPTX status
RT-1.1: Base BGP Session Parameters
Nokia SR Linux status
RT-1.1: Base BGP Session Parameters
Openconfig Lemming status
RT-1.1: Base BGP Session Parameters

Hardware Devices

Device Test Test Documentation Raw Log
Arista 7808 status
RT-1.1: Base BGP Session Parameters
Cisco 8808 status
RT-1.1: Base BGP Session Parameters
Juniper PTX10008 status
RT-1.1: Base BGP Session Parameters
Nokia 7250 IXR-10e status
RT-1.1: Base BGP Session Parameters

Help

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the gosnappi dependency to version 1.51.0 and introduces a SetFinDelay configuration in the BGP cease action for OTG tests. Feedback was provided regarding the inclusion of unrelated toolchain and dependency updates in go.mod, which should be reverted to maintain a clean PR scope. Additionally, the magic number 500 used for the FIN delay should be replaced with a named constant or documented with a comment according to repository rules.

module github.com/openconfig/featureprofiles

go 1.24.7
go 1.25.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The Go version is being updated to 1.25.0, and numerous other dependencies (e.g., otel, grpc, crypto, oauth2) are being updated alongside gosnappi. These changes are not mentioned in the PR description and appear unrelated to the primary objective of enabling TCP FIN-Delay. Bundling unrelated dependency and toolchain updates increases the risk of regressions and can break compatibility for other contributors or CI environments. It is recommended to revert these unrelated changes and only update the gosnappi version as intended.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants