Commit Graph

50 Commits

Author SHA1 Message Date
Ying Xie
1a4bac7e27
[201811][platform-common] add platform-common 201811 branch (#2743)
- Cherry-picked one change:

Submodule src/sonic-platform-common d4bf78c..42119e1:
  > remove gang port parsing (#24)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-04-04 08:12:54 -07:00
Ying Xie
1d11b95f87
[201811 submodules] advance sairedis, swss, swss-common, utilities (#2594)
* [201811 submodules] advance sairedis, swss, swss-common, utilities

Submodule src/sonic-sairedis d57222a..54b02a1:
  > Add support for fdb_event MOVE and check fdb event oids (#420)
  > [vslib] add missing port attributes for virtual switch (#419)

Submodule src/sonic-swss 584490c..62e2a20:
  > [fdborch] Store vlan id of FDB entry instead of port pvid into stateD… (#759)
  > [portsorch] Change speed set flow (#764)
  > Create egress ACL table group during the PFCWD stats list installment (#787)

Submodule src/sonic-swss-common 286ef34..2592b0c:
  > Add support for WarmStart::setDataCheckState() (#242)

Submodule src/sonic-utilities b44b462..d409987:
  > [sonic_installer] Improve error handling (#460)
  > [clock] sync os time to CMOS before rebooting (#465)
  > [intfstat] add intfstat script to output RIF counters (#439)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [201811 utilties] add 201811 branch for sonic-utilities repo

Submodule src/sonic-utilities d409987...ff1448c:
  > [sonic_installer] Improve error handling (#460)
  > [clock] sync os time to CMOS before rebooting (#465)
  < [sonic_installer] Improve error handling (#460)
  < [clock] sync os time to CMOS before rebooting (#465)
  < [intfstat] add intfstat script to output RIF counters (#439)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-21 16:30:04 -08:00
Ying Xie
c88f16893f
[sub module] sub module sonic-swss-common tracking 201811 branch (#2530)
* [sub module] sub module sonic-swss-common tracking 201811 branch

And include change:

Submodule src/sonic-swss-common e8caaea..a40837a:
  > [pyext] enable types in stdint.h (#259)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* also include:

Submodule src/sonic-swss-common a40837a..594f4e8:
  > Optimized ProducerStateTable set/del notification processing to avoid… (#257)

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-02-06 08:07:22 -08:00
Ying Xie
746cd16837 [sub module] move sairedis and swss to 201811 branch (#2508)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-01-31 10:40:07 -08:00
Feng Lee
ac2be9d99a [platform] update Ingrassy platform to support stretch (#2322)
* remove nephos sonic-platform-modules-ingrasys module

* [Ingrasys]Add platform drivers and device to support Debian Stretch

* fix gpio init issue
2018-11-30 20:46:36 -08:00
Qi Luo
465ebbafff
Build patched redis-dump-load (#2277)
* Build patched redis-dump-load
* Fix build
* Add build rule
2018-11-20 19:27:56 -08:00
zhenggen-xu
673bb6580e [sonic-frr]: FRR 4.0 integration with SONiC (#2099)
* FRR 4.0 integration with SONiC

-- Uses SONiC FRR repo frr/4.0 (which has SONiC support) to build image
-- Makefile changes to make frr4.0 builtable.
-- Updated/Added FRR configuration files
-- bgpd jinja template fixes

To build SONiC images with FRR4.0, simply edit rules/config file and change
routing stack to following:

SONIC_ROUTING_STACK = frr

and then build images as usual.

* Used integrated-vtysh-config in FRR
Changed to single template: frr.conf.j2 for configuration and added tests
2018-10-02 10:24:59 -07:00
Rodny Molina
0d75b2ac45 Deleting stretch-branch pointer from .gitmodules (#2003)
Removing .gitmodules pointer to inexistent linux-kernel branch.

rmolina-mn1:sonic-buildimage rmolina$ git submodule update --recursive --remote
..
fatal: Needed a single revision
Unable to find current origin/stretch revision in submodule path 'src/sonic-linux-kernel'
...

Signed-off-by: Rodny Molina <rodny@linkedin.com>
2018-08-30 05:18:06 -07:00
Guohan Lu
9047edc38e [platform]: move dell platform modules into buildimage repo
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-13 10:39:07 +00:00
Guohan Lu
400597596a [submodules]: update submodule for platform modules dell, s6000 and kernel
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 21:10:42 +00:00
Volodymyr Samotiy
6a3c05f498 [mellanox]: Update recipe for hw-mgmt according to latest changes (#40)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
5d46e050d6 [devices]: move platform modules of accton, ingrasys, mitac, quanta into buildimage repo
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
f489bea105 [platform]: incorporate sonic-platform-modules-cel into sonic buildimage repo 2018-08-11 09:09:03 +00:00
Guohan Lu
759edc93c9 [dell]: update to stretch-kernel based dell modules 2018-08-11 09:09:03 +00:00
lguohan
13c83ac6f9 [platform]: enable platform driver for dell s6000 (#5) 2018-08-11 09:09:03 +00:00
Marian Pritsak
cd1d1b1896 [Mellanox]: Update recipe for hw-management (#4)
Update package revision
Create submodule for sources

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2018-08-11 09:09:03 +00:00
Guohan Lu
ff1f508f33 [baseimage]: use debian 4.9.0-3 kernel 2018-08-11 09:07:59 +00:00
yurypm
a8c41d9a66 [device] Update arista driver submodule (#1897) 2018-08-01 14:47:36 -07:00
Samuel Angebault
2522565e15 [devices]: Move Arista bfn platforms under platform/barefoot (#1894)
The work on Arista 7170 was originally submitted under platform/p4.
Since the platform/barefoot was recently introduced, this is where
this platform support needs to go.

Signed-off-by: Samuel Angebault <staphylo@arista.com>
2018-07-31 22:11:57 -07:00
byu343
73a2e64d9f [arista]: Add platform support for DCS-7170-64C (#1718) 2018-07-03 17:10:11 -07:00
Joe LeVeque
c161de406a
[lldpmgrd] Fix potential race condition when interfaces are created (#1469) 2018-03-07 17:08:45 -08:00
stanepc1
46ec35df81 [device] Add a new platform ly1200 for MiTAC (#1369)
* [device] Add a new platform ly1200 for MiTAC

Signed-off-by: Eddy Weng <eddy.weng@mic.com.tw>

* [platform/broadcom/sonic-platform-modules-mitac] Update dependency for new kernel.

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [minigraph]: Set hostname in all default minigraphs to 'sonic'

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [kernel]: update linux kernel to support ly1200 of MiTAC

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* [platform/broadcom/sonic-platform-modules-mitac] adapt PSU driver for linux kernel upgrade.

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>

* Resolve the conflict with Quanta

modified files are as below.
.gitmodules
platform/broadcom/one-image.mk
platform/broadcom/rules.mk

Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
2018-02-13 21:39:08 +08:00
cpchang
ed408cde54 [Quanta]: Add a new supported device and platform, IX1B-32X (#1372)
* [Quanta]: Add a new supported device and platform, IX1B-32X

Switch Vendor: Quanta
Switch SKU:    IX1B-32X
ASIC Vendor:   Broadcom
Swich ASIC:    Tomahawk
Port Config:   32x100G

Signed-off-by: Chih-Pei.Chang@qct.io
2018-02-12 11:11:26 +08:00
Joe LeVeque
134707f822
Move platform-specific hardware plugin base packages to sonic-platform-common submodule (#1301) 2018-01-17 17:11:31 -08:00
kaiyu22
63de341dd6 [Platform] Add Ingrasys S9130-32X and S9230-64X with Nephos Switch ASIC (#1245)
* Add switch ASIC vendor and platforms for Nephos

- What I did
Add switch ASIC vendor: Nephos
Add Nephos platforms: Ingrasys S9130-32X, Ingrasys S9230-64X

- How I did it
Add platform/nephos files
Add platform/nephos/sonic-platform-modules-ingrasys submodule
Add device/ingrasys/x86_64-ingrasys_s9130_32x-r0 files
Add device/ingrasys/x86_64-ingrasys_s9230_64x-r0 files
Add SONiC to support Nephos platform

- How to verify it
To build SONiC installer image and docker images, run the following commands:
make configure PLATFORM=nephos
make target/sonic-nephos.bin
Check system and network feature is worked as well

- Description for the changelog
Add switch ASIC vendor and platforms for Nephos

- A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Sam Yang <yang.kaiyu@gmail.com>

* Advance sonic-sairedis submodule to include #271 (Add Nephos ASIC)
2017-12-22 10:04:29 -08:00
YonatanPitz
28eb62fcff [saip4]: New p4 platform based on SAI behavioral model software switch (#1117)
* merged new p4 platform from 1.0.3

* reverted SAI-P4-BM to SAI1.0

* changed port_config.ini from alias to name. changed tenjin makefile to https

* updated SAI-P4-BM commit
2017-11-06 22:45:50 -08:00
lguohan
623e7fe939 [utilities]: update sonic-utilities submodule (#1076) 2017-10-25 21:37:09 -07:00
zhenggen-xu
a49ac2d211 [FRR]: Change the FRR as a submodule (#1071)
Signed-off-by: zxu@linkedin.com
2017-10-23 21:17:58 -07:00
Shuotian Cheng
f0cc414dff [SAI]: Remove the SAI submodule from buildimage repo (#893)
SAI is a submodule of sonic-sairedis repository. Remove the dependency
from this repository.
2017-08-16 13:47:20 -07:00
pavel-shirshov
6603e0ad5d [Submodule update]: sonic-utilities (#888)
* Track branch v1.0.3 for sonic-utilities

* Spaces to tabs
2017-08-15 16:10:08 -07:00
celestica-abhisit
12e5e22572 [platform/Seastone] Add a new supported platform, Celestica Seastone-DX010 (#816)
* [platform/Seastone] Add a new supported platform, Celestica Seastone-DX010.

Switch Vendor: Celestica
Switch SKU : Seastone-DX010
ASIC Vendor: Broadcom
Swich ASIC: Tomahawk
Port Configuration: 32x100G, 64x50G and 96x10G+16x50G.
SONiC Image: SONiC-ONIE-Broadcom

Signed-off-by: asang@celestica.com

* Help to convert tab to white space for Inventec-D7032Q28B platform.
2017-07-19 10:29:46 -07:00
Roy Lee
66859385b6 Remove exsiting sonic-platform-modules-accton and apply submodule add… (#717)
* Remove exsiting sonic-platform-modules-accton and apply submodule adding on this folder.

* Remove redundant commnet

* Remove folder platform/broadcom/sonic-platform-modules-accton.

* Add this dir for submodule.
2017-06-20 20:52:16 -07:00
Joe LeVeque
d094ceecc2 [docker-platform-monitor]: Add LED control daemon and plugin for x86_64-arista_7050_qx32 platform (#691)
* Add files for building ledd package; add ledd to docker-platform-monitor; Control platform monitor docker using supervisord

* Add sonic-platform-daemons submodule

* Rename ledd.mk -> sonic-ledd.mk

* Add led_control.py plugin for x86_64-arista_7050_qx32 platform

* Rename Dockerfile -> Dockerfile.j2

* Fix build

* Remove blank line
2017-06-10 22:05:11 -07:00
wadelnn
fb4cd63ac5 [Ingrasys] Add Ingrasys S8900 series platform (#569)
* Add Ingrasys S8900 series platform

* Add Ingrasys S8900-54XC platform driver
* Add Ingrasys S8900-64XC platform driver
* Reorganized Ingrasys debian package
* Move fancontrol config to device-specific file directory
* QSFP transceivers init on S9100-32X
* Update Thermal Policy in sensors.conf
* Add new Ingrasys S8900 series platform for docker-orchagent/orchagent.sh

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-05-18 11:05:49 -07:00
pavel-shirshov
75272f4bbf [libsaithrift]: Add libsaithrift debian packages (#443)
* add saithrift library for brcm, mlnx, cavm, centec platforms
2017-03-28 11:32:58 -07:00
wadelnn
b04e3e7084 Add Ingrasys S9100 platform submodule (#333)
* Add Ingrasys S9100 platform submodule and .mk files.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-02-24 04:10:19 -08:00
lguohan
5e42d2abb4 [platform]: add z9100 platform modules (#331) 2017-02-23 20:40:21 -08:00
antonpatenko
6a6f5a66a8 [docker-base]: unsubmodule docker-base. (#275)
Convert docker-base from submodule into a regular directory.
2017-02-12 18:02:04 -08:00
lguohan
6119a58e4a [build_debian]: install deps in rootfs instead of just extracting the packages (#280)
packages contains post-install that needs to be performed
2017-02-10 07:39:05 -08:00
lguohan
27a0b7c1fd build one aboot image on arista platform (#263) 2017-02-05 15:59:59 -08:00
krambn
7c2c5f7f42 [p4]: Update the SAI header files to v0.9.4 (#260)
* change refpoints to local repos (p4)

* update refpoint to different fork

* added missing bm link for platform p4
2017-02-04 18:38:05 -08:00
lguohan
523a738068 add dell platform driver to broadcom one image (#242) 2017-02-02 18:28:06 -08:00
lguohan
c19a25988c add sonic utilities into buildimage (#180) 2017-01-04 19:07:50 -08:00
Marian Pritsak
9095ea0d30 Integrate ptf into buildimage (#111) 2016-12-08 09:24:48 -08:00
Marian Pritsak
e9098b99fb Build improvements (#80)
* Build improvements

Fix dependencies
Add configuration options
Automatically build sonic-slave

* Set default number of jobs to 1

* Auto generate target/debs directory

Signed-off-by: marian-pritsak <marianp@mellanox.com>

* Automatically remove sonic-slave container after exit

* Silence clean-logs

* Add SONIC_CLEAN_TARGETS to clean

* Use second expansion for clean dependencies

* Avoid creating empty log files

Remove log file on flush instead of writing empty string

* Put dpkg install inside lock

Use same lock as debian install targets do to avoid
race condition in dpkg installation

* Remove redirect to log from docker save

* Add .platform dependency to all and clean targets

* Remove header and footer from clean targets

* Disable messages for SONIC_CLEAN_TARGETS

* Exit with error if dpkg-buildpackage fails

* Set new location for debs in build_debian.sh

* Add recipe for docker-database

* Update redis version to 3.2.4

* Add support for p4 platform

* Add recipe for snmpd

* Add slave targets to phony and make all target default

* Remove build.sh from thrift

* Add versioning to team, nl, hiredis and initramfs

* Change sonic-slave to support snmpd build from sources

* Remove src/tenjin

* Add recipe for lldpd

* Add recipe for mpdecimal

* Remove hiredis directory on rebuild

* Add recipe for Mellanox hw management

* Remove generic image from all targets for Mellanox

* Add support for python wheels

* Add lldp and snmp dockers

* Sync docker-database to include libjemalloc

* Fix asyncsnmp variable name

* Change default build configuration

Redirect output to log files by default
Set number of jobs to nproc value
Do not print dependencies
Fix logging to print log of failed job into console

* Use docker inspect to check if sonic-slave image exists

* Use config in slave.mk directly

* Disable color output by default

* Remove sswsdk dependency from lldp and snmp dockers

* Fix comment in py wheels install targets

* Add dependency between two versions of sswsdk

* Add containers to mellanox platform

lldp, snmp and database containers

* Add recipe for team docker

* Add team docker to mellanox platform

* Encrypt password passed to build_debian.sh

* Update mellanox SAI version

Make version and revision setting only in main recipe

* Fix error handling in makefiles

As makefiles use .ONESHELL we should add -e
option to shell options in order to exit after any command fails

* Add recipe for platform monitor image

* Add platfotm monitor to mellanox targets

* Ignore submodules when building base image
2016-12-05 11:12:19 -08:00
Qi Luo
f83460bdb7 Add Makefile target: lldp/snmp docker images (#74)
* Add sonic-dbsyncd submodule

* Add sonic-py-swsssdk submodule

* Add lldpd submodule

* Add sonic-snmpagent submodule

* Add Makefile target: lldp/snmp docker images

* Fix docker-snmp-sv2.gz dependency

* Add lldp/snmp sources to the top level targets
2016-11-23 16:18:35 -08:00
pavel-shirshov
e5d8289f0b Use quagga sources as a git submodule (#32) 2016-10-17 05:59:37 +00:00
lguohan
7c0ff3e9e3 build p4-based sonic docker (#14)
* add docker-sonic for p4 switch

* update build instructions
2016-09-28 11:15:02 -07:00
Qi Luo
e4bd20c18a Squash merge master (11de390) 2016-08-04 10:39:33 -07:00
Qi Luo
85f354b77b Sqush merge latest code to github branch 2016-05-27 13:35:44 -07:00