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

Add support for string types #4087

Merged
merged 2 commits into from Jul 11, 2019
Merged

Add support for string types #4087

merged 2 commits into from Jul 11, 2019

Conversation

therve
Copy link
Contributor

@therve therve commented Jul 10, 2019

SNMP can return float values as string, either directly as a OctetString
or via a Opaque value. Let's support those types of OIDs.

SNMP can return float values as string, either directly as a OctetString
or via a Opaque value. Let's support those types of OIDs.
@codecov
Copy link

codecov bot commented Jul 10, 2019

Codecov Report

Merging #4087 into master will increase coverage by 8.02%.
The diff coverage is 90.9%.

@@            Coverage Diff             @@
##           master    #4087      +/-   ##
==========================================
+ Coverage   79.96%   87.98%   +8.02%     
==========================================
  Files         161        7     -154     
  Lines        8389      666    -7723     
  Branches     1013      110     -903     
==========================================
- Hits         6708      586    -6122     
+ Misses       1447       51    -1396     
+ Partials      234       29     -205

Copy link
Contributor

@hithwen hithwen left a comment

Choose a reason for hiding this comment

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

I think is not trivial to know which one is which, let's add a comment.

snmp/tests/common.py Outdated Show resolved Hide resolved
snmp/tests/common.py Outdated Show resolved Hide resolved
@therve therve merged commit 97a0fe2 into master Jul 11, 2019
@therve therve deleted the therve/snmp-types branch July 11, 2019 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants