Commit Graph

2945 Commits

Author SHA1 Message Date
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
lguohan
c92b95383a [build]: Add swig3.0 for building python-based swsscommon library (#1088) 2017-10-27 17:59:03 -07:00
Shuotian Cheng
961a6669f7
[Broadcom]: Update Broadcom OpenNSL/SAI packages (#1090)
Update OpenNSL to 3.2.3.3-2
Update SAI to 3.0.3.2-10

This commit fixes S6100 CPU high usage issue

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-27 13:59:51 -07:00
Taoyu Li
437419c79e Update submodule pointer and sonic-slave for test dependency (#1084) 2017-10-26 16:49:25 -07:00
Shuotian Cheng
d1156ca3b2 [teamd]: Bring down all member interfaces before starting teamd (#1081)
teamd requires all members to be set down before adding as a team port

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-26 14:20:44 -07:00
Prince Sunny
3d290b96d9 Submodule updated for py-swsssdk and utilities (#1083) 2017-10-26 14:03:46 -07:00
lguohan
623e7fe939 [utilities]: update sonic-utilities submodule (#1076) 2017-10-25 21:37:09 -07:00
Balaselvi
11e17e763f [Inventec]: Bug fix for sfputil in D7054 (#1080) 2017-10-25 21:36:31 -07:00
Shuotian Cheng
7f7ddc80a3 [swss]: Change the env name from ASIC to platform (#1033) 2017-10-25 17:57:28 -07:00
Qi Luo
47c8567d93 [snmp]: Update sonic-snmpagent submodule (#1078) 2017-10-25 16:43:43 -07:00
Andriy Moroz
2ae29caa03 Update QoS config name for Mellanox platform (#1077)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-10-25 09:09:30 -07:00
lguohan
a31c08047b [build]: add sonic-config-engine to sonic-utilitie build dependency (#1075) 2017-10-25 05:06:30 -07:00
Ying Xie
41f226f0dc [build] capture 2 initialization git commands in 'make init' target (#1074) 2017-10-24 19:49:37 -07:00
Shu0T1an ChenG
d7d6f3044f [Dell]: Update sonic-platform-modules-dell submodule
Add eeprom driver for only valid devices

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-24 13:01:37 -07:00
paavaanan
1b20ea1680 [Dell]: Added support for S6100 sfputil.py (#1073)
Check SFP Presence, toggling lpmode, reset, and print eeprom details
2017-10-24 12:57:20 -07:00
Taoyu Li
8b8b8a130f [cfg engine] Separate portconfig.py as individual module for port_config.ini parsing (#1072)
Move port_config.ini related parsing code out of minigraph.py and create an independent portconfig.py.
Add support to multiple optional fields according to Porting Guide
2017-10-24 10:56:09 -07:00
lguohan
f073d8c654 [virtualswitch]: build docker-sonic-vs docker based on SAI virtual switch (#1065) 2017-10-23 22:01:42 -07:00
zhenggen-xu
a49ac2d211 [FRR]: Change the FRR as a submodule (#1071)
Signed-off-by: zxu@linkedin.com
2017-10-23 21:17:58 -07:00
Shuotian Cheng
fd34d907ff [lldp]: Get all interfaces from the database (#1069)
The previous implementation only supports EthernetX while X
varies from 0 - 124. Remove such hard coded logics and use
the information from the database instead.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-23 19:53:10 -07:00
Shuotian Cheng
a4ecade8f6 [Broadcom]: Update Broadcom SAI package to 3.0.3.2-8 (#1070)
Update Arista config.bcm files

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-23 15:46:07 -07:00
Shuotian Cheng
b6cc73a0ad [dockers]: Remove deprecated docker-lldp and docker-snmp (#1068)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-23 13:20:37 -07:00
Prince Sunny
c74007bb83 [Arista]: Modified HWSKU to match the internally defined HWSKU string (#1062) 2017-10-23 11:46:26 -07:00
Qi Luo
3417e78d55 [swss-common]: Update sonic-swss-common submodule (#1064)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-10-22 13:44:44 -07:00
Joe LeVeque
def0f2e4de [sensors]: Workaround for apparent bug in lm-sensors (#1058) 2017-10-20 11:01:26 -07:00
Taoyu Li
8bc6b55331 [bgpd.conf] Fix template issue with multiple lo addresses (#1060) 2017-10-20 07:15:11 -07:00
pavel-shirshov
bdbede51e0 [docker ptf]: Install tcpdump (#1059)
* Always start with Forwarding State flag set for bgpd

* Install tcpdump into ptf container
2017-10-20 05:09:37 -07:00
Andriy Moroz
587b14a3bf [Mellanox]: Add get_presence implementation for SFP on Mellanox platforms (#1056)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2017-10-19 18:36:25 -07:00
Shuotian Cheng
a9566bdb1e [Broadcom]: Update Broadcom SAI package to 3.0.3.2-8 (#1057)
Update Inventec config.bcm files

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-19 16:52:33 -07:00
Balaselvi
1ee8ed9216 [Inventec]: Add Inventec D7054 platform support and update D7032 platform support (#1052) 2017-10-19 13:06:03 -07:00
Shuotian Cheng
2a56479187 [sonic-cfggen]: Add DEVICE_NEIGHBOR_METADATA field and move msn27xx template (#1025)
This field contains all neighbor devices information using the device
hostname as the key and having lo_addr, mgmt_addr, hwsku, type as the
attributes.

Move the file msn27xx.32ports.buffers.json.j2 from sonic-swss repository to
this repository so that we could add unit test for this file.

Unit test is added for platform ACS-MSN2700.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-19 00:38:25 -07:00
Prince Sunny
d302d713a6 [Arista]: Extra space in filename resulted in initialization failure (#1053)
* Extra space removed
2017-10-18 23:46:05 -07:00
Shuotian Cheng
834890f192 [Broadcom]: Update Broadcom SAI package to 3.0.3.2-7 (#1049)
Update Accton config.bcm files

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-18 01:14:15 -07:00
Taoyu Li
7a0a2ea5d0 [bgpd.conf] Advertise /64 prefix for ipv6 lo addresses (#1050) 2017-10-17 18:28:27 -07:00
Shu0T1an ChenG
03e532aa81 [utilities]: Update sonic-utilities submodule
[portstat]: Fix typo

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-17 16:33:33 -07:00
Shuotian Cheng
ee168b0c09 [py-swsssdk]: Update sonic-py-swsssdk submodule (#1048)
Including this commit:
[port_util]: Return empty dictionary instead of a NoneType in get_bridge_port_map

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-17 14:49:20 -07:00
Qi Luo
e5c68d3bfe [snmp]: Update sonic-snmpagent submodule (#1046)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2017-10-17 09:28:35 -07:00
Shuotian Cheng
b14c03a14d [utilities]: Update sonic-utilities submodule (#1045)
[portstat]: Combine ADMIN and OPER fields

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-17 09:28:26 -07:00
Shuotian Cheng
60a4d75b07 [Broadcom]: Update Broadcom SAI package to 3.0.3.2-6 (#1044)
msft patch: Trap all ARP packets including unicast/broadcast

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-16 19:46:44 -07:00
Joe LeVeque
37dc7bd478 [interfaces]: Set hwaddr of VLAN interfaces to system MAC upon creation (#1042) 2017-10-16 17:36:21 -07:00
Shuotian Cheng
463c5e46ba [Dell]: Update sonic-platform-modules-dell submodule (#1043)
Including the following commit:
depmod to ensure that modules get loaded after ONIE install / image upgrade

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-16 14:38:59 -07:00
Xin Liu
f7cdca42ce Update README.md 2017-10-15 22:18:54 -07:00
Shuotian Cheng
b89555ed2f [Dell]: Update sonic-platform-modules-dell submodule (#1041)
Including the following commits:
Add support for Dell S6100 and Z9100 module deinit (#18)
Disable S6100 low power mode by default (#19)

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-13 20:18:29 -07:00
Hnydyn Nazar
118c2dd39d [ntp]: Fix NTP sync while using DHCP (#1035) 2017-10-13 17:08:35 -07:00
Shuotian Cheng
1a748ee0bb Revert "Update QoS config name for Mellanox platform" (#1039) 2017-10-13 01:27:15 -07:00
Shuotian Cheng
9e44d14197 [Dell]: Add Force10-S6100-T1 symlink to Force10-S6100 (#1038) 2017-10-12 20:58:16 -07:00
Xin Liu
6eab72011b Update README.md 2017-10-12 18:20:46 -07:00
Shuotian Cheng
dbced4fb77 [snmp]: Add swss dependency for snmp service (#1034)
- snmp service needs swss to be ready to get the port counter map

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-12 00:28:16 -07:00
Shuotian Cheng
27cac94da7 [Makefile]: Fix unmatched variable name ENABLE_SYNCD_RPC (#1032)
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2017-10-11 17:46:26 -07:00