Mike Kolesnik has submitted this change and it was merged.
Change subject: core: Unable to add bond through SetupNetworks (#828351)
......................................................................
core: Unable to add bond through SetupNetworks (#828351)
https://bugzilla.redhat.com/828351
Creating a bond via rest-api using SetupNetworks commands ended with NPE
since the boot protocol wasn't provided for a bond. The patch prevent
from setting a boot protocol if wasn't specified, instead its value will
be set to none by vdsm.
Change-Id: Ia81ac5a350e033ae07c7e2708573492529d00d89
Signed-off-by: Moti Asayag <masayag(a)redhat.com>
---
M
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/vdsbroker/SetupNetworksVDSCommand.java
1 file changed, 13 insertions(+), 10 deletions(-)
Approvals:
Mike Kolesnik: Looks good to me, approved
Moti Asayag: Verified
--
To view, visit
http://gerrit.ovirt.org/5568
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ia81ac5a350e033ae07c7e2708573492529d00d89
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmishra(a)linux.vnet.ibm.com>