Skip to content

Add accton platform as5712 54x#1

Closed
pollyhsu2git wants to merge 943 commits intosonoble:masterfrom
pollyhsu2git:add-accton-platform-as5712_54x
Closed

Add accton platform as5712 54x#1
pollyhsu2git wants to merge 943 commits intosonoble:masterfrom
pollyhsu2git:add-accton-platform-as5712_54x

Conversation

@pollyhsu2git
Copy link

[Accton]: Add a new supported platform, AS5712-54X

  • Switch Vendor: Edge-core
  • Switch SKU: AS5712-54X
  • ASIC Vendor: Broadcom
  • Swich ASIC: TRIDENT2
  • Port Configuration: 48x10G+6x40G
  • SONiC Image: SONiC-ONIE-Broadcom

Signed-off-by: [email protected]

Shuotian Cheng and others added 30 commits July 25, 2017 07:09
- IPv6 is not supported on management interface
- Add unit test
In case previous build was forcefully stopped, we need to remove screen
lock so that build won't be stuck.

Signed-off-by: marian-pritsak <[email protected]>
- Download files to target/files directory (instead of target/debs)
- Clean python-weels log files
Add new target to list all available packages, files, docker images and
installers.

Signed-off-by: marian-pritsak <[email protected]>
* [cfggen] Support reading from and writing to configdb
* [bgp] Move bgp_admin_state to configdb, support dynamic admin state change
* [sonic-utilities] Adapt configDB for admin status, support config save and config load
This simplifies FW upgrade procedure and allows to
specify required version only in one place (fw recipe).
* Update sonic-platform-modules-arista submodule

* Update boot0 to handle DCS-7260CX3-64

* Add sys eeprom plugin for DCS-7260CX3-64

* Add sfputil plugin for DCS-7260CX3-64

* Add sensors config for DCS-7260CX3-64

* Add Arista-7260CX3-64 HwSku port_config

* Handle slow flash partition re-read

* Add minigraph.xml for DCS-7260CX3-64 64x100G
In case when more than one user builds SONiC on same machine, we can
keep generic part that installs all packages to slave image apart from
creating user and calling user-related commands. Then generic base image
will be built only once, allowing other users to build only smaller
specific to them layers.

Signed-off-by: marian-pritsak <[email protected]>
- BGP data read from minigraph.py now match DB schema
- BGP templates are updated
- bgpcfgd can now deal with runtime neighbor create/delete
* [device/accton]: Update Accton-AS7712-32X

* Add Broadcom LED microprocessor / pre-emphasis initialization

Signed-off-by: [email protected]

* Update start.sh

* Update start.sh

* [device/accton]: Update Accton-AS7712-32X

* Add Broadcom LED microprocessor (Remove pre-emphasis initialization)

Signed-off-by: [email protected]
…nic-net#865)

- Force log rotation at size thresholds only (no longer also rotating logs daily), allowing for more consistent archived log size
- Eliminate remaining duplicate log messages
- Cron facility now only logs to cron.log (was also logging to syslog)
- Debug, mail, news and user log facilities only log to syslog; no longer creating separate log files for these facilities
- Cron job that calls logrotate every minute now uses the main /etc/logrotate.conf file so as to check/rotate all logs every minute, not just the logs specified in the rsyslog file. Also redirecting output of this command to /dev/null to prevent "(CRON) info (No MTA installed, discarding output)" messages in cron.log due to lack of a mail service
- Delete archive files based on remaining /var/log partition space. Note that this solution currently requires a minimum /var/log partition size of 32MB to function correctly
- Update sonic-sairedis and sonic-swss submodules to incorporate recording file name changes
- Add .screen file to .gitignore (unrelated)
Conflicts:
	platform/mellanox/mlnx-fw-upgrade.sh
	src/sonic-sairedis
	src/sonic-swss
- [bgpd]: Enable forwarding state flag in graceful restart capability
- [debian]: Add autoreconf_clean
- [netlink]: Increase netlink buffer size
- [netlink]: Check return vode from nl_recvmsgs_default
- [select]: EINTR error hanlding
- [makefile]: Use full file names
- [sfputil]: Refactor and add support for presence, low-power mode and reset
…nic-net#877)

