Skip to content

[action] [PR:3538] Initialize Port oper error status map only once#3545

Merged
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/3538
Mar 5, 2025
Merged

[action] [PR:3538] Initialize Port oper error status map only once#3545
mssonicbld merged 1 commit intosonic-net:202411from
mssonicbld:cherry/202411/3538

Conversation

@mssonicbld
Copy link
Collaborator

What I did
Initialize the port error status map only once

Why I did it

Any change in CONFIG_DB PORT table was resulting in updating the port error status map resulting in change in error count = 0

How I verified it

Verified by raising RF and LF error events on the port

Details if related

<!--
Please make sure you have read and understood the contribution guildlines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

1. Make sure your commit includes a signature generted with `git commit -s`
2. Make sure your commit title follows the correct format: [component]: description
3. Make sure your commit message contains enough details about the change and related tests
4. Make sure your pull request adds related reviewers, asignees, labels

Please also provide the following information in this pull request:
-->

**What I did**
Initialize the port error status map only once

**Why I did it**

Any change in CONFIG_DB PORT table was resulting in updating the port error status map resulting in change in error count = 0

**How I verified it**

Verified by raising RF and LF error events on the port

**Details if related**
@mssonicbld
Copy link
Collaborator Author

/azp run

@mssonicbld
Copy link
Collaborator Author

Original PR: #3538

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld mssonicbld merged commit 19ad393 into sonic-net:202411 Mar 5, 2025
12 of 14 checks passed
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#51)

```<br>* fa56197a - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-05) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#52)

```<br>* 0fbf44b9 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-06) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#53)

```<br>* d90f9736 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-07) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#54)

```<br>* 43a202bf - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-08) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#55)

```<br>* 1ff519dc - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-09) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#56)

```<br>* d31ba436 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-10) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#57)

```<br>* 0463613a - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-11) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#58)

```<br>* 080446f3 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-12) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#59)

```<br>* ec3e45ae - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-13) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#60)

```<br>* c98239e3 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-14) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#61)

```<br>* 6fa42f08 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-15) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
…nic-net#62)

```<br>* ac95d31a - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-16) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
DavidZagury pushed a commit to DavidZagury/sonic-swss that referenced this pull request Apr 28, 2025
```<br>* 984aef3 - (HEAD -> 202412) Merge branch '202411' of https://github.com/sonic-net/sonic-swss into 202412 (2025-03-17) [Sonic Automation]
* 19ad393 - (origin/202411) Initialize Port oper error status map only once (sonic-net#3545) (2025-03-05) [mssonicbld]
* 5c36279 - [copp]: Use non-zero trap priority for default trap group (sonic-net#3544) (2025-03-04) [mssonicbld]<br>```
bradh352 pushed a commit to bradh352/sonic-swss that referenced this pull request May 3, 2025
<!--
Please make sure you have read and understood the contribution guildlines:
https://github.com/Azure/SONiC/blob/gh-pages/CONTRIBUTING.md

1. Make sure your commit includes a signature generted with `git commit -s`
2. Make sure your commit title follows the correct format: [component]: description
3. Make sure your commit message contains enough details about the change and related tests
4. Make sure your pull request adds related reviewers, asignees, labels

Please also provide the following information in this pull request:
-->

**What I did**
Initialize the port error status map only once

**Why I did it**

Any change in CONFIG_DB PORT table was resulting in updating the port error status map resulting in change in error count = 0

**How I verified it**

Verified by raising RF and LF error events on the port

**Details if related**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant