Skip to content

[nvidia-bluefield] Add ability to update aging interval#25869

Open
vivekrnv wants to merge 2 commits intosonic-net:masterfrom
vivekrnv:cli_aging_interval
Open

[nvidia-bluefield] Add ability to update aging interval#25869
vivekrnv wants to merge 2 commits intosonic-net:masterfrom
vivekrnv:cli_aging_interval

Conversation

@vivekrnv
Copy link
Contributor

@vivekrnv vivekrnv commented Mar 4, 2026

Why I did it

Default Connection aging interval of 1 sec is too small to be used in testing for consistent results.

Thus provide a way for user to make it customizable.

Please note that, a config-reload or reboot must be run for the changes to take effect

Work item tracking
  • Microsoft ADO (number only):

How I did it

Update the nasa-cli-helper.py to take new commands

How to verify it

root@sonic:/home/admin# nasa-cli-helper.py --help
usage: nasa-cli-helper.py [-h] [-f]
                          {get_packet_debug_mode,get_sai_debug_mode,get_aging_interval,set_aging_interval} [value]

NASA CLI Helper for NVIDIA BlueField

positional arguments:
  {get_packet_debug_mode,get_sai_debug_mode,get_aging_interval,set_aging_interval}
                        Command to execute
  value                 Aging interval in seconds (for set_aging_interval; default 1)

options:
  -h, --help            show this help message and exit
  -f, --filename        Show filename instead of status (for get_* commands)
root@sonic:/home/admin# nasa-cli-helper.py get_aging_interval
5
root@sonic:/home/admin# nasa-cli-helper.py set_aging_interval 25
CT_AGING_IN_SECONDS has been set to 25.
Please run config reload or reboot for the change to take effect.
root@sonic:/home/admin# nasa-cli-helper.py get_aging_interval
25

Which release branch to backport (provide reason below if selected)

  • 202305
  • 202311
  • 202405
  • 202411
  • 202505
  • 202511

Tested branch (Please provide the tested image version)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

@vivekrnv vivekrnv requested a review from lguohan as a code owner March 4, 2026 02:54
@mssonicbld
Copy link
Collaborator

/azp run Azure.sonic-buildimage

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants