A.115 importAssembly

Imports and adds an assembly to a storage repository.


importAssembly Repository instance url=value [ proxy=value ]

Where instance is:

{ id=value | name=value }


This command imports and adds an assembly file to a storage repository. The imported assembly is unpacked and each virtual machine is contained within an AssemblyVm object. The AssemblyVm objects are created in the same storage repository as the original assembly file. Use the list AssemblyVm command to find the name and ID of the new AssemblyVm objects, then use the createVmFromAssembly command to create a virtual machine templates from each AssemblyVm object.


The following table shows the available options for this command.



Repository instance

The storage repository in which to import the assembly.


The URL of the assembly. Note that if you quote this argument, the forward slashes in the URL should be escaped. This is illustrated in the example.


The IP address or hostname of a proxy server to use when importing the assembly.

{ id=value | name=value }

The instance of the object using either the id or name option, for example name=MyServer.


Example A.146 Importing an assembly to a storage repository

OVM> importAssembly Repository name=MyRepository url="http:////example.com//myassembly.ova"

See Also