Bug 1279231
| Summary: | [REGENERATE PYTHON SDK] No auto-completion option for scheduling policy name under cluster object | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine-sdk-python | Reporter: | Juan Hernández <juan.hernandez> |
| Component: | Core | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Gonza <grafuls> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.0.2 | CC: | bugs, dfediuck, grafuls, ncredi, oourfali, pstehlik |
| Target Milestone: | ovirt-3.6.3 | Keywords: | Automation |
| Target Release: | 3.6.3.0 | Flags: | rule-engine:
ovirt-3.6.z+
rule-engine: planning_ack+ juan.hernandez: devel_ack+ pstehlik: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-sdk-python-3.6.3.0 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1279159 | Environment: | |
| Last Closed: | 2016-03-11 07:23:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1279159 | ||
| Bug Blocks: | |||
|
Description
Juan Hernández
2015-11-08 19:01:32 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. oVirt 3.6.2 RC1 has been released for testing, moving to ON_QA Tested with:
ovirt-engine-cli-3.6.0.2-1.el6.noarch
ovirt-engine-sdk-python-3.6.2.1-1.el6.noarch
name property has been added to SchedulingPolicy object on api but --scheduling_policy-name parameter is not available on cli.
# sed -n '9851,+4p' /usr/lib/python2.6/site-packages/ovirtsdk/xml/params.py
class SchedulingPolicy(BaseResource):
subclass = None
superclass = BaseResource
def __init__(self, actions=None, href=None, id=None, name=None, description=None, comment=None, creation_status=None, link=None, policy=None, thresholds=None, locked=None, default_policy=None, properties=None):
super(SchedulingPolicy, self).__init__(actions, href, id, name, description, comment, creation_status, link, )
from 'help add cluster'
...
* [--scheduling_policy-policy: string]
* [--scheduling_policy-thresholds-low: int]
* [--scheduling_policy-thresholds-high: int]
* [--scheduling_policy-thresholds-duration: int]
* [--scheduling_policy-id: string]
* [--scheduling_policy-properties-property: collection]
{
[property.name: string]
[property.value: string]
}
...
# add cluster scheduling_policy-
scheduling_policy-id scheduling_policy-properties-property scheduling_policy-thresholds-high
scheduling_policy-policy scheduling_policy-thresholds-duration scheduling_policy-thresholds-low
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. Verified with: ovirt-engine-cli-3.6.2.1-0.1.20160111.git696d8ea.el6.noarch ovirt-engine-sdk-python-3.6.3.1-0.1.20160211.git13845c8.el6.noarch [oVirt shell (connected)]# add cluster --scheduling_policy-name Autocomplete is now working for scheduling_policy-name |