Commit Graph

6365 Commits

Author SHA1 Message Date
Marian Pritsak
0fbbb2be41 [slave.mk]: add procmail to sonic-slave. (#385)
Needed for lockfile utility.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-07 23:11:42 -08:00
Marian Pritsak
4c65682478 [orchagent]: Add swssloglevel shortcut in base image (#386)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-07 23:00:58 -08:00
Marian Pritsak
fcffbb3ce6 [slave.mk]: Add installer to clean targets. (#384)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-07 22:34:24 +02:00
lguohan
7548c36d77 [build]: set build jobs to 1 by default (#383) 2017-03-07 22:32:39 +02:00
Qi Luo
1491bf9eae [src]: Update sonic-snmpagent submodule (#382) 2017-03-07 02:28:50 -08:00
Taoyu Li
bd6bf1ff9a [config] [oneimage & dhcp relay docker] Move ntp, rsyslog, and dhcp server information into minigraph (#374)
Move DHCP, rsyslog, and NTP server information into minigraph


* Fix dhcp relay template according to CR
2017-03-06 12:41:26 -08:00
Joe LeVeque
5dafa907b2 [dockers]: Add base image files to syncd-brcm, database and teamd (#380) 2017-03-06 12:22:42 -08:00
lguohan
45e5c14729 add badge for centec 2017-03-05 09:46:46 -08:00
lguohan
6cb5925d81 [sairedis]: update syncd init to support centec asic (#379) 2017-03-04 18:02:15 -08:00
Lihua Yuan
7069cefc90 Update README.md 2017-03-04 13:48:36 -08:00
lguohan
32e4655b3c Update build instruction for broadcom platform 2017-03-04 10:11:20 -08:00
Min Yao
b9c624520e Support centec platform (#376) 2017-03-04 02:17:38 -08:00
Nadiya
701d5ddb8a Add cavm saiserver (#137) 2017-03-04 01:56:41 -08:00
Shuotian Cheng
366775a64e [Broadcom]: Update debian package versions (#373)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-03 23:07:23 -08:00
Marian Pritsak
1ba2111111 [teamd]: Add volumes from database in docker-teamd.mk (#369)
teamsyncd requires volumes from database to connect to DB.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-03 16:23:49 -08:00
lguohan
0993ac2188 [swss]: add swssloglevel to change level log on-the-fly (#367)
add swssloglevel to change level log on-the-fly and simplify syncd start logic on multiple platforms
2017-03-03 08:44:11 -08:00
lguohan
aed03d6dd5 [gobgp]: do not install docker-fpm-gobgp into one image (#366)
* [gobgp]: do not install docker-fpm-gobgp into one image but build docker-fpm-gobgp on different platforms
2017-03-03 08:43:22 -08:00
Oleksandr Ivantsiv
ba0f19ad54 [build_debuian]: Fix issue #267 (docker connect failure). (#365) 2017-03-03 02:26:44 -08:00
lguohan
0f845998bb [sonic-slave]: fix thrift test break introduced in #358 (#364) 2017-03-03 01:33:44 -08:00
lguohan
80e3dc0df7 [device]: add missing sai profile and minigraph for the supported devices (#362)
change orchagent start.sh to use mounted hwsku directory
2017-03-02 23:53:20 -08:00
Shuotian Cheng
f9d8137975 [teamd]: Add redis-tools as the dependency of docker-teamd and fix bugs (#363)
- Fix the if condition bug to wait till PORT_TABLE:ConfigDone before start

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-02 18:07:43 -08:00
Qi Luo
d3891a2a42 Keep pip in the debian image (#356) 2017-03-02 16:04:18 -08:00
Shuotian Cheng
f06dc5d3f9 [teamd]: Update the start.sh script to clean up the docker state (#351)
This change should be temporary because the current teamd cannot
re-create net devices acrosss restart. Basically, it will fail
when there're files in /var/run/teamd/ folder or the previously
created net devices are still there. Thus, the current workaround
is to remove the obsolete files to restart the docker-teamd.

This workaround cannot resolve the swss restart issue. Before
restarting swss, docker teamd needs to be stopped manually. After
swss starts, docker teamd needs to be restarted manually.

This change will only make sure that rebooting the switch will
make the switch at the correct state.

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-02 15:59:16 -08:00
Shuotian Cheng
667ef1d766 [libteam]: Add 0002-libteam-Temporarily-remove-redundant-debug-mes.patch (#357)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-02 13:34:37 -08:00
Joe LeVeque
4eb549d36f [sonic_cli]: Fix bash completion for 'show' command (#355) 2017-03-02 12:17:04 -08:00
pavel-shirshov
bac738f91f Add bgp container with gobgp (#358)
* Add go-1.7 into docker-slave

* Create container docker-fpm-gobgp with gobgpd inside
2017-03-02 11:33:46 -08:00
Marian Pritsak
adc296bf6f [rc.local]: Put variables into quotes in conditionals (#361)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-02 10:10:40 -08:00
Marian Pritsak
11379f9a9d Merge pull request #359 from oleksandrivantsiv/master
Remove SKU from distclean target.
2017-03-02 16:03:36 +02:00
Oleksandr Ivantsiv
e6c2380b6f Remove SKU from distclean target. 2017-03-02 14:08:25 +02:00
Shuotian Cheng
2a2af6a44e [orchagent]: Update start.sh to combine td2 qos/buffers config (#344)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-01 18:23:28 -08:00
Shuotian Cheng
fd6080a362 [Broadcom]: Update debian package versions (#354)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-01 18:22:47 -08:00
Lihua Yuan
524692462c Update README.md 2017-03-01 18:03:31 -08:00
lguohan
0ed9b3ce28 [platform]: remove sku from build parameter (#350)
different sku will be contained in a single one sonic image.
no longer need to specify sku at the build time
2017-03-01 17:05:13 -08:00
Taoyu Li
903499000f [docker-teamd] fix a config bug introduced in #345 (#353) 2017-03-01 14:32:52 -08:00
Marian Pritsak
7d10892dce [Makefile]: Add --no-cache to docker build (#352)
Option was removed by mistake in 38b9eb1829

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-01 14:25:44 -08:00
Marian Pritsak
38b9eb1829 [Makefile]: Automatically rebuild sonic-slave (#338)
sonic-slave is not built upon every make call, because it
takes a lot of time. So in order to track changes hash of
Dockerfile is included to sonic-slave image.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-01 11:00:59 -08:00
Marian Pritsak
a8776033bf Merge swss and syncd into single service (#334)
Current implementation of swss and syncd causes a lot
of problems in terms of dependencies and synchronization.
Instead of handling them in separate services, we now
start and stop them both as a single entity.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-01 10:57:35 -08:00
lguohan
73fb59c52c [build]: allow single src file to build multiple independent debian p… (#349)
add_derived_package setup dependency between the main deb and derived deb.
The derived deb depends on the main deb and need to install the main deb.

add_extra_package does not setup dependency between the main deb and peer deb,
does not require to install the main deb.

* rename add_peer_packages to add_extra_packages
2017-03-01 08:32:58 -08:00
lguohan
e097440f58 [platform]: add dell s6100 into one image (#346) 2017-02-28 16:02:43 -08:00
Shuotian Cheng
ad1b581111 [docker]: Add -c option in teamd docker Dockerfile (#348)
CMD is not longer a file name but a command that needs to be executed,
thus /bin/bash is not enough for the entrypoint and -c is needed.

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-02-28 13:36:59 -08:00
lguohan
1a3bfc2236 [kernel]: update sonic linux kernel to download source from azure storage (#347) 2017-02-28 12:55:48 -08:00
Taoyu Li
d9b1000e6c [cfggen] Add support in -v for jinja2 expression (#345)
* Add support in -v for jinja2 expression
* Format json output
2017-02-28 10:52:56 -08:00
Joe LeVeque
66efbe4ee6 [README.md]: Fix formatting 2017-02-27 16:21:46 -08:00
lguohan
7e1adeeb22 [platform]: add eeprom/sfputil support for z9100 (#342) 2017-02-27 14:42:25 -08:00
lguohan
b9b7d7a295 [installer]: support platform driver lazy installation (#340)
allow one image to support multiple switch devices, install
corresponding platform driver during the first boot time.
2017-02-27 13:08:41 -08:00
Joe LeVeque
2a551d3c60 Consolidate device-specific files; install as a Debian package (#316)
( All device-specific files now reside under /device directory in a <vendor-name>/<platform-string>/<hardware-SKU> directory structure in repo.

* Device-specific files are now packaged into a Debian package (sonic-device-data) and are now installed to /usr/share/sonic/device/<platform-string>/<hardware-SKU>/ directory on switch.
2017-02-27 00:13:36 -08:00
lguohan
ffd65841e6 [kernel]: update linux kernel to support z9100 (#339) 2017-02-26 21:55:24 -08:00
Marian Pritsak
8dc9dccaef [slave.mk]: Make installer executable. (#337)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-02-26 16:00:44 -08:00
Taoyu Li
08734229b6 [cfggen] Allow sku with no alias mapping and minigraph with no png (#335)
* [cfggen] Allow sku with no alias mapping and minigraph with no png

* Add alias mapping for minigraph_neighbor keys
2017-02-25 11:13:23 -08:00
lguohan
1b240e8f37 [boardcom]: update saibcm to 2.1.3.1-3 (#336) 2017-02-24 16:27:39 -08:00