docs: Convert 'drvtest' page to rST

The first sentence was moved up a paragraph to stop treating the first
sub-heading as a page subtitle.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
Peter Krempa 2022-03-10 17:57:53 +01:00
parent 849e56390e
commit ada572f045
3 changed files with 22 additions and 28 deletions

View File

@ -1,27 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
<h1>Test "mock" driver</h1>
<h2>Connections to Test driver</h2>
<p>
The libvirt Test driver is a per-process fake hypervisor driver,
with a driver name of 'test'. 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:
</p>
<pre>
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)
</pre>
</body>
</html>

21
docs/drvtest.rst Normal file
View File

@ -0,0 +1,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)

View File

@ -22,7 +22,6 @@ docs_html_in_files = [
'csharp', 'csharp',
'dbus', 'dbus',
'docs', 'docs',
'drvtest',
'drvvbox', 'drvvbox',
'drvvirtuozzo', 'drvvirtuozzo',
'drvvmware', 'drvvmware',
@ -81,6 +80,7 @@ docs_rst_files = [
'drvopenvz', 'drvopenvz',
'drvqemu', 'drvqemu',
'drvsecret', 'drvsecret',
'drvtest',
'errors', 'errors',
'formatbackup', 'formatbackup',
'formatcheckpoint', 'formatcheckpoint',