Module: XenStore
- Defined in:
- lib/xsrb.rb,
lib/xsrb/utils.rb,
lib/xsrb/client.rb,
lib/xsrb/packet.rb,
lib/xsrb/version.rb,
lib/xsrb/transport.rb,
lib/xsrb/connection.rb,
lib/xsrb/exceptions.rb
Overview
Module XenStore implements XenStore access APIs on Ruby. The implementation is modelled on the pyxs python module.
Defined Under Namespace
Modules: Connection, Exceptions, Transport, Utils Classes: Client, Packet
Constant Summary collapse
- MAX_UINT =
xs_wire.h uses uint32_t
(2**32).freeze
- NUL =
"\x00".freeze
- CAPS_FILE =
'/proc/xen/capabilities'.freeze
- OPERATIONS =
{ debug: 0, directory: 1, read: 2, get_perms: 3, watch: 4, unwatch: 5, transaction_start: 6, transaction_end: 7, introduce: 8, release: 9, get_domain_path: 10, write: 11, mkdir: 12, rm: 13, set_perms: 14, watch_event: 15, error: 16, is_domain_introduced: 17, resume: 18, set_target: 19, restrict: 20, reset_watches: 21, invalid: MAX_UINT }.freeze
- VERSION =
'0.0.1'.freeze