SAI redis api idempotence support - #1
Open
jipanyang wants to merge 111 commits into
Open
Conversation
* [counter]: support enable/disable counter query Signed-off-by: Sihui Han <sihan@microsoft.com> * Set counter polling by default disabled Signed-off-by: Sihui Han <sihan@microsoft.com>
Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com>
* Use MAC from EEPROM for Interfaces Signed-off-by: Andriy Moroz <c_andriym@mellanox.com> * Use platform MAC from DB Signed-off-by: Andriy Moroz <c_andriym@mellanox.com>
* Sync to SAI 1.3 header * SAI v1.3 pointer update * Updated queue deadlock to enque notification * Update SAI pointer
* Add syncd feature "SYNCD_INSPECT_ASIC" Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Add sairedis logic Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Fix string splitting Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Fix verify asic Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Fix OT_POSITION in vslib Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Refactor Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * saiplayer: add verify asic feature Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Compare fields and values from ASIC_DB and SAI response Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Refine verb Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Fix vid to rid Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Fix log arg numbers Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Refactor Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com> * Revert "Fix OT_POSITION in vslib" This reverts commit 70cbad0. * Remove printf Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
* initial barefoot checkin october 2017 * Revert "Merge branch 'master' of https://github.com/Azure/sonic-sairedis into rel_6_0" This reverts commit c48a7a2, reversing changes made to aa5bf64. * missed integration diffs * Added new attr type support to sairedis. Also, some fixes for compilation issues * Changes to add new DTel api support in sairedis * Add new file to generate Dtel specific SAI stub API * Missed adding a file in the last commit * Fix ref point for SAI * Updated SAI repo to point to dtel_exp * Changes to handle new additions to DTel experimental SAI. Not compiled yet * handle platform specific lins in different directory (@runtime) * force order of library path to look for platform dir before lib dir * Change SAI branch refpoint * Update SAI submodule refpoint * enable fast-boot for barefoot platforms * Update ref point for SAI * SONiC changes due to DTel experimental SAI changes * allow Makefile to build for other platforms - restore it original for non-bfn platforms * allow clean build * Revert "allow clean build" This reverts commit adfdb86. * Revert "allow Makefile to build for other platforms - restore it original for non-bfn platforms" This reverts commit d6b0ca3. * makefile cleanup towards upstream * Support for platforms based on Barefoot Networks' device (sonic-net#304) * search for exact string - newer onie versions match multiple lines * Will need to revert this Should work without this change. Untested for now * SONiC sairedis changes needed to work with SAIv1.3 * Fix SAI path in gitmodules and add a comment * Remove sai thrift build hack * enable fast-boot for barefoot platforms * enable fast-boot for barefoot platforms * Add missing sai rpc hdr file path for bfn * Update SAI ref points * Multi p4 profile support for bfn sde (sonic-net#5) * Remove code duplicated in merge * Keep fn in same order as azure master (sonic-net#8) * Address review comment * Link just bfn sai lib and shorten linking command by removing other libraries linked at compile time (sonic-net#6) * Link only bfn sai lib * all unresolved symbols resolved at runtime * Preload some bfn libraries on syncd startup * Build fix * also remove commented code * Convert tabs to spaces * Fix alignment * Address upstream comment * BFN: link with just sai library for saisdkdump * Address review comments
* Suppress FDB events if notifier queue exceeds limit * Revert space change * Address review comments * Fix a build check * Updated comments, changed to NOTICE and log every 1000 events * Updated dropped count using a 32 bit counter
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
[SAI] upgrade to SAI header version v1.3.3
…c-net#339) Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
…iredis idempotence yet. Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Qi Luo <qiluo-msft@users.noreply.github.com>
…t/del Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
…ic-net#389) * [mlnx|ffb] Add fast-fast boot option in syncd Signed-off-by: Stepan Blyschak <stepanb@mellanox.com> * [mlnx|ffb]: Add support of "config end" event for mlnx fast-fast boot Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com> * [mlnx|ffb]: Fix misspelled words for aspell check Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com> * [Mellanox|FFB]: Fix review comments * Change naming convention from "fast-fast" to "fastfast" Signed-off-by: Volodymyr Samotiy <volodymyrs@mellanox.com> * [Mellanox|FFB]: Add misspelled word 'fastfast' to aspellcheck dictionary
* Add check ASIC vs DB state after comparison logic * Add aspell exceptions * Add cmd flag to enable consistency check explicitly
Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
Signed-off-by: Marian Pritsak <marianp@mellanox.com>
* Move stop notifications trhead after remove switch * Remove stop notifications processing thread from pre shutdown
…onic-net#405) Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
sonic-net#400) * [mellanox|ffb] use system level warm reboot for Mellanox fastfast boot Signed-off-by: Stepan Blyschak <stepanb@mellanox.com> * [mellanox|ffb] remove platform check code Signed-off-by: Stepan Blyschak <stepanb@mellanox.com> * [mellanox|ffb] rename function to onApplyViewInFastFastBoot, check for error status Signed-off-by: Stepan Blyschak <stepanb@mellanox.com> * [mellanox|ffb] Set UNINIT_DATA_PLANE_ON_REMOVAL in warm shutdown case as well Signed-off-by: Stepan Blyschak <stepanb@mellanox.com> * [mellanox|ffb] build mellanox with -DSAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL Signed-off-by: Stepan Blyschak <stepanb@mellanox.com> * [mellanox|ffb] rename 'SAI_SWITCH_ATTR_UNINIT_DATA_PLANE_ON_REMOVAL' -> 'SAI_SUPPORT_UNINIT_DATA_PLANE_ON_REMOVAL' to avoid overlapping with SAI attribute Signed-off-by: Stepan Blyschak <stepanb@mellanox.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
* Update SAI pointer to latest master Signed-off-by: Marian Pritsak <marianp@mellanox.com> * Use SAI_EXTENSIONS_TYPE_MAX Signed-off-by: Marian Pritsak <marianp@mellanox.com>
…#411) * Initialize notification queue pointer before switch create * Fix spell mistake * Move start ntf thread after switch create and init pointer directly * Fix errors
* Add WRED specific comparison logic * Add test file
* Update SAI pointer Signed-off-by: Marian Pritsak <marianp@mellanox.com> * Add support for BMToR API Signed-off-by: Marian Pritsak <marianp@mellanox.com>
* [flex counter] handle router interface stats Signed-off-by: Mykola Faryma <mykolaf@mellanox.com> * allign with new SAI headers Signed-off-by: Mykola Faryma <mykolaf@mellanox.com> * update aspellcheck dictionary Signed-off-by: Mykola Faryma <mykolaf@mellanox.com>
Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Test result to be added