You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Signed-off-by: Nazarii Hnydyn <[email protected]>
<!--
Please make sure you've read and understood our contributing guidelines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md
failure_prs.log skip_prs.log Make sure all your commits include a signature generated with `git commit -s` **
If this is a bug fix, make sure your description includes "closes #xxxx",
"fixes #xxxx" or "resolves #xxxx" so that GitHub automatically closes the related
issue when the PR is merged.
If you are adding/modifying/removing any command or utility script, please also
make sure to add/modify/remove any unit tests from the tests
directory as appropriate.
If you are modifying or removing an existing 'show', 'config' or 'sonic-clear'
subcommand, or you are adding a new subcommand, please make sure you also
update the Command Line Reference Guide (doc/Command-Reference.md) to reflect
your changes.
Please provide the following information:
-->
**HLD:** sonic-net/SONiC#1988
#### What I did
* Implemented CLI for Packet Trimming Asymmetric DSCP feature
#### How I did it
* Integrated Packet Trimming Asymmetric DSCP interface into `config` and `show` CLI root
#### How to verify it
1. Run Packet Trimming CLI UTs
#### Previous command output (if the output of a command-line utility has changed)
```
admin@sonic:/home/admin# show switch-trimming global
+-----------------------------+---------+
| Configuration | Value |
+=============================+=========+
| Packet trimming size | 256 |
+-----------------------------+---------+
| Packet trimming DSCP value | 25 |
+-----------------------------+---------+
| Packet trimming queue index | 5 |
+-----------------------------+---------+
```
#### New command output (if the output of a command-line utility has changed)
```
admin@sonic:/home/admin# show switch-trimming global
+-----------------------------+---------+
| Configuration | Value |
+=============================+=========+
| Packet trimming size | 256 |
+-----------------------------+---------+
| Packet trimming DSCP value | from-tc |
+-----------------------------+---------+
| Packet trimming TC value | 10 |
+-----------------------------+---------+
| Packet trimming queue index | 5 |
+-----------------------------+---------+
```
#### A picture of a cute animal (not mandatory but encouraged)
```
.---. .-----------
/ \ __ / ------
/ / \( )/ -----
////// ' \/ ` ---
//// / // : : ---
// / / /` '--
// //..\\
====UU====UU====
'//||\\`
''``
```
0 commit comments