[libvirt] [PATCH] docs: rudimentary phyp documentation

Eduardo Otubo otubo at linux.vnet.ibm.com
Mon Oct 1 13:46:22 UTC 2012


On Thu, Sep 27, 2012 at 04:23:22PM -0600, Eric Blake wrote:
> Based on a report that phyp is undocumented:
> https://www.redhat.com/archives/libvirt-users/2012-July/msg00013.html
> 
> * docs/drvphyp.html.in (phyp): New file.
> * docs/drivers.html.in: List it.
> ---
> 
> Following up on an old thread.  This is probably incomplete or
> possibly even inaccurate, but I'd rather have something than nothing.
> If I don't get any feedback within a week, I'm pushing this as-is.
> 
>  docs/drivers.html.in |  1 +
>  docs/drvphyp.html.in | 46 ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 47 insertions(+)
>  create mode 100644 docs/drvphyp.html.in
> 
> diff --git a/docs/drivers.html.in b/docs/drivers.html.in
> index 24387d0..307d286 100644
> --- a/docs/drivers.html.in
> +++ b/docs/drivers.html.in
> @@ -29,6 +29,7 @@
>        <li><strong><a href="drvvmware.html">VMware Workstation/Player</a></strong></li>
>        <li><strong><a href="drvxen.html">Xen</a></strong></li>
>        <li><strong><a href="drvhyperv.html">Microsoft Hyper-V</a></strong></li>
> +      <li><strong><a href="drvphyp.html">IBM PowerVM (phyp)</a></strong></li>
>      </ul>
> 
>      <h2><a name="storage">Storage drivers</a></h2>
> diff --git a/docs/drvphyp.html.in b/docs/drvphyp.html.in
> new file mode 100644
> index 0000000..7d97fa4
> --- /dev/null
> +++ b/docs/drvphyp.html.in
> @@ -0,0 +1,46 @@
> +<html><body>
> +    <h1>IBM PowerVM hypervisor driver (phyp)</h1>
> +    <ul id="toc"></ul>
> +    <p>
> +        The IBM PowerVM driver can manage both HMC and IVM PowerVM
> +        guests.  VIOS connections are tunneled through HMC.
> +    </p>
> +
> +
> +    <h2><a name="project">Project Links</a></h2>
> +    <ul>
> +      <li>
> +        The <a href="http://www-03.ibm.com/systems/power/software/virtualization/index.html">IBM
> +        PowerVM</a> hypervisor
> +      </li>
> +    </ul>
> +
> +
> +    <h2><a name="uri">Connections to the PowerVM driver</a></h2>
> +    <p>
> +        Some example remote connection URIs for the driver are:
> +    </p>
> +<pre>
> +phyp://user@hmc/system (HMC connection)
> +phyp://user@ivm/system (IVM connection)
> +</pre>
> +    <p>
> +        <strong>Note</strong>: In contrast to other drivers, the
> +        PowerVM (or phyp) driver is a client-side-only driver. Therefore, the
> +        <a href="remote.html">remote transport mechanism</a> provided by the
> +        remote driver and libvirtd will not work, and you cannot use URIs like
> +        <code>phyp+ssh://example.com</code>.
> +    </p>

I think it whould be interesting to point that phyp uses ssh internally,
so phyp+ssh would be redundant.

> +
> +
> +    <h3><a name="uriformat">URI Format</a></h3>
> +    <p>
> +        URIs have this general form (<code>[...]</code> marks an
> +        optional part, <code>{...|...}</code> marks a mandatory choice).
> +    </p>
> +<pre>
> +phyp://[username@]{hmc|ivm}/managed_system

Actually, in the entire phyp URI is mandatory, the correct way should be:

phyp://username@{hmc|ivm}/managed_system

Or are you assuming that the username can be used from environment
variable like in ssh?

Regards,

-- 
Eduardo Otubo
Software Engineer
Linux Technology Center
IBM Systems & Technology Group




More information about the libvir-list mailing list