Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add show reboot-history #1154

Closed
wants to merge 82 commits into from
Closed

Commits on Oct 9, 2020

  1. initial commit

    sujinmkang committed Oct 9, 2020
    Configuration menu
    Copy the full SHA
    e5e19ab View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60085a7 View commit details
    Browse the repository at this point in the history
  3. [setup.py] Pin external runtime dependencies at known working versions (

    sonic-net#1151)
    
    To ensure a smooth transition once we stop installing the dependencies explicitly in the SONiC image.
    
    We can upgrade dependencies selectively in the future.
    
    Also had to replace single-quotes with double-quotes in expected Click error messages, as it seems the Click package installed via pip uses double quotes, whereas the package installed via Debian used single-quotes.
    jleveque authored Oct 9, 2020
    Configuration menu
    Copy the full SHA
    e1244a5 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2020

  1. Configuration menu
    Copy the full SHA
    c4b2b6c View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2020

  1. [README.md] Add instructions for setting up a build/test environment (s…

    …onic-net#1161)
    
    Add instructions for setting up an environment to build the sonic-utilities package and run unit tests
    
    Resolves sonic-net#1160
    jleveque authored Oct 11, 2020
    1 Configuration menu
    Copy the full SHA
    561d133 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2020

  1. [show] Add 'show' CLI for system-health feature (sonic-net#971)

    * Add 'show' CLI for system-health feature
    
    Signed-off-by: Shlomi Bitton <shlomibi@mellanox.com>
    
    * Add unit test for 'system-health' feature, add support for testing in 'show' script, Fix comments
    
    Signed-off-by: Shlomi Bitton <shlomibi@mellanox.com>
    
    * Fix additional comments
    
    * Fix comments
    
    * Update Command-Reference.md
    
    Add a CLI reference for system-health feature.
    
    * Fix LGTM alerts
    
    * Fix comment
    
    Change 'Ignore' to 'Ignored'
    
    * Update Command-Reference.md
    
    Fix example output
    
    * Update Command-Reference.md
    
    * Change 'summary' output and adapt test and reference to the new change
    
    * Update main.py
    
    * Fix multiline output for expected output
    
    * keep output aligned
    
    * Fix import for unit testing after community change
    
    * Add clicommon for @cli.group after community change
    
    * Align changes in the feature to the CLI on commit
    sonic-net/sonic-buildimage@8ea2ab5
    
    Signed-off-by: Shlomi Bitton <shlomibi@nvidia.com>
    
    * Update main.py
    
    * Move new group CLI into a separate file
    
    * Organize imports per PEP8 standards
    
    * Organize imports per PEP8 standards
    
    * Reformat docstring for readability
    shlomibitton authored Oct 12, 2020
    Configuration menu
    Copy the full SHA
    a71c72b View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. Fix expected neighbor when multiple ports connect to same neighbor (s…

    …onic-net#1162)
    
    
    Previous code only enumerate on distinct neighbors, thus only one
    port is shown for a neighbor.
    
    Signed-off-by: Guohan Lu <lguohan@gmail.com>
    lguohan authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    b6af9f4 View commit details
    Browse the repository at this point in the history
  2. [celestica] consutil to support customize tty device name (sonic-net#…

    …1155)
    
    * Update lib.py
    * Keep the code format align see add spaces for special symbols
    * remove unused code
    sandycelestica authored Oct 13, 2020
    Configuration menu
    Copy the full SHA
    3a7457c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d8977fe View commit details
    Browse the repository at this point in the history
  4. rename

    sujinmkang committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    9531e41 View commit details
    Browse the repository at this point in the history
  5. lgtm

    sujinmkang committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    fcd8647 View commit details
    Browse the repository at this point in the history
  6. fix test

    sujinmkang committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    e66777b View commit details
    Browse the repository at this point in the history
  7. fix ut

    sujinmkang committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    29a7e78 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. ut

    sujinmkang committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    89b189c View commit details
    Browse the repository at this point in the history
  2. ut2

    sujinmkang committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    4659ee2 View commit details
    Browse the repository at this point in the history
  3. Fix exception for ipaddress in python2 (sonic-net#1164)

    The 'ipaddress.ip_interface' accepts only unicode str as input, which is
    default in python3. However, an exception will raise when running in
    python2. This commit fix the issue.
    
    Signed-off-by: bingwang <bingwang@microsoft.com>
    bingwang-ms authored Oct 14, 2020
    Configuration menu
    Copy the full SHA
    059cdca View commit details
    Browse the repository at this point in the history
  4. [watermarkstat] Add unit tests for watermarkstat show commands (sonic…

    …-net#1157)
    
    * Add watermark testcases and mock counters
    
    Signed-off-by: Neetha John <nejo@microsoft.com>
    neethajohn authored Oct 14, 2020
    Configuration menu
    Copy the full SHA
    a733df5 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2020

  1. [consutil] Fix issue where the show line command crash if no ttyUSB e…

    …xists (sonic-net#1173)
    
    Signed-off-by: Jing Kan jika@microsoft.com
    Blueve authored Oct 15, 2020
    Configuration menu
    Copy the full SHA
    e51d44f View commit details
    Browse the repository at this point in the history
  2. [config/console] Support update console configuration related commands (

    sonic-net#1166)
    
    Signed-off-by: Jing Kan jika@microsoft.com
    Blueve authored Oct 15, 2020
    Configuration menu
    Copy the full SHA
    c382d89 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    574726f View commit details
    Browse the repository at this point in the history
  4. review comments & fix ut

    sujinmkang committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    28c23f0 View commit details
    Browse the repository at this point in the history
  5. ut fix

    sujinmkang committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    984ef40 View commit details
    Browse the repository at this point in the history
  6. review comments

    sujinmkang committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    4220356 View commit details
    Browse the repository at this point in the history
  7. show/main.py

    sujinmkang committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    3b62af0 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2020

  1. remove redundant

    sujinmkang committed Oct 16, 2020
    Configuration menu
    Copy the full SHA
    b96fb6b View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2020

  1. Configuration menu
    Copy the full SHA
    c395e14 View commit details
    Browse the repository at this point in the history

Commits on Oct 20, 2020

  1. [consutil] Add brief option to show line command (sonic-net#1176)

    Signed-off-by: Jing Kan jika@microsoft.com
    Blueve authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    510d0ad View commit details
    Browse the repository at this point in the history
  2. [config/show] Add CLI support for proxy arp (sonic-net#1168)

    * Add `config vlan proxy_arp <vlan id> <enable/disable>`
    * Add proxy ARP info to `show vlan brief`
    theasianpianist authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    59a511d View commit details
    Browse the repository at this point in the history
  3. Fixes the issue with show interface counters and for pfc and queue co…

    …unters. (sonic-net#1180)
    
    * Fix for Issue: sonic-net/sonic-buildimage#5655
    
    Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
    
    * Updated the the fix for pfc/queue counters also.
    
    Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
    abdosi authored Oct 20, 2020
    Configuration menu
    Copy the full SHA
    13bd06b View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2020

  1. review comments

    sujinmkang committed Oct 21, 2020
    Configuration menu
    Copy the full SHA
    5c12ffd View commit details
    Browse the repository at this point in the history
  2. [counterpoll] Disable Counter Poll When Entering Fast Reboot (sonic-n…

    …et#1174)
    
    Counter polling is enabled via enable_counters script when booting
    into new image and these configuration is written to config_db.
    However, subsequent fast-reboot into the same image will have counter
    polling enabled by default. This affect fast-reboot time. As a workaround,
    we will disable counter poll when entering fast-reboot.
    
    singed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
    tahmed-dev authored Oct 21, 2020
    Configuration menu
    Copy the full SHA
    ca92e36 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2020

  1. type

    sujinmkang committed Oct 22, 2020
    Configuration menu
    Copy the full SHA
    f08d628 View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2020

  1. Remove stdeb.cfg; no longer used now that we build as wheel (sonic-ne…

    …t#1182)
    
    stdeb.cfg was needed for building Debian package. Now that we build a Python wheel, it is no longer used.
    jleveque authored Oct 23, 2020
    Configuration menu
    Copy the full SHA
    0c3a97f View commit details
    Browse the repository at this point in the history
  2. fix unit test

    sujinmkang committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    5651b17 View commit details
    Browse the repository at this point in the history
  3. review comments

    sujinmkang committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    a060cf9 View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2020

  1. Configuration menu
    Copy the full SHA
    00a2570 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2020

  1. [CLI][show][platform] Added ASIC count in the output. (sonic-net#1185)

    * [CLI][show][platform] Added ASIC count in the output. Also added option for JSON output.
    smaheshm authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    f14bbe5 View commit details
    Browse the repository at this point in the history
  2. review comments

    sujinmkang committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    dfc73ac View commit details
    Browse the repository at this point in the history
  3. [fwutil]: Set min log priority to INFO. (sonic-net#1191)

    Set min log priority of fwutil to INFO
    
    Signed-off-by: Nazarii Hnydyn <nazariig@nvidia.com>
    nazariig authored Oct 26, 2020
    Configuration menu
    Copy the full SHA
    e889212 View commit details
    Browse the repository at this point in the history
  4. ^^

    sujinmkang committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    987c433 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2020

  1. Add license file, remove third-party licenses file (sonic-net#1192)

    Add LICENSE file, remove ThirdPartyLicenses.txt, as most of the files it referred to have moved to the sonic-platform-common repo, and sfputil has been completely refactored.
    jleveque authored Oct 27, 2020
    Configuration menu
    Copy the full SHA
    63c6733 View commit details
    Browse the repository at this point in the history
  2. [show] remove 'device2interface_dict' in show interface neighbor expe…

    …cted (sonic-net#1188)
    
    Remove `device2interface_dict` in `expect` as it is no longer needed.
    
    Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
    lolyu authored Oct 27, 2020
    Configuration menu
    Copy the full SHA
    1753f22 View commit details
    Browse the repository at this point in the history
  3. unit test coverage

    sujinmkang committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    f645a38 View commit details
    Browse the repository at this point in the history
  4. fix expected_output

    sujinmkang committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    d7e372b View commit details
    Browse the repository at this point in the history
  5. unit test

    sujinmkang committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    615c3b4 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2020

  1. mock read file

    sujinmkang committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    baeeed9 View commit details
    Browse the repository at this point in the history
  2. ut

    sujinmkang committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    2f33931 View commit details
    Browse the repository at this point in the history
  3. ut

    sujinmkang committed Oct 28, 2020
    Configuration menu
    Copy the full SHA
    2decd0c View commit details
    Browse the repository at this point in the history

Commits on Oct 29, 2020

  1. Show FG_NHG CLI Commands Added (sonic-net#1056)

    1. show fg-nhg-hash-view
       (shows the current hash bucket view of fg nhg)
    
    2. show fg-nhg-active-hops
       (shows which set of next-hops are active)
    kktheballer authored Oct 29, 2020
    Configuration menu
    Copy the full SHA
    8af9aee View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2020

  1. [sfputil] Display 'N/A' for non-SFP ports (sonic-net#1078)

    Currently, "Not Present" will be shown at non-sfp ports. This enhancement will show "N/A" instead of "Not Present" at non-sfp ports.
    PJHsieh authored Nov 2, 2020
    Configuration menu
    Copy the full SHA
    ef5f212 View commit details
    Browse the repository at this point in the history
  2. fix unittest

    sujinmkang committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    b4a0ebe View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9011750 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2020

  1. initial commit

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    6d0452b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4075f6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8359c7b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6f838c1 View commit details
    Browse the repository at this point in the history
  5. rename

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    ac52429 View commit details
    Browse the repository at this point in the history
  6. lgtm

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    cc4f4e9 View commit details
    Browse the repository at this point in the history
  7. fix test

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    b645c24 View commit details
    Browse the repository at this point in the history
  8. fix ut

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    e9fb1fc View commit details
    Browse the repository at this point in the history
  9. ut

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    c61191d View commit details
    Browse the repository at this point in the history
  10. ut2

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    b7a634c View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6dce6ed View commit details
    Browse the repository at this point in the history
  12. review comments & fix ut

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    c6f02ec View commit details
    Browse the repository at this point in the history
  13. ut fix

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    17516c5 View commit details
    Browse the repository at this point in the history
  14. review comments

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    81d0736 View commit details
    Browse the repository at this point in the history
  15. show/main.py

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    df9cfcf View commit details
    Browse the repository at this point in the history
  16. remove redundant

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    cd282e9 View commit details
    Browse the repository at this point in the history
  17. review comments

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    e6b55ae View commit details
    Browse the repository at this point in the history
  18. type

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    ac2eba5 View commit details
    Browse the repository at this point in the history
  19. fix unit test

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    b927ab7 View commit details
    Browse the repository at this point in the history
  20. review comments

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    212274d View commit details
    Browse the repository at this point in the history
  21. review comments

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    f452276 View commit details
    Browse the repository at this point in the history
  22. ^^

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    2e8fad6 View commit details
    Browse the repository at this point in the history
  23. unit test coverage

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    fd2629f View commit details
    Browse the repository at this point in the history
  24. fix expected_output

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    b59df08 View commit details
    Browse the repository at this point in the history
  25. unit test

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    7d20f97 View commit details
    Browse the repository at this point in the history
  26. mock read file

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    08817ad View commit details
    Browse the repository at this point in the history
  27. ut

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    b18f0c4 View commit details
    Browse the repository at this point in the history
  28. ut

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    9489bb8 View commit details
    Browse the repository at this point in the history
  29. fix unittest

    sujinmkang committed Nov 3, 2020
    Configuration menu
    Copy the full SHA
    517c2c5 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    02eb1c7 View commit details
    Browse the repository at this point in the history