Skip to content

Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code#162

Merged
qiluo-msft merged 7 commits intosonic-net:masterfrom
qiluo-msft:qiluo/mergecommon2
Nov 6, 2020
Merged

Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code#162
qiluo-msft merged 7 commits intosonic-net:masterfrom
qiluo-msft:qiluo/mergecommon2

Conversation

@qiluo-msft
Copy link
Contributor

@qiluo-msft qiluo-msft commented Oct 6, 2020

This is the following step for merging sonic-py-swsssdk into sonic-swss-common sonic-net/sonic-swss-common#387

Please merge after sonic-swss-common sonic-net/sonic-swss-common#387 merged
Please merge after sonic-swss-common sonic-net/sonic-swss-common#401 merged

Note: Test code could still using old python implementation

@qiluo-msft
Copy link
Contributor Author

retest this please

@qiluo-msft qiluo-msft force-pushed the qiluo/mergecommon2 branch 2 times, most recently from b682de5 to 4b015cb Compare October 23, 2020 23:34
@qiluo-msft qiluo-msft changed the title Replace production code DBInterface/SonicV2Connector with C++ implementation Replace swsssdk.SonicV2Connector with swsscommon.SonicV2Connector (SWIG wrapper of C++ implementation) in production code Oct 24, 2020
@qiluo-msft qiluo-msft marked this pull request as ready for review October 24, 2020 00:34
mockredis.MockRedis.config_set = config_set
redis.StrictRedis = SwssSyncClient
SonicV2Connector.connect = connect_SonicV2Connector
swsssdk.SonicV2Connector = SonicV2Connector
Copy link
Contributor

@SuvarnaMeenakshi SuvarnaMeenakshi Nov 5, 2020

Choose a reason for hiding this comment

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

Why is this required? Isn't SonicV2Connector already swsssdk.SonicV2Connector? #Resolved

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed


In reply to: 518283029 [](ancestors = 518283029)

Fix kwargs.pop() if there is no argument provided
@qiluo-msft qiluo-msft merged commit 6b94ec3 into sonic-net:master Nov 6, 2020
@qiluo-msft qiluo-msft deleted the qiluo/mergecommon2 branch November 6, 2020 02:14
ssithaia-ebay pushed a commit to ssithaia-ebay/sonic-snmpagent that referenced this pull request May 23, 2025
…IG wrapper of C++ implementation) in production code (sonic-net#162)

This is the following step for merging sonic-py-swsssdk into sonic-swss-common sonic-net/sonic-swss-common#387

Note: Test code could still using old python implementation
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