diff options
author | Matt Riedemann <mriedem.os@gmail.com> | 2019-05-17 18:07:38 -0400 |
---|---|---|
committer | Matt Riedemann <mriedem.os@gmail.com> | 2019-05-18 14:47:11 -0400 |
commit | 0dc6b96ec83703a0607c4df16e43856632aecb61 (patch) | |
tree | 6484b96440d2f99f9bb4a3fa8db66003b93e2f5b /releasenotes | |
parent | dfb84228a2748bed82f9b83c1209d5e2e0557bfa (diff) | |
download | python-novaclient-0dc6b96ec83703a0607c4df16e43856632aecb61.tar.gz |
Allow searching for hypervisors and getting back details
The 2.53 microversion allows listing hypervisors with
details and filtering on a hypervisor_hostname substring
pattern match.
This makes the python API binding HypervisorManager.search
method allow that as well by adding a new 'detailed' boolean
kwarg which defaults to False for backward compatibility for
the /search and /servers routes before 2.53, but allows
searching and getting detailed results back as well.
Change-Id: I81fa4520af3cc7f1298c262f4fdc4e15fbc6d7ba
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/search-hypervisor-detailed-352f3ac70d42fe6e.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/releasenotes/notes/search-hypervisor-detailed-352f3ac70d42fe6e.yaml b/releasenotes/notes/search-hypervisor-detailed-352f3ac70d42fe6e.yaml new file mode 100644 index 00000000..026e1a28 --- /dev/null +++ b/releasenotes/notes/search-hypervisor-detailed-352f3ac70d42fe6e.yaml @@ -0,0 +1,8 @@ +--- +features: + - | + The ``novaclient.v2.hypervisors.HypervisorManager.search`` method now + accepts a ``detailed`` boolean kwarg which defaults to False but when + True will search for the given hypervisor hostname match and return + details about any matching hypervisors. Specifying ``detailed=True`` + requires compute API version 2.53 or greater. |