Logging detail when attach interface failed

When attach interface failed, there isn't any detail for
error info. Change the log level to exception to get more detail.

Change-Id: If531c32357dbb002a3e92e4ca559eeb7f6ab6d2d
Closes-Bug: #1373761
Make unit test floating ips bulk faster

The unit test is only used to test whether the code branch is
executed with pre-defined logic, so it does make sense to create
as less as dataset if we can achieve that goal.

Currently the unit test for floating ip bulk operation in nova
create a rather a big data set to run the test. This patch adjust
it with smaller one.

the results shows (ignore the first one because env setup)
                                                   [former] [current]
test_create_bad_cidr_fail                       OK  4.27     8.30
test_create_duplicate_fail                      OK  8.01     1.20
test_create_invalid_cidr_fail                   OK  0.10     0.14
test_create_ips                                 OK  0.77     0.18
test_create_ips_pool                            OK  7.65     0.17
test_delete_ips                                 OK  10.01    0.35
test_list_ip_by_host                            OK  0.14     0.27
test_list_ips                                   OK  0.15     0.25

Change-Id: I2ee5b5186f0c88b80ed20a0dbc16af9360e28332
Remove native security group api class

There are native security group api classes define in the v2 and
v2.1 security_groups extension. Those classes in two extensions
are same. So remove the duplicated code, move those exception raising
into the base class.

Change-Id: I5e62ec8236e9d0e9601be652df7b8abf1828fbad
VMware: remove unused parameter (mountpoint)

A mountpoint parameter was passed to the volume attach and detach
methods. This parameter is not used. This patch cleans that up.
In addition it also cleans log messages where this parameter was used.

TrivialFix

Change-Id: I2eafea22c58553ac58fcccf6d199db6f8b595fb2
Better error message when check volume status

When debug the code, the cinder volume status checking code return
the error message, but without which volume is wrong and detail.
This patch add volume uuid and detail in the message.

Change-Id: I043f7b956b7e56ea5eb7e4ff9c9023fd607f2358
Port assisted-volume-snapshots extension to v2.1

This patch ports assisted-volume-snapshots to v2.1 and make v2 and v2.1
share unit test cases.
This patch addes a schema to do the input validation for snapshots_create
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: I5b7be1de8ac2628a287897dcc5ca0eaf7a8957a2
Merge "VMware: remove unused parameter (mountpoint)"
Merge "Port assisted-volume-snapshots extension to v2.1"
Merge "Better error message when check volume status"
Merge "Logging detail when attach interface failed"
Merge "Remove native security group api class"
Merge "Make unit test floating ips bulk faster"