sonic-utilities
sonic-utilities copied to clipboard
[config, show] Add CLI commands for Path Tracing Midpoint
What I did
Extended the SONiC CLI to configure Path Tracing Midpoint. HLD: https://github.com/sonic-net/SONiC/pull/1456
How I did it
- Extended the existing
config interfacecommand by introducing a new subcommandpath-tracingthat allows users to configure the Interface ID and Timestamp Template parameters required for the PT Midpoint functionality. - Extended the existing
show interfacescommand by introducing a new subcommandpath-tracingthat allows users to verify the current PT Midpoint configuration (i.e., the Interface ID and Timestamp Template).
How to verify it
Unit tests:
- tests/config_int_path_tracing_test.py
- tests/intfutil_test.py
@prsunny @kperumalbfn could you please help and review the code of this PR? This feature is tracked for 202311 release and documented by this HLD https://github.com/sonic-net/SONiC/pull/1456 @zhangyanzhao
@kperumalbfn Many thanks for the review. All comments have been addressed.
Hi @lguohan @qiluo-msft This PR has been reviewed and approved. It is ready for merge. Could you please merge the PR?
@kperumalbfn Could you please advice who should merge the code?
@cscarpitta , there are conflict, can you rebase?
@qiluo-msft can you please help to check and merge this code PR? Thanks.
@qiluo-msft @lguohan
The orchagent extension PR to support Path Tracing has been merged: https://github.com/sonic-net/sonic-swss/pull/2903
Can you please take a look and help merge this PR as well?
@qiluo-msft, @zhangyanzhao,
This PR has been pending merge for some time now. Could we merge this as part of 202411?
The HLD (Oct 2023) and Orchagent (May 24) has been merged. HLD: https://github.com/sonic-net/SONiC/pull/1456 Orchagent: https://github.com/sonic-net/sonic-swss/pull/2903