Change in ovirt-engine-sdk[master]: Ignore unsupported Enum values
Code Review
gerrit at ovirt.org
Wed Mar 1 08:03:21 UTC 2017
>From Ondra Machacek <omachace at redhat.com>:
Ondra Machacek has submitted this change and it was merged.
Change subject: Ignore unsupported Enum values
......................................................................
Ignore unsupported Enum values
If Python SDK is used with engine which has some new functionality
implemented, which is not supported by Python SDK, the Python SDK
should ignore those new elements.
For example if new version of API will implement new Enum value for,
RngSource, the old Python SDK should ignore this element, and read
only the elements the Python SDK understand.
Change-Id: I18ddbb0f0649840bf4cff14d1b3186d49e98e860
Signed-off-by: Ondra Machacek <omachace at redhat.com>
---
M generator/src/main/java/org/ovirt/sdk/python/ReadersGenerator.java
M sdk/lib/ovirtsdk4/reader.py
M sdk/tests/test_cluster_reader.py
M sdk/tests/test_network_reader.py
4 files changed, 77 insertions(+), 2 deletions(-)
Approvals:
Ondra Machacek: Verified; Looks good to me, approved
Juan Hernandez: Looks good to me, but someone else must approve
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/73249
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I18ddbb0f0649840bf4cff14d1b3186d49e98e860
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list