Commit Graph

1489 Commits

Author SHA1 Message Date
Ying Xie
2109a1133f [pfcwd] update sonic-utilities submodule
- include knob to start pfcwd for all ports

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-07-17 15:00:30 +00:00
Wenda Ni
c36adc1ad8 Correct a7060 config for tor (#1823)
Move a7060 configs out of syncd docker

Signed-off-by: Wenda <wenni@microsoft.com>
2018-07-17 01:16:16 +00:00
Ying Xie
ae8a088a28 [test] Adding Broadcom configuration file test (#1611)
* [test] Adding Broadcom configuration file test

In order to allow SONiC community to check in Broadcom configuration
file directly under device folder. We need to add this test to make
sure the contents of the configuration is compliant with Broadcom
specifications.

* Invoke test from Debian package builder

* Use $() syntax

* Remove the debug echo statement
2018-07-14 23:05:00 +00:00
Qi Luo
fc51c10758 [sonic-dbsyncd]: Fix parse_chassis on partial lldp data (#1861) 2018-07-14 23:02:45 +00:00
Qi Luo
de7b951c9d [sonic-dbsyncd]: Support empty string in lldp_rem_port_desc (#1857)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-07-14 23:02:41 +00:00
sihuihan88
7378aa1e68 [sonic-swss]: Update submodule in 201803 branch (#1855)
* [submodule]: update 201803 branch

Signed-off-by: Sihui Han <sihan@microsoft.com>

* [submodule]: update 201803 branch with pospone queuemap enhancement

Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-07-13 02:18:55 -07:00
Taoyu Li
c8b2810d48 [sudoer] Enable read-only commands for all users (#1558) 2018-07-10 05:12:46 +00:00
tiantianlv
4012e3d74a Add pre-emphasis for 100G optical mocule (#1838) 2018-07-03 19:22:21 -07:00
pavel-shirshov
868b867f25 Update sonic-swss for 201803 branch. Postpone init of the queue maps (#1831) 2018-06-30 09:41:18 -07:00
Hnydyn Nazar
71ede53d86 Updated Cavium SAI headers. (#1822) 2018-06-28 13:43:30 -07:00
pavel-shirshov
6568203c15 Enable sairedis counter thread in 3 minutes after SONiC was started (#1813)
* Enable sairedis counter thread in 3 minutes after SONiC was started

* Enable all counters
2018-06-26 12:17:51 -07:00
sihuihan88
4eb866c615 [sai]: update SAI version to 3.1.3.4-15 (#1808)
Signed-off-by: Sihui Han <sihan@microsoft.com>
2018-06-25 19:55:06 +00:00
Taoyu Li
c6d43c4be2 [tacacs] To modify local user permission according to priv lvl (#1804) 2018-06-25 19:54:57 +00:00
Pradchaya P
7457c00863 [platform] Celestica: dx010 init gpio sysfs (#1807) 2018-06-25 19:50:00 +00:00
Wirut Getbamrung
310c3f9ff6 [device]: Fix a bug that psuutil cannot access gpio sysfs to get PSU status (#1789) 2018-06-25 19:49:50 +00:00
Taoyu Li
3779c5824a [interface-config] Force eth0 before reconfiguration (#1802) 2018-06-25 19:49:18 +00:00
Shuotian Cheng
45206594a8 [Broadcom]: update Broadcom SAI to 3.1.3.4-14 (#1797)
Fix mirror session destination update bug causing no resources issue

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-06-25 19:49:05 +00:00
Kebo Liu
c8753d037c [build templates] Add environment variables for mellanox syncd container to support mellanox sdk and prm sniffer. (#1551)
modified:   files/build_templates/docker_image_ctl.j2

  Signed-off-by:  Kebo Liu kebol@mellanox.com
2018-06-22 19:11:28 +00:00
pavel-shirshov
4d795ec995 Update 201803 branch with masters of sonic-swss, sonic-sairedis, sonic-swss-common, and sonic-utilities (#1791) 2018-06-15 11:49:10 -07:00
Joe LeVeque
9d5913d199 [devices]: Add Broadcom config files for Arista 7050 SKUs; Remove 'serdes_firmware_mode_xe=0x1' line (#1779)
* Add Broadcom config files for Arista-7050-QX32 and Arista-7050-Q16S64 SKUs under respective directories

* Remove 'serdes_firmware_mode_xe=0x1' line from Arista 7050 Broadcom config files
2018-06-13 06:44:16 +00:00
Pradchaya P
552826413c Add Celestica seastone dx010 psuutil.py plugins (#1781) 2018-06-13 06:44:08 +00:00
Nadiya
fd7392f3fb [platform]: Add Cavium packages for 201803 revision (#1773)
Signed-off-by: Nadiya Stetskovych <Nadiya.Stetskovych@cavium.com>
2018-06-08 14:36:08 -07:00
Hnydyn Nazar
8fb2313066 [devices]: Updated AS7512-32X ini config files. (#1685) 2018-06-08 14:35:44 -07:00
Andriy Moroz
a3385b3fe8 [platform]: Update Mellanox SDK/SAI pointers (new firmware) (#1777)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-06-08 14:34:52 -07:00
Joe LeVeque
704f2fa6df [caclmgrd] Heuristically determine whether ACL is IPv4 or IPv6, use iptables/ip6tables accordingly (#1767)
* [caclmgrd] Heuristically determine whether ACL is IPv4 or IPv6, use iptables/ip6tables accordingly

* Check all rules in table until we find one with a SRC_IP
2018-06-05 10:25:03 +00:00
Qi Luo
53373b6383 Revert the feature: serial port watchdog service (#1766)
* Revert "[serial watchdog] remove serial watchdog service dependency to rc.local (#1752)"
* Revert "[service] introducing serial port watchdog service (#1743)"
2018-06-05 05:54:55 +00:00
Qi Luo
c464ded594 Revert "[minigraph parser] Fix minigraph parser issue when handling LAG related ACL table configuration (#1712)" (#1764)
This reverts commit d7ed6388b6.
2018-06-04 19:03:07 -07:00
lguohan
9943dba2db [broadcom]: update brcm sai to 3.1.3.4-13 (#1760)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-06-01 15:16:40 +00:00
Ying Xie
36fc74d420 [broadcom sai] upgrade Broadcom SAI to version 3.1.3.4-12 (#1740)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-06-01 15:16:38 +00:00
Qi Luo
2ad793c836 Fix links of debian git server (#1755) 2018-06-01 09:52:04 +00:00
Ying Xie
85c45818c4 [serial watchdog] remove serial watchdog service dependency to rc.local (#1752)
* [serial watchdog] remove serial watchdog service dependency to rc.local

When restarting this service in rc.local, the dependency causes an error
in syslog. Removing the dependency to mute the error log entry.

* remove lines with empty inputs
2018-05-31 15:09:59 +00:00
Andriy Moroz
6d09e0e596 Add QoS and Buffers configs for Mellanox MSN2100 and MSN2410 (#1739)
* Add QoS and Buffers config for Mellanox MSN2410

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

* Add QoS and Buffers config for Mellanox MSN2100

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-05-30 06:31:22 +00:00
Kebo Liu
d7ed6388b6 [minigraph parser] Fix minigraph parser issue when handling LAG related ACL table configuration (#1712)
* Fix minigraph parser issue when handling LAG related ACL table configuration
* rephrase the warning message.
* pick up swss change in https://github.com/Azure/sonic-swss/pull/494
2018-05-30 06:09:42 +00:00
Guohan Lu
6e162be858 [sairedis]: update sonic-sairedis submodule
* 524685a 2018-05-14 | Ignore bridge port id in fdb consolidated event if value is NULL (#319) (origin/201803) [Kamil Cudnik]
* be0d9c3 2018-05-23 | Merge pull request #321 from yxieca/syncd [Ying Xie]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-30 05:32:29 +00:00
Shuotian Cheng
188afc1e09 [docker_image_ctl]: Add --force while removing obsolete dockers (#1744) 2018-05-26 07:35:12 +00:00
Ying Xie
2aa1de5d0c [service] introducing serial port watchdog service (#1743)
* [rc.local] refactor platform identification code to separate function

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [rc.local] infrastructure to take action according to installer.conf

* [serial port watchdog] add service to watch serial port processes

Monitor serial port processes. Kill ones stuck for too long.

Signed-off-by: Ying Xie <ying.xie@microsoft.com>

* [rc.local] start watchdog on serial port specified by installer.conf

Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2018-05-26 07:35:08 +00:00
Wenda Ni
989000c741 [sonic-cfggen]: Protect config_db.json from minigraph misconfig (#1727)
* Add noise config for PortChannel & EthernetInterface in simple-sample-graph.xml

* Add noise config for PORTCHANNEL_INTERFACE in simple-sample-graph.xml

Signed-off-by: Wenda <wenni@microsoft.com>

* Add noice config for DEVICE_NEIGHBOR in t0-sample-graph.xml

Add unit test against introducing ports not existing in port_config.ini
into DEVICE_NEIGHBOR

Signed-off-by: Wenda <wenni@microsoft.com>

* DeviceInterfaceLink in minigraph.xml can contain port not existing in
port_config.ini but contraining non-zero Bandwidth attribute

Add noice config in simple-sample-graph.xml to capture the case that
such a port is leaked into config_db.json

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect PORTCHANNEL from ports not existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect PORTCHANNEL_INTERFACE from portchannels containing ports not
existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect DEVICE_NEIGHBOR from ports not existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Add noise config Ethernet1 in DeviceInterfaceLinks in simple-sample-graph.xml as it is in PortChannel1001

Signed-off-by: Wenda <wenni@microsoft.com>

* Add noise config Ethernet1 in DeviceInterfaceLinks in simple-sample-graph.xml as it is in PortChannel1001

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect PORTCHANNEL from ports not existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect PORTCHANNEL_INTERFACE from portchannels containing ports not
existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Protect DEVICE_NEIGHBOR from ports not existing in port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Correct space in minigraph.py

Signed-off-by: Wenda <wenni@microsoft.com>

* Does not allow non-port_config.ini port to get into the port list

Signed-off-by: Wenda <wenni@microsoft.com>

* Check PORTCHANNEL against PORT list only if port_config_file exists

Signed-off-by: Wenda <wenni@microsoft.com>

* Correct format

Signed-off-by: Wenda <wenni@microsoft.com>

* print warning when a port coming from DeviceInterfaceLink is not in
port_config.ini

Signed-off-by: Wenda <wenni@microsoft.com>

* Change Ethernet1 and 2 to fortyGigE0/1 and 2,respectively

Signed-off-by: Wenda <wenni@microsoft.com>

* Change Ethernet1 and 2 to fortyGigE0/1 and 2,respectively

Signed-off-by: Wenda <wenni@microsoft.com>

* print warning when ignoring ports, portchannels, portchannel interfaces, and
device neighbors

Update t0-sample-graph.xml with interface name 'fortyGigE0/2' and the
ACL_TABLE output

Signed-off-by: Wenda <wenni@microsoft.com>
2018-05-24 19:33:43 +00:00
Joe LeVeque
1a4123a923 Remove fan LED initialization from led_control plugins for Arista 7050-QX32, 7050-QX-32S (#1733) 2018-05-24 19:33:37 +00:00
Wirut Getbamrung
1e7508d3f3 [devices]: update dx010 fan configuration (#1735) 2018-05-24 19:33:33 +00:00
Qi Luo
6ed14b3f4a [submodule]: Update submodule sonic-snmpagent: power_status_handler handles missing PSU (#1732) 2018-05-24 19:33:15 +00:00
Guohan Lu
bf2be4afa9 [swss]: update swss submodule
* a1b6fa3 2018-04-16 | [vlanmgr]: Fix the incorrect ip link del command for vlan remove (#474) (HEAD, origin/201803) [Jipan Yang]
* 66287cf 2018-05-18 | fix SAI_BUFFER_PROFILE_ATTR_SHARED_DYNAMIC_TH value type mismatch bug (#502) [yangbashuang]
* 43365f3 2018-05-14 | [crmorch]: neighbor used counter increased twice (#472) (#501) [MaxPolovyi]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-19 09:40:40 +00:00
lguohan
341075054e [devices]: add Mellanox-SN2700-D48C8 hwsku (#1717)
Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-19 09:38:11 +00:00
Prince Sunny
da27cd80da [devices]: Reverting the xoff value for Arista 7060 t0 topology (#1726) 2018-05-19 09:38:04 +00:00
Joe LeVeque
35bc68d652 [dhcp_relay] Only attempt to start 'isc-dhcp-relay' group if it is not empty (#1713) 2018-05-19 09:36:04 +00:00
lguohan
a2d014450b [fast-reboot]: support encoded & gzipped minigraph in fast reboot (#1716)
* [fast-reboot]: support encoded & gzipped minigraph in fast reboot

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

* add acl.json and snmp.yml into fast-reboot

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-19 09:35:28 +00:00
Samuel Angebault
4faf96f688 [Arista]: Add a reboot script for all remaining platforms. (#1706)
Adds a platform_reboot script for 7050QX-32, 7050QX-32S and 7060CX-32S.
This allow a proper cold reboot to happen.
2018-05-19 09:35:23 +00:00
Volodymyr Samotiy
20d0531e42 [mellanox]: Update FW pointer (#1722)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-05-17 11:13:32 -07:00
lguohan
1d03df43c0 [quagga]: update quagga submodule (#1698)
* [quagga]: update quagga submodule

0bc6bd6 2018-05-11 | ignore nexthop attribute when NLRI is present (#18) (HEAD, origin/debian/0.99.24.1, origin/HEAD) [lguohan]

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

* add vs bgp test

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-12 08:35:37 +00:00
Prince Sunny
0dca56395d [baseimage]: Disable DAD for eth0 explicitly (#1701) 2018-05-12 08:35:13 +00:00
Qi Luo
5836ec7768 [submodule]: Update submodule sonic-snmpagent: Improve mib fundamental classes: retry after reinit_data() throws (#1700) 2018-05-12 04:26:01 +00:00