Commit Graph

1401 Commits

Author SHA1 Message Date
stanepc1
c2beed2bbf [device] Update driver and configuration for ly1200 of MiTAC (#1772)
Signed-off-by: Stane Shieh <stane.shieh@mic.com.tw>
2018-08-07 08:41:40 -07:00
simonJi2018
7419f0a188 [nephos]: add new device accton 7116 support for sonic 201803 branch (#1887) 2018-07-30 16:01:20 -07:00
lguohan
a7ca027a34 [platform]: add sonic port alias for mellanox SN2700 platform (#1883) 2018-07-30 16:46:30 +00:00
Guohan Lu
f2b8442d94 [sonic-swss]: update sonic-swss submodule
* 8f52e29 2018-07-25 | Postpone intf task after buffer configuration applied on the port. (#539) (HEAD, origin/201803) [Jipan Yang]
* 2d2fdaa 2018-07-26 | [portsorch]: Refix: Don't print error when alias equal to PortConfigDone (#548) [Qi Luo]
* 87d34db 2018-07-12 | [MirrorOrch]: Fix bug when NULL is returned from the getenv function (#537) [Shuotian Cheng]
2018-07-28 01:04:27 +00:00
pavel-shirshov
36604f76b9 [swss]: Start counter from swss container (#1875)
* sonic-quagga update. Don't spam with 'Vtysh connected from' message

* Enable counters inside swss container. systemd is not flexible enough to follow our business rules
2018-07-28 00:55:48 +00:00
Taoyu Li
1f19c27006 Modify sudo lecture message to be more informational (#1800) 2018-07-28 00:55:03 +00:00
Rodny Molina
502ba0e86d Fix for bash's memory-leak (#1879)
* Fix for bash's memory-leak

Memory leak is observed during the execution of scripts that make use of bash-arrays. In scenarios where the offending script is executed on a regular basis (e.g. fancontrol), the leaking process may end up consuming most of the system resources.

In this PR i'm replacing bash in all the contexts where it executes (both host and dockers). The official patch for this issue is here: https://ftp.gnu.org/gnu/bash/bash-4.3-patches/bash43-040

* Fixing minor issue during code-merge

Signed-off-by: Rodny Molina <rmolina@linkedin.com>
2018-07-28 00:50:17 +00:00
Guohan Lu
14a0de768d [submodule]: update sonic-platform-common
10bef06 2018-06-21 | [sfputilbase.py] Fix bug where 'title' list always gets overwritten with empty list (#8) (HEAD -> 201803, origin/201803) [Joe LeVeque]
2018-07-23 18:01:49 +00:00
Ying Xie
dab944b5ab [bcm syncd]: Wait initializing led_proc for 60 seconds (#1863)
* Wait initializing led_proc for 60 seconds. bcm sdk need time to be ready accept a connection
2018-07-19 17:29:04 +00:00
Wirut Getbamrung
c115e307dd Change dx010 console speed (#1867) 2018-07-19 15:08:54 +00:00
pavel-shirshov
b42bd5b7b7 Convert arp_update into a 'start-it-once' mode (#1864)
* Run arp_update just once, don't restart it. It will run continuosly with 5 min pauses
2018-07-19 15:08:47 +00:00
pavel-shirshov
1e43b9950b Pavelsh/restart swss counters (#1854)
* sonic-quagga update. Don't spam with 'Vtysh connected from' message

* Restart counters in 60 seconds after manual swss restart
2018-07-18 02:03:01 +00:00
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