Commit Graph

6193 Commits

Author SHA1 Message Date
Marian Pritsak
e2a22407b0 [device]: Add support for Mellanox MSN2100 (#544)
* [device]: Add support for Mellanox MSN2100

MSN2100 runs on Spectrum silicon and has 16 100GbE ports.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-28 14:40:19 -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
pavel-shirshov
9dd996b3e9 Update py-swsssdk (#552) 2017-04-28 11:20:40 -07:00
Marian Pritsak
f98e2f5082 [sonic-utilities]: Update submodule (#549)
New revision includes sonic_installer utility.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-28 09:03:21 -07:00
lguohan
b097492b8f [thrift]: Disable auto test in the package build (#545) 2017-04-27 16:07:04 -07:00
Shuotian Cheng
dfa72077c9 [swss]: Update submodule (#546)
- [aclorch]: Fix ACL range attribute enabling (#197)
- [aclorch]: Fix the space and change the log level to INFO

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-27 15:59:46 -07:00
pavel-shirshov
cc9a7982ed Update SAI submodule version (#547) 2017-04-27 13:03:06 -07: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
Roy Lee
f9b88e19e6 [Accton]as7512-32x: change console speed to be 115200 as BIOS's & ONIE's in default. (#536) 2017-04-26 19:32:01 -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
pavel-shirshov
d083d7e79c [database]: Remove hard/soft limits for client-output-buffer in redis (#539)
* Remove hard/soft limits for client-output-buffer in redis

Otherwise when we have a lot of updates from orchagent to syncd latter
one can't process queues fast enough and redic-database disconnect both
orchagent and syncd. orchagent and syncd doesn't have logic to deal with
it and just crash
2017-04-26 12:07:18 -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
sihuihan88
0bb66ddf0c [sonic-utilities]:update submodules (#537) 2017-04-26 06:12:07 -07:00
Marian Pritsak
d597418b6c [rc.local]: Copy saved minigraph if available. (#533)
* [rc.local]: Copy saved minigraph if available.

In case of sonic-to-sonic update old image stores minigraph under /host
directory. Upon first boot this minigraph will be used by new image to
save configuration.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-26 11:41:18 +03:00
lguohan
147b89fa43 [sonic-utilities]: update sonic-utilities to use redis-load-dump to dump redis db data (#530) 2017-04-25 11:07:54 -07:00
Marian Pritsak
035b08b9c4 [installer]: Add support for grub-set-default. (#532)
Its needed for Azure/sonic-utilities#40 for user to set default image for boot.

grub-set-default utility writes to value of saved_entry variable to grubenv.
https://www.gnu.org/software/grub/manual/legacy/Invoking-grub_002dset_002ddefault.html
This patch provides support for grub-set-default to allow user choose a default image to boot from.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-25 06:53:17 -07:00
Joe LeVeque
f28790ce9a [System logs]: Fix logrotate bugs (#535)
- rsyslog logs were being rotated regardless of whether they exceeded their maixmum size. This was due to "-f" flag passed to logrotate in cron job.

- After rotation, /var/log/syslog was never written to again. Instead, logs were written to /var/log/syslog.1. This was due to rsyslog not properly closing the file descriptor to the pre-rotated log.

- Also brought back time-related rotation via the new(er) maxsize option, which performs a boolean OR operation. If the log exceeds the maxsize OR the log hasn't been rotated in the specified, it will be rotated. Using the older size option, the time-based rotation was ignored.

- Also addresses issue #528
2017-04-24 17:55:05 -07:00
lguohan
34adb715df [oneimage]: use loop variable to get image dir in /proc/cmdline for aboot image (#534) 2017-04-24 13:39:29 -07:00
Shuotian Cheng
ced39ccb4c [swss]: Update submodule (#529)
- [portsortch]: Convert the oper_status to string and remove oper_status in portsyncd
- [routeorch]: Remove the logic of deciding if to add temp route or not

Signed-off-by: stcheng <stcheng_89@hotmail.com>
2017-04-22 21:04:07 -07:00
Andriy Moroz
b549adc36c [image]: SONiC-to-SONiC update (#464) 2017-04-21 17:23:36 -07:00
sihuihan88
07bc0092a9 [sonic-utilities]:update submodules (#525) 2017-04-21 17:22:10 -07:00
Oleksandr Ivantsiv
c7ea3470ed [swss]: Generate config files for Everflow and IPinIP from minigraph (#507)
[swss]: Generate config files for Everflow and IPinIP from minigraph
 - Add Everflow DST IP to minigraph file
 - Extend minigraph.py to support Everflow
 - Add templates file for Everflow and IPinIP configuration
 - Add config.sh for swss docker to generate config files
2017-04-21 14:28:29 -07:00
pavel-shirshov
4fe9416a14 Update sairedis submodule (#526) 2017-04-21 14:04:06 -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
Shuotian Cheng
7dc1045c26 [swss]: Export platform as env variable in docker-swss (#524)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-21 08:21:41 -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
Qi Luo
ea51e1c241 Add explicit dependency for swss (#519) 2017-04-19 21:01:26 -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
lguohan
9a4b0adcc7 [build]: use short disk label (#516) 2017-04-19 00:55:22 -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
pavel-shirshov
ebd9af97c4 Update SAI version (#512) 2017-04-17 15:49:47 -07:00
lguohan
fae53f7ea2 [build]: add commit id and build number in sonic_version (#508) 2017-04-16 01:17:22 -07:00
lguohan
701c1eb9b1 [build]: add swss dbg package into deb (#506) 2017-04-14 15:47:33 -07:00
Oleksandr Ivantsiv
fed900fdc2 [sonic-swss]: Update submodule pointer (#503)
* [sonic-swss]: Update submodule pointer

* [sonic-swss-common]: Update submodule pointer
2017-04-14 09:43:54 -07:00
Shuotian Cheng
b305a50a78 [interfaces]: Bring up LAG members before they are enslaved (#505)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-04-13 23:54:44 -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
Marian Pritsak
31e8b1ec67 [sonic-slave]: Refactor Dockerfile. (#502)
Put all packages installation into single apt-get command. This will
allow us to do apt-get update only once.
Eliminate unnecessary intermediate layers where they are not required.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-13 22:09:00 +03:00
Andriy Moroz
ebc343120d Update MLNX SAI revision reference (#501) 2017-04-13 18:29:14 +03:00
lguohan
b3e10d2093 [vas]: remove docker-vas (#499) 2017-04-13 06:08:28 -07:00
Marian Pritsak
e47b8cc0b2 [device]: Fix mellanox eeprom plugins. (#500)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-13 14:07:44 +03:00
sihuihan88
f76e700062 [sonic-utilities]: Update the submodule (#498) 2017-04-12 15:45:50 -07:00
lguohan
2e9b92e1c1 [build]: allow to customize USERNAME and PASSWORD in command line (#492)
* [build]: allow to customize USERNAME and PASSWORD in command line

* use default password and username if not specified in the command line
2017-04-12 11:23:48 -07:00
sihuihan88
5585221890 [sonic-utilities]: Update submodule (#495) 2017-04-11 17:23:04 -07:00
sihuihan88
ec73735d21 [sonic-cfggen]: Move get_machine_info function to sonic_platform.py (#489)
* Move get_machine_info to lib
* Add get platform info API
* Create sonic_platform.py

Signed-off-by: Sihui Han <sihan@microsoft.com>
2017-04-11 13:04:21 -07:00
lguohan
4c81204eaf [sonic-slave]: add aspell in Dockerfile for SAI meta data build (#494) 2017-04-11 12:53:21 -07:00
Taoyu Li
3bd3549818 [cfggen] Fix a bug when portchannel has >2 members (#493) 2017-04-10 22:08:54 -07:00
Marian Pritsak
884bd2d467 [mellanox]: Add support for Mellanox MSN2410 (#491)
* [device]: Add support for Mellanox MSN2410
MSN2410 runs on Spectrum silicon and has 56 ports:
48 25GbE and 8 100GbE
* Avoid full path within bash -c

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-04-10 14:36:36 -07:00