File: drvtest.rst

package info (click to toggle)
libvirt 11.8.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 208,540 kB
  • sloc: ansic: 534,712; xml: 319,206; python: 11,974; perl: 2,629; sh: 2,185; makefile: 448; javascript: 126; cpp: 22
file content (21 lines) | stat: -rw-r--r-- 811 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
==================
Test "mock" driver
==================

The libvirt ``test`` driver is a per-process fake hypervisor driver.

Connections to Test driver
--------------------------

The driver maintains all its state in memory. It can start with
a pre-configured default config, or be given a path to an alternate config. Some
example connection URIs for the libvirt driver are:

::

   test:///default                     (local access, default config)
   test:///path/to/driver/config.xml   (local access, custom config)
   test+unix:///default                (local access, default config, via daemon)
   test://example.com/default          (remote access, TLS/x509)
   test+tcp://example.com/default      (remote access, SASl/Kerberos)
   test+ssh://root@example.com/default (remote access, SSH tunnelled)