BTW, the ovirt-shell is something we deprecated.
It is working on top of the v3 api, which we plan to remove in 4.2.
So better not use it.
Alternatives are to use the SDKs according to your preference (we have Java, python and Ruby SDKs) or the ansible modules mentioned above by Moran (instead of writing scripts you can write playbooks to do various operations ).
Regards,
Oved
On Nov 28, 2016 13:02, "Nathanaël Blanchet" <blanchet@abes.fr> wrote:
Le 26/11/2016 à 22:40, Chris Cowley a écrit :
sudo apt-get install -y python-pipA few reasons really. I fancied playing around with Click, so I made this as I was also digging around the oVirt API. My workstation at work is running Ubuntu, and I do not believe that ovirt-shell is packaged for it.
sudo pip install kitchen
sudo pip install ply
sudo pip install ovirt-shellAlso, choice is good. Finally: because I didn't think of it. On 26/11/16 22:24, Derek Atkins wrote:Hi Chris, Just a quick question, but, why not just use ovirt-shell? Or make this a wrapper around ovirt-shell? -derek On Sat, November 26, 2016 4:10 pm, Chris Cowley wrote:Hi all I started hacking together something last night to use as a CLI to manage my oVirt clusters. https://gogs.chriscowley.me.uk/chriscowley/ovirtmanage Currently it can create/delete a VM, list the VMS, and I started a function to show the details, but all that does for now is return the ID. The plan is for it to evolve with my own needs, but I am open to ideas/PRs from the community. Disclaimer #1: I am a SysAdmin, not a developer. If you a proper developer, what you see may cause you physical pain. Disclaimer #2: My Gogs repo is behind my ADSL in rural France, be patient and I withold the right to not respect any sort of SLA :-) -- Regards Chris Cowley http://about.me/chriscowley _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman /listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman /listinfo/users
-- Nathanaël Blanchet Supervision réseau Pôle Infrastrutures Informatiques 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanchet@abes.fr
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users