nova/nova/api
Matt Riedemann 1c51443304 Refactor HostAPI.service_update
Change If32bca070185937ef83f689b7163d965a89ec10a is going to
reflect a compute service's disabled status with the
COMPUTE_STATUS_DISABLED trait in placement. This change
does some prep work so that a common method in the HostAPI
(service_update) can be used to abstract that for pre-2.53
and post-2.53 service update APIs.

In the pre-2.53 case, the Service is retrieved using the
host and binary which requires looking up the HostMapping.
In the post-2.53 case, we already have the Service object and
just need to save the changes.

Part of blueprint pre-filter-disabled-computes

Change-Id: Id916ccd21542c90bf80caec246dfdba72a9c58b8
2019-07-02 16:37:38 -04:00
..
ec2 hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
metadata hacking: Resolve W503 (line break occurred before a binary operator) 2019-06-24 14:24:06 -05:00
openstack Refactor HostAPI.service_update 2019-07-02 16:37:38 -04:00
validation hacking: Resolve W605 (invalid escape sequence) 2019-06-24 14:24:06 -05:00
__init__.py Remove unused copyright from nova.api.__init__ 2014-01-10 16:24:50 +08:00
auth.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00
compute_req_id.py Migrate to oslo request_id middleware - mv 2.46 2017-05-27 10:11:44 +00:00
manager.py Only setup iptables for metadata if using nova-net 2017-07-20 00:00:22 +00:00
wsgi.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00