Module: Xen

Defined in:
lib/xen/lvm.rb,
lib/ruby-xen.rb,
lib/ruby-xen.rb,
lib/xen/host.rb,
lib/xen/slice.rb,
lib/xen/backup.rb,
lib/xen/command.rb,
lib/xen/instance.rb,
lib/xen/config_file.rb,
lib/xen/xen_tools_conf.rb

Defined Under Namespace

Modules: Parentable Classes: Backup, Bridge, Bridges, Command, ConfigFile, Host, Instance, Slice, Vbd, Vif, VolumeGroup, XenToolsConf

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/backups/xen'
BACKUP_FILE_EXT =

File extension for backups

'.tar'
TEMPLATES_BASE =
File.join(File.dirname(__FILE__), 'templates')
XEN_TOOLS_CONFIG_FILE =
'/etc/xen-tools/xen-tools.conf'