Skip to content

[asymmetric pfc]: Implement CLI utility for asymmetric PFC#229

Merged
sihuihan88 merged 2 commits intosonic-net:masterfrom
volodymyrsamotiy:master
Aug 27, 2018
Merged

[asymmetric pfc]: Implement CLI utility for asymmetric PFC#229
sihuihan88 merged 2 commits intosonic-net:masterfrom
volodymyrsamotiy:master

Conversation

@volodymyrsamotiy
Copy link
Collaborator

@volodymyrsamotiy volodymyrsamotiy commented Apr 2, 2018

Signed-off-by: Volodymyr Samotiy [email protected]

- What I did
Implemented CLI utility for asymmetric PFC
- How I did it
Implemented python utility and added aliases to "config" and "show" CLI nodes.

Config command syntax:

# config interface pfc asymmetric <on|off> <interface_name>

Show command syntax and output example:

# show interfaces pfc status

   Interface    Asymmetric
------------  ------------
  Ethernet0             on
  Ethernet4            off
  ...

- How to verify it
Check CLI commands according to: https://github.com/Azure/SONiC/wiki/Asymmetric-PFC-High-Level-Design#23-cli

@sihuihan88
Copy link
Contributor

Can you add the cli output in the description as well?

@volodymyrsamotiy
Copy link
Collaborator Author

Added CLI commands info to the description.

@volodymyrsamotiy
Copy link
Collaborator Author

@sihuihan88
Description was updated, could you please merge if no more comments?

@sihuihan88 sihuihan88 merged commit 04a62dd into sonic-net:master Aug 27, 2018
stepanblyschak pushed a commit to stepanblyschak/sonic-utilities that referenced this pull request Apr 18, 2022
6f198d0 (HEAD -> 202012, origin/202012) [Y-Cable][Broadcom] upgrade to support Broadcom Y-Cable API to release (sonic-net#230)
1c3e422 SSD Health: Retrieve SSD health and temperature values from generic SSD info (sonic-net#229)

Signed-off-by: vaibhav-dahiya <[email protected]>
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
…SD info (sonic-net#229)

The problem:
    The current SSD health API uses a SSD vendor specific utility to retrieve
    values for overall SSD health and internal SSD temperature. These utilities
    are typically made available only in binary form and are not always
    available for all platform architectures (amd64, arm64, armhf, etc.)
    Vendor licensing agreements can prevent the inclusion of utility source
    code in the Sonic build.

The solution presented here is to retrieve SSD health and temperature values
from the generic SSD info retrieved via the open-source smartmontools utility
(smartctl). These values can be overwritten with values retrieved using a
vendor specific utility when available. smartmontools is already included in
the Sonic source tree and is being built for all platform architectures.
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.

3 participants