Skip to content

enable cisco8000 SAI bulk API feature on 202012#1163

Merged
kevinskwang merged 1 commit intosonic-net:202012from
yenlu-keith:local-202012-saibulk2-cisco
Dec 6, 2022
Merged

enable cisco8000 SAI bulk API feature on 202012#1163
kevinskwang merged 1 commit intosonic-net:202012from
yenlu-keith:local-202012-saibulk2-cisco

Conversation

@yenlu-keith
Copy link
Contributor

@yenlu-keith yenlu-keith commented Dec 2, 2022

enable cisco8000 SAI bulk API feature

What is the motivation for this PR?
running ipfwd/test_nhop_count.py with cisco8000 will have an log analyzer's error message from monit as below if testcase configs a very huge amount NHG with more NHG members.

E Aug 10 11:05:43.720848 str2-8102-02 ERR monit[513]: 'routeCheck' status failed (255) – Failure results: "Unaccounted_ROUTE_ENTRY_TABLE_entries
192.168.87.132/31", "192.168.87.134/31", "192.168.87.136/31", ...

ROOT-CAUSE: ASIC_DB and AAPL_DB are not in-sync on route info on time

loganalyzer got "ERR monit" because route-check.py(sonic-utility)
compares with both DB are un-matched on routing within a certain period of time.

cisco@mth64-m5-2:~$
sonic-db-cli ASIC_DB keys * | grep -n 192.183.96.128
ASIC_STATE:SAI_OBJECT_TYPE_ROUTE_ENTRY:
{"dest":"192.183.96.128/25","switch_id":"oid:0x21000000000000","vr":"oid:0x3000000000042"}

sonic-db-cli APPL_DB keys * | grep -n 192.183.96.128
ROUTE_TABLE:192.183.96.128/25
nothing...

How did you do it?
enable SAI bulk API config from syncd to pass a set of Rid and review code-flow performance on cisco SAI/SDK layer. until route-check.py(sonic-utility) will not dump the associated ERR message.

How did you verify/test it?
PASS ipfwd/test_nhop_count.py with configing a very huge amount NHG(ex: 32K) with more NHG members(ex: each NHG with 10).

*[Cisco] enable SAI bulk API config from syncd to pass a set of Rid and review code-flow performance on cisco SAI/SDK layer. until route-check.py(sonic-utility) will not dump the associated ERR message.
@yenlu-keith yenlu-keith changed the title enable cisco8000 SAI bulk API feature enable cisco8000 SAI bulk API feature on 202012 Dec 2, 2022
@kevinskwang kevinskwang merged commit 8f2a53f into sonic-net:202012 Dec 6, 2022
@yenlu-keith yenlu-keith deleted the local-202012-saibulk2-cisco branch December 9, 2022 18:58
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.

2 participants