masakari/masakari/tests
Dinesh Bhor a1bbcd4d98 Fix 'host delete' delete's host of another segment
Currently masakari delete's the host which doesn't belong to the
segment requested in the 'host delete' API's request URL because
host was not getting filtered on the basis of failover_segment_id.

Filtered the host based on 'failover_segment_id'. Added a new
exception 'HostNotFoundUnderFailoverSegment' which will be raised
from db API 'host_get_by_uuid' if the host is not found under the
requested failover_segment. This exception is not caught at API
controller layer as it is a subclass of 'HostNotFound' which is
already caught in controller.

Closes-Bug: #1697629
Change-Id: I3d3e8cffa2f8ea443ccd13b1db61fda55bc07a0d
2017-08-01 12:28:56 +05:30
..
unit Fix 'host delete' delete's host of another segment 2017-08-01 12:28:56 +05:30
__init__.py Initial Cookiecutter Commit. 2016-06-28 13:28:27 +09:00
base.py Add support for wsgi framework 2016-07-12 13:10:10 +05:30
fixtures.py Add database related test cases 2016-12-09 18:30:55 +05:30
uuidsentinel.py Remove redundant str typecasting 2016-09-23 12:55:49 +05:30