VirtualBox

Changeset 16686 in vbox


Ignore:
Timestamp:
Feb 11, 2009 6:53:21 PM (16 years ago)
Author:
vboxsync
Message:

Main: API documentation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r16669 r16686  
    28572857        <link to="IVirtualBox::createAppliance" />.
    28582858
    2859         Importing an OVF appliance into VirtualBox is a three-step process:
     2859        Importing an OVF appliance into VirtualBox involves the following sequence
     2860        of API calls:
    28602861
    28612862        <ol>
     
    28652866
    28662867          <li>
    2867           Call <link to="#open" /> with the full path of the OVF file you would like to
    2868           import. So long as this file is syntactically valid, this will succeed and return
    2869           an instance of IAppliance that contains the parsed data from the OVF file.
     2868          On the new object, call <link to="#read" /> with the full path of the OVF file you
     2869          would like to import. So long as this file is syntactically valid, this will succeed
     2870          and return an instance of IAppliance that contains the parsed data from the OVF file.
    28702871          </li>
    28712872
    2872           <li>The caller should then invoke <link to="#interpret" />, which
    2873           analyzes the OVF data and sets up the contents of the IAppliance attributes
    2874           accordingly. These can be inspected by a VirtualBox front-end such as the GUI,
    2875           and the suggestions can be displayed to the user. For example, the virtual system
    2876           will contain the virtual hardware prescribed by the OVF (network and hardware
    2877           adapters, virtual disk images, memory size and so on), and the GUI can then give
    2878           the user the option to confirm and/or change these suggestions.
     2873          <li>Next, call <link to="#interpret" />, which analyzes the OVF data and sets up the
     2874          contents of the IAppliance attributes accordingly. These can be inspected by a
     2875          VirtualBox front-end such as the GUI, and the suggestions can be displayed to the
     2876          user. In particular, the <link to="#virtualSystemDescriptions" /> array contains
     2877          instances of <link to="IVirtualSystemDescription" /> which represent the virtual
     2878          systems in the OVF, which in turn describe the virtual hardware prescribed
     2879          by the OVF (network and hardware adapters, virtual disk images, memory size and so on).
     2880          The GUI can then give the user the option to confirm and/or change these suggestions.
    28792881          </li>
    28802882
    2881           <li>Finally, the caller should invoke <link to="#importMachines" />, which will
    2882           create virtual machines in VirtualBox as instances of <link to="IMachine" /> that
    2883           match the information in the virtual system descriptions.
     2883          <li>If desired, call <link to="IVirtualSystemDescription::setFinalValues" /> for
     2884          each virtual system to override the suggestions made by VirtualBox.
     2885          </li>
     2886
     2887          <li>Finally, call <link to="#importMachines" /> to  create virtual machines in
     2888          VirtualBox as instances of <link to="IMachine" /> that match the information in the
     2889          virtual system descriptions.
    28842890          </li>
    28852891        </ol>
     
    28892895    <attribute name="path" type="wstring" readonly="yes">
    28902896      <desc>Path to the main file of the OVF appliance, which is either the <tt>.ovf</tt> or
    2891       the <tt>.ova</tt> file passed to <link to="IVirtualBox::read" />.</desc>
     2897      the <tt>.ova</tt> file passed to <link to="IAppliance::read" />.</desc>
    28922898    </attribute>
    28932899
     
    29342940    <method name="read">
    29352941      <desc>
     2942        Reads an OVF file into the appliance object.
     2943
    29362944        The OVF standard suggests two different file formats:
    29372945
     
    1268312691        </note>
    1268412692        <note>
    12685           Data collection continues behind the scenes after call to @c
    12686           queryMetricsData. The return data can be seen as the snapshot of
     12693          Data collection continues behind the scenes after call to
     12694          @c queryMetricsData. The return data can be seen as the snapshot of
    1268712695          the current state at the time of @c queryMetricsData call. The
    1268812696          internally kept metric values are not cleared by the call. This makes
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette