Fix comment typo

I noticed a typo while getting familiar with the code.
s/patially/partially/

Change-Id: Ife5ef787051016b4f4d21df402c1942304a5b7c3
Fix typo in comment

While looking at the code I noticed a typo in a comment.

Change-Id: Id31c3a87ca5c902699167bd2d63e8dea6d62ba23
libvirt: driver used memory tests cleanup

The libvirt's driver _get_memory_mb_used() currently reports proper
stats only if sys.platform is 'linux*', otherwise it reports 0.

In order for tests to work as expected on non-Linux platforms, mock
'sys.platform' to return 'linux2' to make sure the proper implementation
is called in _get_memory_mb_used().

While here, convert test_get_memory_used_normal() to use mock instead of
mox to make the test shorter and look similar to
test_get_memory_used_xen() that uses mock already.

Change-Id: If37fe2e447a52e73bcdbefc84b729931d2f7d0b8
Change v3 extended_server_attibutes to v2.1

This patch changes v3 extended_server_attibutes API to v2.1 and makes v2
unit tests share between v2 and v2.1.
Revert v3 changes back to v2.
os-extended-server-attributes:* -> OS-EXT-SRV-ATTR:*
The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: I02b203b62b9e675f71d0ff3880bc9ee051a3b80d
Change v3 attach_interface to v2.1

This patch changes v3 attach_interface API to v2.1 and makes v2
unit tests share between v2 and v2.1.

The differences between v2 and v3 are described on the wiki page
https://wiki.openstack.org/wiki/NovaAPIv2tov3.

Partially implements blueprint v2-on-v3-api

Change-Id: If18676604edc8fea41d7888eb6546245163e91c2
Merge "Change v3 extended_server_attibutes to v2.1"
Merge "Fix typo in comment"
Make Object FieldType from_primitive pass objects

In case we have a ListOfObjects field on an object with a remotable
method, due to NovaObjectsSerializer now looking into dicts recursively,
and thus also into the updates dict that object_action returns,
it is possible that objects inside a list have already been
deserialized, so we make the Fields from_primitive just pass them on,
since the job was already done by the NovaObjectsSerializer.

Change-Id: Ib2a34a115cb2d0a2a0765c81d5dd7ef331077eb5
Closes-bug: #1360656
Merge "libvirt: driver used memory tests cleanup"
Merge "Change v3 attach_interface to v2.1"
Merge "Fix comment typo"
Merge "Make Object FieldType from_primitive pass objects"