Fix tempest test's rare concurrent issue

In changed test list of services is requested two times,
there is possible rare situation when between first and second
requests heartbeat of service update can happen.

Change-Id: Ic652e24a1fbc447f452049310257555589f4059e
Replace usage of unittest module with manila.test

test modules
manila.tests.api.v1.test_share_networks
manila.tests.network.neutron.test_neutron_api
manila.tests.network.neutron.test_neutron_plugin

inherit unittest.TestCase, but all test classes
should inherit manila.test.TestCase

Also moved all predefines from __init__ to setUp

Change-Id: I07de752e6ca8cd206daeb966a75113239c6d411c
Update manila's docs

After manila's fork from cinder, its docs were not
updated well.

This info is used by doc-builder, see doc/README.rst

Partially implements: blueprint manila-documentation

Change-Id: Ic97584db291b60505d5d310a517c2866fc6fcf5f
Check share net ids when creating share from snapshot

When creating share from snapshot if share-network-id passed
we need to check if it equals to share-network-id of parent share.

Partial-Bug: #1332080
Change-Id: Ieca5d74fc060e0f0f66fa06853e5744f2fcc08eb
Cleaned up exception module and added unittests

Removed unused exceptions and fixed several inheritance
issues, that causes wrong responce codes.

exceptions MigrationNotFound and MigrationNotFoundByStatus
are left, because manila just doesn't have migrations yet.

Change-Id: Icf39422927fc7754c5c47ab717fad178ed44a0dc
Related-Bug: #1325934
Merge "Replace usage of unittest module with manila.test"
Added tempest tests

Added tests for creation of shares from snapshots,
covering cases when:
- share-network not provided (positive)
- provided different share-network (negative)

Change-Id: Ie8359a6eee587fd5f45b2b002fb7a34707f08b72
Related-Bug: #1332080
Fix create_share_from_snapshot method

Retreiving share_server of parent share
and passing it to driver.
Partial-Bug: #1332080

Change-Id: I9261271c6e77e2afe6033f9466a3ff562cf3fe2f
Fixed passing share_server to teardown_network

Pass share_server backend_details to teardown network.
Removed calling db method share_server_get which raises
exception if share server does not exists with calling
method _get_share_server in delete_share.

Partially-implements bp implement-backend-details-in-drivers
Related-Bug #1332080

Change-Id: Id34c1b299f28d5e6050c481dce01b6f70d1be995
Add using share-server backend details in Generic driver

Method setup_network returns server data:
 - instance_id
 - ip
 - authentication data
 (username, password, private key path)

Removed storing server info in memory.
Renamed method get_service_instance to set_up_service_instance.

Removed discover_service_instance method.
Added method ensure_service_instance to check if
instance is running.

Partially-Implements bp implement-backend-details-in-drivers

Change-Id: I857f47510db8d575b3003491b3d3d49a54cf15f5
Enable skipped tests from test_capacity_weigher.py

Some tests from  test_capacity_weigher.py were skipped:

- test_capacity_weight_multiplier1
- test_capacity_weight_multiplier2
- test_default_of_spreading_first

because of assertion error when comparing weight of the winner host
with expected value.

Fix this assertions taking into account that weihts of the hosts
are normalised during weighing, so the weight of the winner host
will be 1.0 * weight_multiplier in case of positive weight_multiplier
and 0 in other case.

Make CapacityWeigher able to redefine weight_multiplier from
BaseWeigher.

Closes-Bug: #1329718

Change-Id: I504ae7d980aa063ffddb7f2676e91da4f790e0e4
Merge "Cleaned up exception module and added unittests"
Merge "Fix create_share_from_snapshot method"
Merge "Added tempest tests"
Merge "Enable skipped tests from test_capacity_weigher.py"
Merge "Update manila's docs"
Merge "Fixed passing share_server to teardown_network"
Merge "Add using share-server backend details in Generic driver"
service_instance: Add lock to creation of security_group

service_instance module, that is used by generic driver
does not have lock for creation of security_group.
This causes concurrent creation of security groups
in multibackend installation.

Change-Id: I00c1ab8a35bed3da3e46c20ffaf220cde26f7fcd
Closes-Bug: #1334598
Update ci scripts

Changes:
Fix multibackend job be multibackend indeed.
Increase amount of threads to run tempest with, after increase of
volume group capacity for Cinder, that is used by generic driver.

Partially-implements blueprint multibackend-installation-tempest-job

Change-Id: Ia7aada6c29d4c2a4929384e9e03057b3cccc470d