Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adapt to py-swsssdk refactor of mod_entry and mod_config #165

Merged
merged 1 commit into from
Dec 8, 2017

Conversation

taoyl-ms
Copy link
Contributor

@taoyl-ms taoyl-ms commented Dec 8, 2017

- What I did
Adapt to API refactor in
sonic-net/sonic-py-swsssdk#23 and sonic-net/sonic-py-swsssdk#25

@taoyl-ms taoyl-ms requested a review from lguohan December 8, 2017 01:48
@taoyl-ms taoyl-ms merged commit cb85389 into sonic-net:master Dec 8, 2017
vdahiya12 added a commit to vdahiya12/sonic-utilities that referenced this pull request Jul 23, 2021
… table for Y cable (sonic-net#165)

This PR fixes the naming convention for firmware related fields for Y cable.
In particular all the fields are now named as tor_self and tor_peer in place of tor1 and tor 2

Signed-off-by: vaibhav-dahiya vdahiya@microsoft.com

Description
This PR fixes the naming convention for firmware related fields for Y cable.
In particular all the fields are now named as tor_self and tor_peer in place of tor1 and tor 2

Motivation and Context
Required by telemetry team as part of their initial schema

Signed-off-by: vaibhav-dahiya <vdahiya@microsoft.com>
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
…and Python 3 (sonic-net#165)

When called with Python 3, `str.strip(binascii.unhexlify(ret_str))` will raise an exception: ` descriptor 'strip' requires a 'str' object but received a 'bytes'`. This patch (`binascii.unhexlify(ret_str).decode("utf-8").strip()`) will work properly with both Python 2 and Python 3.

Fixes sonic-net/sonic-platform-common#160
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