Cisco XRv

Versions this guide is based on:

EVE Image Foldername Downloaded Filename Version vCPUs vRAM
xrv-k9-5.1.1 iosxrv-k9-demo-5.1.1_2.ova 5.1.1 2 4096
xrv-k9-5.2.1 iosxrv-k9-demo-5.2.0.ova 5.2.1 1 3072
xrv-k9-5.2.2 iosxrv-k9-demo-5.2.2.ova 5.2.2 1 3072

 

Instructions
Other versions should also be supported following bellow’s procedure.

From EVE CLI, create tmp folder:

mkdir abc
cd abc

Upload the downloaded image to the EVE root/tmp folder using for example FileZilla or WinSCP. and from CLI uncompress it:

tar xvf iosxrv-k9-demo-5.1.1_2.ova 

Convert the disk to the qcow2 format:

/opt/qemu/bin/qemu-img convert -f vmdk -O qcow2 iosxrv-demo.vmdk hda.qcow2

Create the folder for HDD image and move it:

mkdir /opt/unetlab/addons/qemu/xrv-k9-5.1.1
mv hda.qcow2 /opt/unetlab/addons/qemu/xrv-k9-5.1.1

Clean and fix permissions:

cd ..
rm -rf abc
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

From the 5.5.2 image, the conversion could create a very small qcow2 file. In this case:

  1. import the ova file into a VMware platform;
  2. grab the deployed vmdk;
  3. convert the vmdk to qcow2.

Default username is admin without password.