On Mon, Nov 28, 2016 at 11:01 PM, Oved Ourfali <oourfali@redhat.com> wrote:

BTW, the ovirt-shell is something we deprecated.

Can you please point me to the deprecation bug for it?
I can't see it here: https://bugzilla.redhat.com/buglist.cgi?quicksearch=ovirt-shell

 

It is working on top of the v3 api, which we plan to remove in 4.2.

Haven't seen a deprecation bug for this as well in https://bugzilla.redhat.com/buglist.cgi?quicksearch=classification%3Aovirt%20v3%20api

If we want people to know about it we need to publish it somehow and for the way we build release notes we need deprecation bugs for it to be published.
 

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 :
A 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 apt-get install -y python-pip
sudo pip install kitchen
sudo pip install ply
sudo pip install ovirt-shell
Also, 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




--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com