Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

test backmerge #36

Open
wants to merge 7,403 commits into
base: test_backmerge
Choose a base branch
from
Open

Conversation

PrabhuSreenivasan
Copy link
Collaborator

No description provided.

seiferteric pushed a commit that referenced this pull request Nov 25, 2019
* Update src/sonic-telemetry from branch 'broadcom_sonic'
  to 31c54a162e0707830cefcad5cf99451c293095f4
  - [JIRA SONIC-10470]merge sonic-telemetry dell_sonic --> broadcom_sonic 11112019
    
    Change-Id: I2ae9fe6f9a60937ad178c3a930308ea046cad51e
    
  - Merge pull request sonic-net#43 from project-arlo/gnoi_ConfigManagement
    
    Add config mgmt gNOI RPCs, rename sonic gNOI proto file
  - Merge pull request sonic-net#42 from project-arlo/gnoi_techsupport
    
    Gnoi techsupport
  - Add config mgmt gNOI RPCs, rename sonic gNOI proto file
    
  - Merge remote-tracking branch 'github/master' into gnoi_techsupport
    
  - Merge pull request sonic-net#41 from project-arlo/gnmi_set_prefix
    
    Add prefix support to gnmi_set
  - Merge pull request sonic-net#40 from project-arlo/updates_only
    
    Updates only
  - Merge pull request sonic-net#39 from project-arlo/username_password_support
    
    Username password support
  - Make same changes for show-techsupport proto
    
  - Add sonic-tests:sum rpc for example
    
  - wip
    
  - Initial support for showTechSupport rpc
    
  - Add prefix support to gnmi_set
    
  - Finish updates_only for poll and once
    
  - Move line inside block
    
  - Implement updates_only for stream subscriptions
    
  - Add authentication to gNOI. Return gRPC erros from PAMAuthenAndAuthor for better error codes
    
  - verify username/password is actually sent
    
  - Remove file added by accident
    
  - Add cmd line arg to enable user/passwd auth
    
  - Initial username/password auth support
    
  - Merge pull request #36 from project-arlo/gNOI
    
    Initial gNOI Support
  - Merge pull request #37 from project-arlo/jsonSchemaTests
    
    Json schema tests
  - remove debug code
    
  - Fix bug with muliple operations reusing path var
    
  - Add target option to gNOI client
    
  - Get schema for tests from compiled output
    
  - Add flag module to gNOI client to support morre rpcs in the future
    
  - Remove commented out code
    
  - Initial checkin for gNOI, with example System Time rpc
    
  - Merge pull request #34 from project-arlo/jsonSchemaTests
    
    Json schema tests
  - Merge pull request #35 from project-arlo/brcm_poc
    
    Brcm poc
  - Merge remote-tracking branch 'broadcom/broadcom_sonic' into brcm_poc
    
  - Add cleanup to test cases
    
  - Migrate interface ipv4 test to new format
    
  - Fix Makefile schema path, ad models, change test format
    
  - Fix formatting of json in README
    
  - Merge pull request #33 from project-arlo/master
    
    Syncing project-arlo/sonic-telmetry master to brcm_poc
  - typo
    
  - Add readme for json schema tests
    
  - More changes for Json Schema based tests
    
  - Use json schema for get tests as well. Use get test in set to verify results
    
  - Go back to local gNMI server
    
  - Initial validation support using json schema
    
  - Load tests from files and get info from file name
    
  - Merge pull request #30 from project-arlo/fix-check-testcase
    
    Fix check testcase to check individual attributes in a platform-independent way.
  - Merge pull request #31 from project-arlo/gnmi_cli_fixes
    
    Add check that heartbeat_interval is only valid on streaming query type
  - Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into broadcom_sonic
    
    Change-Id: Ia772a55a893c2bee3c9e974700e4821f2f8d7af6
    
  - Add check that heartbeat_interval is only valid on streaming query type
    
  - Merge branch 'master' of https://github.com/project-arlo/sonic-telemetry into fix-check-testcase
    
    Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com>
    
  - Merge pull request #29 from project-arlo/master
    
    Dell fixes on telemetry repo - 13th Sep
  - Merge pull request #28 from project-arlo/tests
    
    Disable platform specific test for now
  - Disable platform specific test for now
    
  - Merge pull request #27 from project-arlo/update_tls_config
    
    Remove duplicate ciphers
  - Remove duplicate ciphers
    
  - fix the check if value set testcase
    
    Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com>
    
  - Merge pull request #26 from project-arlo/update_tls_config
    
    Update tls config
  - Update cipher suite list again
    
  - Fix spaces to tabs
    
  - Set Min TLS Version and cipher suites
    
  - Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into broadcom_sonic
    
    Change-Id: Iae02e417fe8c8ea378a0e85d2354cda10f833b1b
    
  - Merge pull request #25 from project-arlo/master
    
    merge gnmi_cli code into telemetry repo
  - Merge pull request #23 from project-arlo/gnmi_cli_fixes
    
    Gnmi cli fixes
  - Merge pull request #24 from project-arlo/brcm_poc
    
    Fix low code coverage issue by enabling the gnmi_server test code listening on port 8081
  - Fix streaming_type in tests
    
  - Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into broadcom_sonic
    
    Change-Id: I14fb29ab4016f390fab9c930a0af69f9a20eba85
    
  - Merge remote-tracking branch 'sshorigin/master' into gnmi_cli_fixes
    
  - Add full code for gnmi_cli with our changes so it can be built from scratch like gnmi_set/get. Update Makefile. Add fixes to gnmi_cli to use seconds as units everywhere instead of nanoseconds, and accept string for -streaming_type
    
  - Merge pull request #22 from project-arlo/brcm_poc
    
    BRCM changes for Telemetry UT
  - Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into broadcom_sonic
    
    Change-Id: I4a0804425a4e0a396870004d717f192354dd19c8
    
  - Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into broadcom_sonic
    
    Change-Id: Id9f1bef203c4a017d53ce0a854072732656e69ee
    
  - Merge remote-tracking branch 'project-arlo-telemetry/brcm_poc' into broadcom_sonic
    
    Change-Id: Id9f1bef203c4a017d53ce0a854072732656e69ee
    
  - Merge pull request #21 from project-arlo/master
    
    bring brcm_poc in par with master
  - Merge pull request #20 from project-arlo/gnmi-test-after-set
    
    Add code to check values set
  - Add code to check values set
    
    Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com>
    
  - Merge pull request #19 from project-arlo/gnmi-add-delete-test
    
    Minor fix in Delete OC Interface IP testcase
  - Minor fix in Delete OC Interface IP testcase
    
    Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com>
    
  - Merge pull request #18 from project-arlo/gnmi-add-delete-test
    
    Add delete test case
  - Add delete testcase
    
    Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com>
    
  - Merge pull request #17 from project-arlo/gnmi_test_sys_pfm
    
    Gnmi Server test for system platform and interfaces
  - Add json file for ip config
    
    Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com>
    
  -  Working gnmi server test for sys,pfm,interfaces
    
  - Add test to set ip address
    
    Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com>
    
  - Code cleanup in server_test.go
    
    Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com>
    
  - Fix paths
    
  - fix
    
  - Fix some issues with test infra
    
  - Changes for testing get/set operations on OC interfaces
    
    Signed-off-by: Tejaswi Goel <Tejaswi_Goel@Dell.com>
    
  - working gnmi sys and pfm test without clearing bad logs
    
  - Merge pull request #16 from project-arlo/tests
    
    Disable old tests that fail due to new fields being added. Add basic …
  - Disable old tests that fail due to new fields being added. Add basic interface get test and capabilities test. Change package name and add symlink to cvl schema
    
  - Merge pull request #15 from project-arlo/tests
    
    Add test directory
  - Add test directory
    
  - Merge pull request #14 from project-arlo/translib-stream-subscribe
    
    Implement updates_only for ON_CHANGE streaming mode
  - Implement updates_only for ON_CHANGE streaming mode
    
  - Merge pull request #13 from project-arlo/translib-stream-subscribe
    
    Check error response before adding to on_change list
  - Check error response before adding to on_change list
    
  - Merge pull request #12 from project-arlo/capabilities-models
    
    Return models based on translib GetModels API
  - Return models based on translib GetModels API
    
  - Merge pull request #11 from project-arlo/translib-stream-subscribe
    
    Translib stream subscribe
  - Fix bug with sync messages
    
  - Implement suppress_redundant, fix ticker_map format, remove some debug prints, fix heartbeats
    
  - Close channel on error, check if timer if HB
    
  - Update IsSupported to IsOnChangeSupported, add heartbeat_interval support to gnmi_cli, remove debug code
    
  - Fix issue with when sync message is sent. Add heartbeat support. Add valueCache for suppress_redundant (wip)
    
  - convert subscribeResponse to gnmi subscribeResponse and return
    
  - wip
    
  - Merge pull request #10 from project-arlo/fix-if-replace-update
    
    Fix issue with updates and replace with interfaces
  - Fix issue with updates and replace with interfaces
    
  - Merge pull request #9 from project-arlo/sample-subscribe
    
    Sample subscribe
  - Fixes, also include binary for gnmi_cli for now
    
  - Add some dummy code for future subscribe api
    
  - cleanup
    
  - Use ticker_info struct
    
  - cleanup
    
  - Add paths to existing timer group if interval is the same
    
  - Initial support for sample based streaming subscribe
    
  - Merge pull request #8 from project-arlo/subscribe-support
    
    Ad once channel cleanup
  - Ad once channel cleanup
    
  - Merge pull request #7 from project-arlo/subscribe-support
    
    Subscribe support
  - Add gnmi_cli for subscribe client, update Makefile to build it, add .gitignore
    
  - Implement ONCE subscribe mode for translib
    
  - Port polling subscriptions code for translib
    
  - Merge pull request #6 from project-arlo/buildimage-refactor
    
    Fix build issue
  - Fix build issue
    
  - Merge pull request #5 from project-arlo/buildimage-refactor
    
    trigger building ocbinds file in translib, add gnmi_clients
  - trigger building ocbinds file in translib, forgot to add gnmi_clients in last commit
    
  - Merge pull request #4 from project-arlo/buildimage-refactor
    
    Add gnmi set and get client to build
  - Add gnmi set and get client to build
    
  - Merge pull request #3 from project-arlo/buildimage-refactor
    
    Add back install and other targets to fix deb package
  - Add back install and other targets to fix deb package
    
  - Merge pull request #2 from project-arlo/buildimage-refactor
    
    Buildimage refactor
  - Install CVL deps and update gopath
    
  - More Makefile changes
    
  - Move source files into src, change import paths, fixing Makefile
    
  - Merge pull request #1 from project-arlo/brcm_poc
    
    Merge PoC changes to master
  - Ignore test results for gnmi_server
    
    The Debian files attempt to run make check for the gNMI server, however,
    it fails on a build machine, because it expects the Redis server to be
    available and listening on localhost port 6379.
    
    For now, the result of the test is ignored, and we have to find a way to
    fix this so that the tests work even on a build machine.
    
  - GNMI PoC changes
