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

[Juniper][QFX5210]Adding the system reboot handler #3599

Merged
merged 16 commits into from
Oct 20, 2019
Merged

[Juniper][QFX5210]Adding the system reboot handler #3599

merged 16 commits into from
Oct 20, 2019

Commits on Aug 1, 2019

  1. Adding platform support for Juniper QFX5210

    This switch has 64 QSFP28 (40G/100G) ports, 2 SFP+ (1G/10G) ports
    on Broadcom Tomahawk II chipset. CPU used in QFX5210-64C-S is
    Intel Broadwell-DE. The machine has Redundant and hot-swappable
    Power Supply (1+1) and also has Redundant and hot swappable fans (3+1).
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Aug 1, 2019
    Configuration menu
    Copy the full SHA
    e0d5453 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2019

  1. Synced to latest upstream

    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Aug 2, 2019
    Configuration menu
    Copy the full SHA
    78ff233 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2019

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

Commits on Sep 11, 2019

  1. Configuration menu
    Copy the full SHA
    0944de4 View commit details
    Browse the repository at this point in the history
  2. [Juniper][QFX5210] Optoe driver for SFP management

    This commit implements the following changes
     - Moving to optoe driver for sfp management
     - Removing the old sfp driver
     - Updating the port-config.ini to add the index field
     - Correction in sfputil.py to incorporate optoe driver
     - Platform support for 'poweroff' command
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Sep 11, 2019
    Configuration menu
    Copy the full SHA
    85e7bb1 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2019

  1. Configuration menu
    Copy the full SHA
    8d5d3fe View commit details
    Browse the repository at this point in the history
  2. [Juniper][QFX5210] Workaround for orchagent crash

    Orchagent is crashing on the latest SONiC images. Issue #458
    is raised to track the problem. Dynamic port breakout
    commit 6f40933 introduced
    this regression. One of the recommendation that we received
    was to disable the loopback and mgmt ports in bcm config.
    It was helpful in fixing the issue but not the ideal solution.
    It works on qfx5210 as the loopback and management configurations
    are not applicable.
    
    While the orchagent crash is being debugged, we need this commit
    to fix the issue in qfx5210 platform. This patch can be reversed
    once the correct fix for the orchagent is identified.
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Sep 15, 2019
    Configuration menu
    Copy the full SHA
    4369c0c View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2019

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

Commits on Oct 14, 2019

  1. Configuration menu
    Copy the full SHA
    307a447 View commit details
    Browse the repository at this point in the history
  2. EEPROM parsing and library routines

    This patch does the following:
     - Storing eeprom contents including the vendor extensions
       into a text file
     - Implement the get routines for reading various fields
       from eeprom
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Oct 14, 2019
    Configuration menu
    Copy the full SHA
    011fa82 View commit details
    Browse the repository at this point in the history
  3. Adding the logging messages for platform scripts

    This patch implements the following:
     - Added logging facility in juniper_qfx5210_util file
     - Changed the path of juniper_qfx5210_monitor.log to /var/log
     - Invoke "poweroff" command when temperature reaches fire threshold
     - Display warning messages in the console before system shutdown
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Oct 14, 2019
    Configuration menu
    Copy the full SHA
    498e0e5 View commit details
    Browse the repository at this point in the history
  4. Workaround for the boot problem from Golden bios

    There are primary and secondary bios in qfx5210 platform.
    There is a problem which prevents the OS booting from the
    secondary bios when the OS was installed using primary bios.
    Secondary bios fails to detect the UEFI partition. Right now
    the workaround is to have a folder structure /EFI/BOOT/BOOT64x.efi
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Oct 14, 2019
    Configuration menu
    Copy the full SHA
    8edc2d8 View commit details
    Browse the repository at this point in the history
  5. Adding swizzle reset case for the reboot reason

    There is a cpld swizzle logic which will reboot qfx5210
    platform if the swizzle logic was not disabled in five minutes.
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Oct 14, 2019
    Configuration menu
    Copy the full SHA
    5777ab0 View commit details
    Browse the repository at this point in the history
  6. Adding the system reboot handler

    This patch set implements the following:
     - Adding the cpld soft reset as the platform reboot handler
     - Fixing the cpld access issues
    
    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Oct 14, 2019
    Configuration menu
    Copy the full SHA
    b6b1069 View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2019

  1. Providing the comments for bios workaround

    Signed-off-by: Ciju Rajan K <crajank@juniper.net>
    ciju-juniper committed Oct 18, 2019
    Configuration menu
    Copy the full SHA
    b2cba2a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a7829c2 View commit details
    Browse the repository at this point in the history