Command line utilities for the SONiC project
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add GitHub pull request and issue templates (#163) Dec 7, 2017
acl_loader [acl_loader]: Prevent crash in the event ac ACL entry has no 'MATCH' … Jan 28, 2019
clear [intfstat] add intfstat script to output RIF counters (#439) Feb 18, 2019
config Move warm_restart enable/disable config to stateDB WARM_RESTART_ENABL… ( Feb 14, 2019
connect Connect line implementation (and show line output change) (#295) Aug 9, 2018
consutil [config]: Add mirror session add/remove configuration option (#302) Aug 19, 2018
counterpoll [intfstat] add intfstat script to output RIF counters (#439) Feb 18, 2019
crm [crm]: Fix failures in CLI show commands (#221) Mar 29, 2018
data/etc/bash_completion.d [asymmetric pfc]: Implement CLI utility for asymmetric PFC (#229) Aug 27, 2018
debug Enhancement of 'show' commands and addition of 'debug', and 'undebug'… ( Oct 2, 2017
pfc [asymmetric pfc]: Implement CLI utility for asymmetric PFC (#229) Aug 27, 2018
pfcwd
psuutil Fix sfputil/psuutil issues due to dependencies on minigraph (#253) May 16, 2018
scripts
sfputil add logic to avoid access none present SFP (#353) Oct 22, 2018
show
sonic-utilities-tests [intfstat] add intfstat script to output RIF counters (#439) Feb 18, 2019
sonic_installer [sonic_installer] Improve error handling (#460) Feb 20, 2019
undebug Enhancement of 'show' commands and addition of 'debug', and 'undebug'… ( Oct 2, 2017
utilities_common [intfstat] add intfstat script to output RIF counters (#439) Feb 18, 2019
.gitignore [scripts]: Update sonic-cfggen path to /usr/local/bin (#24) Mar 29, 2017
MANIFEST.in Add MANIFEST.in so that stdeb includes data files in package (#13) Mar 2, 2017
README.md Refix: Validate acl.json after parsing, add unit test (#322) Sep 19, 2018
ThirdPartyLicenses.txt Remove extra trailing newlines at EOF (#82) Jul 14, 2017
pytest.ini
setup.py [intfstat] add intfstat script to output RIF counters (#439) Feb 18, 2019
stdeb.cfg [sonic_cli]: Fix bash completion for 'show' command (#12) Mar 1, 2017

README.md

SONiC: Software for Open Networking in the Cloud

sonic-utilities

Command-line utilities for SONiC

How to run unit test

python2 -m py.test -v

Contribution guide

All contributors must sign a contribution license agreement (CLA) before contributions can be accepted. This process is now automated via a GitHub bot when submitting new pull request. If the contributor has not yet signed a CLA, the bot will create a comment on the pull request containing a link to electronically sign the CLA.

GitHub Workflow

We're following basic GitHub Flow. If you have no idea what we're talking about, check out GitHub's official guide. Note that merge is only performed by the repository maintainer.

Guide for performing commits:

  • Isolate each commit to one component/bugfix/issue/feature
  • Use a standard commit message format:
[component/folder touched]: Description intent of your changes

[List of changes]

Signed-off-by: Your Name your@email.com

For example:

swss-common: Stabilize the ConsumerTable

* Fixing autoreconf
* Fixing unit-tests by adding checkers and initialize the DB before start
* Adding the ability to select from multiple channels
* Health-Monitor - The idea of the patch is that if something went wrong with the notification channel, 
  we will have the option to know about it (Query the LLEN table length).
  
  Signed-off-by: John Doe user@dev.null
  • Each developer should fork this repository and add the team as a Contributor
  • Push your changes to your private fork and do "pull-request" to this repository
  • Use a pull request to do code review
  • Use issues to keep track of what is going on