Commit Graph

224 Commits

Author SHA1 Message Date
Qi Luo
7282846d7b Update submodule sonic-snmpagent (#287) 2017-02-10 10:36:39 -08:00
lguohan
55acd9e9e3 [python3]: add dpkg_lock in python3 build (#285) 2017-02-09 13:36:26 -08:00
Qi Luo
822680d21b Build python3.6 deb packages and install them into docker-snmp-sv2 (#245) 2017-02-08 22:02:21 -08:00
Joe LeVeque
64f26beb42 Update PTF submodule to point to current head of master branch (#255) 2017-02-05 14:37:34 -08:00
lguohan
7abb48abff [kernel]: update kernel for arista 7260cx-32 (#258) 2017-02-04 12:02:58 -08:00
pavel-shirshov
5890204e42 Update port_config.ini (#256) 2017-02-03 18:09:56 -08:00
Taoyu Li
60e1fc3c98 ONEImage - Read all platform dependent information from sonic-config-engine (#238)
Read all platform dependent information from sonic-config-engine
2017-02-02 20:34:34 -08:00
lguohan
523a738068 add dell platform driver to broadcom one image (#242) 2017-02-02 18:28:06 -08:00
Qi Luo
c05a9f2fd8 Update submodule sonic-snmpagent (#244) 2017-02-02 18:11:39 -08:00
lguohan
caab516ea7 [snmpd]: download source files from azure storage blob (#239) 2017-02-02 07:53:46 -08:00
Qi Luo
c90efba372 Update submodule sonic-snmpagent (#236) 2017-02-01 19:44:54 -08:00
Oleksandr Ivantsiv
34ea91349c one image implementation (#215)
* Single image

* Fix review comments

* Update syncd service. Add HW mgmt to Mellanox single image.

* Add single image template for Broadcom platform.

SKU should be provided during configure:
make configure PLATFORM=broadcom SKU=Force10-S6000

* Add single image template for Cavium platform.

SKU should be provided during configure:
make configure PLATFORM=cavium SKU=AS7512

* Add description to sonic_debian_extension.j2 file.
2017-01-29 11:33:33 -08:00
Taoyu Li
e87498d16d Add platform config for 7050 and 6100 (#212)
* Add platform config for 7050 and 6100

* allow certain platform to have no sensors.conf file in sonic-cfggen
2017-01-25 18:18:25 -08:00
lguohan
ac7de25d94 [src]: update linux kernel to take tg3 patch on arista qx32 platfrom (#214) 2017-01-25 11:06:08 -08:00
lguohan
752062d571 [src]: Update sonic-sairedis/swss (#213) 2017-01-25 00:01:14 -08:00
Shuotian Cheng
09f61a4894 [libteam]: Add patch 0001-libteam-Add-team_get_port_enabled-function.patch (#205) 2017-01-22 22:19:43 -08:00
Taoyu Li
4fe1bdcf87 sonic-cfggen with sonicv2 dockers (#190)
Add a sonic-config-engine to help generate config file based on minigraph and other data on runtime. Modify fpm, teamd, lldp, snmp, and platform-monitor docker to use sonic-config-engine to generate config in docker upon load.
2017-01-19 20:56:26 -08:00
pavel-shirshov
3df2c47466 [src]: Update quagga to latest (#194) 2017-01-18 13:29:06 -08:00
Shuotian Cheng
e471c98323 [src]: Update sonic-sairedis/swss/common commit to latest (#193) 2017-01-18 10:53:58 -08:00
lguohan
fe5182c5b4 update swss, swss-common, sairedis submodules (#189) 2017-01-12 08:06:14 -08:00
lguohan
5aae34ab4d [redis]: disable auto test during the build (#187) 2017-01-11 13:54:58 -08:00
Taoyu Li
ed9c8fbe8e add sonic config render engine (#178)
add sonic config render engine
2017-01-06 18:19:42 -08:00
lguohan
c19a25988c add sonic utilities into buildimage (#180) 2017-01-04 19:07:50 -08:00
lguohan
0252d78aec [swss]: update sonic-swss submodule (#179) 2017-01-04 08:06:38 -08:00
lguohan
dcc9d01577 [sairedis]: update sairedis submodule (#177) 2017-01-03 21:02:09 -08:00
lguohan
bc03c196a4 [swss]: bring swss submodule to the latest (#172) 2016-12-29 18:38:08 -08:00
lguohan
5a5f5c26da [linux-kernel]: fix sched: Fix race between task_group and sched_task_group (#169) 2016-12-29 09:53:46 -08:00
lguohan
66e3392e8a [linux-kernel]: update linux kernel to 3.16.36-1+deb8u2 (#168) 2016-12-29 00:15:31 -08:00
lguohan
26930e5e17 install latest intel igb driver 5.3.5.4 in the base image (#167) 2016-12-28 19:05:09 -08:00
lguohan
caf5333386 [kernel]: update sonic-linux-kernel submodule to integrate with build (#165) 2016-12-28 06:10:01 -08:00
Nadiya
fe5074f48e Update linux-kernel hash commit (#163)
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2016-12-27 15:16:18 -08:00
jiacao
2c444590e9 Take sonic-swss commit 96b5b523a0dedf237228b118f0420f117dca2a5b (#164) 2016-12-27 15:10:02 -08:00
Qi Luo
ab4a35a1d1 [submodules]: Update submodules to latest commits (#143) 2016-12-19 14:35:09 -08:00
lguohan
775156f3bf [thrift]: fix thrift 0.9.3 test failure (#135)
https://issues.apache.org/jira/browse/THRIFT-3577
2016-12-16 19:12:56 -08:00
lguohan
82e6b1d7d4 [quagga]: add bgp ipv6 ecmp support (#123) 2016-12-14 21:02:44 -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
Shuotian Cheng
923b13afb4 src: Remove libjemalloc-dev from hiredis build.sh (#88)
libjemalloc-dev is installed in sonic-slave
2016-11-30 17:03:09 -08:00
Shuotian Cheng
6888eb74b2 dockers: Add docker-platform-monitor to make all (#87) 2016-11-30 15:44:54 -08:00
Qi Luo
6665c6ad2c Fetch redis source packages from mirror links (#83)
* Fetch redis source packages from mirror links

* Replace more version strings with macros
2016-11-28 15:30:06 -08:00
Qi Luo
543def350b Install lldpd Build-Depends (#81) 2016-11-28 12:15:39 -08:00
Qi Luo
96c2834cad Refine installation order of mlnx-sdk debs (#78) 2016-11-28 12:03:12 -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
lguohan
f45e781782 update sonic-linux-kernel submodule (#77) 2016-11-23 16:10:35 -08:00
lguohan
f25188e3a4 Add python3 build script (#76)
* build python 3.5

* update to 3.5.2-8

* add python3.5 and mpdecimal to Makefile
2016-11-22 21:08:55 -08:00
lguohan
14c86bbd25 remove applibs_*.deb to fix mlnx build (#70) 2016-11-21 17:25:45 -08:00
lguohan
590f2cb0b9 add fw-SPC.mfa in the filelist.txt (#71) 2016-11-21 10:27:23 -08:00
Guohan Lu
0f0f9926c7 reformat deb file list to make it more readable 2016-11-15 14:09:38 +00:00
Guohan Lu
dc84c4130a update mlnx sdk to 4.2.3002 and remove mlnx sai package 2016-11-15 14:08:13 +00:00
Marian Pritsak
31420370b0 Remove packages that are not required for SONiC (#67)
Remove mlnx sx-sdn-hal, sx-acl-rm and testx.
They are neither used nor installed in SONiC.
2016-11-14 11:29:46 -08:00
Qi Luo
75d7987dda Fix build: Makefile (#63)
* Fix Makefile: libnl and libteam dependencies

* Fix rule for docker-orchagent deps (brcm)

* Install libteam libs by the right order
2016-11-10 14:41:29 -08:00
Oleksandr Ivantsiv
0f10cd4a4d Update Makefile to fix to swss package compilation (#57)
Add dependency to libteam for swss package to fix compilation issue.
2016-11-03 10:22:59 -07:00
jiacao
2456860cd2 Add saimetadata-dev dependency (#55) 2016-11-02 18:28:06 -07:00
Marian Pritsak
530d2ac202 update sonic-linux-kernel submodule (#52)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2016-11-02 07:26:24 -07:00
lguohan
68363e17a0 bug fix: fix the redis-server deb package name (#50) 2016-11-01 07:39:08 -07:00
Qi Luo
e89c7be76d Install redis-server>=3.2.4 in docker-database image (#46)
* Install redis-server>=3.2.4

* Reformat

* Build redis from source code

* Add Makefile var: REDIS_VERSION
2016-10-31 21:50:59 -07:00
lguohan
73cbf6ccb2 update swss, sairedis and swss-common submodules (#48) 2016-10-31 12:03:54 -07:00
Shuotian Cheng
515346abf4 Dockerfile: Add libsaimetadata dependency (#42)
* Dockerfile: Add libsaimetadata dependency
* Makefile: Add saimetadata
2016-10-26 15:19:41 -07:00
lguohan
7d9fd3c4f8 build mft-kernel binary debian package (#36) 2016-10-22 00:56:50 -07:00
pavel-shirshov
e5d8289f0b Use quagga sources as a git submodule (#32) 2016-10-17 05:59:37 +00:00
Shuotian Cheng
4373c518cf libteam: Adding build.sh script and docker-team (#18) 2016-10-07 10:41:44 -07:00
Oleksandr Ivantsiv
28fa109e42 Changed docker-syncd-mlnx docker-saiserver-mlnx dependencies to use libnl provided by build system instead of sx-libnl. (#26) 2016-10-05 11:18:37 -07:00
lguohan
457591a365 p4: fix build dependency for python-p4c-bm (#25) 2016-10-02 23:42:11 -07:00
lguohan
21ba8a009a add python-tenjin as build dependency for p4-switch (#22) 2016-10-02 09:33:15 -07:00
lguohan
d667d13b90 sonic-swss: update sonic-swss submodule reference (#23) 2016-10-02 02:52:07 -07:00
lguohan
70fc7ecd2f update sonic-swss and p4-switch submodule to fix docker sonic p4 bug (#21) 2016-09-30 23:32:53 -07:00
lguohan
35880cf30f Makefile: add build dependency for python-p4c-bm (#20) 2016-09-29 23:36:26 -07: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
f09a554f9a Fix rules in Makefiles (#15) 2016-09-27 16:50:29 -07:00
lguohan
d3b3f63537 Sync submodules (linux-kernel, sairedis, swss, and swss-common to latest master) (#13) 2016-09-25 22:59:41 -07:00
Denys Haryachyy
9c3b7ccaf7 Add support for cavium SAI (#5) 2016-09-25 21:48:25 -07:00
Shuotian Cheng
b4f2735785 src: Add libnl3 build.sh script (#11) 2016-09-23 14:11:35 -07:00
Qi Luo
b647bb59d4 (comment) 2016-08-08 10:50:15 -07:00
Qi Luo
e4bd20c18a Squash merge master (11de390) 2016-08-04 10:39:33 -07:00