Commit Graph

2326 Commits

Author SHA1 Message Date
Shuotian Cheng
5405b576e6 build_debian: Disable IPv6 DAD (#56)
This change disables DAD (IPv6's Duplicate Address Detection). DAD
protects against IP address conflicts. The way it works is that after
an address is added to an interface, the operating system uses the
Neighbor Discovery Protocol to check if any other host on the network
has the same address. If it finds a neighbor with the same address,
the address is removed from the interface.

The problem here is that the time waiting for DAD to be done is fairly
long and because that we set the host interface operating status to be
down at first, the port cannot exchange the Neighbor Discovery Protocol
and DAD will time out. The host interface is only brought up after we
have received the port admin status up notification from the kernel,
which happens only after the DAD is done or times out. This makes the
whole host interfaces bringing up procedure very slow.

This the DAD is disabled. When it is disabled, addresses are immediately
usable. Without DAD, we need to make sure that the IPv6 addresses don't
have conflicts. For now, we have two IPv6 addresses. One is assigned
manually, which prevents conflicts at first. Another one is the IPv6
link-local address. It is derived from the MAC address and thus all the
link-local addresses are the same on one box. Because link-local addresses
are not used, it will not trigger issues even if they are the same.
2016-11-03 12:15:25 -07: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
Pavel Shirshov
aed2ab5b7a Install supervisor to docker-ptf 2016-11-02 18:27:27 -07:00
jiacao
afab1ae4ee Fix Quagga build name inconsistency (#53) 2016-11-02 12:05:31 -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
Pavel Shirshov
ac64c1c29b Address CR suggestions 2016-10-31 14:48:27 -07:00
Pavel Shirshov
62af66a1f0 Add a pause before pushing port configuration 2016-10-31 14:48:27 -07:00
Pavel Shirshov
30438bb987 update port configurations in lldpd as soon as port created 2016-10-31 14:48:27 -07:00
lguohan
73cbf6ccb2 update swss, sairedis and swss-common submodules (#48) 2016-10-31 12:03:54 -07:00
Qi Luo
076c847bf8 Update get_docker-base.sh (#47) 2016-10-29 19:38:31 -07:00
Taoyu Li
b2322d1748 Modification to saiserver-brcm/Dockerfile (#45) 2016-10-28 15:19:51 -07:00
thomasbo
135ba232ca SNMP/LLDP Containers: Sonic V2 Support (#41)
* Adding support for V2 in SNMP/LLDP (-sv2 postfix)
* Fixes for V1 containers: logging
* Fixes for V1 LLDP: limit LLDP to Front-panel or MGMT interfaces.
2016-10-28 15:19:29 -07:00
Taoyu Li
23542f3e02 Add docker configuration for saiserver-brcm (#44) 2016-10-27 18:02:32 -07:00
Shuotian Cheng
c4630f54c7 Dockerfile: Add bridge-utils to p4 docker (#43) 2016-10-26 21:27:31 -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
42f1b55ec7 add get docker base script to download pre-compiled docker base image (#40) 2016-10-26 13:19:50 -07:00
pavel-shirshov
293db92550 Apply swss configuration in a deterministic way (#39)
* Apply swss configuration in determine way
* Apply configs in small chunks
* Add qos settings for Arista
2016-10-24 14:05:56 -07:00
lguohan
7d9fd3c4f8 build mft-kernel binary debian package (#36) 2016-10-22 00:56:50 -07:00
lguohan
d45ff354e2 check the existence of platforms/ before including it (#37) 2016-10-21 00:29:27 -07:00
Shuotian Cheng
93852194eb start.sh: Remove rsyslogd.pid file on mlnx syncd docker (#35) 2016-10-19 14:39:44 -07:00
Marian Pritsak
51fa77fa8d Automatic fw upgrade for mlnx platform (#31)
* Automatic fw upgrade for mlnx platform

Implement script for firmware upgrade to required version
Add firmware binary and script to ops-syncd-mlnx container
Add pciutils and usbutils to sonic-generic.bin

* Update firmware installation message

It is possible to do both upgrade and downgrade
Change "Upgrading" to "Installing compatible version"

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2016-10-18 11:40:20 -07:00
pavel-shirshov
e5d8289f0b Use quagga sources as a git submodule (#32) 2016-10-17 05:59:37 +00:00
Qi Luo
6042f526f2 Update README.md
Run the sonic-slave container with  --privileged.
2016-10-12 10:29:14 -07:00
lguohan
d5696f742d Add support for Arista a7050 qx32 platform (#30) 2016-10-09 18:05:24 -07:00
Shuotian Cheng
dcf691ecaa Add libnl-nf-3-200 to docker-team (#28) 2016-10-09 14:40:55 -07: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
Pavel Shirshov
94ae04d2a7 Use cffi version 1.7.0. Newest versions doesn't work with nanomsg 2016-10-04 16:36:02 +00:00
lguohan
457591a365 p4: fix build dependency for python-p4c-bm (#25) 2016-10-02 23:42:11 -07:00
Denys Haryachyy
144114c301 Makefile : Added swss and libnl into cavm orchagent dependencies (#24)
* Makefile : Added swss and libnl into cavm orchagent dependencies

* docker-orchagent/start.sh : Removed Cavium specific copp config
2016-10-02 19:25:58 -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
8bf3ae9ae9 Chang port_config.ini directory for s6000 (#19) 2016-09-30 04:20:17 +00:00
Qi Luo
9fe462fefc Update README.md (#17)
Adjust the steps to make it clear everything is built inside builder container.
2016-09-28 17:23:22 -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
Shuotian Cheng
10e403d7c4 Add platform dependency swss (#16) 2016-09-27 17:25:48 -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
lguohan
146c88100b add saiserver docker for mlnx sn2700 platform (#12)
* add saiserver docker for mlnx sn2700 platform
2016-09-23 21:23:43 -07:00
Shuotian Cheng
b4f2735785 src: Add libnl3 build.sh script (#11) 2016-09-23 14:11:35 -07:00
Shuotian Cheng
59d13d0feb Makefile: Use swss_*.deb file to for docker-orchagent (#10) 2016-09-23 11:57:16 -07:00
Shuotian Cheng
623fdbf7f6 Updating docker-orchagent/syncd Dockerfile and start.sh (#9) 2016-09-22 16:16:26 -07:00
Qi Luo
f19d445d4f Update readme on build targets (#8) 2016-09-16 17:00:37 -07:00
Qi Luo
83c48fe9fc Rename hostname (#6) 2016-09-15 15:22:29 -07:00