diff options
author | Yushiro FURUKAWA <y.furukawa_2@jp.fujitsu.com> | 2020-09-08 23:54:45 +0900 |
---|---|---|
committer | Yushiro FURUKAWA <y.furukawa_2@jp.fujitsu.com> | 2020-09-29 13:00:52 +0000 |
commit | 0e399f750ad88823c4d8c6355b70f23d98797ee8 (patch) | |
tree | fa0f6a34a2cfe81f319aa65a82690fc06eb9d19f /lower-constraints.txt | |
parent | 2151d660d2156c5f75986fbebe2fc7f35b0de81b (diff) | |
download | ironic-0e399f750ad88823c4d8c6355b70f23d98797ee8.tar.gz |
Fix handling OctetString for pysnmp
This commit fixes getting MAC address while inspection for iRMC driver.
To remove ord() in retrieving MAC address, it can avoid the following
exception:
TypeError: ord() expected string of length 1, but int found
Also, this commit sets the following type of mock for UT. So, I add
'pysnmp'[1] into test-requirements.txt and lower-constraints.txt.
* pysnmp.proto.rfc1902.OctetString
* pysnmp.proto.rfc1902.Integer32
[1] https://bit.ly/3bDeTCH
Change-Id: I1e013a93854e01a7060e1fc48aac091e7e9b74cb
Diffstat (limited to 'lower-constraints.txt')
-rw-r--r-- | lower-constraints.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt index 3d89103c0..b0c82690c 100644 --- a/lower-constraints.txt +++ b/lower-constraints.txt @@ -95,6 +95,7 @@ pyOpenSSL==19.1.0 pyparsing==2.4.7 pyperclip==1.8.0 pysendfile==2.0.0 +pysnmp==4.4.12 python-cinderclient==3.3.0 python-dateutil==2.8.1 python-editor==1.0.4 |