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
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
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"
Merge "Fix disk_allocation_ratio on filter_scheduler.rst"
Merge "Compute: use an instance object in terminate_instance"
Merge "Change test function from snapshot to backup"