Operation ops

Add async operations and container status REST commands.
On Thu, Nov 20, 2014 at 12:35:46PM -0800, Stéphane Graber wrote:
> > @@ -43,7 +43,7 @@ For an async operation, the following dict is returned:
> >  
> >      {
> >          'type': "async",
> > -        'operation': "/1.0/operations/<id>",            # URL to the background operation
> > +        'operation': "<id>",                            # URL to the background operation
> 
> Unsure why that got changed to just <id>, I think the URL makes more sense, so since we now do UUID, it'd be "/1.0/operations/<uuid>".

Because we (and therefore probably users) end up parsing it in and out
a bunch, and the id is basically the same. There is the result_url if
people really want that (although I think this field can also be
removed).

> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/lxc/lxd/pull/69/files#r20675457