home

Supported platforms

Vyatta documentation

Learn how to install, configure, and operate the Vyatta Network Operating System (Vyatta NOS) and Orchestrator, which help drive our virtual networking and physical platforms portfolio.

upload virtualization image <image> to <URI> [routing-instance <name>]

Uploads an image located relative to the /var/lib/libvirt/images folder to the remote server by using FTP, SFTP, or SCP.

upload virtualization imageimage to uri [ authentication username username-text [ password password-text ] ] [ disable-verification ] [ routing-instance name ]
image

An image location relative to the /var/lib/libvirt/images folder.

uri
An FTP, SFTP, or SCP location for an image.
username username-text
Specifies a username.
password password-text
Specifies a password. The system prompts for a password, if one is not used.
disable-verification
Disables the SSL certificate verification or SSH host key verification.
name
Specifies the name of the routing instance to reach the host on which the image must be uploaded to. The default routing-instance is used if a value for the routing-instance keyword is not specified.

Operational mode.

Use this command to upload an image located relative to the /var/lib/libvirt/images folder to the remote server by using FTP, SFTP, or SCP.

For information about VRF configuration, refer to the VRF Support chapter in the .

The upload virtualization image command displays the following information:

Output field Description
% Total Size of the uploaded image file.
% Received Size of the image file received.

Not relevant for uploads.

% Xferd Size of the uploaded image.
Average Speed Dload Average speed of the download.

Not relevant for uploads.

Average Speed Upload Average speed of the upload.
Time Total Total time required for the upload.
Time Spent Time spent since the upload started.
Time Left Time left to complete the upload.
Current Speed Current speed of the upload.

The command output is not displayed until the download has finished.

The following example shows how to upload an image to an SCP location.

vyatta@vyatta:~$ upload virtualization image another-image.qcow2 to scp://10.10.1.1/home/image-user/another-image-used.qcow2 authentication username image-user
Enter password for 'image-user': 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  292M    0     0    0  292M      0  48.6M --:--:--  0:00:06 --:--:-- 48.6M
100  292M    0     0    0  292M      0  48.6M --:--:--  0:00:06 --:--:-- 48.6M