Commit Graph

3242 Commits

Author SHA1 Message Date
Shuotian Cheng
c93c008bae
Revert "[docker-teamd]: Manage teamd and teamsyncd processes with supervisor (#1137)" (#1156)
This reverts commit a6edef2fa5.

The reason to revert this commit is that it breaks the current nightly test as
no port channel interfaces are get created after boot. teamd failed to start and
complained about 'Cannot allocate memory' possibly due to nlmsg_alloc function
failure.

Will revert this commit to investigate it further before moving to supervisor.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-16 10:30:41 -08:00
Ying Xie
d3765066fe
[make] Introducing build option SOURCE_FOLDER (#1155)
When KEEP_SLAVE_ON=yes and SOURCE_FOLDER is defined, the path pointed
by SOURCE_FOLDER will be mounted in the build slave docker at /var/src.

This option allows user to mount an extra path into the build slave
when the slave is left running. Usually when user need to build extra
stuff in SOURCE_FOLDER.
2017-11-16 08:15:14 -08:00
Polly Hsu
a99b5e9e29 [installer] FIX. ONIE installer error issue: (#1152)
* [installer] FIX. ONIE installer error issue:

mv: can't rename '//tmp/onie-support.tar.bz2': No such file or directory
2017-11-15 15:41:15 -08:00
Joe LeVeque
cea87e985c
Add docker-router-advertiser to support IPv6 router advertisements (#1103) 2017-11-14 14:40:15 -08:00
Prince Sunny
803c263331 [baseimage]: Subnet route added for management interface (eth0) - "fixes #1023" (#1142)
* Added management subnet route to route table-default in kernel.

* Added sample output to interface file
2017-11-14 08:19:24 -08:00
Shuotian Cheng
6284452535 [Broadcom]: Update Broadcom SAI package to 3.0.3.2-12 (#1150)
Fix memory leak in multipath routing (part II)
Update th-s6100-64x40G.config.bcm

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-14 03:23:55 -08:00
lguohan
f48ba0e872
[vs]: install py2_ipaddress correctly (#1151) 2017-11-14 03:23:39 -08:00
lguohan
50b4868a99
[vs]: update virtual switch (#1148)
* [vs]: add zebra/quagga/fpmsyncd in supervisord.conf

* setup the hostname for vs docker

* do not save to the disk for redis db

* install ipaddress module in vs docker

* update sonic-sairedis submodule
2017-11-13 14:38:07 -08:00
Joe LeVeque
a6edef2fa5
[docker-teamd]: Manage teamd and teamsyncd processes with supervisor (#1137) 2017-11-13 14:16:19 -08:00
wadelnn
3e03df7a5e Fixed sfputil show eeprom information is empty on SFP ports. (#1145)
Signed-off-by: Wade He <chihen.he@gmail.com>
2017-11-13 12:33:59 -08:00
Harish Venkatraman
aa09bdc2c2 [docker-orchagent]: ADD PFC Broadcom recommended MMU Settings (#1136)
This commit adds new code to support PFC and broadcom recommended
MMU setting for PFC feature.

Verified by running checking the hardware setting after the switch
was booted.

Signed-off-by: Harish Venkatraman <Harish_Venkatraman@dell.com>
2017-11-13 11:30:16 -08:00
lguohan
bf1bb06e2e
[swss]: update sonic-swss submodule (#1146) 2017-11-13 10:49:29 -08:00
lguohan
cd4b11c811
[build]: add build badge for broadcom and mellanox on 201709 release (#1147) 2017-11-13 10:07:09 -08:00
nikos-li
f18ed0d35c [bgp]: Auto-completion, help (?), cmd navigation (up arrow) not working in vtysh on host system. (#1124) 2017-11-13 09:39:10 -08:00
Qi Luo
757ba00b58
[utilities]: update sonic-utilities submodule (#1143)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-11-12 15:29:32 -08:00
Ying Xie
d7969dd4be
[swss] update swss submodule head (#1141) 2017-11-10 16:51:47 -08:00
Ying Xie
764cb913f1
[Arista7260cx3] Increase /var/log partition size to 4G (#1140) 2017-11-10 15:47:38 -08:00
Haiyang Zheng
a69b353630 [interfaces.j2] Get mtu value from config DB if provided (#1128)
Signed-off-by: Haiyang Zheng <haiyang.z@alibaba-inc.com>
2017-11-10 13:54:31 -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
lguohan
8990dc73df [doc]: change build badge url to new build server (#1134) 2017-11-08 21:57:47 -08:00
Ying Xie
4e367c6984
[Arista7260cx3] update port_config.ini for Arista-7260CX3-D108C8 (#1130)
- Port 18 and 20 are now in 50G breakout mode.
2017-11-08 15:09:19 -08:00
Marian Pritsak
c64d423fec [rc.local]: Fix init_cfg.json (#1129)
If device MAC is added to init_cfg.json, it has to be done using
intermediate file. We cannot redirect to same file while trying to read
from it because it will be truncated first.

Signed-off-by: marian-pritsak <marianp@mellanox.com>
2017-11-08 08:50:22 -08:00
Shuotian Cheng
cb009ba807
[Broadcom]: Update Broadcom SAI package to 3.0.3.2-11 (#1127)
Fix memory leak in multipath routing

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-07 15:19:47 -08:00
Shuotian Cheng
a9a37aab23
[py-swsssdk]: Update sonic-py-swsssdk submodule (#1126)
Include: [interface]: Extend the max data wait time to 60s

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-11-07 14:52:20 -08:00
Taoyu Li
f7c39720f7
Restart ntp after ntp-config (#1106)
* Restart ntp after ntp-config
* Remove ntp dependency to ntp-config
2017-11-07 14:51:07 -08:00
lguohan
1ce9b85e3c
[init]: save the initial switch mac to config db (#1125)
* [init]: save the initial switch mac to config db

Save the initial switch mac to config db DEVICE_METADATA|localhost entry.

* update sonic-swss submodule
2017-11-06 23:40:27 -08:00
YonatanPitz
28eb62fcff [saip4]: New p4 platform based on SAI behavioral model software switch (#1117)
* merged new p4 platform from 1.0.3

* reverted SAI-P4-BM to SAI1.0

* changed port_config.ini from alias to name. changed tenjin makefile to https

* updated SAI-P4-BM commit
2017-11-06 22:45:50 -08:00
Prince Sunny
7540893471
Submodule update for sonic-swss (#1123) 2017-11-06 16:44:02 -08:00
Joe LeVeque
8d3691e811
[sonic-platform-daemons]: Update submodule (#1120) 2017-11-06 12:19:42 -08:00
lguohan
0e61803301
[swss]: update swss submodule (#1119) 2017-11-06 07:39:25 -08:00
JipanYanga
7406d3709b [configdb]: Add support for vlanconfd and intfconfd (#1063)
* Add support for vlanconfd and intfconfd

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Change name to vlanmgrd and intfmgrd

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Add missing vlan_members for parse_dpg result

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Remove cfgmgr debug CLI from image

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>

* Update swss and swss-common submodules for VLAN trunk support

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
2017-11-05 22:37:16 -08:00
JipanYanga
84cbfd5bbc [configdb]: Store switch mac to configDB switch table (#1108)
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
2017-11-05 00:31:29 -07:00
lguohan
c17d6a79f5
[doc]: add badge for marvell and nephos build (#1116) 2017-11-04 18:31:07 -07:00
Ying Xie
ce6cbbbb99
[Arista7260CX3] Fix a typo in port_ini.cfg (#1114) 2017-11-03 17:58:34 -07:00
lguohan
875bdf6be9
[vs] add teamsyncd into vs docker (#1112)
* [vs] add teamsyncd into vs docker

* add build badge for virtual switch
2017-11-03 17:13:39 -07:00
Andriy Moroz
4e1fb6850f Update Mellanox buffers profile to use single pool for lossless (#1101)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-11-03 16:31:02 -07:00
Samuel Angebault
ca214b947c [arista]: Bump sonic-platform-modules-arista submodule (#1111)
* Bump sonic-platform-modules-arista

Improves i2c performance for xcvrs
Fix the led_plugin by ignoring unknown ports
Miscellaneous improvements

* Fix index column for Arista-7260CX3-D108C8

* Fix flash permissions for Arista platforms

The ext4 flash uses acl to properly handle permissions in EOS.
Aboot isn't built with this support and therefore can't be used
to set the flash permissions. It has to be deferred in sonic initrd.
2017-11-03 15:22:05 -07:00
Samuel Angebault
a7e602501c Use sha1sum instead of shasum for portability (#1113)
sha1sum is a better option to use since it is part of the coreutil package.
shasum is owned by perl which might not always exist on the host system.
2017-11-03 14:36:26 -07:00
Taoyu Li
ef438002b8 [swsssdk] Update swsssdk pointer (#1107) 2017-11-03 09:33:23 -07:00
Oleksandr Ivantsiv
29f67ebe58 [acl-loader]: acl-loader integration. (#1000)
* [acl-loader]: acl-loader integration.

acl-loader was inplemented based on translate_acl source code. acl-loader
can't be tested with unittest. Same testcases will be covered with testbed tests.

- Remove translate_acl utility and tests.
- Remove mirror template.
- Do not run ACL rules and mirror configuration generators.
- Adopt minigraph parser to work with acl-loader.

* Update sonic-swss-common and sonic-swss submodules.

Enable ACL dynamic config feature.

* Update sonic-utilities submodule.

Include fix for acl-loader incremental update command.

* [sonic-cfggen]: Add test for everflow cfggen configuration.
2017-11-02 15:09:27 -07:00
Bairen Yi
967030f24d Change third party repos from git:// to https:// for better compatibility (#1104)
* Change git:// to https:// for better security and compatibility
2017-11-02 11:19:05 -07:00
Shuotian Cheng
06c0f7d2e8 Revert "[ntp]: Restart ntp after ntp-config (#1098)" (#1102)
This reverts commit c832f2af62.
2017-11-01 18:40:33 -07:00
Taoyu Li
c832f2af62 [ntp]: Restart ntp after ntp-config (#1098) 2017-10-31 22:20:18 -07:00
paavaanan
bfa0346040 Added support for Z9100 to check SFP Presence, toggling lpmode, reset… (#1087)
* Added support for Z9100 to check SFP Presence, toggling lpmode, reset, and eeprom details
2017-10-31 10:41:29 -07:00
byu343
d7d6c41184 [Arista]: Fix the udev waiting in networking start (#1093)
* [Arista]: Fix the udev waiting in networking start

This change is to fix the issue in https://github.com/aristanetworks/sonic/issues/16
For the checking condition used, it is only applied to Arista switches

Signed-off-by: Boyang Yu <byu@arista.com>

* [Arista]: Correct for PR comments

Signed-off-by: Boyang Yu <byu@arista.com>
2017-10-30 18:04:40 -07:00
Prince Sunny
4f59b2e4c7
Modified HWSKU to match internally defined SKU string (#1095) 2017-10-30 18:02:44 -07:00
Shuotian Cheng
b0c13ea928 [snmpagent]: Update sonic-snmpagent submodule (#1094)
Include the fix:
[mibs]: Add oid:0x prefix to the SAI ID in counter table (#48)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-30 14:47:07 -07:00
Shuotian Cheng
1a81715275
[swss]: Add switch.json.j2 to set the hash seed according to the switch type (#1089)
Set the ECMP/LAG hash seed to 10 when the switch is a ToR, 20 when the switch
is a Leaf, 0 otherwise.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-29 11:50:57 -07:00
Shuotian Cheng
2ba281829c
[swss]: Update sonic-swss submodule (#1091)
Including:
- [swss] a couple non-functional code cleanup changes
- [bufferorch] move buffer pool definitions together
- [orchagent] optimize the code structure
- [orchagent]: Fix hang problem caused by erase operation on empty map
- [orchagent]: Support port/LAG in multiple VLANs

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-29 11:50:49 -07:00
Taoyu Li
a7ea0556c8 [updategraph]: Support a special value to use empty configuration (#1086)
When updategraph service is enabled, a special value 'default'
from DHCP response will now initialize the system with an empty
configuration instead of existing minigraph.

A DHCP response without option 224 will remain the current behavior
of skipping graph update and use existing default minigraph.
2017-10-27 18:01:02 -07:00