Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[device/Silverstone] Update kernel module to support new i2c core firmware #119

Closed

Conversation

pphuchar
Copy link
Collaborator

@pphuchar pphuchar commented Oct 8, 2019

- What I did
Update the Silverstone i2c driver to work with new FPGA i2c firmware version 1.5.

- How I did it

  • Make changes in the platform driver module and init script.
  • Update the sfputil plugins.

- How to verify it
Test with Silverstone with FPGA firmware version 1.5 and see the sfputil command works normally.

…onic-net#3434)

* Fix the build. Updated version of ctypesgen.py has a different name
* Verified as5812_54t platfrom, except SDK and monitor.
Signed-off-by: roy_lee <[email protected]>

* Add as5812-54t to build its debian package.
Signed-off-by: roy_lee <[email protected]>

* Use the right cpld read/write api.
Signed-off-by: roy_lee <[email protected]>

* Update device paths.
Signed-off-by: roy_lee <[email protected]>

* update psu driver, correct python lib location.
Signed-off-by: roy_lee <[email protected]>

* Give a default return value.
Signed-off-by: roy_lee <[email protected]>
* Adding platform support for Juniper QFX5210

This switch has 64 QSFP28 (40G/100G) ports, 2 SFP+ (1G/10G) ports
on Broadcom Tomahawk II chipset. CPU used in QFX5210-64C-S is
Intel Broadwell-DE. The machine has Redundant and hot-swappable
Power Supply (1+1) and also has Redundant and hot swappable fans (3+1).

Signed-off-by: Ciju Rajan K <[email protected]>

* [Juniper][QFX5210] Optoe driver for SFP management

This commit implements the following changes
 - Moving to optoe driver for sfp management
 - Removing the old sfp driver
 - Updating the port-config.ini to add the index field
 - Correction in sfputil.py to incorporate optoe driver
 - Platform support for 'poweroff' command

Signed-off-by: Ciju Rajan K <[email protected]>
Marvell arm64 changes over sonic

Signed-off-by: Antony Rheneus <[email protected]>
* [submodule update]: Advance sonic-dbsyncd
- monit config broke by one monit upgrade
- abandon sed approach since it is suspestible to monit config changes
- use unixsocket instead of httpd due to a bug in 5.20.0
…3449)

* [cron.d] Create cron job to periodically clean-up core files
* Create script to scan /var/core and clean-up older core files
* Create cron job to run clean-up script

Signed-off-by: Danny Allen <[email protected]>

* Update interval for running cron job

* Respond to feedback

* Change syslog id
* Use dot1p to tc mapping for backend switches

Signed-off-by: Wenda Ni <[email protected]>

* Do not write DSCP to TC mapping into CONFIG_DB or config_db.json for
storage switches

Signed-off-by: Wenda Ni <[email protected]>
…form2.0_s6100

DellEMC S6100 : Platform2.0 API implementation [Module, Thermal]
)

Upon snmpd closes a netsnmp_agent_session due to snmp_timeout
there is a possibility of crash due to stale memory access.

This is a patch from source-forge:net-snmp. commit-id #793d59
Both python2 and python3 wheels being built out of the same
source directory can interfere with each other when
SONIC_BUILD_JOBS > 1.

