Itamar Heim has posted comments on this change.

Change subject: Trusted Compute Pools - Open Attestation integration with oVirt 
engine proposal
......................................................................


Patch Set 1: (2 inline comments)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/VdsSelector.java
Line 518:             vmNICs = 
getVmNetworkInterfaceDao().getAllForVm(getVm().getId());
Line 519:         }
Line 520:         return vmNICs;
Line 521:     }
Line 522:      private static boolean validateHostIsTrusted(VDS curVds) {
I'd move this to a separate class then such wrapper code inside vds selector
maybe in utils?
Line 523:         String attestationWSURL, trustStorePath;
Line 524:         attestationWSURL = Config.<String> 
GetValue(ConfigValues.AttestationWebServicesUrl);
Line 525:         trustStorePath=Config.<String> 
GetValue(ConfigValues.TrustStore);
Line 526:         DefaultHttpClient httpclient = new  DefaultHttpClient();


....................................................
File 
backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmStatic.java
Line 78:         setNiceLevel(0);
Line 79:         setDefaultBootSequence(BootSequence.C);
Line 80:         defaultDisplayType = DisplayType.qxl;
Line 81:         setVmType(VmType.Desktop);
Line 82:         trust_lvl="trusted";
sounds like this should be an enum?
also, why is trusted the default?
Line 83:     }
Line 84: 
Line 85:     public VmStatic(VmStatic vmStatic) {
Line 86:         super(vmStatic.getId(),


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I4de780cd46069638433255f3f9c994575f752e55
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Dave Chen <[email protected]>
Gerrit-Reviewer: Itamar Heim <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to