Revision 0d8ce33e
ID | 0d8ce33e7514b0f25d4b4165f0eae5dae2f6d55c |
Parent | b8e39189 |
Child | 11414807 |
Fix keyerrors in cmdlib node
This patch fixes potential key errors in the OpenvSwitch implementation
in cmdlib/node.py. The checks in that file expected to have a ndparams dict
with certain keys to be present. This should not be the case as it will
result in KeyErrors when those keys are not present.
Also: Don't assume that ndparams is given at all.
Signed-off-by: Sebastian Gebhard <sege@fs.ei.tum.de>
Signed-off-by: Klaus Aehlig <aehlig@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
Files
- added
- modified
- copied
- renamed
- deleted