- Update sfputil plugins for Dell FORCE10-S6000, Arista 7050-QX-32, 7050-QX-32-S
… exits from processes known to exit in < 1 second (sonic-net#889)
lguohan and others added 20 commits November 13, 2017 10:49
…net#1136)

This commit adds new code to support PFC and broadcom recommended
MMU setting for PFC feature.

Verified by running checking the hardware setting after the switch
was booted.

Signed-off-by: Harish Venkatraman <[email protected]>
* [vs]: add zebra/quagga/fpmsyncd in supervisord.conf

* setup the hostname for vs docker

* do not save to the disk for redis db

* install ipaddress module in vs docker

* update sonic-sairedis submodule
Fix memory leak in multipath routing (part II)
Update th-s6100-64x40G.config.bcm

Signed-off-by: Shu0T1an ChenG <[email protected]>
 sonic-net#1023" (sonic-net#1142)

* Added management subnet route to route table-default in kernel.

* Added sample output to interface file
* [installer] FIX. ONIE installer error issue:

mv: can't rename '//tmp/onie-support.tar.bz2': No such file or directory
When KEEP_SLAVE_ON=yes and SOURCE_FOLDER is defined, the path pointed
by SOURCE_FOLDER will be mounted in the build slave docker at /var/src.

This option allows user to mount an extra path into the build slave
when the slave is left running. Usually when user need to build extra
stuff in SOURCE_FOLDER.
…ervisor (sonic-net#1137)" (sonic-net#1156)

This reverts commit a6edef2.

The reason to revert this commit is that it breaks the current nightly test as
no port channel interfaces are get created after boot. teamd failed to start and
complained about 'Cannot allocate memory' possibly due to nlmsg_alloc function
failure.

Will revert this commit to investigate it further before moving to supervisor.

Signed-off-by: Shu0T1an ChenG <[email protected]>
…t#1159)

1. _INSTALLS defines the packages to be installed in the image
at the build time.
2. _LAZY_INSTALLS defines the packages to be installed in the image
at the first run time
3. _DEPENDS defines the packages to at the build dependency of
the image
Fix crash due to dirty pointers

Signed-off-by: Shu0T1an ChenG <[email protected]>
…c-net#1164)

- Found a bug in v4.3.1-6 in which dhcrelay would not start if
   passed an interface name with a length of 15 characters due
   to truncated copy of interface name in common/lpf.c.
   Bug was fixed in v4.3.2.

 - v4.3.3-6 is the newest version we can build for Debian Jessie, as all
   newer versions require newer versions of debhelper and
   libbind-export-dev dependencies than are available for Jessie.
It contains:
 [pfcactionhandler]: match correct value when aclhandler creates ACL rules (sonic-net#393)
 [orchagent]: Fix issue with bind ACL table group to port (sonic-net#386)
 [vlanmgrd]: Use sonic-swss-common instead of exec redis-cli (sonic-net#392)

Signed-off-by: Shu0T1an ChenG <[email protected]>
* Switch Vendor: Edge-core
* Switch SKU: AS5712-54X
* ASIC Vendor: Broadcom
* Swich ASIC: TRIDENT2
* Port Configuration: 48x10G+6x40G
* SONiC Image: SONiC-ONIE-Broadcom

Signed-off-by: [email protected]
klhaung pushed a commit to inventec-switches/sonic-buildimage that referenced this pull request Mar 27, 2019
 sonoble#1 remove the newline of each attribute feedback content.
 sonoble#2 change Inventec kernel driver initial order.
vharish02 pushed a commit to vharish02/sonic-buildimage that referenced this pull request May 12, 2019
…c-net#2832)

* Base DHCP relay Docker image on Strech base Docker

* Change URL for isc-dhcp source repository

* Upgrade isc-dhcp source branch to 4.3.5-3.1

* Update patch sonoble#1 to apply to isc-dhcp 4.3.5-3.1

* Update patch sonoble#2 to apply to isc-dhcp 4.3.5-3.1

* Update patch sonoble#3 to apply to isc-dhcp 4.3.5-3.1

* Update patch sonoble#4 to apply to isc-dhcp 4.3.5-3.1

* Remove security patches, as they are now applied as part of 4.3.5-3.1 source

* Reorder patches to apply bug fix first, then features

* Extend makefile to build debug Docker image

* Update commit that series file applies against
samaity pushed a commit to samaity/sonic-buildimage that referenced this pull request Feb 18, 2021
…ebian (sonic-net#6114)

Sonic devices advertise meaningful system description along with Debian package information.

before the fix:

-------------
admin@sonic:~$ show lldp neighbors
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface: Ethernet0, via: LLDP, RID: 3, Time: 0 day, 16:36:30
SysName: sonic
SysDescr: Debian GNU/Linux 9 (stretch) Linux 4.9.0-11-2-amd64 sonoble#1 SMP Debian 4.9.189-3+deb9u2 (2019-11-11) x86_64
-------------------------------------------------------------------------------

After the fix:

root@sonic:~# show lldp neighbors Ethernet16
-------------------------------------------------------------------------------
LLDP neighbors:
-------------------------------------------------------------------------------
Interface:    Ethernet16, via: LLDP, RID: 10, Time: 0 day, 00:01:00
    SysName:      sonic
    SysDescr:     SONiC Software Version: SONiC.sonic_upstream_1.0_daily_201130_1501_62-dirty-20201130.203529 - HwSku: Accton-AS7816-64X - Distribution: Debian 10.6 - Kernel: 4.19.0-9-2-amd64
-------------------------------------------------------------------------------

Signed-off-by: sudhanshukumar22 <[email protected]>
samaity pushed a commit to samaity/sonic-buildimage that referenced this pull request Aug 22, 2022
Allow mellanox platform to build and successfully switch packets in
Debian 11

Upgraded

* Mellanox SDK
* Mellanox Hardware Management
* Mellanox Firmware
* Mellanox Kernel Patches

Adjusted build system to support host system running bullseye and
dockers running buster.
samaity pushed a commit to samaity/sonic-buildimage that referenced this pull request Aug 22, 2022
* Make neccesary changed to mellanox platform code to build on Debian 11

* Revert use of backported kernel to build mft and elect to only build kernel module under bullseye
samaity pushed a commit to samaity/sonic-buildimage that referenced this pull request Aug 22, 2022
Submodule update for sonic-linkmgrd
Incorporates:

c11a576 (2021-11-22 09:38:46) [ci]: show code coverage in azure pipeline (sonoble#4)
4ceb01d (2021-11-18 20:24:20) Fix MUX toggling issue (sonoble#1)
d640527 (2021-11-12 22:31:44) [ci]: fix artifact download
b9f247d (2021-11-12 22:31:44) [ci]: use native arm64/armhf build
3059122 (2021-09-27 11:32:23) [linkgrd] Add Missing Apache License Header
samaity pushed a commit to samaity/sonic-buildimage that referenced this pull request Aug 22, 2022
…net#10291)

#### Why I did it

Fix issue: Non compliant leaf list in config_db schema: sonic-net#9801

#### How I did it

The basic flow of DPB is like:
1.	Transfer config db json value to YANG json value, name it “yangIn”
2.	Validate “yangIn” by libyang
3.	Generate a YANG json value to represent the target configuration, name it “yangTarget”
4.	Do diff between “yangIn” and “yangTarget”
5.	Apply the diff to CONFIG DB json and save it back to DB
 
The fix:
•	For step sonoble#1, If value of a leaf-list field string type, transfer it to a list by splitting it with “,” the purpose here is to make step#2 happy. We also need to save <table_name>.<key>.<field_name> to a set named “leaf_list_with_string_value_set”.
•	For step#5, loop “leaf_list_with_string_value_set” and change those fields back to a string.


#### How to verify it

1. Manual test
2. Changed sample config DB and unit test passed
samaity pushed a commit to samaity/sonic-buildimage that referenced this pull request Jan 17, 2023
Submodule update for sonic-linkmgrd
Incorporates:

c11a576 (2021-11-22 09:38:46) [ci]: show code coverage in azure pipeline (sonoble#4)
4ceb01d (2021-11-18 20:24:20) Fix MUX toggling issue (sonoble#1)
d640527 (2021-11-12 22:31:44) [ci]: fix artifact download
b9f247d (2021-11-12 22:31:44) [ci]: use native arm64/armhf build
3059122 (2021-09-27 11:32:23) [linkgrd] Add Missing Apache License Header

signed-off-by: Jing Zhang [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.