Below is only for Baremetal or hosts running 20.04


  1. Download the bash file and execute with root

    → curl -sL https://drive.labhub.eu.org/0:/upgrades_pnetlab/Focal/install_pnetlab_v6.sh > install.sh
     

    → chmod +x install.sh

    → ./install.sh
      

  2. Please note: We can replace the qcow2 with any valid official image that we are installing.
    Versa Networks Director Image Installation

    1. SSH to KVM/host and log in as root, then create the image directory:

      mkdir /opt/unetlab/addons/qemu/versadir-16.1R2S9
    2. Upload the versa-director-a454c1d-16.1R2S9.qcow2.tbz2 image to the directory /opt/unetlab/addons/qemu/versadir-16.1R2S9/ using a file transfer tool like FileZilla or WinSCP.

    3. Navigate to the created directory:

      cd /opt/unetlab/addons/qemu/versadir-16.1R2S9/
    4. Extract the uploaded tar file to obtain the source files:

      tar xvfj versa-director-a454c1d-16.1R2S9.qcow2.tbz2
    5. Rename the extracted .qcow2 file to virtioa.qcow2:

      mv versa-director-a454c1d-16.1R2S9.qcow2 virtioa.qcow2
    6. Remove the original tar file:

      rm versa-director-a454c1d-16.1R2S9.qcow2.tbz2
    7. Fix permissions:

      /opt/unetlab/wrappers/unl_wrapper -a fixpermissions

  3. Versa Networks Analytics Image Installation

    1. SSH to KVM/host and log in as root, then create the image directory:

      mkdir /opt/unetlab/addons/qemu/versaana-16.1R2S9
    2. Upload the versa-analytics-80561de-16.1R2S9.qcow2.tbz2 image to the directory /opt/unetlab/addons/qemu/versaana-16.1R2S9/ using FileZilla or WinSCP.

    3. Navigate to the created directory:

      cd /opt/unetlab/addons/qemu/versaana-16.1R2S9/
    4. Extract the uploaded tar file to obtain the source files:

      tar xvfj versa-analytics-80561de-16.1R2S9.qcow2.tbz2
    5. Rename the extracted .qcow2 file to virtioa.qcow2:

      mv versa-analytics-80561de-16.1R2S9.qcow2 virtioa.qcow2
    6. Remove the original tar file:

      bash
      CopyEdit
      rm versa-analytics-80561de-16.1R2S9.qcow2.tbz2
    7. Fix permissions:

      bash
      CopyEdit
      /opt/unetlab/wrappers/unl_wrapper -a fixpermissions

  4. Versa Networks VNF Edge Image Installation

    1. SSH to KVM/host and log in as root, then create the image directory:

      mkdir /opt/unetlab/addons/qemu/versafvnf-16.1R2S9
    2. Upload the versa-flexvnf-80561de-16.1R2S9.qcow2.tbz2 image to the directory /opt/unetlab/addons/qemu/versafvnf-16.1R2S9/ using FileZilla or WinSCP.

    3. Navigate to the created directory:

      cd /opt/unetlab/addons/qemu/versafvnf-16.1R2S9/
    4. Extract the uploaded tar file to obtain the .qcow2 image:

      tar xvfj versa-flexvnf-80561de-16.1R2S9.qcow2.tbz2
    5. Rename the extracted .qcow2 file to virtioa.qcow2:

      mv versa-flexvnf-80561de-16.1R2S9.qcow2 virtioa.qcow2
    6. Remove the original tar file:

      rm versa-flexvnf-80561de-16.1R2S9.qcow2.tbz2
    7. Fix permissions:

      /opt/unetlab/wrappers/unl_wrapper -a fixpermissions


Post this we should be able to login to the pnet0 (eth0) IP of your pnetlab server on GUI http://<PNET-IP>/