seiferteric pushed a commit that referenced this pull request Feb 28, 2020
00410e5 (HEAD, origin/master, origin/HEAD) [mgmt-framework] Update Swagger URL to repo1.maven.org (#37)
7562028 Merge pull request #36 from Azure/Arlo
cd22b4d (origin/Arlo) Added the certificate check to quiet
7fbcd46 Changed the swagger website to https
5d1041f Added sonic-mgmt-framework deb install to install the contents of sonic-mgmt-framework deb package (#30)
229fe69 Added sonic-mgmt-framework deb install to install the contents of sonic-mgmt-framework deb package

signed-off-by: Tamer Ahmed <tamer.ahmed@microsoft.com>
@lguohan lguohan force-pushed the master branch 2 times, most recently from 3690c1a to 512eb6b Compare December 25, 2020 18:34
mssonicbld and others added 19 commits December 5, 2024 16:01
…D automatically (#21043)

#### Why I did it
src/sonic-platform-daemons
```
* 1962fca - (HEAD -> master, origin/master, origin/HEAD) Fixed bug in chassisd causing incorrect number of ASICs in CHASSIS_STATE_DB (#560) (4 hours ago) [Vivek Verma]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…ch (#20945)

- Why I did it
In order to use the thermal data from DPUs to be used by hw-mgmt algorithms for controlling the speed of the fans.
Changes in

thermal_manager.py : Updated condition to consider if DPUs are present along with host management mode
thermal_updater.py: Added new APIs for DPUs and made configuration to update start and stop based on the initialization

- How I did it
Parse the DPUs information from the chassis_instance modules, get the temperature information from the module.get_temperature_dict information, This will be added to the Platform API PR

- How i tested it
Added new unit test to cover the thermal algo.
- Why I did it
Data port on the DPU is of type "Dpc" i..e no xcvr is present on it. Thus xcvrd can effectively be skipped on this platform

- How I did it
change the pmon configuration
"skip_ycabled": true,
"skip_xcvrd": true

- How to verify it
Manual test to ensure xcrvd is skipped for this type of ports.
Load and check if xcvrd is not started
…tion (#20744)

- Why I did it
Increased the max multipath to 512. In addition removed bgp-vnc as this feature is not used by SONiC .
https://docs.frrouting.org/en/latest/vnc.html#vnc-and-vnc-gw
This feature adds overhead in general and removing this improves bgp convergence time for scale.

- How I did it
Added a patch modify debian rules.

- How to verify it
Run BGP tests in scaled topology.
- Why I did it
This PR follows #20744
Increasing the maximum-paths to 514. Currently value of 64 restricts the maximum paths that can created by BGP.

- How I did it
Updated constants file.

- How to verify it
Modified UT to verify.
…ically (#21040)

#### Why I did it
src/sonic-dbsyncd
```
* 7ad34f6 - (HEAD -> master, origin/master, origin/HEAD) [ci] Fix pipeline issue caused by dist upgrade (#72) (53 minutes ago) [Liu Shilong]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Add express-boot support
[FRR] Enable pathd in frr 

Signed-off-by: guozhongfeng.gzf@alibaba-inc.com
Why I did it
This PR contains various optimizations to reduce disk writes on SONiC switches as mentioned in the High-level Design.

This contributes to the overall reduction in data written to the disk over time, which can help extend the life of the disk and reduce the risk of disk failure.

Work item tracking
Microsoft ADO (number only): 28300356

How I did it
Moved supervisord logs within swss to tmpfs
Optimized away repeated disk writes by vtysh in the bgp container
Moved monit and logrotate writers to tmpfs

How to verify it
Flash image with these optimizations onto a sonic switch and check the following:

Within swss container, supervisord logs are written to /dev/shm/supervisor/
Within bgp container, verify that ~/.history_frr file is not written into repeatedly with show bgp summary json
Verify that monit state file is in /dev/shm/monit
Verify that logrotate status file is in /dev/shm/logrotate
[Mellanox][Smartswitch] Platform API for Smartswtich
Why I did it
The further change of minigraph.py and init_cfg.json should be blocked to align with PROD env.

How I did it
Add checker to block change

How to verify it
PR test
Why I did it
YANG failures during config replace with default configuration.

As of #19611 and sonic-net/sonic-utilities#3428 a new database field of require_manual_refresh was added.

This leads to YANG failures in the factory-default configuration for the xcvrd log entry which by default is written as true.

Work item tracking
How I did it
Updated YANG file for new field.

How to verify it
Verify config replace works with factory default configuration.
Release Notes:

Fixed MIGSMSFT-752: missing LC data from "show chassis module status" CLI output
Fixed MIGSMSFT-504: FC serial number update issue after FC swap/change
Fixed MIGSMSFT-780: fix the issue: show_techsupport & saidump errors. Included rib-cli in syncd docker.
Fixed MIGSMSFT-761: cardevent.py error due to connection reset
Fixed syncd grpcpp srv crash

Signed-off-by: Anand Mehra anamehra@cisco.com
Why I did it
Upgrade SAI xgs version to 11.2.16.2 to fix #20725

Work item tracking
Microsoft ADO (number only): 30445459

How I did it
Update xgs SAI version to 11.2.16.2 in the sai.mk file.

How to verify it
load the built image to the DUT, swss starts fine.

Signed-off-by: zitingguo-ms <zitingguo@microsoft.com>
…tically (#21066)

src/sonic-sairedis

* 4f7eed0a - (HEAD -> master, origin/master, origin/HEAD) Revert back to SAI version 1 15 (#1481) (80 minutes ago) [Ying X
- Why I did it

Up to now, building Mellanox SDK debian packages was done by "autotools" method.
Lately, Mellanox SDK team added the support to build by "cmake" method.
The benefit of using "cmake" is with decrease time of SDK build as "cmake" make it faster then "auto build".

When moving to "cmake" method, all SDK debians:

applibs
sx-complib
sx-example
sx-gen-utils
sx-scew
sxd-libs
python-sdk-api
sx-acl-helper
wjh-libs
sx-hash-calc
sx-obj-desc-lib
sxd-libs
will be replaced by single debian - sys_sdk.

- How I did it

Update cmake version on sonic slave dockers (bookworm and bullseye)
Change SDK Makefiles, delete all Makefiles of removed debians and add new Makefile for building sys_sdk.
Change sdk.mk and sdk.dep acordingly.
sx-kernel package was remain since it is consumed by the host as well and I didn't want to consume sys_sdk in host.

- How to verify it

Enter syncd docker and verify the list of SDK packages are sx-kernel and sys-sdk only
Run regression tests and verify there is no degradation
Install the debian that include dbg-symbols and verify there are debug symbols by setting relevant breakpoints
Test the build time when using "cmake" for building SDK packages, compare to "auto build"
SFF Manager in xcvrd needs to run to take non-cmis transceivers out of
lpmode as part of the fix for these transceivers remaining in down state.
Why I did it
Added a new field in FLEX_COUNTER_TABLE to represent the bulk chunk size for bulk counter polling.
…D automatically (#21084)

#### Why I did it
src/sonic-platform-daemons
```
* 60e7224 - (HEAD -> master, origin/test_202411_20, origin/test_202411_100, origin/master, origin/kperumal_202411, origin/HEAD, origin/202411) thermalctld: Add support for fans on non-CPU modules (#555) (9 hours ago) [Patrick MacArthur]
```
#### How I did it
#### How to verify it
#### Description for the changelog
mssonicbld and others added 30 commits February 6, 2025 19:01
…lly (#21639)

#### Why I did it
src/sonic-gnmi
```
* f8c2979 - (HEAD -> master, origin/master, origin/HEAD) Remove the dependency on Jipanyang's personal repository (#345) (23 hours ago) [ganglv]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…omatically (#21629)

#### Why I did it
src/sonic-swss-common
```
* 1593cc6 - (HEAD -> master, origin/master, origin/HEAD) ZMQ lib change. (#958) (31 hours ago) [divyagayathri-hcl]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…tomatically (#21628)

#### Why I did it
src/sonic-linux-kernel
```
* cd0224d - (HEAD -> master, origin/master, origin/HEAD) Enable Software Delegated Exception Interface for arm64 platforms (#462) (34 hours ago) [Vivek]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Integrate DASH API into build system
bgpcfgd: add support for software bfd sessions
…oute.yang (#21642)

#### Why I did it
Fix issue #21352 
According to the Static Route HLD, the nexthop-vrf field should be optional:
<pre>
;Defines IP static route  table
;
;Status: stable

key                 = STATIC_ROUTE|vrf-name|prefix ;
vrf-name            = 1\*15VCHAR ; VRF name
prefix              = IPv4Prefix / IPv6prefix
nexthop             = string; List of gateway addresses;
ifname              = string; List of interfaces
distance            = string; {0..255};List of distances.
                      Its a Metric used to specify preference of next-hop
                      if this distance is not set, default value 0 will be set when this field is not configured for nexthop(s)
nexthop-vrf         = string; list of next-hop VRFs. It should be set only if ifname or nexthop IP  is not
                      in the current VRF . The value is set to VRF name
                      to which the interface or nexthop IP  belongs for route leaks.
blackhole           = string; List of boolean; true if the next-hop route is blackholed.
                      Default value false will be set when this field is not configured for nexthop(s)
</pre>
However, in the sonic-static-route.yang the pattern of nexthop-vrf implies the nexthop-vrf is mandatory.

<pre>
sonic-static-route.yang:
...
...
        leaf nexthop-vrf {
          type string {
            pattern "(((Vrf[a-zA-Z0-9_-]+)|(default)|(mgmt)),)*((Vrf[a-zA-Z0-9_-]+)|(default)|(mgmt))";
          }
          description
            "VRF name of the nexthop. This is for vrf leaking";
...
</pre>


#### How I did it
Correct the pattern of nexthop-vrf.

#### How to verify it
<pre>
admin@sonic:~$ sudo config route add prefix 0.0.0.0/0 nexthop 172.16.0.3
admin@sonic:~$ redis-cli -n 4
127.0.0.1:6379[4]> key *STATIC*
(error) ERR unknown command 'key', with args beginning with: '*STATIC*'
127.0.0.1:6379[4]> keys *STATIC*
1) "STATIC_ROUTE|default|0.0.0.0/0"
127.0.0.1:6379[4]> hgetall "STATIC_ROUTE|default|0.0.0.0/0"
 1) "blackhole"
 2) "false"
 3) "distance"
 4) "0"
 5) "ifname"
 6) ""
 7) "nexthop"
 8) "172.16.0.3"
 9) "nexthop-vrf"
10) ""
127.0.0.1:6379[4]> exit
admin@sonic:~$ sudo config interface breakout Ethernet8 4x100G -yf

Running Breakout Mode : 1x400G
Target Breakout Mode : 4x100G

Ports to be deleted :
 {
    "Ethernet8": "400000"
}
Ports to be added :
 {
    "Ethernet8": "100000",
    "Ethernet10": "100000",
    "Ethernet12": "100000",
    "Ethernet14": "100000"
}
Breakout process got successfully completed.
Please note loaded setting will be lost after system reboot. To preserve setting, run `config save`.
</pre>
What is the motivation for this PR?
Patch Applier: * [{"op": "remove", "path": "/BGP_PEER_RANGE/BGPSLBPassiveV6"}]\n
Patch Applier: * [{"op": "add", "path": "/BGP_PEER_RANGE/BGPVac", "value": {"ip_range": ["192.168.0.0/21"], "name": "BGPVac", "src_address": "10.1.0.32"}}]\n
Patch Applier: * [{"op": "remove", "path": "/BGP_PEER_RANGE/BGPSLBPassive"}]\n
Patch Applier: * [{"op": "add", "path": "/BGP_PEER_RANGE/BGPSLBPassive", "value": {"ip_range": ["10.255.0.0/25"], "name": "BGPSLBPassive", "src_address": "10.1.0.32"}}]

The problem comes from that the running config already has 192.168.0.0 in BGPSLBPassive when add ip_range 192.168.0.0 to BGPVac. Then it cause the ip_range duplicate issue. Though the BGPSLBPassive's ip range change also in the patch, it comes after BGPVac which cause issue during the rollback.
The fix is to clean up the config before rollback.

How did you do it?
Remove BGP_PEER_RANGE config before rollback.

How did you verify/test it?
E2E
…21647)

Fixes: #19352.

Sequence when we upgrade using config db from older Image that has Telemetry docker feature enabled.

Older Image has Telemetry docker image and telemetry feature is enable
Newer Image does not have Telemetry docker image but feature is enable [because of old image config db]
Container checker will check for telemetry image and log the invalid error message periodically.
How I fixed:
As mentioned in this PR #18529 in newer image it is expected to have Telemetry feature in enable state but with no docker image. [Basically feature is implicitly disable] . So I have removed the print message as not needed.

Signed-off-by: Abhishek Dosi <abdosi@microsoft.com>
[Mellanox][Smartswitch] Fix for platform chassis initialization
Why I did it
The values in this config were found to be incorrect when testing. With fewer interfaces than the C256, the reserved buffer space is smaller and therefore the shared limit in this config must be smaller.

The BUFFER_QUEUE macro was also not present, causing the defaults to be used which referenced lossless profiles.

Work item tracking
Microsoft ADO (number only):
…lly (#21657)

#### Why I did it
src/sonic-gnmi
```
* 79dea34 - (HEAD -> master, origin/master, origin/HEAD) Partially restore translib test cases (3 hours ago) [Sachin Holla]
* 7559da7 - Introduce a patch to retain Jipanyang's commit (#354) (8 hours ago) [ganglv]
* f43c8bc - Fix dependency from PR:345 (#353) (27 hours ago) [Zain Budhwani]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…D automatically (#21662)

#### Why I did it
src/sonic-platform-daemons
```
* a2c4bc9 - (HEAD -> master, origin/master, origin/HEAD) Added fix for issue:21371 update cp and dp states when midplane goes down (#584) (20 hours ago) [rameshraghupathy]
* 585541f - reset active application code as 'N/A' when port shutdown (#550) (20 hours ago) [ChiouRung Haung]
* 8ace0f8 - [Smartswitch] Fix time format for dpu states (#583) (29 hours ago) [Gagan Punathil Ellath]
* 7a0813a - [SmartSwitch] Enhance PCIe device check to skip the warning log, if device is in detaching mode (#546) (2 days ago) [Vasundhara Volam]
```
#### How I did it
#### How to verify it
#### Description for the changelog
[YANG] Add missing field in port qos map
Why I did it
Added support for Kdump remote SSH feature in existing sonic-kdump.yang

How I did it
Modified sonic-kdump.yang file to add support for ssh , ssh_connection and ssh_path strings

How to verify it
Updated yang model with required changes for feature
Improve existing core_cleanup.py to clean old dump/kernel dump. 

#### Why I did it
On small disk device, dump file will cause disk full issue.

#### How I did it
Delete expired dump files
Only keep 4 kernel dump files.

#### How to verify it
Pass all UT.

Add new UT to cover this script.

Manually verified:


admin@vlab-01:~$ sudo ls /var/dump/
sonic_dump_bjw-can-7260-8_20230125_030042.tar.gz  sonic_dump_bjw-can-7260-8_20250125_030043.tar.gz  sonic_dump_bjw-can-7260-8_20250125_030045.tar.gz
sonic_dump_bjw-can-7260-8_20250125_030042.tar.gz  sonic_dump_bjw-can-7260-8_20250125_030044.tar.gz  sonic_dump_bjw-can-7260-8_20250125_030046.tar.gz
admin@vlab-01:~$ sudo ls /var/core/
orchagent.1644957238.46.core.gz  orchagent.1944957232.46.core.gz  orchagent.1944957234.46.core.gz  orchagent.1944957236.46.core.gz
orchagent.1944957231.46.core.gz  orchagent.1944957233.46.core.gz  orchagent.1944957235.46.core.gz

admin@vlab-01:~$ sudo python3 ./core_cleanup.py

admin@vlab-01:~$ sudo ls /var/dump/
sonic_dump_bjw-can-7260-8_20250125_030043.tar.gz  sonic_dump_bjw-can-7260-8_20250125_030045.tar.gz
sonic_dump_bjw-can-7260-8_20250125_030044.tar.gz  sonic_dump_bjw-can-7260-8_20250125_030046.tar.gz
admin@vlab-01:~$ sudo ls /var/core/
orchagent.1944957233.46.core.gz  orchagent.1944957234.46.core.gz  orchagent.1944957235.46.core.gz  orchagent.1944957236.46.core.gz

#### Description for the changelog
Improve existing core_cleanup.py to clean old dump/kernel dump.
Why I did it
Update default build options which breaks mellanox's build.

How I did it
This change is already in pipeline file but not in config file.
Local build will meet error. Now update default build config.
Update EZB files to version 1.10 to support SAI 1.15.1-1 for ac3x(armhf)
- Why I did it
The PsuFan in Mellanox platform queries for fan speed even though the relevant sysfs files do not exist. In psud the speed is already overwritten on presence, since the current implementation generates an error log, it is changed to query speed only on PSU presence and return 0 if there is no presence (Previously returned default value)

- How I did it
Check presence using get_presence api and return fan speed only if it returns True
…lly (#21699)

#### Why I did it
src/sonic-gnmi
```
* 1425d56 - (HEAD -> master, origin/master, origin/HEAD) Update incremental config to support multi-asic (#355) (64 minutes ago) [ganglv]
* 22f767f - Merge pull request #341 from SuvarnaMeenakshi/fabric_masic (6 hours ago) [SuvarnaMeenakshi]
* d3261f6 - Fix as per review comment (3 days ago) [Suvarna Meenakshi]
* d7b74a5 - Modify to use environment variable to specify unit test env (6 days ago) [Suvarna Meenakshi]
* 812b1d0 - Use global variable UnitTest as a flag to reinit fabric counters if invoked during unit testing (6 days ago) [Suvarna Meenakshi]
* c4fe5c4 - Merge remote-tracking branch 'origin/master' into HEAD (11 days ago) [Suvarna Meenakshi]
* bad1f4a - Remove clean up added for debug (11 days ago) [Suvarna Meenakshi]
* 5d7586d - Fix incorrect char and space (11 days ago) [Suvarna Meenakshi]
* 697005d - Fix white space (11 days ago) [Suvarna Meenakshi]
* c2fae6d - Revert "Fix whitespace" (11 days ago) [Suvarna Meenakshi]
* 29ffb43 - Fix whitespace (11 days ago) [Suvarna Meenakshi]
* 8440cdb - Fix comment (11 days ago) [Suvarna Meenakshi]
* e12240c - Add comment (11 days ago) [Suvarna Meenakshi]
* 5820035 - Update to reset countersFabricPortNameMap (11 days ago) [Suvarna Meenakshi]
* 4c38c8d - Remove empty line (11 days ago) [Suvarna Meenakshi]
* c3fa03d - Remove debug prints (11 days ago) [Suvarna Meenakshi]
* 583707b - Fix white space add comment as per review comment (12 days ago) [Suvarna Meenakshi]
* 4555836 - Fix whitespace (12 days ago) [Suvarna Meenakshi]
* 728c3d9 - Add unit test (12 days ago) [Suvarna Meenakshi]
* 3246434 - Revert "Add unit-test" (12 days ago) [Suvarna Meenakshi]
* e90e6cd - Add unit-test (12 days ago) [Suvarna Meenakshi]
* 65187b8 - Modify to work for single asic linecard (3 weeks ago) [Suvarna Meenakshi]
* 76314e3 - Merge remote-tracking branch 'origin/master' into fabric_masic (3 weeks ago) [Suvarna Meenakshi]
* 316a491 - Modify Fabric port name to append asic namespace to form unique port name within a linecard module (3 weeks ago) [Suvarna Meenakshi]
* 8ff0269 - Add multi-asic support for Fabric port counters (4 weeks ago) [Suvarna Meenakshi]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Why I did it
Previously, we didn't allow the func_len to zero in YANG model, which conflicts with our use case.

Work item tracking
Microsoft ADO (number only):
How I did it
Change the lower bound of the func_len's range.

How to verify it
Configure a locator entry in CONFIG_DB and then do a config reload.
Install DASH dependencies in sonic-mgmt container
#### Why I did it

Fixes Issue #21227

- As of current, we have rsyslog_plugin and corresponding regex and configuration files in containers like bgp, swss, dhcp_relay. These binaries and files are built as part of the docker container itself. 

- This change removes that dependency by storing all rsyslog_plugin regex and conference files in the eventd docker container, and at runtime copying them to the host. 

- Fixes the issue that some images will not be able to publish certain events like "bgp-state", or "dhcp-relay-discard" due to reuse of docker containers during where eventd was disabled.

#### How I did it

- Removed all rsyslog plugin configuration and regex files from containers such as bgp, swss, dhcp_relay. All files for configuration and regexes are built inside eventd docker container. When eventd docker is started, it will copy these files to the host and restart rsyslog.
- sshd regex and zebra regex are removed because those events are currently not being supported.
- Possible race condition with rsyslog-config is avoided due to "After" and since rsyslog-config.service is type oneshot, rsyslog-config.sh is guaranteed to complete before eventd.service is called.

#### How to verify it

Tested on all elastic pipeline for 6 different HWSKUs

Arista-7260CX, Arista720DT, Mellanox2700, Cisco 8102, Nokia M0, Arista 7060CX
…lly (#21713)

#### Why I did it
src/sonic-gnmi
```
* 450bcdd - (HEAD -> master, origin/master, origin/HEAD) GNOI Implementation of OS.Activate (#351) (3 hours ago) [Dawei Huang]
* 795f7ea - Merge pull request #172 from faraazbrcm/rpc_from_proto (5 hours ago) [anand-kumar-subramanian]
* 4b2144a - Merge branch 'master' into rpc_from_proto (2 days ago) [Mohammed Faraaz]
* 913c789 - Support for YANG RPCs (11 months ago) [Mohammed Faraaz]
```
#### How I did it
#### How to verify it
#### Description for the changelog
…omatically (#21702)

#### Why I did it
src/sonic-swss-common
```
* eb30bb7 - (HEAD -> master, origin/master, origin/HEAD) Add swss::Logger to c-api (#969) (33 hours ago) [yue-fred-gao]
```
#### How I did it
#### How to verify it
#### Description for the changelog
Why I did it
To support multi-asic platform, create bmp container per_namespace

Work item tracking
Microsoft ADO (number only):27588904
How I did it
move bmp.service from single into per namespace
sonic-buildimage: ignore missing hwsku dict intfs
…ges (#21714)

Checkout sonic-dash-api submodule when building sonic-mgmt docker images
Why I did it
Support yang model for bulk size per counter

HLD: sonic-net/SONiC#1864
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.