<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body style="word-wrap:break-word" fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Courier New;color: #000000;font-size: 10pt;">
<div>I'm still stewing on this but at first blush this seems like an artificial abstraction. What do we really gain from having another layer above the service api's? Can't they just live at the service api?</div>
<div><br>
</div>
<div>For example:</div>
<div><br>
</div>
<div>nova.compute.api:create_instance()</div>
<div><br>
</div>
<div>vs. </div>
<div><br>
</div>
<div>nova.business_layer:create_instance()</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF624151" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><b>From:</b> Lorin Hochstein [lorin@isi.edu]<br>
</font></div>
<div id="divRpF624151" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><br>
</font></div>
<div>
<div>
<div>I think it actually looks more like this right now: </div>
<div><br>
</div>
</div>
<br>
<div><span class="Apple-style-span" style="font-family:'Courier New'">EC2 Client   OS Client</span></div>
<div>
<div><font class="Apple-style-span" face="'Courier New'">  |             |</font></div>
<div><font class="Apple-style-span" face="'Courier New'">EC2 API        OS API</font></div>
<div><font class="Apple-style-span" face="'Courier New'">   \           /</font></div>
<div><font class="Apple-style-span" face="'Courier New'">  [nova-*] service APIs</font></div>
</div>
<div><br>
</div>
<div>There isn't really a single back-end API for the front-end APIs to call into. Instead, each of them makes calls to the multiple service APIs (e.g., scheduler, network, compute). </div>
<div><br>
</div>
<div>I would advocate for something more like this:</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><span class="Apple-style-span" style="font-family:'Courier New'">EC2 Client   OS Client</span></div>
<div>
<div><font class="Apple-style-span" face="'Courier New'">  |             |</font></div>
<div><font class="Apple-style-span" face="'Courier New'">EC2 API        OS API</font></div>
<div><font class="Apple-style-span" face="'Courier New'">   \           /</font></div>
<div><font class="Apple-style-span" face="'Courier New'">  internal nova API</font></div>
</div>
</div>
<div><font class="Apple-style-span" face="'Courier New'">          |</font></div>
<div><font class="Apple-style-span" face="'Courier New'">
<div style="font-family:Helvetica">
<div><font class="Apple-style-span" face="'Courier New'">  [nova-*] service APIs</font></div>
<div><font class="Apple-style-span" face="'Courier New'"><br>
</font></div>
<div><font class="Apple-style-span" face="'Courier New'"><br>
</font></div>
</div>
</font></div>
<div><font class="Apple-style-span" face="'Courier New'">
<div style="font-family:Helvetica">This is a single, unified API that is meant only for internal use. This would reduce the coupling between front-end and back-end. It would make it easier for someone with less expertise in the code (hello!) to find the location
 in the code that answers questions like: "What does nova do when a user requests that an instance is launched?"   They would just look at the internal API and find the appropriate method. It would also make it easier to add additional front-ends, if there's
 ever any interest in that.</div>
<div style="font-family:Helvetica"><br>
</div>
<div style="font-family:Helvetica"><br>
</div>
</font></div>
</div>
</div>
</div>
<style type="text/css">embed[type*="application/x-shockwave-flash"],embed[src*=".swf"],object[type*="application/x-shockwave-flash"],object[codetype*="application/x-shockwave-flash"],object[src*=".swf"],object[codebase*="swflash.cab"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"],object[classid*="d27cdb6e-ae6d-11cf-96b8-444553540000"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"]{   display: none !important;}</style><style type="text/css">embed[type*="application/x-shockwave-flash"],embed[src*=".swf"],object[type*="application/x-shockwave-flash"],object[codetype*="application/x-shockwave-flash"],object[src*=".swf"],object[codebase*="swflash.cab"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"],object[classid*="d27cdb6e-ae6d-11cf-96b8-444553540000"],object[classid*="D27CDB6E-AE6D-11cf-96B8-444553540000"]{   display: none !important;}</style>
<font face="monospace">This email may include confidential information. If you received it in error, please delete it.</font></body>
</html>