I have started to write a custom sdk/cli in python for Ovirt 4. It provides helpers and wrapper for the rather raw level sdk4 provided.It's still a work in progress, but a big improvement from my previous version, made for ovirt 3.It allows to write simple commands on shell :$ ./ovcmd host -n hostname maintenance$ ./ovcmd host -n hostname activateIt also allows to do fine exports:$ ./ovcmd vm -n vmname export os typerhel_6x64$ ./ovcmd capabilities -n 4.1 export cpu_types nameIntel Conroe FamilyIntel Penryn FamilyIntel Nehalem FamilyIntel Westmere FamilyIntel SandyBridge FamilyIntel Haswell-noTSX FamilyIntel Haswell FamilyIntel Broadwell-noTSX FamilyIntel Broadwell FamilyIntel Skylake FamilyAMD Opteron G1AMD Opteron G2AMD Opteron G3AMD Opteron G4AMD Opteron G5IBM POWER8Or to get a display console on a mac os:$open $(./ovcmd vm -n vmname console )It can be found at https://github.com/fbacchella/ovirtcmd/tree/sdk4 It's still works in progress, I need to finish to remove sdk3 code.Some example of object written to sdk4 can be found at:
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users