2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-14 19:57:47 +00:00

7 Commits

Author SHA1 Message Date
Jarrod Johnson
ec20649bfe Update test-requirements
Fix ability to get through gate

Change-Id: Iac13cd595c80cad367d06a7b0afc3e53fc7f8ff7
2017-11-19 10:44:12 -05:00
Jim Rollenhagen
c0691104fb Run pep8 on files in bin/
Files in bin/ don't have a .py extension, and so don't get picked
up by flake8. Add them to the flake8 command to have them checked.

Also fix an existing error in bin/pyghmicons.

Change-Id: I4db9b8c4e13c7c7f652acaa12add125f0e0458cd
2014-12-31 00:15:01 +00:00
Jenkins
8c66abb200 Merge "Added password file support" 2014-06-02 18:03:55 +00:00
Jarrod Johnson
da83354a97 Fix pyghmicons script crash on idle
After 10 minutes of idle, the wrong exception was caught.  Correct
it to correctly handle errno 11

Change-Id: I91feea97c3442dec1fc30bd813e99da05a1ef329
2014-05-30 15:03:24 -04:00
linggao
082617af1b Added password file support
Allow the BMC password being passed in to pyghmicons as a
command paremeter.

Change-Id: I696691701622802f228befff9e43a8169657f27b
2014-05-29 19:50:38 +00:00
Jarrod Johnson
de8e63883d Avoid looping select() on sockets repeatedly
When select() would identify a a socket, it would
potentially call select() on the same socket
before a recvfrom() would happen.  In python 2.7,
this caused the IO thread to block other threads
waiting on something the other threads needed to
do.  Resolve by explicitly ignoring a socket
where recvfrom() will be pending until recvfrom()
is next called.  This reduces one test case from
42,000-47,000 select() calls to just 86.

Change-Id: Ic8ebecfc61d048e537b5d76a6a3f0665fd340a3d
2014-05-09 12:52:29 -04:00
Jarrod Johnson
6d2a44a868 Install scripts as well as library
This installs the samples as utilities that can be invoked in the path.
With this, some testing and exploration may be made easier.

Change-Id: I5b7ae5b6e30eea3070dfbcb93d23802b8308d281
2014-05-08 14:06:01 -04:00