Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.
/ python-lkvm Public archive

python-lkvm wrapper for lkvm command line

License

Notifications You must be signed in to change notification settings

clearlinux/python-lkvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Summary

python-lkvm is a python wrapper for lkvm command line which exposes its methods through a simple API. This allows other python applications to manage instances.

Getting started

As most of python modules, python-lkvm can be installed via setuptools:

$ python setup.py install

Once this module is installed, it can be used their method creating a client instance, for example, for listing existing instances:

import lkvm

client = lkvm.Client()

for ins in client.list_instances():
    print ins.name, ins.state