summaryrefslogtreecommitdiffstats
path: root/func/minion/modules/virt.py
Commit message (Collapse)AuthorAgeFilesLines
* * Added close_fds=True to sub_process calls.Silas Sewell2008-11-251-1/+2
|
* We need to make sure the KVM autostart directory existsMatt Hicks2008-07-181-0/+9
| | | | | | since it is dynamically created with 'virsh autostart'. In the case that you haven't run virsh autostart, the directory doesn't exist and makes the func module fail.
* Adding a 'virttype' method to the virtualization moduleMatt Hicks2008-07-181-0/+3
| | | | | to allow a simple call to determine whether the machine is running Xen or KVM.
* Switching from using 'virsh autostart' to manually creatingMatt Hicks2008-07-181-4/+7
| | | | | the autostart link to allow for the autostart to work even when the VM is not running.
* Adding an autostart method that creates the symbolic linkMatt Hicks2008-07-181-0/+21
| | | | | for autostarting on Xen and uses the virsh call to autostart when on KVM.
* Adding an option for no graphics supportMatthew Hicks2008-07-151-1/+4
|
* Closing file descriptors during the virt install to avoid leaking themMatthew Hicks2008-07-151-1/+1
|
* Applying Matt Hicks' patches to enhance the virt modules.Michael DeHaan2008-06-241-3/+26
|
* Apply Tim V's patch to virt moduleMichael DeHaan2008-02-081-0/+17
|
* pyflakes/pychecker cleanupsAdrian Likins2008-01-161-3/+3
|
* added in the desc/version/api items in the modules.Steve 'Ashcrow' Milner2008-01-161-0/+4
|
* Simplify our modules by auto-detecting them and registering their handlersLuke Macken2008-01-151-38/+11
| | | | | | | | | | | | | | - Auto-detect and load all FuncModules. This obsoletes the need to have our modules define a register_rpc method. - Use introspection in our FuncModule to auto-register all method handlers that do not being with an underscore. This obsoletes the need to hardcode methods in our modules. - Remove all __init__ methods from our modules, along with register_rpc - Modify the func-create-module script to reflect these changes. Note that doing 'from modules import func_module' is no longer supported in our modules, do to some interesting path issues with our auto-detection code. Supported methods are now: 'import func_module' or 'from func.minion.modules import func_module'
* removed a lot of misplaced shebangs.Steve 'Ashcrow' Milner2008-01-131-2/+0
|
* apply patch from Al Tobey <tobert@gmail.com>Adrian Likins2008-01-031-7/+27
| | | | | | >The attached patch renames the virt module's info() method to state(), >then adds a new info() method that returns all of libvirt's info() >data.
* Fix something I accidentally committed to the virt module that doesn't need ↵Michael DeHaan2007-10-261-11/+1
| | | | to be there.
* Adds the filetracker module, originally developed by fordship, with some ↵Michael DeHaan2007-10-261-1/+10
| | | | | | | | | tweaks. "func spec call filetracker track filename" can be used to track a file, and "func spec call filetracker untrack filename" removes it. Then it shows up with lots of data using "func spec call filetracker inventory". Addition can also specify for the contents of data in the said files to be noted in inventory. Additionally, the inventory function can be told to return data structures instead of an easily-diffable list, and the checksums can be enabled/disabled.
* Add a new method "inventory" which will be the default method func-inventory ↵Michael DeHaan2007-10-241-10/+11
| | | | | | | | will call, so that modules that have non-constant data (like the process module) won't record their data in func-inventory by default. Only modules that have mostly-static data will have an inventory method, though often this will be aliased to their existing info() method -- but maybe not always.
* add a .info attribute so virt status is stored as part of inventoryAdrian Likins2007-10-241-0/+10
| | | | sweeps in func-inventory
* Moved code under the func namespace.Devan Goodwin2007-10-021-0/+272
Previously we had overlord, minion, modules, and func all at the root of the source tree. After install these would all be shuffled below func. Relocated them in the source tree to reflect this.