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

Scan sort order if the plugin supplies it. #196

Merged
merged 2 commits into from
Jul 11, 2018
Merged

Scan sort order if the plugin supplies it. #196

merged 2 commits into from
Jul 11, 2018

Conversation

MatthewHink
Copy link
Contributor

This PR adds plugin sort ordinal for scans. By default it's zero for unordered scans. For ordered scans, it's up to the plugin to determine the sort order to use. Synse will order by plugin, sortOrdinal.

This is running on Wrigley.

Requires:
vapor-ware/synse-server-grpc#29
vapor-ware/synse-sdk#295
vapor-ware/synse-snmp-plugin#11

Tests will likely fail until dependent PRs merge.

@edaniszewski
Copy link
Contributor

question -- would this obviate #193 (e.g., should that PR be closed in favor of this one?)

@MatthewHink
Copy link
Contributor Author

I don't think it does. This PR is sorting the devices, not rack and board.

@codecov
Copy link

codecov bot commented Jul 11, 2018

Codecov Report

Merging #196 into master will increase coverage by 0.11%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
+ Coverage   81.27%   81.39%   +0.11%     
==========================================
  Files          44       44              
  Lines        1282     1290       +8     
==========================================
+ Hits         1042     1050       +8     
  Misses        240      240
Impacted Files Coverage Δ
synse/cache.py 82.88% <100%> (+0.76%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update df6af2d...014e823. Read the comment docs.

@MatthewHink MatthewHink merged commit eef51a8 into master Jul 11, 2018
@edaniszewski edaniszewski deleted the mhink-sort branch June 3, 2019 15:48
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.

None yet

2 participants