Omer Frenkel has posted comments on this change.

Change subject: core: treat 'special' devices as managed when importing 
templates
......................................................................


Patch Set 1:

(1 comment)

....................................................
File 
backend/manager/modules/utils/src/main/java/org/ovirt/engine/core/utils/ovf/OvfTemplateReader.java
Line 150:             // OTHER
Line 151:             case 0:
Line 152:                 if (node.SelectSingleNode(OvfProperties.VMD_TYPE, 
_xmlNS) != null
Line 153:                         && 
StringUtils.isNotEmpty(node.SelectSingleNode(OvfProperties.VMD_TYPE, 
_xmlNS).InnerText)) {
Line 154:                     VmDeviceGeneralType type = 
VmDeviceGeneralType.forValue(String.valueOf(node.SelectSingleNode(OvfProperties.VMD_TYPE,
 _xmlNS).InnerText));
missed this comment (and the one below) will upload a new patch
Line 155:                     String device = 
String.valueOf(node.SelectSingleNode(OvfProperties.VMD_DEVICE, 
_xmlNS).InnerText);
Line 156:                     // special devices are treated as managed devices 
but still have the OTHER OVF ResourceType
Line 157:                     if (VmDeviceCommonUtils.isSpecialDevice(device, 
type)) {
Line 158:                         readVmDevice(node, _vmTemplate, 
Guid.newGuid(), Boolean.TRUE);


-- 
To view, visit http://gerrit.ovirt.org/18188
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I95c1c2f1e2f45a1863c28c5fcaeb6274f2d28b4e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Oved Ourfali <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to