Commit Graph

379 Commits

Author SHA1 Message Date
Qi Luo
36e02f76ee Fix: support submodule patching if provided (#407) 2017-03-16 22:57:30 -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
Qi Luo
74b6c4074b Support submodule patching if provided (#403)
* Support submodule patching if provided
* Replace stg with quilt, working without git branch
2017-03-16 14:24:43 -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
Joe LeVeque
d6bfa505b3 Wait for VLAN interface to come up before starting DHCP relay (#399) 2017-03-16 10:40:33 -07:00
lguohan
096690e626 [snmpagent]: update sonic-snmpagent submodule (#402) 2017-03-16 09:28:14 -07:00
Joe LeVeque
d34cfd04a8 [motd]: Lower-case 'i' in title (#398) 2017-03-15 20:14:28 -07:00
pavel-shirshov
d7c70665de [baseimage]: Add kexec-tools package into the baseimage (#397)
* Include kexec-tools package which could be used for fast reboot

* Use sudo for sed
2017-03-15 18:38:55 -07:00
kaiyu22
62ddedecdc [platform]: Updated syncd.conf for INGRASYS-S9100-C32 (#396)
Signed-off-by: Sam Yang yang.kaiyu@gmail.com
2017-03-15 10:55:16 -07:00
Min Yao
831b10ea26 [Centec] update centec gg sdk3.5 kernel module debian package (#393) 2017-03-14 21:03:30 -07:00
sihuihan88
d3aa07e1de Update sonic-utilities submodule (#395) 2017-03-14 21:03:04 -07:00
Qi Luo
57196aa927 Update submodules (#394) 2017-03-14 18:47:23 -07:00
Qi Luo
567b7901e4 Fix OneImage snmp mount (#392) 2017-03-13 17:37:45 -07:00
kaiyu22
b9bee5dc92 [platform]: Sync hwsku name with INGRASYS-S9100-C32 (#391)
Signed-off-by: Sam Yang yang.kaiyu@gmail.com
2017-03-13 08:31:51 -07:00
Marian Pritsak
0fbbb2be41 [slave.mk]: add procmail to sonic-slave. (#385)
Needed for lockfile utility.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-07 23:11:42 -08: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
Marian Pritsak
fcffbb3ce6 [slave.mk]: Add installer to clean targets. (#384)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-07 22:34:24 +02:00
lguohan
7548c36d77 [build]: set build jobs to 1 by default (#383) 2017-03-07 22:32:39 +02:00
Qi Luo
1491bf9eae [src]: Update sonic-snmpagent submodule (#382) 2017-03-07 02:28:50 -08:00
Taoyu Li
bd6bf1ff9a [config] [oneimage & dhcp relay docker] Move ntp, rsyslog, and dhcp server information into minigraph (#374)
Move DHCP, rsyslog, and NTP server information into minigraph


* Fix dhcp relay template according to CR
2017-03-06 12:41:26 -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
lguohan
45e5c14729 add badge for centec 2017-03-05 09:46:46 -08:00
lguohan
6cb5925d81 [sairedis]: update syncd init to support centec asic (#379) 2017-03-04 18:02:15 -08:00
Lihua Yuan
7069cefc90 Update README.md 2017-03-04 13:48:36 -08:00
lguohan
32e4655b3c Update build instruction for broadcom platform 2017-03-04 10:11:20 -08:00
Min Yao
b9c624520e Support centec platform (#376) 2017-03-04 02:17:38 -08:00
Nadiya
701d5ddb8a Add cavm saiserver (#137) 2017-03-04 01:56:41 -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
Marian Pritsak
1ba2111111 [teamd]: Add volumes from database in docker-teamd.mk (#369)
teamsyncd requires volumes from database to connect to DB.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-03 16:23:49 -08:00
lguohan
0993ac2188 [swss]: add swssloglevel to change level log on-the-fly (#367)
add swssloglevel to change level log on-the-fly and simplify syncd start logic on multiple platforms
2017-03-03 08:44:11 -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
Oleksandr Ivantsiv
ba0f19ad54 [build_debuian]: Fix issue #267 (docker connect failure). (#365) 2017-03-03 02:26:44 -08:00
lguohan
0f845998bb [sonic-slave]: fix thrift test break introduced in #358 (#364) 2017-03-03 01:33:44 -08:00
lguohan
80e3dc0df7 [device]: add missing sai profile and minigraph for the supported devices (#362)
change orchagent start.sh to use mounted hwsku directory
2017-03-02 23:53:20 -08:00
Shuotian Cheng
f9d8137975 [teamd]: Add redis-tools as the dependency of docker-teamd and fix bugs (#363)
- Fix the if condition bug to wait till PORT_TABLE:ConfigDone before start

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-02 18:07:43 -08:00
Qi Luo
d3891a2a42 Keep pip in the debian image (#356) 2017-03-02 16:04:18 -08:00
Shuotian Cheng
f06dc5d3f9 [teamd]: Update the start.sh script to clean up the docker state (#351)
This change should be temporary because the current teamd cannot
re-create net devices acrosss restart. Basically, it will fail
when there're files in /var/run/teamd/ folder or the previously
created net devices are still there. Thus, the current workaround
is to remove the obsolete files to restart the docker-teamd.

This workaround cannot resolve the swss restart issue. Before
restarting swss, docker teamd needs to be stopped manually. After
swss starts, docker teamd needs to be restarted manually.

This change will only make sure that rebooting the switch will
make the switch at the correct state.

Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-02 15:59:16 -08:00
Shuotian Cheng
667ef1d766 [libteam]: Add 0002-libteam-Temporarily-remove-redundant-debug-mes.patch (#357)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-02 13:34:37 -08:00
Joe LeVeque
4eb549d36f [sonic_cli]: Fix bash completion for 'show' command (#355) 2017-03-02 12:17:04 -08:00
pavel-shirshov
bac738f91f Add bgp container with gobgp (#358)
* Add go-1.7 into docker-slave

* Create container docker-fpm-gobgp with gobgpd inside
2017-03-02 11:33:46 -08:00
Marian Pritsak
adc296bf6f [rc.local]: Put variables into quotes in conditionals (#361)
Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-02 10:10:40 -08:00
Marian Pritsak
11379f9a9d Merge pull request #359 from oleksandrivantsiv/master
Remove SKU from distclean target.
2017-03-02 16:03:36 +02:00
Oleksandr Ivantsiv
e6c2380b6f Remove SKU from distclean target. 2017-03-02 14:08:25 +02:00
Shuotian Cheng
2a2af6a44e [orchagent]: Update start.sh to combine td2 qos/buffers config (#344)
Signed-off-by: Shuotian Cheng <shuche@microsoft.com>
2017-03-01 18:23:28 -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
Lihua Yuan
524692462c Update README.md 2017-03-01 18:03:31 -08:00
lguohan
0ed9b3ce28 [platform]: remove sku from build parameter (#350)
different sku will be contained in a single one sonic image.
no longer need to specify sku at the build time
2017-03-01 17:05:13 -08:00
Taoyu Li
903499000f [docker-teamd] fix a config bug introduced in #345 (#353) 2017-03-01 14:32:52 -08:00
Marian Pritsak
7d10892dce [Makefile]: Add --no-cache to docker build (#352)
Option was removed by mistake in 38b9eb1829

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-01 14:25:44 -08:00
Marian Pritsak
38b9eb1829 [Makefile]: Automatically rebuild sonic-slave (#338)
sonic-slave is not built upon every make call, because it
takes a lot of time. So in order to track changes hash of
Dockerfile is included to sonic-slave image.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-03-01 11:00:59 -08:00