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

split initialization of sonic_platform to a per-daemon basis #3

Closed
wants to merge 8 commits into from

Commits on Jul 14, 2019

  1. install new platform api on host

    Stephen Sun committed Jul 14, 2019
    Configuration menu
    Copy the full SHA
    c183ce8 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2019

  1. 1. install necessary dependencys of chassis api on host, like sonic-d…

    …aemon-base
    
    2. remove dependency on the modules not feasible to install on host, like swsscomm, sdk, etc.
    Stephen Sun committed Jul 15, 2019
    Configuration menu
    Copy the full SHA
    235e792 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2019

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

Commits on Jul 17, 2019

  1. fix type in process-reboot-cause

    Stephen Sun committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    0e46276 View commit details
    Browse the repository at this point in the history
  2. fix the issue "'NoneType' object has no attribute 'closelog'" which r…

    …esults from referencing an already destroyed global variable when destructuring daemon_base.Logger by introducing a class member to represent the global
    Stephen Sun committed Jul 17, 2019
    Configuration menu
    Copy the full SHA
    a45d957 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2019

  1. enhance the reboot cause by supporting aux power failure, long/short …

    …push on power button
    Stephen Sun committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    ca90b7a View commit details
    Browse the repository at this point in the history
  2. optimize chassis's initialization by

    1. removing iniaializations of varient components out from constructor and providing one initializer for each.
    2. only import other modules when initializing it.
    by doing so, initializing time is reduced and unnecessary dependencies of chassis is removed for daemons who don't need them.
    Stephen Sun committed Jul 18, 2019
    Configuration menu
    Copy the full SHA
    18e2717 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2019

  1. [sonic_platform]

    we decide to split chassis in a host/daemon basis rather than a per-daemon bases.
    adjust the argument of Platform() accordingly as well as all code that calls Platform.
    Stephen Sun committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    e2fe79d View commit details
    Browse the repository at this point in the history