Skip to content

[portstat]: add new counters needed by snmp#453

Merged
sihuihan88 merged 2 commits intosonic-net:masterfrom
sihuihan88:dev/sihan/snmp
Mar 19, 2018
Merged

[portstat]: add new counters needed by snmp#453
sihuihan88 merged 2 commits intosonic-net:masterfrom
sihuihan88:dev/sihan/snmp

Conversation

@sihuihan88
Copy link
Contributor

Signed-off-by: Sihui Han [email protected]

What I did
SNMP requires more counters, add those accordingly.
Why I did it

How I verified it

Details if related

@sihuihan88 sihuihan88 requested review from qiluo-msft and yxieca March 17, 2018 01:32
SAI_PORT_STAT_PAUSE_TX_PKTS,
SAI_PORT_STAT_ETHER_STATS_TX_NO_ERRORS,
SAI_PORT_STAT_IP_IN_UCAST_PKTS,
SAI_PORT_STAT_ETHER_IN_PKTS_128_TO_255_OCTETS,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure we need this one.

@sihuihan88 sihuihan88 merged commit ce78bf5 into sonic-net:master Mar 19, 2018
@sihuihan88 sihuihan88 deleted the dev/sihan/snmp branch March 19, 2018 22:21
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
* add support for MCLAG

Signed-off-by: shine.chen <[email protected]>

* add warm-reboot support for ICCPd

Signed-off-by: shine.chen <[email protected]>

* ensure iccpd is there before stop iccpd

Signed-off-by: shine.chen <[email protected]>

* fix service function

* remove unused comment

* refactor code according to feature management mechanism

Signed-off-by: shine.chen <[email protected]>
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
the return value of _get_optional_services() must be iterable

This bug is imported from PR sonic-net#453

Co-authored-by: shine.chen <[email protected]>
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
* [portstat]: add new counters needed by snmp

Signed-off-by: Sihui Han <[email protected]>

* remove not supported SAI_QUEUE_STAT_DISCARD_DROPPED_PACKETS
jianyuewu pushed a commit to jianyuewu/sonic-swss that referenced this pull request Dec 24, 2025
Add missing functions for ConfigDBConnector, including
- ConfigDBConnector.get_redis_client(...)
- ConfigDBConnector.CONFIG_DB
- ConfigDBConnector.get_redis_client(...).flushdb()
- ConfigDBConnector.INIT_INDICATOR
- ConfigDBConnector.db_connect(...): support optional parameters

Tested in unit test:
1. this repo: add unit testcases for all the new functions.
2. sonic-config-engine
3. sonic-utilities

Tested in DUT:
1. `sudo config load_minigraph -y`
2. snmpwalk snmpagent on 1.3.6.1.4.1.9.9.187
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.

3 participants