Welcome to pyxs’s documentation!¶
pyxs¶
Pure Python bindings for communicating with XenStore. Currently two backend options are available:
- over a Unix socket with
UnixSocketConnection
; - over XenBus with
XenBusConnection
.
Which backend is used is determined by the arguments used for
Client
initialization, for example the
following code creates a Client
instance,
working over a Unix socket:
>>> Client(unix_socket_path="/var/run/xenstored/socket")
<pyxs.client.Client object at 0xb74103cc>
>>> Client()
<pyxs.client.Client object at 0xb74109cc>
Use xen_bus_path
, if initialize a Client
over XenBus:
>>> Client(xen_bus_path="/proc/xen/xenbus")
<pyxs.client.Client object at 0xb7410d2c>
copyright: |
|
---|
Contents: