Managing KVM virtual machines with shell, Python scripts

Source: Internet
Author: User

An idea:

1 python2.7

2 Python web framework Bottle

3 Shell Scripting Management KVM

Together can be a ~

This time I will use bottle simple implementation of management KVM host, open source out of the ~ performance rotten words, don't blame me ~

Management KVM host can be completed on the page, a foreign person with Django wrote this set of procedures, feeling good, just a little more complex, a bit more bugs .... Personally feel that they write a simple, Python itself has a KVM library, if you feel trouble, you can use the OS module, call Virsh command to manage the KVM host, this is completely feasible ~

https://www.webvirtmgr.net/docs/

This is a tutorial on installing the configuration

Once you've installed the library you need, just run it.

./manage.py Runserver 10.96.60.61:8000

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.