Skip to content

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

Closed
vivekrnv wants to merge 1 commit intomasterfrom
cli_aging_interval
Closed

[nvidia-bluefield] Add ability to update aging interval#151
vivekrnv wants to merge 1 commit intomasterfrom
cli_aging_interval

Conversation

@vivekrnv
Copy link
Owner

@vivekrnv vivekrnv commented Feb 25, 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)

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
@vivekrnv vivekrnv closed this Mar 4, 2026
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.

2 participants