Commit Graph

8632 Commits

Author SHA1 Message Date
Marian Pritsak
c199614b69 Add redis-tools to docker-orchagent (#117)
Changes done in 7c9bffb18f
removed runtime dependency on redis from hiredis.
So we need to add them manually into orchagent docker
2016-12-14 14:33:07 -08:00
Marian Pritsak
1e3fdc45c4 Use same URL for mlnx FW as mlnx SDK does (#116) 2016-12-14 14:33:07 -08:00
Marian Pritsak
6ed8ff0a8b Use permanent URL for mlnx SDK (#113)
Change branch name into commit hash to have a
permanent URL for SDK
2016-12-14 14:33:03 -08:00
Marian Pritsak
9a39142421 Add python api to mlnx SDK (#110)
* Add python api to mlnx SDK

* Update sdk.mk

* Add runtime dependency on python api

Python SX SDK API is not required for build, however
it is useful package to have in syncd docker
2016-12-08 10:31:02 -08:00
Marian Pritsak
9095ea0d30 Integrate ptf into buildimage (#111) 2016-12-08 09:24:48 -08:00
Marian Pritsak
dd9389febf Add dev sdk packages to runtime dependency (#109)
Symbolic links for sx libraries are in dev packages,
so we need them installed in containers too
2016-12-08 07:08:13 -08:00
Marian Pritsak
4e4168d100 Rename docker-orchagent to docker-orchagent-mlnx (#108) 2016-12-08 07:07:54 -08:00
Marian Pritsak
44265fcffd Add docker-p4 to all tagets for p4 platform (#107)
Add dependency on p4 switch for libsairedis
2016-12-08 07:07:05 -08:00
Marian Pritsak
c42a54d755 Add required packages for docker-p4 (#106) 2016-12-08 07:06:42 -08:00
Marian Pritsak
0d9ca53c00 Enable logging for targets in SONIC_PYTHON_STDEB_DEBS (#105) 2016-12-08 07:05:19 -08:00
lguohan
b31956d333 add build dep for sai meta build and python3.5 (#103) 2016-12-07 07:59:21 -08:00
Qi Luo
7c9bffb18f Remove unnecessary build dependencies for hiredis (#91) 2016-12-07 07:26:07 -08:00
Marian Pritsak
709ca3c00f Add mlnx hw-management to all targets (#102)
* Add mlnx hw-management to all targets

* Use correct path for hw-management in all targets
2016-12-06 15:30:20 -08:00
Marian Pritsak
9b415aa5cf Update README according to new build procedure (#101)
* Update README according to new build procedure

* Add detailed description for targets
2016-12-06 15:29:25 -08:00
Marian Pritsak
6503d6a584 Add dependency on libl3 for libsnmp-base (#100) 2016-12-06 10:12:22 -08:00
Marian Pritsak
e6aadeb9f8 Update Dockerfile.template (#95) 2016-12-06 06:32:12 -08:00
Marian Pritsak
16a8224e23 Create group for user in sonic-slave if does absent (#98) 2016-12-06 06:31:59 -08:00
Marian Pritsak
54a3178174 Add runtime dependencies for syncd (#97)
Install lisairedis and libsaimetadata along with syncd
2016-12-05 11:21:22 -08:00
Marian Pritsak
edb54704ab Update mellanox FW version (#96)
Make FW compatible with SDK 4.2.3002
2016-12-05 11:20:46 -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
lguohan
154b281cfb add instruction to pull sonic-slave image from docker registry 2016-12-01 13:50:46 -08:00
Qi Luo
c4f0833dac push_docker.sh: Remove deprecated comments (#90) 2016-12-01 10:41:29 -08:00
Qi Luo
b68ec0eee8 Split script: push_docker.sh (#89) 2016-12-01 02:18:59 -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
Taoyu Li
55ee247f02 Change to thrift 0.9.3 for docker-mlnx-sswstncd-rpc, docker-syncd-mlnx-rpc, and docker-syncd-rpc (#86) 2016-11-29 17:39:30 -08:00
Taoyu Li
c3257e1a9c Modify docker_ptf and docker_saiserver_mlnx to use libthrift0.9.3 (#84) 2016-11-29 14:16:55 -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
7cf0f31a7d Fix getopts option-string (#82) 2016-11-28 13:49:06 -08:00
Qi Luo
543def350b Install lldpd Build-Depends (#81) 2016-11-28 12:15:39 -08:00
Denys Haryachyy
57ff53ea60 docker-syncd-cavm : Added synchronization between syncd and redis (#79) 2016-11-28 12:14:27 -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
mbrar
691b787811 dockers: Add DHCP Relay docker (#38) 2016-11-23 16:09:43 -08:00
Nadiya
0532ee4ed6 platform: Cavium serial settings change (#72)
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2016-11-23 13:47:19 -08:00
Qi Luo
ff14e9c724 build_docker.sh: Tag docker image before pushed to registry (#75) 2016-11-23 12:59:47 -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
Qi Luo
5621082dbb LLDP docker: Remove outdated dependency (#73) 2016-11-21 17:44:16 -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
lguohan
e8b96abb63 add build badge for mellnaox 2016-11-16 18:40:19 -08:00
Qi Luo
af38c0e77d Config apt inside docker images to save disk space: auto clean, gz, no trans (#69) 2016-11-16 12:46:15 -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
Pavel Shirshov
af5c61c73a Add set rcv buffer for syncd rpc (#64) 2016-11-14 12:03:56 -08: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
21c8322055 Change redis conf: listen on unix socket (#66)
By default, redis-server is listening on localhost TCP port. This
change will make it also listen to the domain socket (unix socket),
which will have better client-server performance.
2016-11-14 11:29:31 -08:00
Qi Luo
f8524e74f5 Fix dependencies in Dockerfiles (#65) 2016-11-11 12:09:25 -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