Skip to content

SAI redis api idempotence support - #1

Open
jipanyang wants to merge 111 commits into
warm_rebootfrom
idempotent
Open

SAI redis api idempotence support#1
jipanyang wants to merge 111 commits into
warm_rebootfrom
idempotent

Conversation

@jipanyang

Copy link
Copy Markdown
Owner

Test result to be added

@jipanyang jipanyang changed the title SAI redis api idempotation support SAI redis api idempotence support Jun 7, 2018
sihuihan88 and others added 4 commits June 19, 2018 10:08
* [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
qiluo-msft and others added 2 commits July 10, 2018 09:44
* 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
prsunny and others added 5 commits August 1, 2018 00:53
* 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
Shuotian Cheng and others added 9 commits August 26, 2018 00:32
…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>
Volodymyr Samotiy and others added 17 commits December 2, 2018 23:45
…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
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>
marian-pritsak and others added 10 commits January 18, 2019 12:19
* 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>
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.