Skip to content

Add support for allowing user to specify a delay between Notification and FIN for BGP Notification action.#460

Merged
apratimmukherjee merged 7 commits intomasterfrom
bgp_notf_fin_delay
Mar 17, 2026
Merged

Add support for allowing user to specify a delay between Notification and FIN for BGP Notification action.#460
apratimmukherjee merged 7 commits intomasterfrom
bgp_notf_fin_delay

Conversation

@apratimmukherjee
Copy link
Contributor

@apratimmukherjee apratimmukherjee commented Feb 19, 2026

Feature Overview

  • Related Issue: Fixes #461
  • Brief Description:
    When Notifications and FIN are transmitted by an implementation very close to each other , some implementations can process the FIN early, resulting in information related to the Notification not being processed. This extra control allows the user to request for a delay between the two , which ensures the the device under test processes the Notification before the FIN arrives, closing the socket.

Feature Details


Code snippets

Please provide a concise, well-commented code snippet demonstrating how to use the new feature in snappi/gosnappi:
The snippet should we within

....
ceaseAction := gosnappi.NewControlAction()
ceaseAction.Protocol().Bgp().Notification().
               SetNames([]string{"BGP4.peer"}).
               Custom().SetCode(6).SetSubcode(6).
               SetFinDelay(1000) // wait for one second before tearing down connection.


Test Specification (Optional)

  • Example test scenario:
    • Configuration details: Test Port - DUT
      • Create and bring up BGP session
      • Send trigger Notification with delay to ensure DUT receives the Notification before processing the FIN.
      • Retrieve Notification cause from DUT via telemetry

@apratimmukherjee apratimmukherjee changed the title Add support for allowing user to specify a delay between Notification and FIN or Notification trigger. Add support for allowing user to specify a delay between Notification and FIN for BGP Notification action. Feb 19, 2026
@apratimmukherjee apratimmukherjee merged commit 5ebe934 into master Mar 17, 2026
@apratimmukherjee apratimmukherjee deleted the bgp_notf_fin_delay branch March 17, 2026 06:17
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.

Add support for allowing user to specify a delay between Notification and FIN for BGP Notification action

3 participants