masakari/masakari/ha
jayashri bidwe de2f4d637d Allow updating host name only if it exists in nova
Presently, you can update host name with any non-existing host name.
It doesn't check whether this host exists or not in nova. This patch
fixes this issue by checking whether the host name exists in nova or
not before updating it. 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 update.

Closes-Bug: #1814656

Change-Id: Ibd113f2328deae0f1114544436631bdc434eff92
2019-02-08 10:11:46 +05:30
..
__init__.py Added failover segments controller for masakari 2016-09-23 13:54:44 +05:30
api.py Allow updating host name only if it exists in nova 2019-02-08 10:11:46 +05:30