<div dir="ltr">><span style="font-size:12.8000001907349px">What is the difference between just calling the Glance API to upload an image, versus adding add() functionality to the HTTP image store?</span><br style="font-size:12.8000001907349px"><div><span style="font-size:12.8000001907349px">You mean using "glance image-create --location </span><a href="http://server1/myLinuxImage">http://server1/myLinuxImage</a> [..]" ? If so, I guess adding the add() functionality will save the user from having to find the right POST curl/wget command to properly upload his image.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Feb 13, 2015 at 3:55 PM, Jay Pipes <span dir="ltr"><<a href="mailto:jaypipes@gmail.com" target="_blank">jaypipes@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 02/13/2015 09:47 AM, Jordan Pittier wrote:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Hi list,<br>
<br>
I would like to add the 'add' capability to the HTTP glance store.<br>
<br>
Let's say I (as an operator or cloud admin) provide an HTTP server where<br>
(authenticated/trusted) users/clients can make the following HTTP request :<br>
<br>
POST <a href="http://server1/myLinuxImage" target="_blank">http://server1/myLinuxImage</a> HTTP/1.1<br>
Host: server1<br>
Content-Length: 256000000<br>
Content-Type: application/octet-stream<br>
<br>
mybinarydata[..]<br>
<br>
Then the HTTP server will store the binary data, somewhere (for instance<br>
locally), some how (for instance in a plain file), so that the data is<br>
later on accessible by a simple GET <a href="http://server1/myLinuxImage" target="_blank">http://server1/myLinuxImage</a><br>
<br>
In that case, this HTTP server could easily be a full fleshed Glance store.<br>
<br>
Questions :<br>
1) Has this been already discussed/proposed ? If so, could someone give<br>
me a pointer to this work ?<br>
2) Can I start working on this ? (the 2 main work items are : 'add an<br></span>
add method to glance_store._drivers.http.__<u></u>Store' and 'add a delete<br>
method to glance_store._drivers.http.__<u></u>Store (HTTP DELETE method)'<br>
</blockquote>
<br>
What is the difference between just calling the Glance API to upload an image, versus adding add() functionality to the HTTP image store?<br>
<br>
Best,<br>
-jay<br>
<br>
______________________________<u></u>______________________________<u></u>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" target="_blank">OpenStack-dev-request@lists.<u></u>openstack.org?subject:<u></u>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</blockquote></div><br></div>