Michael Pasternak has submitted this change and it was merged.
Change subject: cli: add the option to retrieve partial history using CLI(#957499)
......................................................................
cli: add the option to retrieve partial history using CLI(#957499)
add the option to retrieve partial history
( e.g history --last 3 ) using CLI instead
of retrieving all history .
adds history --last n and history --first n
to retrive the last or first n history elements
Change-Id: I2321ccc7e3cce2521e0b86f67de2797a8a2b4276
Bug-Url:
https://bugzilla.redhat.com/957499
Signed-off-by: Ravi Nori <rnori(a)redhat.com>
---
M src/ovirtcli/command/history.py
M src/ovirtcli/infrastructure/historymanager.py
M src/ovirtcli/shell/historycmdshell.py
3 files changed, 99 insertions(+), 19 deletions(-)
Approvals:
Michael Pasternak: Verified; Looks good to me, approved
--
To view, visit
http://gerrit.ovirt.org/20272
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I2321ccc7e3cce2521e0b86f67de2797a8a2b4276
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine-cli
Gerrit-Branch: master
Gerrit-Owner: Ravi Nori <rnori(a)redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern(a)redhat.com>
Gerrit-Reviewer: Ravi Nori <rnori(a)redhat.com>