Bug 1572071 - API SDK doesn't provide search method in external providers
Summary: API SDK doesn't provide search method in external providers
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-sdk-python
Classification: oVirt
Component: Core
Version: 4.2.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.4
: 4.2.7
Assignee: Ondra Machacek
QA Contact: Radim Hrazdil
URL:
Whiteboard:
Depends On:
Blocks: 1579349
TreeView+ depends on / blocked
 
Reported: 2018-04-26 06:46 UTC by Lucie Leistnerova
Modified: 2018-06-26 08:40 UTC (History)
5 users (show)

Fixed In Version: python-ovirt-engine-sdk4-4.2.7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-26 08:40:35 UTC
oVirt Team: Infra
rule-engine: ovirt-4.2+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 90897 0 master MERGED Add search parameter to providers 2018-05-07 09:57:46 UTC
oVirt gerrit 90963 0 model_4.2 MERGED Add search parameter to providers 2018-05-09 07:39:57 UTC
oVirt gerrit 91712 0 master MERGED restapi: Update to model 4.3.11 2018-05-29 11:18:02 UTC
oVirt gerrit 91721 0 ovirt-engine-4.2 MERGED restapi: Update to model 4.2.33 2018-05-29 12:24:27 UTC

Description Lucie Leistnerova 2018-04-26 06:46:44 UTC
Description of problem:
External providers can be searched (?search=name%3Dprovider_name), bud SDK doesn't provide this possibility. 
See e.g.
https://github.com/oVirt/ovirt-engine-api-model/blob/master/src/main/java/services/openstack/OpenstackImageProvidersService.java#L67

The same is for others: OpenstackNetworkProvidersService,  	OpenstackVolumeProvidersService, ExternalHostProvidersService

Version-Release number of selected component (if applicable):
ovirt-engine-restapi-4.2.3.2-0.1.el7.noarch

Related Bug 1572067.

Comment 1 Radim Hrazdil 2018-06-22 08:39:39 UTC
Verified that external providers can be searched using 'search' parameter of list method.

Comment 2 Radim Hrazdil 2018-06-22 08:42:14 UTC
ovirt-engine-restapi-4.2.4.5-0.1.el7_3.noarch

SDK ovirt-engine-sdk-python (4.2.7)

Comment 3 Sandro Bonazzola 2018-06-26 08:40:35 UTC
This bugzilla is included in oVirt 4.2.4 release, published on June 26th 2018.

Since the problem described in this bug report should be
resolved in oVirt 4.2.4 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.