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

Fwutil Auto-update support #1165

Closed
wants to merge 64 commits into from
Closed

Commits on Oct 9, 2020

  1. initial commit

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

Commits on Oct 12, 2020

  1. second commit

    sujinmkang committed Oct 12, 2020
    Configuration menu
    Copy the full SHA
    8a3a278 View commit details
    Browse the repository at this point in the history
  2. [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 committed 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. auto_update_fix

    sujinmkang committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    aa119ff View commit details
    Browse the repository at this point in the history
  2. 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 committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    b6af9f4 View commit details
    Browse the repository at this point in the history
  3. [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 committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    3a7457c View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2020

  1. Configuration menu
    Copy the full SHA
    921e89c View commit details
    Browse the repository at this point in the history
  2. 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 committed Oct 14, 2020
    Configuration menu
    Copy the full SHA
    059cdca View commit details
    Browse the repository at this point in the history
  3. [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 committed 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 committed 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 committed Oct 15, 2020
    Configuration menu
    Copy the full SHA
    c382d89 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 committed 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 committed 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 committed 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. [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 committed 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 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 committed Oct 23, 2020
    Configuration menu
    Copy the full SHA
    0c3a97f 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 committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    f14bbe5 View commit details
    Browse the repository at this point in the history
  2. [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 committed Oct 26, 2020
    Configuration menu
    Copy the full SHA
    e889212 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 committed 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 committed Oct 27, 2020
    Configuration menu
    Copy the full SHA
    1753f22 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 committed 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 committed Nov 2, 2020
    Configuration menu
    Copy the full SHA
    ef5f212 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2020

  1. [consutil] Store console port state in STATE_DB (sonic-net#1208)

    * [consutil] Store console port state in STATE_DB
    * Fix LGTM issues
    * Update a naming
    
    Signed-off-by: Jing Kan jika@microsoft.com
    Blueve committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    e3d3d92 View commit details
    Browse the repository at this point in the history
  2. Add a switch to route_check to control whether write log to syslog (s…

    …onic-net#1215)
    
    route_check.py will report an ERROR in syslog if route mismatch is
    found, which is out control of monit config file. This commit add an
    option (-s) to control whether error will be reported in syslog.
    
    **- How to verify it**
    The update is verified on Arista-7260.
    1. Add a static route whose nexthop is not reachable.
    
    ```
    ip route add 1.1.1.1 via 192.168.1.101
    ```
    2. Run ```route_check.py```, and error msg is only printed on stdout. Nothing is writen to syslog
    3. Run ```route_check.py -s```. and error msg is writen to both stdout and syslog
    4. Wait for 15 minutes, and confirm that monit will report the error
    ```
    Nov  4 09:30:36.917367 str-7260cx3-acs-2 ERR monit[631]: 'routeCheck' status failed (255) -- results: { {sonic-net#12    "missed_ROUTE_TABLE_routes": [sonic-net#12        "1.1.1.1/32"sonic-net#12    ]sonic-net#12} }sonic-net#12 Failed. Look at reported mismatches above
    ```
    
    Signed-off-by: bingwang <bingwang@microsoft.com>
    bingwang-ms committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    acfa824 View commit details
    Browse the repository at this point in the history
  3. [show/fgnhg.py] Fix whitespace issues (sonic-net#1211)

    - Replace tabs with spaces
    - Fix alignment
    - Remove trailing whitespace
    - Remove spaces where not necessary, add spaces where necessary
    - Reorganize imports per PEP8 standards
    jleveque committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    061f428 View commit details
    Browse the repository at this point in the history
  4. SONiC installer - fix string formatting during image type check (soni…

    …c-net#1197)
    
    * SONiC installer - fix string formatting during image typer check
    `sonic_installer` error message misses the filename due to string formatting error. This fixes the missing string substitution in the message:
    Before - Image file '{}' is of a different type than running image.
    Now - Image file 'sonic-broadcom.bin' is of a different type than running image.
    vaibhavhd committed Nov 4, 2020
    Configuration menu
    Copy the full SHA
    42efc03 View commit details
    Browse the repository at this point in the history

Commits on Nov 5, 2020

  1. [Mellanox] SKU creator Tool (sonic-net#1163)

    I added a new script file sonic_sku_create.py to generate a new HWSKU based on XML file or Minigraph. But, focus is on creating HWSKU based on XML file and not on the minigraph and l2 mode. I also added a unit test pyTest script sku_create_test.py in sonic-utilities-test folder to test the script in Unit Testing mode.
    Motivation: To create SKU for Mellanox platforms based on XML file with Port related inputs and also through Minigraph file.
    This tool also allows to split a port or unsplit ports based on configuration which modifies the port related information in port_config.ini and config_db.json
    
    usage: sonic_sku_create.py [-h] [-v]
    (-f FILE | -m [MINIGRAPH_FILE] | -j JSON_FILE | -pp PORT_SPLIT PORT_SPLIT)
    [-b BASE] [-r] [-k HWSKU] [-p] [-vv]
    
    Create a new SKU
    
    optional arguments:
    -h, --help show this help message and exit
    -v, --version show program's version number and exit
    -f FILE, --file FILE SKU definition from xml file. -f OR -m or -j must be provided when creating a new SKU
    -m [MINIGRAPH_FILE], --minigraph_file [MINIGRAPH_FILE]
    SKU definition from minigraph file. -f OR -m or -j must be provided when creating a new SKU
    -j JSON_FILE, --json_file JSON_FILE
    SKU definition from config_db.json file. -f OR -m OR -j must be provided when creating a new SKU
    -pp PORT_SPLIT PORT_SPLIT, --port_split PORT_SPLIT PORT_SPLIT
    port name and split
    -b BASE, --base BASE SKU base definition
    -r, --remove Remove SKU folder
    -k HWSKU, --hwsku HWSKU
    SKU name to be used when creating a new SKU or for L2 configuration mode
    -p, --print Print port_config.ini without creating a new SKU
    -vv, --verbose Verbose output
    madhanmellanox committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    99de167 View commit details
    Browse the repository at this point in the history
  2. [consutil][show] Remove root need from show line command (sonic-net#1218

    )
    
    * Simply remove the check
    * Add unit test for consutil show command
    * Fix a known typo (found by adding unittest)
    
    Signed-off-by: Jing Kan jika@microsoft.com
    Blueve committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    97dec12 View commit details
    Browse the repository at this point in the history
  3. [connect][clear] Support --devicename option for connect/clear line c…

    …ommands (sonic-net#1214)
    
    admin@sonic:~$ sudo connect line --devicename switch1
    Successful connection to line 1
    Press ^A ^X to disconnect
    
    
    admin@sonic:~$ sudo sonic-clear line --devicename switch1
    admin@sonic:~$ sudo show line -b
      Line    Baud    PID    Start Time    Device
    ------  ------  -----  ------------  --------
         1    9600      -             -   switch1
    Blueve committed Nov 5, 2020
    Configuration menu
    Copy the full SHA
    927bf9b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e2ec825 View commit details
    Browse the repository at this point in the history

Commits on Nov 6, 2020

  1. Configuration menu
    Copy the full SHA
    ee6bc49 View commit details
    Browse the repository at this point in the history
  2. Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SW…

    …IG wrapper of C++ implementation) in production code (sonic-net#1217)
    
    **- What I did**
    This is the following step for merging sonic-py-swsssdk into sonic-swss-common sonic-net/sonic-swss-common#387
    
    **- How I did it**
    
    **- How to verify it**
    Unit test and tested in DUT
    
    * Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code
    * Remove extra statement
    * Move back the import to original place
    qiluo-msft committed Nov 6, 2020
    Configuration menu
    Copy the full SHA
    0d49a85 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    11526df View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2020

  1. [sonic_sku_create] Move tests from sonic-utilities-tests/ folder to t…

    …ests/ folder (sonic-net#1222)
    
    Move all files currently in sonic-utilities-tests folder to tests folder of sonic-utilities repository
    
    Co-authored-by: Madhan Babu <madhan@arc-build-server.mtr.labs.mlnx>
    madhanmellanox and Madhan Babu committed Nov 7, 2020
    Configuration menu
    Copy the full SHA
    673f98d View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2020

  1. [show] Fix show ip bgp sum (sonic-net#1194)

    Function `is_ipv6_address` and `is_ipv4_address` use `ipaddress` as
    function argument, which override the module in global namespace.
    
    Signed-off-by: Longxiang Lyu <lolv@microsoft.com>
    lolyu committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    a9cdd27 View commit details
    Browse the repository at this point in the history
  2. [show][techsupport][multi-ASIC] Add support to collect tech support o…

    …n multi ASIC platform (sonic-net#1193)
    
    Modified generate_dump script to run relevant commands on all namespaces for multi ASIC platform. On single ASIC the commands are run in default (host) namesapce.
    smaheshm committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    12e1a0f View commit details
    Browse the repository at this point in the history
  3. Remove SKU create pytest output directory before execution of the scr…

    …ipt (sonic-net#1226)
    
    Remove SKU create pytest output directory before execution of the script
    
    Co-authored-by: Madhan Babu <madhan@arc-build-server.mtr.labs.mlnx>
    madhanmellanox and Madhan Babu committed Nov 9, 2020
    Configuration menu
    Copy the full SHA
    b693cf6 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2020

  1. [multi-ASIC] CRM show/config commands changes for multi-asic (sonic-n…

    …et#1127)
    
    - What I did
    Updated the CRM show/config commands to handle the multi-ASIC platforms.
    
    - How I did it
    The threshold values configured by user is programmed in the CONFIG_DB in all the namespaces. While show/displaying the thresholds, it is retrieved from the database docker in case of single asic, and from the first namespace docker eg: database0 in case of multi-asic platforms.
    
    The crm resources usage details are retrieved from the databases in the respective namespaces and displayed with the additional "ASIC name" as a header.
    
    - How to verify it
    Verified on the single and multi-asic devices.
    judyjoseph committed Nov 10, 2020
    Configuration menu
    Copy the full SHA
    6cbec6b View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2020

  1. [consutil][connect] Remove root need from connect line command (sonic…

    …-net#1225)
    
    * Remove root check for consutil connect
    * Add unit tests
    
    Signed-off-by: Jing Kan jika@microsoft.com
    Blueve committed Nov 11, 2020
    Configuration menu
    Copy the full SHA
    d5eb2f8 View commit details
    Browse the repository at this point in the history
  2. [chassis]: Configure and show for platform chassis_modules (sonic-net…

    …#1145)
    
    * Configure and show for platform chassis_modules
    
    Adding support for below CLI commands
    $config plaform chassis_modules admin_down <chassis_module_name>
    <instance> <module_type>
    $show platform chassis_modules
    
    ```
    admin@sonic:~$ show chassis-modules status
             Name        Description    Slot    Oper-Status    Admin-Status
    -------------  -----------------  ------  -------------  --------------
    CONTROL-CARD1           cpm2-ixr      16         Online              up
     FABRIC-CARD1               SFM1      17          Empty              up
     FABRIC-CARD2               SFM2      18          Empty              up
     FABRIC-CARD3               SFM3      19          Empty              up
     FABRIC-CARD4               SFM4      20          Empty              up
     FABRIC-CARD5               SFM5      21         Online              up
     FABRIC-CARD6               SFM6      22          Empty              up
       LINE-CARD1  imm36-400g-qsfpdd       1         Online            down
       LINE-CARD2  imm36-400g-qsfpdd       2         Online              up
       LINE-CARD3          line-card       3          Empty              up
       LINE-CARD4          line-card       4          Empty              up
    
    admin@sonic:~$ show chassis-modules status LINE-CARD1 
             Name        Description    Slot    Oper-Status    Admin-Status
    -------------  -----------------  ------  -------------  --------------
      LINE-CARD1  imm36-400g-qsfpdd       1         Online            down
    ```
    mprabhu-nokia committed Nov 11, 2020
    Configuration menu
    Copy the full SHA
    40377d3 View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2020

  1. Configuration menu
    Copy the full SHA
    5f42bbe View commit details
    Browse the repository at this point in the history
  2. [CLI][PFCWD] Fix issue with specifying ports in pfcwd start on masic …

    …platforms (sonic-net#1203)
    
    When ports are specified as option to 'pfcwd start', port validation fails on multi ASIC platform as the validation logic is executed on each ASIC namespace. Validation for valid ports fails as the port exits in only one namespace and not in others.
    
    Changed logic to perform port validation after collecting ports from all namespaces. If port validation fails there is no config change on other valid ports
    smaheshm committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    b226159 View commit details
    Browse the repository at this point in the history
  3. Copp Changes (sonic-net#1004)

    Added DB migrator script for removing old copp APP DB entries.
    
    Co-authored-by: dgsudharsan <sudharsan_gopalarat@dell.com>
    Sudharsan Dhamal Gopalarathnam and dgsudharsan committed Nov 12, 2020
    Configuration menu
    Copy the full SHA
    dadfc18 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2020

  1. [sflow] Add mVRF support (sonic-net#1230)

    Add mVRF support and options to CLICK CLI to allow mVRF configuration for sFlow collectors
    
    Signed-off-by: Garrick He <garrick_he@dell.com>
    GarrickHe committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    3f15835 View commit details
    Browse the repository at this point in the history
  2. Added 'import sys' in feature.py file (sonic-net#1232)

    If FEATURE table is not present in CONFIG_DB.
    
    When I issue - "config feature state nat enabled", seeing below errors
    
    root@sonic:/home/admin# config feature state nat enabled
    Feature 'nat' doesn't exist
    Traceback (most recent call last):
    File "/usr/local/bin/config", line 10, in
    sys.exit(config())
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 764, in call
    return self.main(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 717, in main
    rv = self.invoke(ctx)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 1137, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 956, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/click/decorators.py", line 64, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 555, in invoke
    return callback(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/config/feature.py", line 26, in feature_state
    sys.exit(1)
    NameError: global name 'sys' is not defined
    root@sonic:/home/admin#
    
    Fix: Added 'import sys' in feature.py file.
    
    After Fix:
    root@sonic:/home/admin# config feature state nat enabled
    Feature 'nat' doesn't exist
    root@sonic:/home/admin#
    
    Signed-off-by: Akhilesh Samineni akhilesh.samineni@broadcom.com
    
    Signed-off-by: Akhilesh Samineni <akhilesh.samineni@broadcom.com>
    AkhileshSamineni committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    8f156df View commit details
    Browse the repository at this point in the history
  3. [doc]: Update Command-Reference.md (sonic-net#1231)

    Vlan interfaces need capitalized "V" in "Vlan" to be accepted.
    rdarbha committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    599b43a View commit details
    Browse the repository at this point in the history
  4. [cli]: NAT show commands newline issue after migrated to Python3 (son…

    …ic-net#1204)
    
    Signed-off-by: Akhilesh Samineni <akhilesh.samineni@broadcom.com>
    AkhileshSamineni committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    939e331 View commit details
    Browse the repository at this point in the history
  5. Updates to bgp config and show commands with BGP_INTERNAL_NEIGHBOR ta…

    …ble (sonic-net#1224)
    
    - What I did
    Updates to bgp config and show commands with the movement of internal bgp sessions to a new table BGP_INTERNAL_NEIGHBOR table.
    With the introduction of BGP_INERNAL_NEIGHBOR table, the user cannot start/stop/remove internal neighbors which I feel is not needed as these internal bgp sessions which are supposed to be UP always.
    
    - How I did it
    Updated the show/bgp util so that it gets the internal bgp sessions from BGP_INTERNAL_NEIGHBOR table.
    Removed the API's to get the local_as in config/bgp which is not required now.
    
    - How to verify it
    Made sure that the output remain same with the new internal bgp neighbor table.
    judyjoseph committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    929ff7c View commit details
    Browse the repository at this point in the history
  6. [tests] Do not trim from PATH if we did not append to it; Clean up/fi…

    …x shebangs in scripts (sonic-net#1233)
    
    Some tests were trimming the last item from system PATH, but they never appended anything to it, thus these tests were trimming valid entries from the tail of the system path, which in turn caused scripts with shebangs like `#!/usr/bin/env python` to fail, because once `/usr/bin` was removed from PATH, `python` could not be found.
    
    **- How I did it**
    
    - Remove lines which trimmed the last entry from system PATH in the teardown function if nothing was appended to PATH in the setup method.
    - Remove shebangs from non-executable Python files
    - Fix shebangs which had a space in them
    - Replace `#!/usr/bin/python` shebangs with the preferred, more portable `#!/usr/bin/env python` in executable scripts
    jleveque committed Nov 13, 2020
    Configuration menu
    Copy the full SHA
    71aa221 View commit details
    Browse the repository at this point in the history
  7. lgtm

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

Commits on Nov 14, 2020

  1. Fix mock SonicV2Connector in python3: use decode_responses mode so ca…

    …ller code will be the same as python2 (sonic-net#1238)
    
    The python2 behavior is not changed.
    qiluo-msft committed Nov 14, 2020
    Configuration menu
    Copy the full SHA
    8079558 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2020

  1. Convert to Python 3 (sonic-net#1128)

    Conform syntax to support Python 3 using 2to3 tool and manual assessment
    jleveque committed Nov 15, 2020
    Configuration menu
    Copy the full SHA
    bd8d6c7 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2020

  1. Add 'requests' as install dependency in setup.py (sonic-net#1240)

    The `requests` package is used by a couple modules (config/kube.py and scripts/neighbor_advertiser), but it was not specified as an install-time dependency. Now that the package is built as Python 3, some commands are crashing with `ModuleNotFoundError: No module named 'requests'`.
    jleveque committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    f46c27e View commit details
    Browse the repository at this point in the history
  2. initial commit

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

    sujinmkang committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    bd32dbe View commit details
    Browse the repository at this point in the history
  4. auto_update_fix

    sujinmkang committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    d0fc10c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    05dbbb8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3f8db37 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    b657538 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    dfcf286 View commit details
    Browse the repository at this point in the history
  9. lgtm

    sujinmkang committed Nov 16, 2020
    Configuration menu
    Copy the full SHA
    cf81eb6 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e54cc58 View commit details
    Browse the repository at this point in the history