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

Support building multi-asic component #3856

Merged
merged 27 commits into from
Jan 26, 2020

Commits on Nov 27, 2019

  1. [platform/vs]: Update README

    * indicate 'virsh' should be run as sudo
    * add instructions to get DHCP lease for SSH connections
    
    Signed-off-by: Lawrence Lee <[email protected]>
    (cherry picked from commit 4afe564)
    Lawrence Lee authored and SuvarnaMeenakshi committed Nov 27, 2019
    Configuration menu
    Copy the full SHA
    5b2d1f3 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2019

  1. [build systemd]: support multi-ASIC build

    * prepare slave.mk to build multi-asic services
    * move systemd services into single and multi instance folders
    * prepare sonic_debian_extension to copy over single and multi instance
    services
    * detect single or multi-asic platform in systemd-sonic-generator and
    enable correct services
    
    Signed-off-by: Lawrence Lee <[email protected]>
    (cherry picked from commit 0fdb595)
    Lawrence Lee authored and SuvarnaMeenakshi committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    342c1f0 View commit details
    Browse the repository at this point in the history
  2. [build][rules][build_templates][platform/vs]: add network namespace/m…

    …ulti-instance container support
    
    [build_templates]:
    
    * add network namespace creation/linking to docker_image_ctl.j2
    * add support for multi-instance containers to docker_image_ctl.j2
    * add support for hostnames in multi-asic containers
    * don't try and copy single instance version of namespace service in
    sonic_debian_extension
    
    [rules]:
    
    * add rule for creating network namespace docker
    * removes "--net=host" from DOCKER_RUN_OPTS in all other docker rules (it now lives in docker_image_ctl.j2)
    
    [build]:
    
    * retry docker build without squashing if squashing fails
    
    [platform/vs]: add network interfaces to virtual switch
    
    * add 32 more network interfaces, for a total of 64
    
    Signed-off-by: Lawrence Lee <[email protected]>
    (cherry picked from commit ba7b7e0)
    Lawrence Lee authored and SuvarnaMeenakshi committed Dec 2, 2019
    Configuration menu
    Copy the full SHA
    70a7d75 View commit details
    Browse the repository at this point in the history

Commits on Dec 3, 2019

  1. [files]: add topology service

    * add script to configure virtual switch internal topology
    * create service to manage topology
    * install topology service in sonic_debian_extension
    
    Signed-off-by: Lawrence Lee <[email protected]>
    (cherry picked from commit bf7b16d)
    Lawrence Lee authored and SuvarnaMeenakshi committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    262f37e View commit details
    Browse the repository at this point in the history
  2. [multi-asic build]: address review comments

    * remove extra line from slave.mk
    * change namespace names to 'asic#'
    
    Signed-off-by: Lawrence Lee <[email protected]>
    (cherry picked from commit 95bef6e)
    Lawrence Lee authored and SuvarnaMeenakshi committed Dec 3, 2019
    Configuration menu
    Copy the full SHA
    dbf7ec0 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2019

  1. [systemd-generator]: Get number of asics in the platform from

    platform specific conf file during boot up.
    SuvarnaMeenakshi committed Dec 5, 2019
    Configuration menu
    Copy the full SHA
    d007d29 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2019

  1. [docker_image_ctl]: Make changes to remove namespace docker

    creation and use database docker network for multi asic platform.
    SuvarnaMeenakshi committed Dec 6, 2019
    Configuration menu
    Copy the full SHA
    90a76bf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5566d9b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b482c2e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9c058b4 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2019

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

Commits on Dec 12, 2019

  1. Configuration menu
    Copy the full SHA
    0d03c90 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1bd3de4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f827f0a View commit details
    Browse the repository at this point in the history
  4. [systemd-sonic-generator]: Added check to start topology service

    only for multi-asic vs platform
    SuvarnaMeenakshi committed Dec 12, 2019
    Configuration menu
    Copy the full SHA
    f22ed0f View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2020

  1. Configuration menu
    Copy the full SHA
    d054739 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1082c49 View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2020

  1. [systemd-generator]: Add code to dynamically change dependency

    for multi-asic platform.
    SuvarnaMeenakshi committed Jan 3, 2020
    Configuration menu
    Copy the full SHA
    a1bf9c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8cb203d View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2020

  1. [systemd-generator]: Corrected dynamic systemd service dependency update

    [asic.conf]: Added default asic.conf file for vs platform
    SuvarnaMeenakshi committed Jan 9, 2020
    Configuration menu
    Copy the full SHA
    4387c15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3554e97 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    828c7dc View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2020

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

Commits on Jan 15, 2020

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

Commits on Jan 23, 2020

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