Mike Kolesnik has submitted this change and it was merged.
Change subject: core: Adding template vNIC: Add VmDevice (#822129)
......................................................................
core: Adding template vNIC: Add VmDevice (#822129)
https://bugzilla.redhat.com/822129
Bug is a regression due to itroduction of stable device addresses
feature. The fix is the missing VmDevice for this interface.
Additionally, the device needs to be removed when removing the vNIC
from the template, and when the whole template is removed.
Change-Id: I07d963c7c83dcb6c974455a7cd4f59a3644aea92
Signed-off-by: Mike Kolesnik <mkolesni(a)redhat.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/AddVmTemplateInterfaceCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveVmTemplateInterfaceCommand.java
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VmTemplateCommand.java
3 files changed, 11 insertions(+), 0 deletions(-)
Approvals:
Mike Kolesnik: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/4661
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I07d963c7c83dcb6c974455a7cd4f59a3644aea92
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Mike Kolesnik <mkolesni(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>