Commit Graph

1464 Commits

Author SHA1 Message Date
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
Hnydyn Nazar
30a08a18e9 [platform]: Fixed Cavium platform modules build. (#1694) 2018-05-11 16:39:20 -07:00
Guohan Lu
1c5403977e [swss]: update sonic-swss
c374357 2018-04-23 | Fix ZeroBufferProfile parameters (#485) (HEAD -> 201803) [Andriy Moroz]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-10 09:43:10 +00:00
Guohan Lu
d26d9fb061 [swss]: update sonic-swss
* b57c376 2018-05-10 | [teamsyncd]: Add team_ifindex2ifname return value check (#500) (HEAD, origin/201803) [Shuotian Cheng]
* 236843f 2018-05-07 | Fix Crm Acl used counter update (#496) [Nadiya]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-10 09:05:13 +00:00
Guohan Lu
d826055c29 [sonic-utilities]: update sonic utilities submodule
* 951633b 2018-05-04 |  [generate_dump]: fix a saidump file copy bug (#248) (HEAD, origin/201803) [Kebo Liu]
* 69baff7 2018-05-03 | [acl_loader]: Missing one colon (#252) [Shuotian Cheng]
* 557248d 2018-05-02 | [acl-loader]: Add --table_name option to update full operation (#249) [Shuotian Cheng]
* a8aadee 2018-04-30 | [acl-loader]: Change the header from Rule ID to Table (#250) [Shuotian Cheng]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-10 09:03:21 +00:00
Qi Luo
1139cd7402 [submodule]: Update submodule sonic-snmpagent: Improve mib fundamental classes (#1689)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-05-10 09:00:45 +00:00
Andriy Moroz
323cafd7d9 Update buffers config for Mellanox 27xx devices (#1649)
* Update buffers config for Mellanox 27xx devices

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

* Remove buffers template test for msn27xx

Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-05-10 08:59:57 +00:00
Prince Sunny
621c250312 40G profile for Arista 7060 (#1677) 2018-05-10 08:58:02 +00:00
Volodymyr Samotiy
1dd26fe7cd [mellanox]: Update MLNX SAI pointer (#1684)
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
2018-05-08 14:46:18 -07:00
stanepc1
04ca35bdeb [device] Add PSU utility for platform ly1200 of MiTAC (#1673)
[platform/broadcom/sonic-platform-modules-mitac] Install acpi package for daemon and adjust i2c sequence

Signed-off-by: Eddy Weng <eddy.weng@mic.com.tw>
2018-05-07 13:51:40 -07:00
Qi Luo
532953eaae sonic-cfggen supports hwsku parameter (#1631)
*Note*: tuned test data during cherry-pick
2018-05-04 22:54:12 +00:00
Qi Luo
f734033550 [submodule]: Update submodule sonic-snmpagent (#1642)
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
2018-05-04 22:17:04 +00:00
Samuel Angebault
4cf7913987 [device] Update arista driver submodule (#1674) 2018-05-04 08:19:49 +00:00
Guohan Lu
3e3a56ee70 [swss]: update sonic-swss module
[201803 d57f9a1] [lua]: use not to check whether the field exists (#492)

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-02 22:02:56 +00:00
Guohan Lu
b29d8350c4 [sonic-cfggen]: fix bgpd and zebra template for sonic-cfggen test
I took the original patch (bebb7a0) into 201803 branch need to also
adapt the patch since we do not have commit (d423841) in 201803 branch.

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-02 22:01:59 +00:00
lguohan
8a5013bb5a [broadcom]: update broadcom SAI to 3.1.3.4-11 (#1670)
Provide better ECMP load-balancing via hash seed

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-02 09:36:41 +00:00
pavel-shirshov
f1cf5b2417 [snmp]: Stop spamming logs with statfs permission denied log message (#1668) 2018-05-02 07:17:23 +00:00
Shuotian Cheng
8088f2b600 [swss]: Change the hash seed to 0 for ToR and 10 for Leaf routers (#1667)
Due to some ASIC platform limitations, the hash seed range is from 0
to 15. Thus the switch.json.j2 template is updated so that ToRRouter
is using hash seed 0 and LeafRouter is using hash seed 10.

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
2018-05-02 07:17:17 +00:00
Taoyu Li
2d8ed10139 [zebra.conf] Fix template issue with multiple lo addresses (#1662)
* [zebra.conf] Fix template issue with multiple lo addresses

* Add unitest for Loopback1
2018-05-02 07:17:11 +00:00
Guohan Lu
d3e958a1ae [swss]: update swss
118b3f0 2018-05-01 | Populate existing interface cache, bring down before configDone

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-05-01 09:52:17 +00:00
zhenggen-xu
2a3092e37e [docker-dhcp]: Fix the sonic build issue (#1659)
Install the built version of isc-dhcp-client in docker-dhcp-relay
2018-04-30 05:09:35 +00:00
Andriy Moroz
93d14725ec [mellanox]: Update SAI version to 1.11.4 and SDK to 4.2.7303 (#1655)
Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
2018-04-30 05:09:30 +00:00
yurypm
0a70626c65 [snmpd]: Fix typo in is_platform_arista (#1634) 2018-04-28 19:07:30 +00:00
Samuel Angebault
de3e8cc563 [snmp]: Fix a race between snmpd-config-updater and snmpd (#1628)
There is a small window in which snmpd might not have registered a
callback for SIGHUP and which will result in its death if
snmpd-config-updater send this signal meant for a config reload.
2018-04-28 19:07:11 +00:00
Guohan Lu
ae14846379 [submodules]: update swss and utilities modules
swss:

* e34104e 2018-04-13 | [pfcwd]: support BIG_RED_SWITCH mode (#467) (HEAD, origin/201803) [sihuihan88]
* 1f857d5 2018-04-25 | [buffermgr]: remove the item from consumer queue if invalid (#489) [sihuihan88]

utilities:

* 0b9bb2b 2018-04-26 | Stop services before pushing new config during "load_minigraph" (#247) (HEAD, origin/201803) [Prince Sunny]
* dc119c9 2018-04-18 | [show logging] For following, change 'tail -f' to 'tail -F' in order to retry in the case log is rotated (#240) [Joe LeVeque]
* 08da428 2018-04-16 | [pfcwd]: add cli to enable/disable BIG_RED_SWITCH mode (#237) [sihuihan88]

Signed-off-by: Guohan Lu <gulv@microsoft.com>
2018-04-27 02:06:51 +00:00
pavel-shirshov
018b8405b4 [docker-lldpd]: Various fixes (#1650)
* We don't need configure anything until we have interfaces created

* Don't run lldpcli for a port, until a port is up and running

* Remove lldpd socket before starting lldpd

* Fix sample files for lldpd configuration

* Another attempt to make the test working

* Quick fix for lldpd paused after start bug
2018-04-27 02:05:11 +00:00