Commit Graph

502 Commits

Author SHA1 Message Date
Volodymyr Samotiy
986a857cd9 [mellanox]: Fix problem with system EEPROM in "hw-mgmt" (#1938)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-16 15:53:43 -07:00
lguohan
38f3eba695
[kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1) (#1922)
* [kernel]: upgrade kernel to 4.9.0-7 (4.9.110-3+deb9u1)

Signed-off-by: Guohan Lu <gulv@microsoft.com>

* [mellanox]: Update SDK pointer for 4.9.0-7 kernel (#44)

Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>

* Update arista drivers for 4.9.0-7 linux kernel (#43)
2018-08-16 08:56:56 -07:00
Volodymyr Samotiy
c4e2f3e630 [mellanox]: Update hw-mgmt service with the stop action (#1929)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-14 16:05:07 -07:00
Volodymyr Samotiy
6a3c05f498 [mellanox]: Update recipe for hw-mgmt according to latest changes (#40)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-11 09:09:03 +00:00
Volodymyr Samotiy
678d4d4a0c [mellanox]: Update SDK pointer (#41)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-08-11 09:09:03 +00:00
Marian Pritsak
16e16f5506 [Mellanox]: Update recipe for hw-management (#4)
Update package revision
Create submodule for sources

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2018-08-11 09:09:03 +00:00
Mykola F
420f003698 [mellanox]: fix SAI build makefile (#29) 2018-08-11 09:09:03 +00:00
AndriiS
d50332f6f0 [devices]: Added new Mellanox MSN2010 platform (#24) 2018-08-11 09:09:03 +00:00
Guohan Lu
0edb3802b0 [build]: add stretch target to build in stretch docker 2018-08-11 09:09:03 +00:00
Marian Pritsak
cd1d1b1896 [Mellanox]: Update recipe for hw-management (#4)
Update package revision
Create submodule for sources

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2018-08-11 09:09:03 +00:00
Marian Pritsak
9aebe09854 [Mellanox]: Upgrade MFT package to 4.8.26 (#3)
This version is compatible with Linux kernel 4.9

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2018-08-11 09:07:59 +00:00
Andriy Moroz
ae843186a5 [Mellanox] Update hw-management service config (#1914)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-08-10 15:37:16 -07:00
Andriy Moroz
dadc17d9e6 [Mellanox] Use MAC from EEPROM for PortChannels and VLAN Interfaces (#1793)
* Use MAC from EEPROM for PortChannels

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Use MAC from EEPROM in DEVICE_METADATA

Will affect MAC for VLAN interfaces

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Get MAC via decode-syseeprom

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* hw-management is now a service

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* Add error handling for MAC fetch process

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-07-23 15:51:03 -07:00
lguohan
eb3ef2f7e8
[mellanox]: fix mellanox SAI 1.3 build issue (#1859) 2018-07-12 21:40:58 -07:00
Volodymyr Samotiy
3d043a18e8 [mellanox]: Update SAI pointer to 1.3 (#1852)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-07-11 08:42:15 -07:00
Andriy Moroz
a6b5acb504 [mellanox]: Update MFT tools to v4.9.0 (#1851)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-07-11 08:41:29 -07:00
Kebo Liu
117dc2b008 [docker-syncd-mlnx] add new mlnx-sfpd daemon to docker-syncd-mlnx (#1841)
* This new daemon will listen to the SDK for the SDK change event,
 * after got a SFP change event will publish a notification via DB.

	modified:   platform/mellanox/docker-syncd-mlnx-rpc.mk
	modified:   platform/mellanox/docker-syncd-mlnx.mk
	modified:   platform/mellanox/docker-syncd-mlnx/start.sh
	modified:   platform/mellanox/docker-syncd-mlnx/supervisord.conf
	new file:   platform/mellanox/mlnx-sfpd.mk
	new file:   platform/mellanox/mlnx-sfpd/scripts/mlnx-sfpd
	new file:   platform/mellanox/mlnx-sfpd/setup.py
	modified:   platform/mellanox/rules.mk

 signed-off-by Liu Kebo kebol@mellanox.com
2018-07-03 16:42:50 -07:00
Qi Luo
7ba08e5bf6
Prefix docker container name to syslog syslogtag (program name) (#1810) 2018-06-25 10:48:42 -07:00
stepanblyschak
3d24305253 [mellanox] Update SAI, SDK, FW pointers (#1811)
SAI 1.12.0
SDK 4.2.8103
FW 13.1701.0008

Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2018-06-25 08:43:22 -07:00
stepanblyschak
ed06aca40e [mellanox] Add cpldupdate utility to SONiC image (#1746)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2018-06-09 11:31:34 -07:00
stepanblyschak
a4b830b3af [mellanox] Update hw-mgmt pointer (#1759)
Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
2018-06-09 11:29:52 -07:00
Volodymyr Samotiy
174960cc22 [mellanox]: Update FW pointer (#1721)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-05-17 11:12:07 -07:00
Volodymyr Samotiy
d62c6ffef9 [mellanox]: Update MLNX SAI pointer (#1683)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-05-08 14:45:36 -07:00
Andriy Moroz
02f706a356 [mellanox]: Update SAI version to 1.11.4 and SDK to 4.2.7303 (#1655)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-04-27 22:48:44 -07:00
Volodymyr Samotiy
dc7c524426 [mellanox]: Update MLNX SAI pointer (#1557)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-04-02 19:02:48 -07:00
Volodymyr Samotiy
c6a9201b74 [mellanox]: Update MLNX SAI and SDK pointers (#1531)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-03-26 10:15:13 -07:00
lguohan
3ba84ec1f7
[SAI]: Update sonic to use SAI v1.2.4 (#1509)
* Update SAI to v1.2.4

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>

* update SAI to v1.2.4 header
2018-03-17 19:07:28 -07:00
lguohan
005a59fc4d
[image]: Upgrade SONiC stack to use SAI version to v1.2 (#1336) 2018-02-22 19:36:39 -08:00
Qi Luo
358949b4e5
Upgrade linux-image version (#1294)
* Upgrade linux-image version
* Add missing dependency of igb
* Fix mft build rule
* Add missing dependency of ixgbe
* [Broadcom]: Update OpenNSL modules to be compatible with kernel 3.16.0-5 (#3)
* [Nephos] Update SDK version to support new kernel module 3.16.0-5 (#4)
* [mellanox]: Update URL for SDK (#5)
2018-01-31 11:39:48 -08:00
lguohan
fac28cf63f
[build]: build libsaithrift-dev and docker-ptf-[platform] (#1300) 2018-01-12 09:34:51 -08:00
pavel-shirshov
47aba6f76d
[libsaithrift-dev]: Enable building libsaithrift-dev and pythonthrift libraries (#1296)
* Fix build of libsaithrift for broadcom

* Restore libsaithrift-dev building

* Comment out libsaithrift library on cavium and marvell. Both of them have old SAI drivers

* Revert back unintentional acton changes

* Don't run the package checks when building sairedis package
2018-01-11 20:32:14 -08:00
Andriy Moroz
389c3e1fd2 [mellanox]: Update MLNX SAI pointer (#1226)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-12-11 09:50:16 -08:00
lguohan
b907e4e9f5
[vs]: add vlan configuration support in virtual switch (#1200) 2017-11-30 14:59:25 -08:00
Marian Pritsak
ded9fbb764 [Mellanox]: Update FW to 13_1534_0164 (#1180)
This version has a fix for rx_pause_duration counter

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-11-23 12:23:07 -08:00
Volodymyr Samotiy
9e12678410 [docker-syncd-mlnx-rpc]: Configure send and receive buffers for PTF agent (#1157)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2017-11-17 00:32:36 -08:00
lguohan
f4e37a66f9 add INSTALLS, LAZY_INSTALLS, DEPENDS targets to image build (#1159)
1. _INSTALLS defines the packages to be installed in the image
at the build time.
2. _LAZY_INSTALLS defines the packages to be installed in the image
at the first run time
3. _DEPENDS defines the packages to at the build dependency of
the image
2017-11-16 12:27:03 -08:00
Marian Pritsak
69b8d28e09 [mellanox]: Update SAI revision (#1135)
Includes fixes for SAI 1.0.2 version
Update SX-SDK to 4.2.6011
Update FW to 13.1530.0152

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-11-09 13:17:06 -08:00
Marian Pritsak
0db8704754 [Mellanox]: Remove FW upgrade procedure in docker (#989)
FW upgrade is done outside the container.
This piece of code was left accidentally during the merge.
2017-09-26 11:22:00 -07:00
Volodymyr Samotiy
948f3ad3ec [mellanox]: Update Mellanox SAI version (#979)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2017-09-25 13:22:02 -07:00
Qi Luo
72412797ff [mellanox]: Update Mellanox SAI version ansd SDK version 2017-09-14 04:11:08 +00:00
Shu0T1an ChenG
a95f062a08 Merge remote-tracking branch 'github/master' into v1.0.3-backup 2017-08-23 12:05:22 -07:00
Oleksandr Ivantsiv
7c75030cea [mlnx-fw-upgrade]: Define required FW version in build time. (#902)
- Do not query required FW from file.
2017-08-22 08:08:07 -07:00
Shu0T1an ChenG
674e2f9467 Revert "[mellanox]: Update Mellanox SAI version"
This reverts commit 338a83bacc.

We first test the previous version of the SAI and make sure
it passes all the tests and then update the SAI version to
a later one.
2017-08-15 11:57:34 -07:00
Shu0T1an ChenG
338a83bacc [mellanox]: Update Mellanox SAI version 2017-08-10 19:32:39 -07:00
Shu0T1an ChenG
e13789c5af Merge remote-tracking branch 'github/master' into v1.0.3
Conflicts:
	platform/mellanox/mlnx-fw-upgrade.sh
	src/sonic-sairedis
	src/sonic-swss
2017-08-10 18:52:01 -07:00
Oleksandr Ivantsiv
d0c8e2d127 [mellanox]: Query required FW version from FW file. (#866)
This simplifies FW upgrade procedure and allows to
specify required version only in one place (fw recipe).
2017-08-04 15:05:15 +03:00
Qi Luo
618b25f18c Squash merge v1.0.3 branch onto master 2017-08-02 22:28:17 +00:00
Oleksandr Ivantsiv
382d52843f [mellanox]: Move FW upgrade script to base image. (#849)
- Download files to target/files directory (instead of target/debs)
- Clean python-weels log files
2017-07-28 10:57:51 -07:00
Joe LeVeque
f49cac086f Remove extra trailing newlines at EOF (#804)
Files now end with a single newline
2017-07-12 20:54:37 -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
Oleksandr Ivantsiv
350718ee77 [Mellanox]: Update SAI version (#740)
- Initialize ECMP default hashing with IPv6 packets
2017-06-22 21:27:49 -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
pavel-shirshov
aab87757d3 Remove sysctl setting which is not used anymore (#611) 2017-05-18 14:45:16 -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
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
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
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
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
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
Andriy Moroz
ebc343120d Update MLNX SAI revision reference (#501) 2017-04-13 18:29:14 +03: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
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
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
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
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
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
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
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
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
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
Oleksandr Ivantsiv
c0aa0b9c17 [Mellanox]: Update Mellanox HW management to V1.0.0030 (#209) 2017-01-24 19:17:32 -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
Marian Pritsak
cb13166596 [docker-teamd]: rename docker-team to docker-teamd (#174) 2016-12-30 13:34:38 -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
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
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
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