Module: Xen

Defined in:
lib/ruby-xen.rb,
lib/ruby-xen.rb

Defined Under Namespace

Modules: Parentable Classes: Backup, Command, Config, Host, Instance, Slice, Vbd, Vif

Constant Summary collapse

XEN_DOMU_CONFIG_DIR =

Location of Xen config files

'/etc/xen'
INSTANCE_OBJECT_LIFETIME =

We don’t want out library to hit Xen too often (premature optimization perhaps?) so we keep information about Xen instances in an object. Specify how long before the object expires.

5
TEMPLATE_DIR =

General location for config file templates

File.expand_path(File.dirname(__FILE__) + '/../lib/templates')
CONFIG_FILE_EXTENSION =

Extension for Xen domU config files

'.cfg'
BACKUP_DIR =

Directory for backups of system images

'/var/xen_images'
BACKUP_FILE_EXT =

FIle extension for backups

'.tar'