config/sysinv/sysinv/sysinv/sysinv/agent
Steven Webster 5cd3d0dc02 Make LLDP OVS agent driver more robust to json output
An issue was seen recently in which a bridge with a single port caused
an exception in the LLDP driver, as the json output did not match what
was expected.  In this case, the port was a simple uuid/value list
rather than a list of uuid/value lists.

ie.

["br-ex",["uuid","val1"]]

vs

["br-int",["set",[["uuid","val2"],["uuid","val3"]]]]

This commit adds a fix to handle  both cases, and also adds
robustness to gracefully catch similar issues of unexpected json
output.

Closes-Bug: #1802118
Change-Id: I73189f138a543f34e467f51e18544b521a00457c
Signed-off-by: Steven Webster <steven.webster@windriver.com>
2019-01-08 09:03:45 -05:00
..
lldp Make LLDP OVS agent driver more robust to json output 2019-01-08 09:03:45 -05:00
__init__.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
disk.py Simplify disk space allocation 2018-09-12 16:35:43 +03:00
lvg.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
manager.py Fix: "StringIO" issue for Python 2/3 compatible code 2018-12-19 10:21:49 +08:00
node.py Fix: "import" issue for Python 2/3 compatible code 2018-12-25 08:58:03 +08:00
partition.py Sysinv partitions cleanup 2018-06-29 13:44:42 -04:00
pci.py Fix typo error in sysinv 2018-09-07 00:04:21 +08:00
pv.py StarlingX open source release updates 2018-05-31 07:35:52 -07:00
rpcapi.py Change compute node to worker node personality 2018-12-13 14:15:55 -05:00
testpci.py Fix 'print' issue for Python 2/3 compatible code. 2018-12-06 12:59:33 +08:00