masakari/api-ref/source
jayashri bidwe b21c763de0 Allow adding host only if it exists in nova
Presently, you can add any hostname to the failover segment. It
doesn't check whether this host exists or not in nova. This patch
fixes this issue by checking whether the hostname exists in nova or
not before adding it to the failover segment. If it doesn't exists,
it will raise 400 error.

APIImpact
BadRequest(400) is returned if host doesn't exists in nova instead
of 200 during host create.

Closes-Bug: #1800073

Change-Id: I0ccc9f3a61e3f17f2cb7c1ad1888947c6fe724c8
2018-12-13 11:31:21 +05:30
..
conf.py Masakari API Specifications 2017-11-27 05:29:45 +00:00
failover-segments.inc Fix typo in api-ref/source/failover-segments.inc file 2018-05-08 10:28:45 +00:00
hosts.inc Allow adding host only if it exists in nova 2018-12-13 11:31:21 +05:30
index.rst Masakari API Specifications 2017-11-27 05:29:45 +00:00
notifications.inc Masakari API Specifications 2017-11-27 05:29:45 +00:00
parameters.yaml Masakari API Specifications 2017-11-27 05:29:45 +00:00
status.yaml Masakari API Specifications 2017-11-27 05:29:45 +00:00
versions.inc Masakari API Specifications 2017-11-27 05:29:45 +00:00