Commit Graph

3586 Commits

Author SHA1 Message Date
Oleksandr Ivantsiv
793b842d60 Add DHCP client hook to update hostname. (#235)
* Add DHCP client hook to update hostname.

* Remove interface checking

* Update hostname in /etc/hosts file
2017-02-02 11:19:48 -08:00
Joe LeVeque
4cd3d31946 Update APT package lists before first attempt to install (#241)
* Update APT package lists before first attempt to install
* Move setting of environment variable before first call to apt-get
2017-02-02 11:12:04 -08:00
lguohan
caab516ea7 [snmpd]: download source files from azure storage blob (#239) 2017-02-02 07:53:46 -08:00
Joe LeVeque
61d4509f0b Add new sonic-config dependencies to dhcp_relay Dockerfile (#237) 2017-02-01 21:29:50 -08:00
Qi Luo
c90efba372 Update submodule sonic-snmpagent (#236) 2017-02-01 19:44:54 -08:00
Samuel Angebault
921db0511a Update boot0 (#202)
- Refactor of the whole script for readability purpose
 - Now detect the root= partition automatically
 - Allow more parameters to be passed to the cmdline using
   /mnt/flash/kernel-params
 - /host/machine.conf file will have to be generated at a later stage
   since Aboot doesn't have enough information about the platform here
2017-02-01 13:02:29 -08:00
Oleksandr Ivantsiv
d6f0c4611b Add platform-monitor container to one image. (#232) 2017-02-01 13:02:08 -08:00
Andriy Moroz
ddbda4ce2e docker: Add ipaddress python module to the PTF docker (#231)
Needed for the FIB test
2017-02-01 12:49:43 -08:00
Petro Karashchenko
fbe2721543 [sonic-slave]: Fix issue "no space left on disk" while trying to add user in docker (#233)
Note: related to https://github.com/docker/docker/issues/5419

Signed-off-by: Petro Karashchenko <petro.karashchenko@caviumnetworks.com>
2017-02-01 11:56:50 -08:00
Taoyu Li
1c074367a1 Add daemon file which was missing in docker-fpm (#229) 2017-02-01 00:10:40 -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
lguohan
c2b4c870c6 remove fsroot after build (#228) 2017-01-31 22:05:24 -08:00
lguohan
5278f1a0e5 add instructions to change git path to relative path 2017-01-31 12:04:06 -08:00
lguohan
afe3fbf82f make tty as an option in docker run (#225) 2017-01-31 11:47:52 -08:00
Taoyu Li
be8ed80554 teamd: Use 75% links upperbound as min-links (#224) 2017-01-30 17:33:03 -08:00
lguohan
4e3bbc8e13 update build instruction for one image 2017-01-29 16:10:35 -08:00
Oleksandr Ivantsiv
f2eed8f8a0 Added support of ONIE version 2016.11-5.1.0001 for Mellanox platforms. (#218) 2017-01-29 11:34: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
Joe LeVeque
c18b65bc16 Refactor DHCP relay docker in sonicv2 style (#217)
* Refactor DHCP relay docker in sonicv2 style
2017-01-26 23:36:58 -08:00
Joe LeVeque
608980524f [docker]: Install dpkt Python package in PTF docker (#216) 2017-01-25 18:19:15 -08:00
Taoyu Li
e87498d16d Add platform config for 7050 and 6100 (#212)
* Add platform config for 7050 and 6100

* allow certain platform to have no sensors.conf file in sonic-cfggen
2017-01-25 18:18:25 -08:00
lguohan
ac7de25d94 [src]: update linux kernel to take tg3 patch on arista qx32 platfrom (#214) 2017-01-25 11:06:08 -08:00
lguohan
752062d571 [src]: Update sonic-sairedis/swss (#213) 2017-01-25 00:01:14 -08:00
lguohan
d1399e2380 [docker]: Add ptf docker to generic target (#210) 2017-01-24 19:18:42 -08:00
byu343
694e12b4b4 [Arista]: Add VFAT support in initramfs (#208) 2017-01-24 19:18:01 -08:00
Oleksandr Ivantsiv
c0aa0b9c17 [Mellanox]: Update Mellanox HW management to V1.0.0030 (#209) 2017-01-24 19:17:32 -08:00
Taoyu Li
1b49499b65 [docker]: Add a status file to mark that the file is generated by sonic-config-engine (#211) 2017-01-24 19:16:55 -08:00
byu343
6d8f57631b [Arista]: Add support to convert vfat file system to ext4 (#201)
This commit will convert the existing file system of flash drive on Arista switches from VFAT to EXT4 in the booting of SONiC. It will take the whole flash and therefore remove the recovery partition. There is a check in the script making sure that the conversion operation will not happen on a non-Arista switch or if the existing file system is not VFAT.
2017-01-23 22:25:47 -08:00
Joe LeVeque
7bd90505a1 [docker]: Add DHCP relay docker to generic build (#207) 2017-01-23 22:18:53 -08:00
Shuotian Cheng
09f61a4894 [libteam]: Add patch 0001-libteam-Add-team_get_port_enabled-function.patch (#205) 2017-01-22 22:19:43 -08:00
Taoyu Li
9b940c3b3d Remove apt purge which wrongly remove sonic-config-engine (#204) 2017-01-21 10:30:39 -08:00
Joe LeVeque
78f11a7ff3 [docker]: Make line breaks consistent in DHCP relay Dockerfile (#203) 2017-01-20 22:33:11 -08:00
Oleksandr Ivantsiv
ea65962fe4 Fix compilation issue. (#198)
Fix docker-platform-monitor compilation issue.
Update .gitignore file
2017-01-20 13:55:42 -08:00
Taoyu Li
4fe1bdcf87 sonic-cfggen with sonicv2 dockers (#190)
Add a sonic-config-engine to help generate config file based on minigraph and other data on runtime. Modify fpm, teamd, lldp, snmp, and platform-monitor docker to use sonic-config-engine to generate config in docker upon load.
2017-01-19 20:56:26 -08:00
Qi Luo
0d6b1e86a8 Change default password, so less confuse to sonic-mgmt playbook (#197) 2017-01-19 15:40:18 -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
pavel-shirshov
3df2c47466 [src]: Update quagga to latest (#194) 2017-01-18 13:29:06 -08:00
Shuotian Cheng
e471c98323 [src]: Update sonic-sairedis/swss/common commit to latest (#193) 2017-01-18 10:53:58 -08:00
Pavel Shirshov
86f5c19643 [docker]: docker-ptf doesn't wait until eth3 is up
This is done inside ptf agent now
2017-01-17 14:40:35 -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
lguohan
fe5182c5b4 update swss, swss-common, sairedis submodules (#189) 2017-01-12 08:06:14 -08:00
lguohan
5aae34ab4d [redis]: disable auto test during the build (#187) 2017-01-11 13:54:58 -08:00
Shuotian Cheng
d92f99799b [platform]: Update Broadcom debian package versions and chmod on executables (#185) 2017-01-09 14:34:14 -08:00
Taoyu Li
ed9c8fbe8e add sonic config render engine (#178)
add sonic config render engine
2017-01-06 18:19:42 -08:00
marian-pritsak
43b0e502de Add recipe for ptf docker 2017-01-05 14:39:07 -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