Fix typo in server diagnostics extension.

 * Fixes bug 957716
 * Tweak test to catch regression

Change-Id: I71cafadfec90d907a65429e1c1ca1812d1069b25
Stop notifications from old leases

 * Fixes performance issue with lots of instances
 * Also removes some commented out code
 * Fixes bug 959356

Change-Id: I6e4cf3cd6ebe9d5d1ae4fc2472ef1765d13f49f6
Correct accessIPv6 error message.

Fixes LP Bug #959661.

Change-Id: I95d497de1df4d10cfa1213c31cb6bfd120f7c6b3
Remove unnecessary data from xenapi test

Change-Id: I321af485aa28e654cff27d0db5753020f7fc3c20
Merge "Stop notifications from old leases"
Strip out characters that should be escaped from console output

Minidom has a bug where it doesn't escape characters < 32 correctly.
That is http://bugs.python.org/issue5752

We probably want to move to lxml anyway.

Console-output is particularly likely to have invalid characters,
because ANSI output include the ESC character (0x1B).  Strip out
invalid characters for this case (although the problem is still
present anywhere we write a string in the XML)

Bug #939386

Change-Id: I4689c0f26fb4887867a8d5b6f5e5fb5e2590be91
Fix lxc console regression

Dont always assume that console is a file.
Fixes bug 959843

Change-Id: I6e0512b85a770ecb3963512751a535ccab91a9a8
Signed-off-by: Chuck Short <chuck.short@canonical.com>
Improve performance of generating dhcp leases

 * Dont make 2 * instances queries when generating dhcp leases
 * Uses some nasty joins to minimize necessary changes
 * Adds test to verify functionality
 * Uses old sqlalchemy compatible join syntax
 * Uses vif_id as nw identifier for single_host_gateway mode
 * Cleans up tests in linux_net
 * Fixes bug 959378

Change-Id: I1c74d114dd7caad1781180585bb65691e536bcf9
Merge "Fix lxc console regression"
Merge "Strip out characters that should be escaped from console output"
Allow rate limiting to be disabled via flag

 * fixes bug 947776

Change-Id: I892394ead2d1921ac8390e54312c5229929042f5
Improvements/corrections to vnc docs.

 * Fixes bug 959929

Change-Id: Ieb8234a3b9e432ae39d33d89b24a8148a01454e3
Fixes bug 957708.

Work around bug in netaddr 0.7.5
https://github.com/drkjam/netaddr/issues/2

Change-Id: I3e064860c3865d5029481e6d63c5284d275a0081
Open Folsom

Switch version to 2012.2 to formally open Folsom.

Change-Id: If2e9e624a13444e4cb6a08f3bb76ca3027d7ef46
Fixes bug 949038

Make the api calls better fit the standard pattern where
read_deleted can be changed using context.read_deleted

I have retained the ability to pass read_deleted
explicitly. If that is not specified, it uses the value in
the context.

Note: read_deleted defaults to "no" in the context.

The two exceptions are:
 aggregate_host_get_all
 aggregate_get_all

In this case, it is better for read_deleted=yes to be the default
So in this case the context cannot be used, as that would default
to read_deleted=no. In this case you must explicity override
read_deleted, the context is totally ignored, as before.

Change-Id: Idb048a592d8c6b788651d131a3345e70989c0ec4
Merge "Fixes bug 957708."
Implement quota classes.

Allows entire classes of quotas to be associated with projects, which
makes it easier to set specific quotas across multiple projects.

TODO:

* (?) Adding a mapping between projects and quota classes

Change-Id: I6b6477481187d16af225d33c1989430e4071d5a8
Merge "Fixes bug 949038"
Don't send snapshot requests through the scheduler

 * If there is more than one volume host, snapshots need to be
   created on the host that has the volume.  Sending the request
   through the scheduler means that the snapshot will sometimes
   be created on the wrong host and fail.
 * Fixes bug 960437

Change-Id: If8562bd533226cf9aee1d3be522f799d233581a9
Fix unplug_vbd to retry a configurable number of times

Fixes bug 960655

A previous cleanup ended up changing the exception raised by unplug_vbd
which caused vbd_unplug_with_retry to fail to retry. Since it's common
to retry, bake that functionality straight into unplug_vbd for other
users too.

Change-Id: I3370c560a1997459ab37b9d5f1181464fa5b0f0c