Commit Graph

7151 Commits

Author SHA1 Message Date
mssonicbld
b6774b3775
[marvell-armhf][uboot-setting] Fix the print menu for marvell-armhf print menu on Nokia-7215 (#13933) (#14481) 2023-04-01 11:56:03 +08:00
Ye Jianquan
0200b2b675
Refine testbedv2 template output (#14461) 2023-03-31 17:13:52 -07:00
andywongarista
1cf4c84c43
[Arista] Update platform library submodules (#14452)
implement chassis platform API reboot
fix rpc powercycle on linecard
fix psu/fan LED logic in arista daemon
remove psu LED for PikeZ
2023-03-30 11:53:37 -07:00
jhli-cisco
f620052715
Update cisco-8000.ini (#14448)
Why I did it
Updated the port_alias name as per the SONiC HLD [b70bb0c7da/doc/sonic-port-name.md]
Updated channel number to breakout interfaces

How I did it
update platform version to 0.13
2023-03-28 22:00:49 -07:00
mssonicbld
40889d25ce
[ci/build]: Upgrade SONiC package versions (#14443) 2023-03-28 20:37:28 +08:00
mssonicbld
16bbbd776a
Set owner after restoring counters folder during warmboot (#13507) (#14435)
Why I did it
After warm reboot, show environment prints the following error:
failed to import plugin show.plugins.macsec: [Errno 13] Permission denied: '/tmp/cache/macsec'

How I did it
Set owner back to admin after restoring counters folder.

How to verify it
sudo warm-reboot, then ensure show environement does not print errors.

Signed-off-by: Oleksandr Kolomeiets <oleksandrx.kolomeiets@intel.com>
Co-authored-by: oleksandrx-kolomeiets <oleksandrx.kolomeiets@intel.com>
2023-03-27 14:57:26 -07:00
mssonicbld
ea34c9971d
[submodule] Update submodule to the latest HEAD automatically (#14412)
Why I did it
src/linkmgrd

* 3403160 - (HEAD -> 202205, origin/202205) [ci] fix azure pipeline (#190) (33 hours ago) [Jing Zhang]
* 95abb4c - [active-standby] avoid unnecessary mux state probe after configuring to `auto` (#183) (33 hours ago) [Jing Zhang]
* 9277650 - [ci] Fix apt-get install unable locate package issue. (#177) (33 hours ago) [Liu Shilong]
src/sonic-linux-kernel

* 836aedf - (HEAD -> 202205, origin/202205) [202205] Add Secure Boot Kernel configuration (#310) (35 hours ago) [Sachin Naik]
src/sonic-platform-common

* 9b367e4 - (HEAD -> 202205, origin/202205) Modify get_host_lane_assignment_option to return value based on application id (#352) (33 hours ago) [mihirpat1]
src/sonic-platform-daemons

* a6015f2 - (HEAD -> 202205, origin/202205) chassisd: Fix crash on exit on linecard (#347) (33 hours ago) [Patrick MacArthur]
* dcc0079 - [Supervisor][fabric] Modify the deinit function not to remove CHASSIS_FABRIC_ASIC_TABLE when supervisorctl stop chassisd (#340) (33 hours ago) [prem-nokia]
src/sonic-swss

* a2f1428 - (HEAD -> 202205, origin/202205) Run individule pytests instead of running all pytests at once. (#2350) (33 hours ago) [mint570]
src/sonic-swss-common

* 643132e - (HEAD -> 202205, origin/202205) Fix mod_config with empty config will delete table bug. (#767) (34 hours ago) [Hua Liu]
* 4c7ee30 - Revamp module build script to make it work for 5.15 on Ubuntu 20.04 (#720) (34 hours ago) [Saikrishna Arcot]
2023-03-26 11:30:13 -07:00
mssonicbld
5fb685ebb8
[ci/build]: Upgrade SONiC package versions (#14418) 2023-03-26 20:42:23 +08:00
mssonicbld
f76fbfca5b
[ci/build]: Upgrade SONiC package versions (#14415) 2023-03-25 21:02:51 +08:00
mssonicbld
6dce9c4ac6
Fix telemetry.sh passing in null as log level value (#14303) (#14410) 2023-03-25 05:24:23 +08:00
Junchao-Mellanox
f74c69e876
[202205] [Mellanox] Fix issue: user must set admin down before toggling LPM (#14370)
* Fix issue: user must set admin down before toggling LPM
2023-03-24 11:05:49 -07:00
zitingguo-ms
3ea789928a
upgrade SAI xgs to 7.1.36.4 (#14289)
Why I did it
Update SAI xgs version to 7.1.36.4 to include the following changes.

JIRA# SONIC-69731 (7.1.33.4)
Issue Summary: SAI_SWITCH_ATTR_SWITCH_HARDWARE_INFO brcm_sai_get_switch_attribute returns null.
Root Cause: Not implemented.
Fix Description: Get support for SAI switch attr SAI_SWITCH_ATTR_SWITCH_HARDWARE_INFO added
JIRA# SONIC-70737 (7.1.34.4)
Issue Summary: ECN being marked as CE even without congestion
Root Cause: ecn_thresh was set to very low value and packets were 100% marked.
Fix Description: ecn_thresh set to correct value
backport SONIC-70081 to SAI7.1 (7.1.35.4)
egress lossy queue PFC Rx fix:ignore PFC signals from egress
Update git submodules (7.1.36.4)
Update sdk-src/hsdk_6.5.24_SAI_7.1.0_GA from branch 'hsdk_6.5.24_SAI_7.1.0_GA'
to 57d0e360269c4ab659c4790ae471aa4dba2532b4
[SAI_BRANCH rel_ocp_sai_7_1] Broadcom image build failed with SAI 7.1 in DMZ repo (on bullseye)
How I did it
Update SAI xgs code.

How to verify it
Run the SONiC and SAI test with the 7.1 SAI pipeline.

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2023-03-24 11:04:50 -07:00
mssonicbld
ca7c607d1f
[submodule] Update submodule to the latest HEAD automatically (#14362)
Why I did it
src/sonic-swss

* bf496d1 - (HEAD -> 202205, origin/202205) [202205] Fixed set admin_status for deleted subintf due to late notification (#2704) (3 days ago) [EdenGri]
src/sonic-swss-common

* ecf60a3 - (HEAD -> 202205, origin/202205) [logger] Add public `restartLogger` to restart logger thread (#768) (2 days ago) [Longxiang Lyu]
2023-03-24 11:03:46 -07:00
Neetha John
06939ffaec
[202205] [qos] Update RDMA-CENTRIC lossy profile to use static threshold for Th devices (#14399)
Backport #14372 to 202205

Why I did it
For better accounting purposes, updating the ingress lossy traffic profile to use static threshold. This change is only intended for Th devices using RDMA-CENTRIC profiles

How I did it
Update the buffer templates for Th devices in RDMA-CENTRIC folder to use the correct threshold

Signed-off-by: Neetha John <nejo@microsoft.com>
2023-03-24 10:42:15 -07:00
Liu Shilong
50817f5b5c
[ci] Add syncd target in PR checks to avoid build break. (#14267)
Why I did it
Check syncd related target in PR checks to avoid build break.
2023-03-23 11:20:58 +08:00
Saikrishna Arcot
932d0f5391
[202205] Remove apt package lists and make macro to clean up apt and python cache (#14377)
* Remove apt package lists and make macro to clean up apt and python cache

Remove the apt package lists (`/var/lib/apt/lists`) from the docker
containers. This saves about 100MB.

Also, make a macro to clean up the apt and python cache that can then be
used in all of the containers. This helps make the cleanup be consistent
across all containers.

Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
2023-03-22 14:51:25 -07:00
Stepan Blyshchak
e2ed36c764
[202205] Clear teamd-timer when finalizing fast-reboot (#14295)
* Clear teamd-timer when finalizing fast-reboot
* Move config save after finalizing fast/warm reboot
2023-03-22 12:07:58 -07:00
Dror Prital
8495a17228
[202205][submodule] Advance sonic-utilities pointer (#14373)
Update sonic-utilities submodule pointer to include the following:
* 32938665 [202205] Fast-reboot: preserve connected routes and set teamd timer to minimum. ([#2744](https://github.com/sonic-net/sonic-utilities/pull/2744))
2023-03-22 12:07:25 -07:00
Vivek
3e732b0fd7
[202205] Advance sonic-dbsyncd pointer (#14225)
4dcfb61 Handled the error case of negative age (#57)

Signed-off-by: Vivek Reddy <vkarri@nvidia.com>
2023-03-21 09:48:18 -07:00
mssonicbld
22b7b68ff0 [ci/build]: Upgrade SONiC package versions 2023-03-21 20:46:04 +08:00
mssonicbld
add898d7d8
[submodule] Update submodule to the latest HEAD automatically (#14309)
Why I did it
src/sonic-dbsyncd

* 4dcfb61 - (HEAD -> 202205, origin/202205) Handled the error case of negative age (#57) (2 days ago) [Vivek]
src/sonic-swss

* 142abdf - (HEAD -> 202205, origin/202205) swss: Fix egress queue counters in voq systems. (#2705) (2 days ago) [Sambath Kumar Balasubramanian]
src/sonic-utilities

* 42a57f4c - (HEAD -> 202205, origin/202205) [202205] Update the ref guide to reflect the vlan brief output (#2741) (2 days ago) [Vivek]
2023-03-20 16:53:32 -07:00
xumia
e5e8d46fe1
[Security] Fix some of vulnerability issue relative python packages (#14269) (#14353)
Why I did it
Fix some of vulnerability issue relative python packages #14269
Pillow: [CVE-2021-27921]
Wheel: [CVE-2022-40898]
lxml: [CVE-2022-2309]

How I did it
2023-03-20 16:52:40 -07:00
mssonicbld
19a89aa6e2
[ci/build]: Upgrade SONiC package versions (#14344) 2023-03-19 20:19:28 +08:00
mssonicbld
3df60a15dd
[ci/build]: Upgrade SONiC package versions (#14314) 2023-03-19 00:04:48 +08:00
Ying Xie
6cecc2505b
[202205] create 202205 branch for sonic-dbsyncd submodule (#14307)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2023-03-18 03:42:31 +00:00
mssonicbld
51df8df2a8
[ci/build]: Upgrade SONiC package versions (#14299) 2023-03-18 02:31:30 +08:00
Pavan-Nokia
cb2e03da8e
[Nokia-7215]Update Marvell EZB XML files (#14261)
Update cnc-base counters to 4096 from 0 in the Marvell SAI
Easy bringup XML files
2023-03-17 10:58:55 -07:00
Stepan Blyshchak
abe70b9d99
[sonic-platform-daemons] update submodule (#14275)
Changes included:

```
f6ce56e [202205] Update xcvrd to use new STATE_DB FAST_REBOOT entry (#343)
```

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2023-03-17 10:57:23 -07:00
mssonicbld
4ed233bd35
[submodule] Update submodule to the latest HEAD automatically (#14264)
src/sonic-platform-common

* 8460721 - (HEAD -> 202205, origin/202205) Fix issues in cmis.get_transceiver_bulk_status (#351) (10 hours ago) [Stephen Sun]
src/sonic-sairedis

* 10f37ef - (HEAD -> 202205, origin/202205) Ignore removing switch for mellanox platform due to known limitation (#1216) (10 hours ago) [Junchao-Mellanox]
src/sonic-swss

* 5f031af - (HEAD -> 202205, origin/202205) [flowcounterrouter] Fix the Route remove flow for non-bound prefixes (#2691) (10 hours ago) [Vivek]
src/sonic-utilities

* f88ca1c9 - (HEAD -> 202205, origin/202205) Improve show acl commands (#2667) (10 hours ago) [bingwang-ms]
* 738406b7 - Enhance the logic to wait for all buffer tables to be removed in _clear_qos (#2720) (10 hours ago) [Stephen Sun]
How I did it
2023-03-17 17:56:23 +00:00
jhli-cisco
2926314998
Update cisco-8000.ini (#14272)
Why I did it
Chassis:

Fixed Multiple orchagent crashes due to BULK create failure
added new line card support
Addressed T2 snmp test failures
Addressed reboot issues
Chassis and Fixed:

Addressed dshell client issues
HWSKU name update from Cisco-8101-T32/Cisco-8101-C48T8 to Cisco-8101-O32/Cisco-8101-C48O8

How I did it
update to cisco version 0.12
2023-03-17 09:35:15 -07:00
lixiaoyuner
4d2cba92c6 Install kubernetes-cni for kubelet (#14163)
Why I did it
Find a new bug on kubelet side. The kubernetes-cni plug-in was removed in #12997, the reason is that the plug-in will be auto installed when install kubeadm, and will report error if we don't remove the install code. But after removal, the version auto installed is different from what we installed before. This will affect the kubelet action in some scenarios we don't find before. Need to install it by another way.

How I did it
Install kubernetes-cni==0.8.7-00 before install kubeadm

How to verify it
Flannel binary will be installed under /opt/cni/bin/ folder
2023-03-17 12:36:49 +08:00
mssonicbld
cac2cf5d24
[storage_backend] Add backend acl service (#14229) (#14281) 2023-03-17 08:50:15 +08:00
mssonicbld
32ac9b0bce
Update dynamic threshold for TD2 (#14224) (#14273)
Why I did it
Update dynamic threshold to -1 to get optimal performance for RDMA traffic

How I did it
Modified pg_profile_lookup.ini to reflect the correct value

Signed-off-by: Neetha John <nejo@microsoft.com>
Co-authored-by: Neetha John <nejo@microsoft.com>
2023-03-16 17:04:42 -07:00
mssonicbld
929c1849fa
[lldpmgrd] Don't log error message for outdated event (#14178) (#14274) 2023-03-17 04:52:04 +08:00
Tejaswini Chadaga
df22ead036
Add yang model definition for CHASSIS_MODULE table (#14007) (#14262)
Why I did it
Add yang model definition for CHASSIS_MODULE define and implemented for sonic chassis. HLD for this configuration is included in https://github.com/sonic-net/SONiC/blob/master/doc/pmon/pmon-chassis-design.md#configuration

Fixes #12640

How I did it
Added yang model definition, unit tests, sample config and documentation for the table

How to verify it
Validated config tree generation using "pyang -Vf tree -p /usr/local/share/yang/modules/ietf ./yang-models/sonic-voq-inband-interface.yang"

Built the below python-wheels to validate unit tests and other changes
target/python-wheels/bullseye/sonic_yang_mgmt-1.0-py3-none-any.whl
target/python-wheels/bullseye/sonic_yang_models-1.0-py3-none-any.whl
target/python-wheels/bullseye/sonic_config_engine-1.0-py3-none-any.whl
2023-03-16 10:20:56 -07:00
Liu Shilong
19d6f3029c
Revert "Upgrade SAI xgs to 7.1.36.4 and migrate to dmz repo (#14210)" (#14268)
This reverts commit a3ea2e7a17.
2023-03-16 10:19:01 -07:00
Stepan Blyshchak
58937201f9 [swss/syncd] remove dependency on interfaces-config.service (#13084)
- Why I did it
Remove dependency on interfaces-config.service to speed up boot, because interfaces-config.service takes a lot of time on boot.

- How I did it
Changed service files for swss, syncd.

- How to verify it
Boot and check swss/syncd start time comparing to interfaces-config

Signed-off-by: Stepan Blyschak <stepanb@nvidia.com>
2023-03-16 14:37:17 +08:00
Marty Y. Lok
21db66ac64 [EVERFLOW][ACL_ATBLE] Fix for everflow ACL_TABLE in config_db not having the routed ports when no -ASIC in the asic_port_name (#13532)
Why I did it
After the renaming of the asic_port_name in port_config.ini file (PR: #13053 ), the asic_ifname in port_config.ini is changed from '-ASIC<asic_id>' to just port. Example: 'Eth0-ASIC0' to 'Eth0'.

However, with this change a config_db generated via config load_minigraph would cause the EVERFLOW and EVERFLOWV6 tables under ACL_TABLE to not have any of non-LAG front panel interfaces. This was causing the EVERFLOW suite to fail.

How I did it
In parse_asic_external_neigbhors in minigraph.py there was a check that the asic_name.lower() (like asic0) is present in the port_alias_asic_map. However with -ASIC removed from the asic_ifname, the port_alias_asic_map would not have the asic_name and thus any non-LAG neighbor would not be included.

Fix was the ignore the asic name change as the port_alias_asic_map is already only looking for ports in just the same asic as asic_name.

How to verify it
Execute "config load_minigraph" with the mingraph which is generated by sonic-mgmt gen-minigraph script. And confirm ono-lag interface are present in the Everfloe table in the config_dbs.

Signed-off-by: mlok <marty.lok@nokia.com>
2023-03-16 09:53:27 +08:00
jhli-cisco
1a83888040 [sonci-slave]: update sonic-slave docker files to include cisco sdk dependencies (#14203)
cisco SDK dependencies needed
2023-03-16 06:32:15 +08:00
kellyyeh
99cb1e1fbe Update dhcpmon rx/tx packet filtering and fix server rx count (#13898)
Why I did it
Dhcpmon had incorrect RX count for server side packets. It does not raise any false alarms, but could miss catching server side packet count mismatch between snapshot and current counter.

Add debug mode which prints counter to syslog

How I did it
Due to dualtor inbound filter requirement, there are currently two filters, each for listening to rx / tx packets.
Originally, we opened up an rx/tx socket for each interface specified, which causes duplicate socket. Now we initialize the sockets only once. Both sockets are not binded to an interface, and we use vlan to interface mapping to filter packets. For inbound uplinks, we use a portchannel to interface mapping.

Previous dhcpmon counter before dual tor change:
[ Agg-Vlan1000- Current rx/tx] Discover: 1/ 4, Offer: 1/ 1, Request: 3/ 12, ACK: 1/ 1
[ eth0- Current rx/tx] Discover: 0/ 0, Offer: 0/ 0, Request: 0/ 0, ACK: 0/ 0
[ eth0- Current rx/tx] Discover: 0/ 0, Offer: 0/ 0, Request: 0/ 0, ACK: 0/ 0
[ PortChannel104- Current rx/tx] Discover: 0/ 1, Offer: 0/ 0, Request: 0/ 3, ACK: 0/ 0
[ PortChannel103- Current rx/tx] Discover: 0/ 1, Offer: 0/ 0, Request: 0/ 3, ACK: 0/ 0
[ PortChannel102- Current rx/tx] Discover: 0/ 2, Offer: 1/ 0, Request: 0/ 6, ACK: 1/ 0
[ PortChannel101- Current rx/tx] Discover: 0/ 0, Offer: 0/ 0, Request: 0/ 0, ACK: 0/ 0
[ Vlan1000- Current rx/tx] Discover: 1/ 0, Offer: 0/ 1, Request: 3/ 0, ACK: 0/ 1
[ Agg-Vlan1000- Current rx/tx] Discover: 1/ 4, Offer: 1/ 1, Request: 3/ 12, ACK: 1/ 1

Dhcpmon counter after this PR:
[ PortChannel104- Current rx/tx] Discover: 0/ 1, Offer: 0/ 0, Request: 0/ 3, ACK: 0/ 0
[ PortChannel103- Current rx/tx] Discover: 0/ 1, Offer: 0/ 0, Request: 0/ 3, ACK: 0/ 0
[ PortChannel102- Current rx/tx] Discover: 0/ 2, Offer: 1/ 0, Request: 0/ 6, ACK: 1/ 0
[ PortChannel101- Current rx/tx] Discover: 0/ 0, Offer: 0/ 0, Request: 0/ 0, ACK: 0/ 0
[ Vlan1000- Current rx/tx] Discover: 1/ 0, Offer: 0/ 1, Request: 3/ 0, ACK: 0/ 1
[ Agg-Vlan1000- Current rx/tx] Discover: 1/ 4, Offer: 1/ 1, Request: 3/ 12, ACK: 1/ 1

How to verify it
Ran dhcp relay test to send all four packets in singles and batches on both single ToR and dual ToR. Counter was as expected.
2023-03-16 04:32:46 +08:00
Junchao-Mellanox
5df167b346 [system-health] Make check interval more accurate (#14085)
- Why I did it

Healthd check system status every 60 seconds. However, running checker may take several seconds. Say checker takes X seconds, healthd takes (60 + X) seconds to finish one iteration. This implementation makes sonic-mgmt test case not so stable because the value X is hard to predict and different among different platforms. This PR introduces an interval
compensation mechanism to healthd main loop.

- How I did it

Introduces an interval compensation mechanism to healthd main loop: healthd should wait (60 - X) seconds for next iteration

- How to verify it

Manual test
Unit test
2023-03-16 04:32:41 +08:00
xumia
7bba702f1e [Build] Fix the mirror gpg key expired issue (#14206)
Why I did it
[Build] Fix the mirror gpg key expired issue
See vs build: https://dev.azure.com/mssonic/build/_build/results?buildId=231680&view=logs&j=cef3d8a9-152e-5193-620b-567dc18af272&t=cf595088-5c84-5cf1-9d7e-03331f31d795

How I did it
Add the apt option not to check the valid until, the option is set to the SONiC docker base image, docker ptf missing the option.

Acquire::Check-Valid-Until "false";
How to verify it
The build of docker-ptf is succeeded after fixed.

2023-03-11T17:26:35.1801999Z [ building ] [ target/docker-ptf.gz ] 
2023-03-11T17:38:10.1608536Z [ finished ] [ target/docker-ptf.gz ]
2023-03-16 04:32:36 +08:00
Samuel Angebault
9ac78190ee [Arista] Add missing platform_components.json (#14067)
Provide platform-components.json for Clearwater2 and Wolverine

These files are needed for fwutil platform sonic-mgmt tests to pass.

Fix PikeZ platform_components.json

Co-authored-by: Patrick MacArthur <pmacarthur@arista.com>
Co-authored-by: Andy Wong <andywong@arista.com>
2023-03-16 04:32:32 +08:00
Jemston Fernando
f39bdaecf8
Fix Belgite platform issues (#14035)
As part of platform hardening this commit fixes several platform issues
in various components like PSU, FAN, Temperature, LED.
Cherrypick PR#13389
2023-03-15 19:29:00 +00:00
Junhua Zhai
3a70892ca4 [gearbox] use credo sai v0.9.0 (#14149)
Update credo sai package to the latest v0.9.0.
2023-03-16 02:36:18 +08:00
Aryeh Feigin
4a3c5e42c2
[202205] Fast reboot finalizer 202205 (#14143)
* Finalize fast-reboot in warmboot finalizer

* update fast/warm-reboot finalizer

* support compatibility for fast-reboot from previous versions (prior 202205)

* advance pointers: sairedis, utilities
2023-03-15 09:34:05 -07:00
mssonicbld
95047bdc78
Update dhcpv6-relay yang model (#14144) (#14245) 2023-03-15 16:23:09 +08:00
zitingguo-ms
a3ea2e7a17
Upgrade SAI xgs to 7.1.36.4 and migrate to dmz repo (#14210)
Why I did it
Update SAI xgs version to 7.1.36.4 to include the following changes and migrate xgs to DMZ repo.

JIRA# SONIC-69731 (7.1.33.4)
Issue Summary: SAI_SWITCH_ATTR_SWITCH_HARDWARE_INFO brcm_sai_get_switch_attribute returns null.
Root Cause: Not implemented.
Fix Description: Get support for SAI switch attr SAI_SWITCH_ATTR_SWITCH_HARDWARE_INFO added
JIRA# SONIC-70737 (7.1.34.4)
Issue Summary: ECN being marked as CE even without congestion
Root Cause: ecn_thresh was set to very low value and packets were 100% marked.
Fix Description: ecn_thresh set to correct value
backport SONIC-70081 to SAI7.1 (7.1.35.4)
egress lossy queue PFC Rx fix:ignore PFC signals from egress
Update git submodules (7.1.36.4)
Update sdk-src/hsdk_6.5.24_SAI_7.1.0_GA from branch 'hsdk_6.5.24_SAI_7.1.0_GA'
to 57d0e360269c4ab659c4790ae471aa4dba2532b4
[SAI_BRANCH rel_ocp_sai_7_1] Broadcom image build failed with SAI 7.1 in DMZ repo (on bullseye)

How I did it
Update SAI xgs code.

How to verify it
Run the SONiC and SAI test with the 7.1 SAI pipeline.

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
2023-03-14 19:02:38 -07:00
Prince George
8c049af65e [yang]: Add Yang model support for adding Channel to PORT table (#14228)
Why I did it
Add 'channel' to the CONFIG_DB PORT table. This will be needed to support PORT breakout to multiple channel ports so that Xcvrd can understand which datapath or channel to initialize on the CMIS compliant optics

How I did it
Add 'channel' to the CONFIG_DB PORT table.

How to verify it
Added unit test for valid and invalid channel number
Channel 0 -> No breakout
Channel 1 to 8 -> Breakout channel 1,2, ..8

Signed-off-by: Prince George <prgeor@microsoft.com>
2023-03-15 09:52:45 +08:00
mssonicbld
2eb06b1a40
[Mellanox]Fix lpmode set when logical port is larger than 64 (#14138) (#14242) 2023-03-15 08:05:12 +08:00