On Sun, Nov 27, 2016 at 4:00 PM, Nir Soffer <nsoffer@redhat.com> wrote:
On Sun, Nov 27, 2016 at 12:54 PM, Fabrice Bacchella
<fabrice.bacchella@orange.fr> wrote:
> Looks like close to my own try :
>
> https://github.com/fbacchella/ovirtcmd

Looks cool.

But I think what we need is something like targetcli for ovirt.
http://linux-iscsi.org/wiki/Targetcli#Display_the_object_tree

With such tool we can see the ovirt setup as a file system tree:

/ovirt/vms/vm-id
/ovirt/storage/domain-id
...

And be able to query and operate on the entities.

I believe it is built on top of https://github.com/Datera/configshell (or its fork - https://github.com/open-iscsi/configshell-fb)
Y.
 

Another crazy direction I discussed with Roy, is a fuse files system mapping
ovirt setup to a file system - imagine:

$ mount -t ovirtfs /ovirt

$ ls /ovirt/vms
vm-id-1
vm-id-2
...

$ cat /ovirt/vms/vm-ids/running
1

$ echo 0 > /ovirt/vms/vm-id/running

>
>
>> Le 26 nov. 2016 à 22:10, Chris Cowley <chris@chriscowley.me.uk> a écrit :
>>
>> 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
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users