Commit Graph

110 Commits

Author SHA1 Message Date
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