<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0);">
<div style="font-family: Calibri, sans-serif; font-size: 14px;">Hi Tim, </div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">I posted this comment on the doc.  I am still pondering over a possibility of have a policy-driven scheduler workflow via the Solver Scheduler placement engine, which is also LP based like you
 describe in your doc.   </div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;">I know in your initial meeting, you plan to go over your proposal of building a VM placement engine that subscribes to the Congress DSE,  I probably will understand the Congress workflows better
 and see how I could incorporate this proposal to talk to the Solver Scheduler to make the placement decisions. </div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><br>
</div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">The example you provide in the doc, is a very good
 scenario, where a VM placement engine should continuously monitor and trigger VM migrations. </span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">I am also interested in the case of a policy-driven scheduling for the initial creation of VMs. This is where say people
 will call Nova APIs and create a new set of VMs. Here the scheduler workflow should address the constraints as imposed from the user's policies. </span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">Say the simple policy is " Host's free RAM >= 0.25 * Memory_Capacity"</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">I would like the scheduler to use this policy as defined from Congress, and apply it during the scheduling as part
 of the Nova boot call. </span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">I am really interested in and need help in coming up with a solution integrating Solver Scheduler, so say if I have
 an implementation of a "MemoryCapacityConstraint", which takes a hint value "free_memory_limit" (0.25 in this example), </span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">could we have a policy in Datalog </span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">placement_requirement(id) :-</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">nova:host(id), </span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">solver_scheduler:applicable_constraints(id, ["MemoryCapacityConstraint", ]), </span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">applicable_metadata(id, {"free_memory_limit": 0.25, })</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<span style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">This policy could be set and delegated by Congress to solver scheduler via the "set_policy" API. or the Solver Scheduler
 can query Congress via a "get_policy" API to get this policy, and incorporate it as part of the solver scheduler workflow ?</span><br style="color: rgb(51, 51, 51); font-family: Arial, sans-serif, sans; font-size: 13px; widows: 1; background-color: rgb(255, 255, 255);">
<br>
</div>
<div><font face="Arial"><span style="font-size: 13px;">Does this sound doable ?</span></font></div>
<div><font face="Arial"><span style="font-size: 13px;"><br>
</span></font></div>
<div><font face="Arial"><span style="font-size: 13px;">Thanks,</span></font></div>
<div><font face="Arial"><span style="font-size: 13px;">Yathi. </span></font></div>
<div><font face="Arial"><span style="font-size: 13px;"><br>
</span></font></div>
<div><font face="Arial"><span style="font-size: 13px;"><br>
</span></font></div>
<div style="font-family: Calibri, sans-serif; font-size: 14px;"><br>
</div>
<span id="OLK_SRC_BODY_SECTION" style="font-family: Calibri, sans-serif; font-size: 14px;">
<div>
<div>On 3/16/15, 11:05 AM, "Tim Hinrichs" <<a href="mailto:thinrichs@vmware.com">thinrichs@vmware.com</a>> wrote:</div>
</div>
<div><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_BLOCKQUOTE" style="BORDER-LEFT: #b5c4df 5 solid; PADDING:0 0 0 5; MARGIN:0 0 0 5;">
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi all,
<div class=""><br class="">
</div>
<div class="">The feedback on the POC delegation proposal has been mostly positive.  Several people have asked for a meeting to discuss further.  Given time zone constraints, it will likely be 8a or 9a Pacific.  Let me know in the next 2 days if you want to
 participate, and we will try to find a day that everyone can attend.</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://docs.google.com/document/d/1ksDilJYXV-5AXWON8PLMedDKr9NpS8VbT0jIy_MIEtI/edit" class="">https://docs.google.com/document/d/1ksDilJYXV-5AXWON8PLMedDKr9NpS8VbT0jIy_MIEtI/edit</a></div>
<div class=""><br class="">
</div>
<div class="">Thanks!</div>
<div class="">Tim</div>
</div>
</div>
</blockquote>
</span>
</body>
</html>