summaryrefslogtreecommitdiff
path: root/ironic_python_agent/api
diff options
context:
space:
mode:
authorSam Betts <sam@code-smash.net>2017-02-15 16:31:33 +0000
committerSam Betts <sam@code-smash.net>2017-11-28 17:25:43 +0000
commitb536fbba616d958e58b110c8f86ea569f8834d7c (patch)
treedf17f4fa4353501b492df04608387d909e673908 /ironic_python_agent/api
parent831576c906c74519babb2751a19673e30736a9af (diff)
downloadironic-python-agent-b536fbba616d958e58b110c8f86ea569f8834d7c.tar.gz
[LLDP] Skip NICs that say they are ready but are unreadable.
While listening for LLDP packets, if one of the sockets marks itself as ready to read then our code will try to read data from that socket, but if something goes wrong while reading that data then it causes IPA to raise out of the loop skipping any other of the other NICs which might have worked. This patch adds code to catch and LOG any exception that is raised while we are trying to read data from one of the sockets so that we can proceed to process all the NICs. Change-Id: I8546097f5ae23755a5fdb448902007a2d823b7bf Closes-Bug: #1665025
Diffstat (limited to 'ironic_python_agent/api')
0 files changed, 0 insertions, 0 deletions