Commit Graph

1792 Commits

Author SHA1 Message Date
Shuotian Cheng
2090cd341f [Broadcom]: Update SAI to 2.1.5.1-16 (#803)
Add Inventec-D7032Q28B-C32 config.bcm file
2017-07-12 18:15:35 -07:00
Shuotian Cheng
ecd0b29533 [Broadcom]: Update SAI to 2.1.5.1-15 (#799)
Add Arista-7050-Q16S64 config.bcm file
2017-07-11 13:01:45 -07:00
Shuotian Cheng
a5184d23d9 [Broadcom]: Update OpenNSL to 3.2.2.2-10 (#796)
Implement ACL redirect SET API
RCU soft lockup issue fix for Dell S6100
2017-07-11 11:15:48 -07:00
Nadiya
18627bcf36 Update cavium xpnet driver (#792)
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-07-07 10:24:20 -07:00
Nadiya
ca8fa7a32e Update cavium libsai (#793)
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-07-07 10:24:06 -07:00
Oleksandr Ivantsiv
96fe120265 [mlnx]: Add support of Mellanox SN2740 platform. (#786)
- Update SAI (added support of SN2740 profile).
- Update SDK to version 4.2.3130.
- Update FW to version 13.1224.0140.
- Update HW MGMT to version 1.0.0160.
2017-07-07 14:26:53 +03:00
Shuotian Cheng
39bd495ea9 [Broadcom]: Update SAI package to support Celestica Seastone DX010 and Accton AS7716 (#768) 2017-06-29 10:50:53 -07:00
wadelnn
3f570a4cbf Update Ingrasys platform submodule (#764)
* Remove specific fancontrol service.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-06-29 01:41:12 -07:00
Oleksandr Ivantsiv
350718ee77 [Mellanox]: Update SAI version (#740)
- Initialize ECMP default hashing with IPv6 packets
2017-06-22 21:27:49 -07:00
Joe LeVeque
629362cad7 [docker-syncd-brcm]: Sleep to allow syncd to create socket before calling bcmcmd (#733)
* [docker-syncd-brcm]: Sleep to allow syncd to create socket before calling bcmcmd

* Instead of fixed sleep interval, continually check for presence of socket
2017-06-21 18:53:28 -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
Shuotian Cheng
c4133e166b [Broadcom]: Update SAI package to support Accton-AS7712-C32 (#720) 2017-06-20 20:50:51 -07:00
Samuel Angebault
6feef14f2e [platform]: Update sonic-platform-modules-arista (#727) 2017-06-20 20:39:42 -07:00
Joe LeVeque
c2c232a161 Add Broadcom LED microprocessor initialization for Dell S6000 (#726)
* Add Broadcom LED microprocessor initialization for Dell S6000

* Increase bcmcmd timeout to 60 seconds
2017-06-20 16:37:06 -07:00
lguohan
897cc2bbb5 [platform]: fix file mode for acction platform to create clean build (#714) 2017-06-18 14:38:31 -07:00
Polly Hsu
c1c8a122be [Accton]: Add a new supported device and platform, AS7712-32X (#662)
* platform/broadcom: Add a new supported device and platform, AS7712-32X

* Switch Vendor: Edge-core
* Switch SKU:  AS7712-32X
* ASIC Vendor: Broadcom
* Swich ASIC: Tomahawk
* Port Configuration: 32x100G
* SONiC Image: SONiC-ONIE-Broadcom

  Signed-off-by: polly_hsu@accton.com
2017-06-15 10:33:42 -07:00
wadelnn
50aba596a9 [platform]: Update submodule platform/broadcom/sonic-platform-modules-ingrasys (#670)
* Update submodule platform/broadcom/sonic-platform-modules-ingrasys

* Fixed FAN Status Setup Error.
* Add Drivers deinitialization feature.
* Allow for updating drivers on a running system.
* Let fans returned to full speed when driver uninstalled.
* Change S8900-64XC fancontrol config
* Delete S9100 syncd.conf

Signed-off-by: Wade He <chihen.he@gmail.com>

* Update submodule
* Fixed build error in fsroot on different kernel versions between host and rootfs.
* Fixed Read HW Revision in CPLD.
* rmmod check to avoid error.

Signed-off-by: Wade He <chihen.he@gmail.com>
2017-06-07 10:29:19 -07:00
lguohan
67acc0171b [platform]: update platform modules for dell s6100 and z9100 (#679) 2017-06-07 00:41:25 -07:00
Shuotian Cheng
b55ab4614b [Broadcom]: Update SAI package to support Arista-7050-QX32S (#671) 2017-06-05 22:41:20 -07:00
Shuotian Cheng
5f8e495cb0 [Broadcom]: Update SAI package (#665)
Increase the maximum logical ports supported to prevent TH initialization crash
2017-06-02 23:33:37 -07:00
Samuel Angebault
7d33387e7c [platform] Complete support for Arista-7050QX-32S (#661)
* Bump sonic-platform-modules-arista submodule

* Use sonic_sfputil plugin from the arista library

* Fix undefined variable varlog_size

* Prevent minigraph.xml to be removed from the flash

* Update DCS-7050QX-32 sensors config
2017-06-02 01:31:53 -07:00
Shuotian Cheng
984e6c4bc9 [Broadcom]: Update SAI package (#659)
Add Ingrasys config.bcm files
2017-06-01 17:51:12 -07:00
Nadiya
94c550a3a8 [cavium]: Update cavium libsai (#655)
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-06-01 10:54:15 -07:00
Shuotian Cheng
a5c0dff209 [Broadcom]: Update SAI package to 2.1.5.1-8 (#649)
Add config_checker/permitted_list
Please check etc/bcm/ folder to check the README.msft file!
2017-05-31 10:57:42 -07:00
Marian Pritsak
520fff5b2d Add ENABLE_SYNCD_RPC option (#642)
Under rules/config now there's additional configuration option
ENABLE_SYNCD_RPC that allows building SONIC installer with
docker-syncd-*-rpc for evaluation purposes.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-05-30 16:17:03 -07:00
lguohan
1b2b7b8e35 [docker-swss]: mount /var/log/swss into the docker (#640)
Fix the bug introduced by commit e6bb4b20a1
The previous commit mount /var/log into the docker which override
the original /var/log directory structure, causing swss docker failed to
start due to following errors.

Error: The directory named as part of the path /var/log/supervisor/supervisord.log
does not exist.
2017-05-27 16:05:21 -07:00
Shuotian Cheng
e6bb4b20a1 [swss]: Update submodules and mount /var/log to swss docker (#636)
- [swss]: Update sairedis/swss/common submodules
- [orchagent]: Mount /var/log folder and use the folder to save recording files
- [orchagent]: Use -d to specify the folder path
2017-05-26 17:56:29 -07:00
pavel-shirshov
f3312b8e0b [docker-ptf-*]: Use buildimage infrastructure to build docker-ptf-* (#638)
* Add files to build docker-ptf-{platform}
2017-05-26 17:18:11 -07:00
Joe LeVeque
338e4e8839 Syncd docker builds now depend on docker-config-engine (#634) 2017-05-25 13:18:32 -07:00
Marian Pritsak
0137f7ab5c [Mellanox]: Update SAI revision (#632)
New revision contains fixes for applying attributes on LAGs/LAG members

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-05-25 14:43:03 +03:00
Joe LeVeque
a2eda30a03 [docker-syncd-*]: Properly manage syncd with supervisord (#617)
- This PR allows supervisord to log syncd exit events to syslog 
 - Syncd dockers now are built from docker-config-engine instead of docker-base
 - Supervisord in all syncd dockers now call syncd_start.s which is installed by sonic-sairedis repo
2017-05-24 11:53:38 -07:00
Shuotian Cheng
faf33d80d3 [Broadcom]: Update Broadcom SAI to 2.1.5.1-7 (#616)
* 20170519 (0843e2a858c2e730b25e7106c83a472e43cd527d)
  Fixed unknown neighbor processing and neighbor update scenarios.
2017-05-19 23:23:59 -07:00
Qi Luo
e87fe90d91 [Broadcom]: Update bcmcmd and dsserve binaries (#613) 2017-05-18 18:15:36 -07:00
pavel-shirshov
aab87757d3 Remove sysctl setting which is not used anymore (#611) 2017-05-18 14:45:16 -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
Nadiya
a7fbd775c6 [platform] Add as7512 sfp/eeprom utils (#531)
* Cavm platfrom modules insmod on start

Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>

* Add as77512 platform utils

Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>

* Move platform related init to platform modules

Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-05-18 00:59:54 -07:00
Shuotian Cheng
7241296292 [Broadcom]: Update Broadcom SDK to 3.2.2.2-8 (#605) 2017-05-17 13:26:51 -07:00
Samuel Angebault
cb969fc843 [platform] Add Arista DCS-7050QX-32S and missing plugins (#597)
* Update sonic-platform-modules-arista submodule

* Add sensors.conf for Arista DCS-7050QX-32S

* Add plugin/eeprom.py for Arista DCS-7050QX-32S

* Add plugin/sfputil.py for Arista DCS-7050QX-32S

* Add port_config.ini for Arista DCS-7050QX-32S

* Add plugin/sfputil.py for Arista DCS-7060CX-32S

* Add plugin/eeprom.py for Arista DCS-7060CX-32S

* Update plugin/eeprom.py for Arista DCS-7050QX-32
2017-05-16 08:07:47 -07:00
Shuotian Cheng
973ee89b27 [Broadcom]: Update Broadcom SDK to 3.2.2.2-7 (#595) 2017-05-12 12:08:09 -07:00
Marian Pritsak
34449c162e [mellanox][hw-management]: Update to 1.0.0100. (#599)
New revision contains support for sys_eeprom in MSN2410 and MSN2100.
Changes in mlnx2100 script for loading drivers.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-05-12 17:22:37 +03:00
Marian Pritsak
f4343ac600 [mellanox]: Update SAI revision. (#593)
New revision contains fixes to LAG and WRED configuration.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-05-12 10:13:51 +03:00
Shuotian Cheng
68545416dc [Broadcom]: Update Broadcom SDK to 3.2.2.2-6 and SAI to 2.1.5.1-6 (#583)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-05-10 12:49:52 -07:00
Joe LeVeque
d5c13c0a83 [dockers]: Disable autorestart on all supervisor processes inside containers (#580) 2017-05-09 17:37:08 -07:00
Joe LeVeque
8f348399f5 [Dockers]: Manage all Docker containers with Supervisord (#573)
- Consolidate config.sh and start.sh scripts into one script (start.sh)
 - Solve issue #435 - All dockers now run supervisord as their ENTRYPOINT
 - All stdout/stderr output from processes managed by supervisord is now sent to syslog instead of their own files
 - Supervisord log messages are now also sent to syslog
 - Removed unused smartmontools package from docker-platform-monitor
2017-05-08 15:43:31 -07:00
Shuotian Cheng
97b4924476 [Broadcom]: Update broacom SDK to 3.2.2.2-5 and SAI to 2.1.5.1-5 (#570)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-05-08 11:31:00 -07:00
Shuotian Cheng
052532544c [Broadcom]: Update broacom SDK to 3.2.2.2-4 (#561)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-05-01 17:36:30 -07:00
pavel-shirshov
14578d50e2 [docker-syncd-rpc]: Fix the issue which prevented supervisord to start (#555)
service syncd start blocks docker-syncd-rpc start.sh script
and supervisord doesn't start. so start supervisor in daemon mode
2017-04-28 22:48:50 -07:00
Oleksandr Ivantsiv
8255c9d8ed Temporary Revert "Update MLNX SAI revision reference (#540)" (#551)
This reverts commit ce663baa10.
Revert due to issue in MLNX SAI:
https://github.com/Azure/sonic-swss/issues/199
2017-04-28 23:15:08 +03:00
lguohan
03cd2cef78 [Broadcom]: Update broacom SAI to 2.1.5.1-4 and opennsl to 3.2.2.2-3 (#543) 2017-04-26 22:19:31 -07:00
Marian Pritsak
eed3be9b34 [mellanox]: Update hw-management to V1.0.0070 (#541)
Fixed temp_max attribute in ASIC driver
Fixed PSU driver load for SN2100 and SN2700 platforms

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-26 19:31:33 -07:00
Andriy Moroz
ce663baa10 Update MLNX SAI revision reference (#540)
This fixes https://github.com/Azure/sonic-swss/issues/191
2017-04-26 08:32:23 -07:00
Shuotian Cheng
3223996404 [Broadcom]: Update debian package versions (#538)
- libsaibcm 2.1.5.1-3

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-26 06:12:23 -07:00
Joe LeVeque
6c202919b3 [System logs]: Eliminate duplicate log messages and attempt rotation more frequently (#520)
* Rename 'ACSFileFormat' -> 'SONiCFileFormat'

* Rename '00-acs.conf' -> '00-sonic.conf'

* Add logrotate.d and systemd-journald config files to image

* Log all SONiC process messages to /var/log/syslog; prevent duplicate logging to /var/log/messages

* Do not redirect cron and daemon logs to their own files, let them log to /var/log/syslog

* Log all teamd messages to /var/log/teamd.log; Add more SONiC program names to SONiC rules clause

* Remove duplicate code by condensing quagga programs into a list; Fix teamd log rule

* Kernel and LPR messages no longer getting duplicated to their own log files

* Now calling logrotate every minute via cron job

* Need full path to logrotate in cron job

* Add '.log' suffix to wildcards, otherwise logrotate will rotate already-rotated logs (e.g., bgpd.log.1.1.1.1.1...)

* Add microsecond granularity to syslog messages

* Don't overwrite system crontab, instead, install additional logrotate crontab file into /etc/cron.d

* Removed incomplete concept of per-process SONiC logs. We can revisit again later
2017-04-21 08:22:44 -07:00
pavel-shirshov
2c4c6e9ceb Use syncd-rpc for docker-syncd-rpc (#522)
* Use syncd rpc for docker-syncd-rpc. Create docker-syncd-rpc for cavium and centec
2017-04-20 14:37:09 -07:00
Rodny Molina
d30fbf1d72 [build]: Adding support for Free-Range-Routing stack. (#510)
- Extending SONiC building infrastructure to provide users
           with greater flexibility, by allowing them to elect a
           routing-stack different than the default one (quagga). The desired
           routing-stack will be defined in rules/config file.

         - As part of these changes I'm adding support for
           Free-Range-Routing (FRR) stack. Quagga will continue to be
           the default routing-stack.

Signed-off-by: Rodny Molina <rodny@linkedin.com>
2017-04-20 09:12:27 -07:00
Shuotian Cheng
fb01755d48 [swss]: Update sonic-swss to enable SAI_NUM_ECMP_MEMBERS option in sai.profile (#518)
- Update Broadcom libsaibcm debian package to 2.1.5.1-2
- Add SAI_NUM_ECMP_MEMBERS=32 to two Trident II platforms
- Update sonic-swss submodule version to support such changes

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-19 19:34:27 -07:00
Samuel Angebault
68fcc36549 [platform]: update to latest arista drivers (#515) 2017-04-18 17:50:31 -07:00
pavel-shirshov
c0e292ecd2 [docker-syncd-rpc]: Fix Dockerfile (#513)
* Use dpkg_apt properly

* Remove unused dpkg_apt

* Purge not remove previous version of syncd
2017-04-17 17:27:42 -07:00
Shuotian Cheng
abf54c22c4 [Broadcom]: Update debian package versions (#504)
- OpenNSL 3.2.2.2-2

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-13 15:40:05 -07:00
Andriy Moroz
ebc343120d Update MLNX SAI revision reference (#501) 2017-04-13 18:29:14 +03:00
Shuotian Cheng
b0901ecb8e [broadcom]: Update Broadcom debian packages and add config.bcm files (#478) 2017-04-07 11:26:45 -07:00
Nadiya
6f04867954 [oneimage] Add cavium packet driver (#469)
* [oneimage] Add cavium packet driver

Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>

* Rename cavm_platform_modules.mk and cavm_xpnet.mk to fit naming convetion

Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>

* Allow dpkg -i for cavm_xpnet

Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-04-03 19:13:29 -07:00
Nadiya
a0c80d8a41 Update cavium libsai (#470)
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-04-02 23:43:57 -07:00
pavel-shirshov
814fd87e63 Remove /var/run/rsyslogd.pid bofore starting rsyslog (#453) 2017-03-29 18:07:25 -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
krambn
8caa4cccd9 [p4]: Update p4-switch submodule (#444)
- Increase P4 IPV4_LPM_TABLE_SIZE and IPV4_HOST_TABLE_SIZE
2017-03-27 15:23:43 -07:00
pavel-shirshov
5314230980 [docker-syncd-%-rpc]: Integrate syncd dockers with rpc (#431)
* Build docker-syncd-*-rpc for brcm and mlnx

* Fix errors

* Update make files for rpc

* Fix mistypes
2017-03-24 18:36:56 -07:00
Shuotian Cheng
e2cc409f8a [database]: Mount /var/run/redis/ folder from host for all dockers (#418)
- Create /var/run/redis/ folder on the host
- Install Python client for Redis on the host
- Mount /var/run/redis/ as read/write from host for all dockers
- Enable accessing the database everywhere including on the host and from remote

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-23 12:18:52 -07:00
Shuotian Cheng
6a6bc88dcb [interfaces]: Remove bridge-utils from swss docker and add it to base image (#417)
The reason is that /etc/network/interfaces file is in base image. After booting,
docker-swss is not ready and thus the empty VLAN interfaces cannot be created
when the brctl is pointing to the binary inside the swss docker.

Add the bridge-utils into the base image and add bridge_ports none to the
/etc/network/interfaces file so that after boot-up the empty VLAN interfaces
will be created to let the members to join later.

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-20 21:39:09 -07:00
wadelnn
799f0727a5 Update Ingrasys S9100 submodule (#406)
* Update Ingrasys S9100 submodule

* Modified debian files permission
2017-03-17 02:04:25 -07:00
Shuotian Cheng
1e07284e7a [p4]: Add openssh-client and openssh-server to Dockerfile (#405)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-16 22:43:39 -07:00
Shuotian Cheng
05e6b3611d [interfaces]: Combine vlan_interfaces and lag_interfaces file and add allow-hotplug (#381)
* [files]: Add allow-hotplug stanza to interfaces files

- start interface <interface_name> when the kernel detects
a hotplug event from the interface

ref: https://www.debian.org/doc/manuals/debian-reference/ch05.en.html

* [interfaces]: Combine vlan_interfaces and lag_interfaces file and add allow-hotplug

1. Remove vlan_interfaces and lag_interfaces file and members in teamd.j2
2. Add all interfaces to /etc/network/interfaces file
3. Add allow-hotplug stanza
4. Add up <command> to automatically add interfaces to VLAN and LAG
5. Add unique_name filter to minigraph.py to remove duplicate interface names
6. Add brctl to base image
7. Update sonic-swss submodule

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-16 11:22:40 -07:00
Min Yao
831b10ea26 [Centec] update centec gg sdk3.5 kernel module debian package (#393) 2017-03-14 21:03:30 -07: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
Joe LeVeque
5dafa907b2 [dockers]: Add base image files to syncd-brcm, database and teamd (#380) 2017-03-06 12:22:42 -08:00
Min Yao
b9c624520e Support centec platform (#376) 2017-03-04 02:17:38 -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
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
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
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
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
lguohan
1b240e8f37 [boardcom]: update saibcm to 2.1.3.1-3 (#336) 2017-02-24 16:27:39 -08:00
lguohan
b21d26dfe0 [platform]: add support for Force10-Z9100 32x100G (#332)
* [platform]: add support for Force10-Z9100 32x100G

* update sonic-swss submodule

* [broadcom]: update broadcom sai/sdk
2017-02-24 08:35:11 -08: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
Andriy Moroz
acb909c989 Update Mellanox SAI git reference (#326)
New SAI commits include some fixes for ACLs on LAG member support
2017-02-23 03:52:26 -08:00
lguohan
89d052dc0f [platform]: update to latest arista platform driver (#310) 2017-02-18 21:24:03 -08:00
pavel-shirshov
a845740543 [All Dockerfiles]: Prevent apt asking questions on the console (#300)
Add noninteractive setting into every Dockerfile in the repo

Signed-off-by: Pavel Shirshov pavelsh@microsoft.com
2017-02-16 21:48:49 -08:00
Shuotian Cheng
e702fc0732 [Broadcom]: Update debian packages (#296)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-02-15 08:48:52 -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
b6753e7960 [docker-config-engine]: introduce docker sonic config engine (#274)
* [docker-config-engine]: introduce docker sonic config engine

sonic config engine provide the sonic configure engine for all sonic
dockers that rely on the engine to generate runtime configuration.
2017-02-07 18:11:19 -08:00
Nadiya
2358678497 Add operational script, accton_as7512_util.py, for device initializatian and peripheral accessing (#265)
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-02-05 22:17:25 -08:00
lguohan
27a0b7c1fd build one aboot image on arista platform (#263) 2017-02-05 15:59:59 -08:00
Kram
d41877f4ff [p4]: update p4 behaviro-model refpoint 2017-02-05 07:29:44 +00: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
Shuotian Cheng
00fe0784b4 [Broadcom]: Update Broadcom debian packages and m3000-r0 m3000-r1 config.bcm files (#251)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-02-03 19:44:00 -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
Oleksandr Ivantsiv
4ce17b100f Install orchagent and syncd containers to Broadcom and Cavium images (#227) 2017-02-01 00:09:02 -08:00
lguohan
1786a3389d rename single image to one image (#220)
* rename single image to one image
2017-01-31 22:06:12 -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
lguohan
d1399e2380 [docker]: Add ptf docker to generic target (#210) 2017-01-24 19:18:42 -08:00
Oleksandr Ivantsiv
c0aa0b9c17 [Mellanox]: Update Mellanox HW management to V1.0.0030 (#209) 2017-01-24 19:17:32 -08:00
Joe LeVeque
7bd90505a1 [docker]: Add DHCP relay docker to generic build (#207) 2017-01-23 22:18:53 -08:00
Oleksandr Ivantsiv
80d0d2d43b Reduce docker images size. (#196)
* Reduce docker images size.

Install only required dependencies.

* Update Dockerfile.j2
2017-01-19 12:19:21 -08:00
Shuotian Cheng
6d4d54c984 [platform]: Update Broadcom debian packages (#195)
Fix /proc/bcm/knet/link set wrong port status
2017-01-18 17:11:29 -08:00
Nadiya
ae4b72e866 [platform]: Add rules to build cavium platform modules (#186)
* Added rules to build cavium platform modules
* Use correct kernel version

Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-01-12 18:04:19 -08:00
Shuotian Cheng
387399663f [platform]: Update Broadcom debian packages (#188) 2017-01-12 10:40:25 -08:00
Shuotian Cheng
d92f99799b [platform]: Update Broadcom debian package versions and chmod on executables (#185) 2017-01-09 14:34:14 -08:00
Nadiya
a0281f8069 Added profile.ini into docker-syncd-cavm (#184)
Signed-off-by: Nadiya.Stetskovych <Nadiya.Stetskovych@cavium.com>
2017-01-05 10:14:46 -08:00
Denys Haryachyy
57dd634935 platform/cavium : Download SAI libraries from Xpliant github repo (#183) 2017-01-05 10:14:03 -08:00
Marian Pritsak
cb13166596 [docker-teamd]: rename docker-team to docker-teamd (#174) 2016-12-30 13:34:38 -08:00
lguohan
7b4d715dcc add quagga teamd targets into docker-sonic-p4 (#166) 2016-12-28 17:57:07 -08:00
Denys Haryachyy
8bdb59b5b0 platform/cavium : Download debian packages (#162)
* platform/cavium : Download debian packages

* platform/cavium : Removed obsolete Makefile rules

* platform/cavium : Replaced branch name with commit id
2016-12-28 12:34:41 -08:00
jiacao
2c444590e9 Take sonic-swss commit 96b5b523a0dedf237228b118f0420f117dca2a5b (#164) 2016-12-27 15:10:02 -08:00
Denys Haryachyy
057eea8496 docker-syncd-cavm : Changed template method to jinja2 (#161)
* Cavium support in the new build infrastructure

* Added a file with a list of cavium debian packages

* docker-syncd-cavm : Added SAI and XDK libraries

* docker-syncd-cavm : Removed redis-tools from docker template

* docker-syncd-cavm : Changed templating method to jinja2

* docker-syncd-cavm : Install libjemalloc1
2016-12-26 16:16:52 -08:00
lguohan
3f1a7895b8 [p4]: update p4-switch submodule (#160) 2016-12-25 09:53:47 -08:00
lguohan
4673be0d70 add download url for broadcom sai/sdk deb packages (#159) 2016-12-25 00:44:06 -08:00
lguohan
38aa597875 [p4]: update p4-switch submodule to fix p4 qos scheduler query (#158) 2016-12-24 12:07:53 -08:00
Denys Haryachyy
b8825498da Added rules to build syncd and orchagent containers for Cavium target (#152)
* Cavium support in the new build infrastructure

* Added a file with a list of cavium debian packages

* docker-syncd-cavm : Added SAI and XDK libraries

* docker-syncd-cavm : Removed redis-tools from docker template
2016-12-23 15:26:51 -08:00
Marian Pritsak
66aebb329c [docker]: Change templating method to jinja2 (#115) (#153)
Move from sed to jinja2 for more readability.
2016-12-23 15:22:06 -08:00
Shuotian Cheng
e3b126893b [makefile]: Exclude p4 from building generic platform dockers (#155) 2016-12-22 21:32:07 -08:00
jiacao
a11593a746 Fix the redis.conf file for sonic p4 image (#151) 2016-12-21 20:30:47 -08:00
jiacao
b77d53fd8f Add redis in sonic p4 image (#146) 2016-12-21 02:44:41 -08:00
Oleksandr Ivantsiv
562d875900 [platform]: Update Mellanox SAI and SDK version. Add SDK installation dependencies. (#142)
* Update Mellanox SAI and SDK version. Add SDK installation dependencies
* Update Mellanox Fimware version.
* Update sdk.mk
2016-12-20 13:30:48 -08:00
Marian Pritsak
7039a05604 Add .gitignore for Mellanox platform (#141) 2016-12-19 09:41:33 -08:00
Marian Pritsak
b8ca9c4047 Add sx-kernel to all targets (#138)
Define sx-kernel pckages in sdk.mk
Add them to SONIC_ALL
2016-12-19 09:39:07 -08:00
Shuotian Cheng
da9022971e Makefile: Add platform generic for platform neutral targets (#127) 2016-12-15 19:43:17 -08:00
lguohan
131aa6f4ed bug fix: build docker orchagent brcm (#122) 2016-12-14 21:02:21 -08:00
lguohan
98e3479e26 build orchagent and syncd docker on broadcom platform (#118)
* build orchagent and syncd docker on broadcom platform
2016-12-14 14:33:07 -08:00
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
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
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
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