Signed-off-by: Greg Paussa <[email protected]>
…lities (sonic-net#3251)

Introduce a new "sflow" container (if ENABLE_SFLOW is set). The new docker will include:
hsflowd : host-sflow based daemon is the sFlow agent
psample : Built from libpsample repository. Useful in debugging sampled packets/groups.
sflowtool : Locally dump sflow samples (e.g. with a in-unit collector)

In case of SONiC-VS, enable psample & act_sample kernel modules.

VS' syncd needs iproute2=4.20.0-2~bpo9+1 & libcap2-bin=1:2.25-1 to support tc-sample

tc-syncd is provided as a convenience tool for debugging (e.g. tc-syncd filter show ...)
This commit adds NTP support for management VRF using L3mdev. Config vrf add
mgmt will enable management VRF, enslave the eth0 device to the master device
mgmt, stop ntp service in default, restart interfaces-configs and restart ntp
service in mgmt-vrf context. Requirement and design are covered in mgmt vrf
design document.

Signed-off-by: Harish Venkatraman <[email protected]>
…form2.0

DellEMC : Platform2.0 API Implementation for Chassis [S6000, S6100, Z9100], Fan [S6000]
* [DELL] S6100 Support PowerCycle in Last Reboot Reason

* handle first time boot properly

* S6000 Last Reboot Reason Fix
pavel-shirshov and others added 5 commits October 8, 2019 07:30
* Build 7.1 without patches

* Port patches
* build SDK driver package sx-kernel from open sourced repository Mellanox/Switch-SDK-driver
* copy SDK packages and FW binaries from Mellanox/Switch-SDK-driver

Signed-off-by: Stepan Blyschak <[email protected]>
@pphuchar
Copy link
Collaborator Author

pphuchar commented Oct 9, 2019

Regression test on sfputil

Reading QSFP-DD EEPROM (Only two QSFP-DD modules available, others are QSFP28)

root@sonic:/home/admin# show int st
  Interface                            Lanes    Speed    MTU     Alias    Vlan    Oper    Admin                                             Type    Asym PFC
-----------  -------------------------------  -------  -----  --------  ------  ------  -------  -----------------------------------------------  ----------
  Ethernet0          33,34,35,36,37,38,39,40     400G   9100   QSFPDD1  routed      up       up  QSFP-DD Double Density 8X Pluggable Transceiver         N/A
  Ethernet4          41,42,43,44,45,46,47,48     400G   9100   QSFPDD2  routed      up       up  QSFP-DD Double Density 8X Pluggable Transceiver         N/A
  Ethernet8          49,50,51,52,53,54,55,56     400G   9100   QSFPDD3  routed    down       up                                  QSFP28 or later         N/A
 Ethernet12          57,58,59,60,61,62,63,64     400G   9100   QSFPDD4  routed    down       up                                  QSFP28 or later         N/A
 Ethernet16          65,66,67,68,69,70,71,72     400G   9100   QSFPDD5  routed    down       up                                  QSFP28 or later         N/A
 Ethernet20          73,74,75,76,77,78,79,80     400G   9100   QSFPDD6  routed    down       up                                  QSFP28 or later         N/A
 Ethernet24          81,82,83,84,85,86,87,88     400G   9100   QSFPDD7  routed    down       up                                  QSFP28 or later         N/A
 Ethernet28          89,90,91,92,93,94,95,96     400G   9100   QSFPDD8  routed    down       up                                  QSFP28 or later         N/A
 Ethernet32                  1,2,3,4,5,6,7,8     400G   9100   QSFPDD9  routed    down       up                                  QSFP28 or later         N/A
 Ethernet36           9,10,11,12,13,14,15,16     400G   9100  QSFPDD10  routed    down       up                                  QSFP28 or later         N/A
 Ethernet40          17,18,19,20,21,22,23,24     400G   9100  QSFPDD11  routed    down       up                                  QSFP28 or later         N/A
 Ethernet44          25,26,27,28,29,30,31,32     400G   9100  QSFPDD12  routed    down       up                                  QSFP28 or later         N/A
 Ethernet48     97,98,99,100,101,102,103,104     400G   9100  QSFPDD13  routed    down       up                                  QSFP28 or later         N/A
 Ethernet52  105,106,107,108,109,110,111,112     400G   9100  QSFPDD14  routed    down       up                                  QSFP28 or later         N/A
 Ethernet56  113,114,115,116,117,118,119,120     400G   9100  QSFPDD15  routed    down       up                                  QSFP28 or later         N/A
 Ethernet60  121,122,123,124,125,126,127,128     400G   9100  QSFPDD16  routed    down       up                                  QSFP28 or later         N/A
 Ethernet64  129,130,131,132,133,134,135,136     400G   9100  QSFPDD17  routed    down       up                                  QSFP28 or later         N/A
 Ethernet68  137,138,139,140,141,142,143,144     400G   9100  QSFPDD18  routed    down       up                                  QSFP28 or later         N/A
 Ethernet72  145,146,147,148,149,150,151,152     400G   9100  QSFPDD19  routed    down       up                                  QSFP28 or later         N/A
 Ethernet76  153,154,155,156,157,158,159,160     400G   9100  QSFPDD20  routed    down       up                                  QSFP28 or later         N/A
 Ethernet80  225,226,227,228,229,230,231,232     400G   9100  QSFPDD21  routed    down       up                                  QSFP28 or later         N/A
 Ethernet84  233,234,235,236,237,238,239,240     400G   9100  QSFPDD22  routed    down       up                                  QSFP28 or later         N/A
 Ethernet88  241,242,243,244,245,246,247,248     400G   9100  QSFPDD23  routed    down       up                                  QSFP28 or later         N/A
 Ethernet92  249,250,251,252,253,254,255,256     400G   9100  QSFPDD24  routed    down       up                                  QSFP28 or later         N/A
 Ethernet96  161,162,163,164,165,166,167,168     400G   9100  QSFPDD25  routed    down       up                                  QSFP28 or later         N/A
Ethernet100  169,170,171,172,173,174,175,176     400G   9100  QSFPDD26  routed    down       up                                  QSFP28 or later         N/A
Ethernet104  177,178,179,180,181,182,183,184     400G   9100  QSFPDD27  routed    down       up                                  QSFP28 or later         N/A
Ethernet108  185,186,187,188,189,190,191,192     400G   9100  QSFPDD28  routed    down       up                                  QSFP28 or later         N/A
Ethernet112  193,194,195,196,197,198,199,200     400G   9100  QSFPDD29  routed    down       up                                  QSFP28 or later         N/A
Ethernet116  201,202,203,204,205,206,207,208     400G   9100  QSFPDD30  routed    down       up                                  QSFP28 or later         N/A
Ethernet120  209,210,211,212,213,214,215,216     400G   9100  QSFPDD31  routed    down       up                                  QSFP28 or later         N/A
Ethernet124  217,218,219,220,221,222,223,224     400G   9100  QSFPDD32  routed    down       up                                  QSFP28 or later         N/A
root@sonic:/home/admin# show int tra pre
Port         Presence
-----------  ----------
Ethernet0    Present
Ethernet4    Present
Ethernet8    Present
Ethernet12   Present
Ethernet16   Present
Ethernet20   Present
Ethernet24   Present
Ethernet28   Present
Ethernet32   Present
Ethernet36   Present
Ethernet40   Present
Ethernet44   Present
Ethernet48   Present
Ethernet52   Present
Ethernet56   Present
Ethernet60   Present
Ethernet64   Present
Ethernet68   Present
Ethernet72   Present
Ethernet76   Present
Ethernet80   Present
Ethernet84   Present
Ethernet88   Present
Ethernet92   Present
Ethernet96   Present
Ethernet100  Present
Ethernet104  Present
Ethernet108  Present
Ethernet112  Present
Ethernet116  Present
Ethernet120  Present
Ethernet124  Present
root@sonic:/home/admin# show int tra eeprom Ethernet0
Ethernet0: SFP EEPROM detected
        Connector: N/A
        Encoding: N/A
        Extended Identifier: N/A
        Extended RateSelect Compliance: N/A
        Identifier: QSFP-DD Double Density 8X Pluggable Transceiver
        N/A: N/A
        Nominal Bit Rate(100Mbs): N/A
        Specification compliance: 
        Vendor Date Code(YYYY-MM-DD Lot): N/A
        Vendor Name: LEONI
        Vendor OUI: N/A
        Vendor PN: L45593-K900-A115
        Vendor Rev: 02
        Vendor SN: LEO1851G462

root@sonic:/home/admin# show int tra eeprom Ethernet4
Ethernet4: SFP EEPROM detected
        Connector: N/A
        Encoding: N/A
        Extended Identifier: N/A
        Extended RateSelect Compliance: N/A
        Identifier: QSFP-DD Double Density 8X Pluggable Transceiver
        N/A: N/A
        Nominal Bit Rate(100Mbs): N/A
        Specification compliance: 
        Vendor Date Code(YYYY-MM-DD Lot): N/A
        Vendor Name: LEONI
        Vendor OUI: N/A
        Vendor PN: L45593-K900-A115
        Vendor Rev: 02
        Vendor SN: LEO1844G14E

root@sonic:/home/admin# show int tra eeprom Ethernet4 -d
Ethernet4: SFP EEPROM detected
        Connector: N/A
        Encoding: N/A
        Extended Identifier: N/A
        Extended RateSelect Compliance: N/A
        Identifier: QSFP-DD Double Density 8X Pluggable Transceiver
        N/A: N/A
        Nominal Bit Rate(100Mbs): N/A
        Specification compliance: 
        Vendor Date Code(YYYY-MM-DD Lot): N/A
        Vendor Name: LEONI
        Vendor OUI: N/A
        Vendor PN: L45593-K900-A115
        Vendor Rev: 02
        Vendor SN: LEO1844G14E
        ChannelMonitorValues: 
        ChannelThresholdValues: 
        ModuleMonitorValues: 
        ModuleThresholdValues: 

root@sonic:/home/admin# show int tra eeprom Ethernet0 -d
Ethernet0: SFP EEPROM detected
        Connector: N/A
        Encoding: N/A
        Extended Identifier: N/A
        Extended RateSelect Compliance: N/A
        Identifier: QSFP-DD Double Density 8X Pluggable Transceiver
        N/A: N/A
        Nominal Bit Rate(100Mbs): N/A
        Specification compliance: 
        Vendor Date Code(YYYY-MM-DD Lot): N/A
        Vendor Name: LEONI
        Vendor OUI: N/A
        Vendor PN: L45593-K900-A115
        Vendor Rev: 02
        Vendor SN: LEO1851G462
        ChannelMonitorValues: 
        ChannelThresholdValues: 
        ModuleMonitorValues: 
        ModuleThresholdValues: 

root@sonic:/home/admin#

lguohan and others added 8 commits October 9, 2019 07:40
…c_platform_common (sonic-net#3569)

*Currently get_firmware_version implementated by using chassis.get_firmware_version and chassis._component_name_list which are not supported in the latest sonic_platform_common, causing chassis broken. Update this part so that it aligns to the latest sonic_platform_common
*Support component API
…ion (sonic-net#3521)

* Update driver and Add new platform API implementation for Inventec D6356
* Update Platform API (SFP)
* Update Platform API (QSFP)
* Update Platform API (FAN, THERMAL)
Signed-off-by: David Xiao <[email protected]>
* [device/celestica] Add silverstone device plugins and configs

* add port led fireware of PAM4!

* [platform/broadcom] Add Celestica silverstone platform module.

* Add switch configuration Silverstone!

* Add 128x100 configuration!

* Delete serdes copper parameter!

* [device/celestica] Fix incorrect index in Silverstone 128x100G port cfg

* [platform/broadcom] Remove unrelated platform other than Silverstone

* [device/celestica] Silverstone remove minigraphs

* [device/celestica] Silverstone update sai.profile to use hwsku path

* [device/celestica] Silverstone format sfputil codes

* [device/celestica] Add speed column to Silverstone 32x400G port conf

* [device/celestica] Silverstone disable 10G ports prevent orchagent crash

 *These ports will be added later after BRCM SAI support SFP.

* Remove LED redundancy configuration and add comments!

* [plugins/sfputil] update Silverstone ports to QSFP-DD type

* [plugins/sfputil] Silverstone fix return NotImplementedError with raise
…onic-net#3586)

While doing CLI changes for SNMP configuration, few changes are made in backend to handle the modified CLI.

** Changes**

- "community" for "snmp trap" is also made as "configurable". snmpd_conf.j2 is modified to handle the same.

- Changed the snmp.yml file generation from postStartAction to preStartAction in docker_image_ctl.j2 specific to SNMP docker, to ensure that the snmp.yml is generated before sonic-cfggen generates the snmpd.conf.

- Changed to make the code common for management vrf and default vrf. Users can configure snmp trap and snmp listening IP for both management vrf and default vrf.
…3556)

* Makefile: ARM kernel support from sonic-linux-kernel
        * Fix for multiarch  build docker spawn
Platform: Install the DTB deb for the platform

Signed-off-by: Antony Rheneus <[email protected]>
@pphuchar
Copy link
Collaborator Author

DO NOT MERGE

This PR is for review only!

hzheng5 and others added 2 commits October 11, 2019 08:15
In teamd v1.28, the port can only be enabled if sync bit is set
in recveived LACPDU from partner by the following commit
"teamd: lacp: update port state according to partner's sync bit"
(jpirko/libteam@54f137c)

However, lacp fallback feature needs to enable port even if partner
LACPDU is not received within a given period and fallback cfg is enabled.
To fix the lacp fallback breakage, we have to bypass the sync bit
check in lacp fallback mode.

Signed-off-by: Haiyang Zheng <[email protected]>
…L module (sonic-net#3526)

From 5.1 version of PyYAML python module, yaml.load() API is deprecated. Code should be compatible to support both the versions, else error/warning messages are seen like below,

2019-07-02 08:25:35,284 – INFO: [D1] /usr/local/lib/python2.7/dist-packages/sonic_device_util.py:44: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
@pphuchar
Copy link
Collaborator Author

pphuchar commented Oct 12, 2019

Going to submit this to upstream

Since the silverstone changes has been merged,
this updated is mandatory since, FPGA firmware version prior than 1.5 will be deprecated.
All Silverstone devices already shipped with FPGA firmware 1.5 by default.

@pphuchar pphuchar closed this Oct 15, 2019
bbinxie added a commit that referenced this pull request Jul 12, 2020
* [brcmsai]: Updated BRCM SAI Debina package to 3.7.5.1-2 (sonic-net#4916)

Fix for Copp Rules not having Policer Rate-Limit applied.

Signed-off-by: Abhishek Dosi <[email protected]>

* [nephos]: upgrade Nephos SAI version to c749df (sonic-net#4814)

Verified with Nephos nps8365 based platform Accton AS7116-54x.

* "[config]: Multi ASIC loopback changes (sonic-net#4895)

Resubmitting the changes for (sonic-net#4825) with fixes for sonic-bgpcdgd test failures
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>

* [mellanox]: Support warm reboot on MSN4700 (sonic-net#4910)

* [Submodule Update] Sonic-platform-common
[sfp_base] Update return value documentation of channel-specific methods
(#98)
[SfpBase] Fix key name typo in docstring (#99)
[sfp] Tweak key names of some transceiver info fields (#97)
[sfputil] Make SfpUtilHelper.get_physical_to_logical noexcept as
in SfpUtilBase (#96)

* [Submodule update] sonic-platform-daemons
[xcvrd] Update key names in 'get_media_settings_value()' (#63)
[xcvrd] Tweak some transceiver info key names (#62)

* [Submodule update] sonic-utilities
[sfpshow][mock_state_db] Tweak key names of some transceiver info fields
(sonic-net#958)
[config] Fix syntax error (sonic-net#966)
[config] Fix indentation level in _get_disabled_services_list() (sonic-net#965)

* [Submodule Update] sonic-swss
[aclorch] Use IPv6 Next Header internally for protocol number on MLNX
platform (sonic-net#1343)

* [Submodule Update]
 Add support for attribute capability query in lua script (sonic-net#362)

* Cherry-pick was not clean. Fixing it.
Signed-off-by: Abhishek Dosi <[email protected]>

* [telemetry] Call sonic-cfggen Once (sonic-net#4901)

sonic-cfggen call is slow and this is taking place in the SONiC
boot up process. The change uses templates to assemble all required
vars into single template file. With this change, telemetry now calls
once into sonic-cfggen.

signed-off-by: Tamer Ahmed <[email protected]>

* [mgmt docker] move pycryptodome installation to the end of the docker building (sonic-net#4917)

* [mgmt docker] move pycryptodome installation to the end of the docker building

Signed-off-by: Ying Xie <[email protected]>

* pin down the version to current: 3.9.8

* comment

* Add support for bcmsh and bcmcmd utlitites in multi ASIC devices (sonic-net#4926)

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
This PR has changes to support accessing the bcmsh and bcmcmd utilities on multi ASIC devices
Changes done
- move the link of /var/run/sswsyncd from docker-syncd-brcm.mk to docker_image_ctl.j2
- update the bcmsh and bcmcmd scripts to take -n [ASIC_ID] as an argument on multi ASIC platforms

* [caclmgrd] Improve code reuse (sonic-net#4931)

Improve code reuse in `generate_block_ip2me_traffic_iptables_commands()` function.

* [Submodule Update] sonic-utilities
Intf table migration for APP_DB entries during warmboot (sonic-net#980)
[Multi NPU] Time Improvements to the config reload/load_minigraph
commands  (sonic-net#917)

* [Submodule Update] sonic-py-swssdk
 [MultiDB]: use python class composition to avoid confusion in base
class (#74)

* [Submodule update] sonic-snmpagent. Movent to 201911 Branch with with
following PR's :
Implement cbgpPeer2State in CiscoBgp4MIB (#119)
Fix index nodes in LLDP tables whose access right is not-accessible.
(#112)
 Fix quagga/FRR parser on IPv6 BGP sessions (#122)
 [lint] Fix some syntax errors or warnings (#127)
  Update README.md: Add lgtm badges (#128)
  [Multi-asic]: Support multi-asic platform (#126)
  Simplify test code (#132)
  [Multi-asic]: Namespace support for LLDP and Sensor tables (#131)
  Fix undefined variable and warning message (#134)
  Fix SNMP AgentX socket connection timeout when using
  Namespace.get_all() (#140)
  [Namespace] Fix interfaces counters in InterfacesMIB RFC 2863 (#141)
   Fix LGTM reported alert of PR#141 (#142)

* [bgpcfgd] - Fix a key error during delete (sonic-net#4946)

Co-authored-by: abdosi <[email protected]>
Co-authored-by: gracelicd <[email protected]>
Co-authored-by: arlakshm <[email protected]>
Co-authored-by: Stephen Sun <[email protected]>
Co-authored-by: Abhishek Dosi <[email protected]>
Co-authored-by: Tamer Ahmed <[email protected]>
Co-authored-by: Ying Xie <[email protected]>
Co-authored-by: Joe LeVeque <[email protected]>
Co-authored-by: Prince Sunny <[email protected]>
bbinxie added a commit that referenced this pull request Jul 22, 2020
* [brcmsai]: Updated BRCM SAI Debina package to 3.7.5.1-2 (sonic-net#4916)

Fix for Copp Rules not having Policer Rate-Limit applied.

Signed-off-by: Abhishek Dosi <[email protected]>

* [nephos]: upgrade Nephos SAI version to c749df (sonic-net#4814)

Verified with Nephos nps8365 based platform Accton AS7116-54x.

* "[config]: Multi ASIC loopback changes (sonic-net#4895)

Resubmitting the changes for (sonic-net#4825) with fixes for sonic-bgpcdgd test failures
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>

* [mellanox]: Support warm reboot on MSN4700 (sonic-net#4910)

* [Submodule Update] Sonic-platform-common
[sfp_base] Update return value documentation of channel-specific methods
(#98)
[SfpBase] Fix key name typo in docstring (#99)
[sfp] Tweak key names of some transceiver info fields (#97)
[sfputil] Make SfpUtilHelper.get_physical_to_logical noexcept as
in SfpUtilBase (#96)

* [Submodule update] sonic-platform-daemons
[xcvrd] Update key names in 'get_media_settings_value()' (#63)
[xcvrd] Tweak some transceiver info key names (#62)

* [Submodule update] sonic-utilities
[sfpshow][mock_state_db] Tweak key names of some transceiver info fields
(sonic-net#958)
[config] Fix syntax error (sonic-net#966)
[config] Fix indentation level in _get_disabled_services_list() (sonic-net#965)

* [Submodule Update] sonic-swss
[aclorch] Use IPv6 Next Header internally for protocol number on MLNX
platform (sonic-net#1343)

* [Submodule Update]
 Add support for attribute capability query in lua script (sonic-net#362)

* Cherry-pick was not clean. Fixing it.
Signed-off-by: Abhishek Dosi <[email protected]>

* [telemetry] Call sonic-cfggen Once (sonic-net#4901)

sonic-cfggen call is slow and this is taking place in the SONiC
boot up process. The change uses templates to assemble all required
vars into single template file. With this change, telemetry now calls
once into sonic-cfggen.

signed-off-by: Tamer Ahmed <[email protected]>

* [mgmt docker] move pycryptodome installation to the end of the docker building (sonic-net#4917)

* [mgmt docker] move pycryptodome installation to the end of the docker building

Signed-off-by: Ying Xie <[email protected]>

* pin down the version to current: 3.9.8

* comment

* Add support for bcmsh and bcmcmd utlitites in multi ASIC devices (sonic-net#4926)

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
This PR has changes to support accessing the bcmsh and bcmcmd utilities on multi ASIC devices
Changes done
- move the link of /var/run/sswsyncd from docker-syncd-brcm.mk to docker_image_ctl.j2
- update the bcmsh and bcmcmd scripts to take -n [ASIC_ID] as an argument on multi ASIC platforms

* [caclmgrd] Improve code reuse (sonic-net#4931)

Improve code reuse in `generate_block_ip2me_traffic_iptables_commands()` function.

* [Submodule Update] sonic-utilities
Intf table migration for APP_DB entries during warmboot (sonic-net#980)
[Multi NPU] Time Improvements to the config reload/load_minigraph
commands  (sonic-net#917)

* [Submodule Update] sonic-py-swssdk
 [MultiDB]: use python class composition to avoid confusion in base
class (#74)

* [Submodule update] sonic-snmpagent. Movent to 201911 Branch with with
following PR's :
Implement cbgpPeer2State in CiscoBgp4MIB (#119)
Fix index nodes in LLDP tables whose access right is not-accessible.
(#112)
 Fix quagga/FRR parser on IPv6 BGP sessions (#122)
 [lint] Fix some syntax errors or warnings (#127)
  Update README.md: Add lgtm badges (#128)
  [Multi-asic]: Support multi-asic platform (#126)
  Simplify test code (#132)
  [Multi-asic]: Namespace support for LLDP and Sensor tables (#131)
  Fix undefined variable and warning message (#134)
  Fix SNMP AgentX socket connection timeout when using
  Namespace.get_all() (#140)
  [Namespace] Fix interfaces counters in InterfacesMIB RFC 2863 (#141)
   Fix LGTM reported alert of PR#141 (#142)

* [bgpcfgd] - Fix a key error during delete (sonic-net#4946)

* [Submodule Update] sonic-utilities
 Fix the None Type Exception when Interface Table does not exist (cold
boot) as part of db migration (sonic-net#986)

* Fix the below frr start.sh jija2 exception in 201911 image syslog: (sonic-net#4958)

File "/usr/local/bin/sonic-cfggen", line 380, in <module>
     main()
   File "/usr/local/bin/sonic-cfggen", line 354, in main
     print(template.render(data))
   File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 1090, in render
     self.environment.handle_exception()
   File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 832, in handle_exception
     reraise(*rewrite_traceback_stack(source=source))
   File "<template>", line 1, in top-level template code
   File "/usr/local/lib/python2.7/dist-packages/jinja2/environment.py", line 471, in getattr
     return getattr(obj, attribute)
 jinja2.exceptions.UndefinedError: 'WARM_RESTART' is undefined

Signed-off-by: Abhishek Dosi <[email protected]>

* [Submodule update] sonic-snmpagent
 [201911] Fix interface counters in RFC1213 (#144)

* [docker-ptf] Add support for spytest to ptf container (sonic-net#4410)

- Install apt and pip dependencies
- Define traffic generator service

Signed-off-by: Danny Allen <[email protected]>

* [arista] update Arista drivers submodules (sonic-net#4967)

Merge most of the changes that recently made it to master.
This will be the last such merge operation and future commits will only cherry-pick fixes and targeted features.

Major fixes and features,
- reboot cause enhancement with more hardware reboot cause reporting
- fix reboot cause parsing issue with 201811 release
- fix get_change_event logic
- fix error message on missing sysfs entry by our plugins
- final piece of the platform refactors for fan and sensor reporting through the platform API

* [201911][devices] Update SFP keys to align with new standard (sonic-net#4976)

Align SFP key names with new standard defined in sonic-net/sonic-platform-common#97

- hardwarerev -> hardware_rev
- serialnum -> serial
- manufacturename -> manufacturer
- modelname -> model
- Connector -> connector

* [201911][sonic-telemetry] Update submodule (sonic-net#4987)

Point submodule to new 201911 branch of sonic-telemetry and update pointer to the current HEAD of the 201911 branch

* src/sonic-telemetry aaa9188...01b5365 (1):
  > [testdata] Update SFP keys to align with new standard (#39)

* [201911][sudoers] Add `sonic_installer list` to read-only commands (sonic-net#4997)

`sonic_installer list` is a read-only command. Specify it as such in the sudoers file.

This will also ensure the new `show boot` command, which calls `sudo sonic_installer list` under the hood doesn't fail due to permissions.

* [caclmgrd] Filter DHCP packets based on dest port only (sonic-net#4995)

Co-authored-by: abdosi <[email protected]>
Co-authored-by: gracelicd <[email protected]>
Co-authored-by: arlakshm <[email protected]>
Co-authored-by: Stephen Sun <[email protected]>
Co-authored-by: Abhishek Dosi <[email protected]>
Co-authored-by: Tamer Ahmed <[email protected]>
Co-authored-by: Ying Xie <[email protected]>
Co-authored-by: Joe LeVeque <[email protected]>
Co-authored-by: Prince Sunny <[email protected]>
Co-authored-by: Danny Allen <[email protected]>
Co-authored-by: Samuel Angebault <[email protected]>
mudsut4ke pushed a commit that referenced this pull request Jan 25, 2021
* src/sonic-platform-daemons 73e6ddd...4da0bfc (3):
  > Align style with PEP8 standards (#128)
  > Support python3 for xcvrd, psud, thermalctld and syseepromd (#132)
  > Import mock psu object for testing LED (#119)
mudsut4ke pushed a commit that referenced this pull request Jan 25, 2021
…net#6408)

Fix #119

when parallel build is enable, multiple dpkg-buildpackage
instances are running at the same time. /var/lib/dpkg is shared
by all instances and the /var/lib/dpkg/updates could be corrupted
and cause the build failure.

the fix is to use overlay fs to mount separate /var/lib/dpkg
for each dpkg-buildpackage instance so that they are not affecting
each other.

Signed-off-by: Guohan Lu <[email protected]>
mudsut4ke pushed a commit that referenced this pull request Mar 16, 2021
…net#6408)

Fix #119

when parallel build is enable, multiple dpkg-buildpackage
instances are running at the same time. /var/lib/dpkg is shared
by all instances and the /var/lib/dpkg/updates could be corrupted
and cause the build failure.

the fix is to use overlay fs to mount separate /var/lib/dpkg
for each dpkg-buildpackage instance so that they are not affecting
each other.

Signed-off-by: Guohan Lu <[email protected]>
nicwu-cel pushed a commit that referenced this pull request Apr 25, 2021
…net#6408)

Fix #119

when parallel build is enable, multiple dpkg-buildpackage
instances are running at the same time. /var/lib/dpkg is shared
by all instances and the /var/lib/dpkg/updates could be corrupted
and cause the build failure.

the fix is to use overlay fs to mount separate /var/lib/dpkg
for each dpkg-buildpackage instance so that they are not affecting
each other.

Signed-off-by: Guohan Lu <[email protected]>
jerseyang pushed a commit that referenced this pull request Jun 4, 2021
…net#6408)

Fix #119

when parallel build is enable, multiple dpkg-buildpackage
instances are running at the same time. /var/lib/dpkg is shared
by all instances and the /var/lib/dpkg/updates could be corrupted
and cause the build failure.

the fix is to use overlay fs to mount separate /var/lib/dpkg
for each dpkg-buildpackage instance so that they are not affecting
each other.

Signed-off-by: Guohan Lu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.