Change test function from snapshot to backup

According to test function name 'test_backup_invalid_state',
the usage of functions should be backup instead of snapshot.

Change-Id: Ic07766d06875983a3ca59fccc272c708ebefdbba
Add test case for vim header check

There was not a unit test case for the vim header hacking
check.  This adds a test case.

Change-Id: I66889819b4d0b62ea54da327a3724c523a0e4fcb
Remove unused method within filter_scheduler test

_fake_empty_call_zone_method is never used by method
test_run_instance_no_hosts within FilterSchedulerTestCase.
So remove it.

Change-Id: If8c952fbae36a7417d43ca69f19f513812667e71
Fix disk_allocation_ratio on filter_scheduler.rst

There is an option "disk_allocation_ratio" in DiskFilter instead of
a typo "disk_allocation_ration".
This patch fixes the typo on filter_scheduler.rst.

Change-Id: Iad4951fbdca97eccb956c42270bfc170fc7c7dac
Compute: use an instance object in terminate_instance

The instance in terminate_instance is an object. Use the object format
when locking the instance.

TrivialFix

Change-Id: I7b40f0dcdbe1866443388a83957c4ebafadd978e
Port disk_config extension for V2.1

This patch ports v2 disk_config extension to v2.1.

Unittest code modified to share testing with both v2/v2.1.
API sample file and their tests have been added.

Also added extension point of server resize V3.

Partially implements blueprint v2-on-v3-api

Change-Id: Id2aace8121a310f8c86c6a9cc532bd1074d653c4
Extend XML unicode test coverage

Extends the coverage of the servers XML serialization test to
cover unicode values. Fixes common function to be handle fields
being unicode. No actual bug fix, but this is test coverage which
we always should have had, and an investigation into another unicode
bug revealed the missing coverage and problem with the tests
not handling unicode values.

Change-Id: I6255ad1cf9a3429c0d87cb6709c11c1b65df9ba5
Related-Bug: 1279172
VMware: add support for default pbm policy

This is part of the blueprint vmware-spbm-support.
If there is no defined storage policy in the flavor then the default
storage policy will be used. This patch set adds in the definition of
the default storage policy and validates it existence when the service
starts.

DocImpact
    - pbm_enabled - enables storage policy based placement
    - pbm_default_policy - the default policy that will be used if there
      is none in the flavor
    - pbm_wsdl_location (optional) - PBM service WSDL file location URL.
      e.g. file:///opt/SDK/spbm/wsdl/pbmService.wsdl.

Co-authored-by: Radoslav Gerganov <rgerganov@vmware.com>

Change-Id: I1fc5a99c153d815ea735dccda9d2958dba52ec49
Update README for openstack/common

Change-Id: I96aa36758daf8b19fd7e03f55edc9174e9de92a6
Remove init for object list in api layer

There is a list initialization in api layer server code,
because objectListBase already handles that init process,
so remove it from api layer.

Change-Id: I84b0641ec2088d2920d3757ac1a99c301fc0bcb0
Don't translate unit test logs

log lines in unit tests won't ever be run in production, no reason to
translate them.

Change-Id: I162d615edd16d8faeb335d99f0ed1b4248182372
Sync with latest oslo-incubator

Changes include:
55ca7c3 Split cliutils
1b44601 Allow dictionary lookup in credentials with dot notation
6c706c5 Delete graduated serialization files
3edbfb3 remove caching param from prettytable call
9ce1d96 Fix i18n import
5d40e14 Remove code that moved to oslo.i18n
a4be4ed Remove graduated config modules
6ff6b4b Switch oslo-incubator to use oslo.utils and remove old modules
70189c9 Remove graduated test and fixtures libraries
8b71f57 Delete graduated db files
6ede600 rpc, notifier: remove deprecated modules
6b65a41 Fix build break - switch from str to hash for lookup
f76f44c Delete the token and endpoint on expiry of token of client
aebb58f Fix typo to show correct log message
1131b56 Enabled mask_password to handle byte code strings
6b048e7 Let oslotest manage the six.move setting for mox

Change-Id: Ic588aec0fc0291440feaac3439836054bd3608cd
Add supported_hv_specs to ComputeNode object

The compute_nodes table has a field called supported_instances
that is populated with data generated by the virt drivers
and used in the scheduler filter image_props_filter. There is
no corresponding field in the ComputeNode object. This change
adds a field called supported_hv_specs that maps to the
supported_instances database field.

The field is a list of specs for hypervisor properties
(architecture, hypervisor type and vm mode) that the host supports.
The change of name to supported_hv_specs is intended to reflect
this and is made now as a change in the object later on would
require a change in the object version.

Because the field has a defined structure a field type is defined
for supported_hv_specs. The field type is:

    ListOfObjectsField('HVSpec')

where HVSpec is a new object representing the a supported
hypervisor property combination.

Change-Id: I8b41465c4f3b391be38e16260a807d9d3fe60ec2
Merge "Port disk_config extension for V2.1"
Merge "VMware: add support for default pbm policy"
Merge "Add test case for vim header check"
Merge "Remove init for object list in api layer"
Merge "Update README for openstack/common"
Merge "Extend XML unicode test coverage"
Merge "Remove unused method within filter_scheduler test"