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 /releasenotes/notes/fix-irmc-inspection-c9ae3864a96b2588.yaml | |
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 'releasenotes/notes/fix-irmc-inspection-c9ae3864a96b2588.yaml')
-rw-r--r-- | releasenotes/notes/fix-irmc-inspection-c9ae3864a96b2588.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-irmc-inspection-c9ae3864a96b2588.yaml b/releasenotes/notes/fix-irmc-inspection-c9ae3864a96b2588.yaml new file mode 100644 index 000000000..e3e717b2a --- /dev/null +++ b/releasenotes/notes/fix-irmc-inspection-c9ae3864a96b2588.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Fixed iRMC inspection for getting MAC address.
\ No newline at end of file |