Versions this guide is based on:

EVE Image Name Downloaded Filename Version vCPUs vRAM
timos-14.0.R7 TiMOS-SR-14.0.R7-vm.zip      
 timos-15.0.R3  TiMOS-SR-15.0.R3-vm.zip      

TiMOS-SR-14.0.R7-vm.zip

 

Other versions should also be supported following bellow's procedure.

 

Make sure you are running most recent EVE version:

apt-get update
apt-get upgrade

Upload the downloaded image to the EVE using for example FileZilla or WinSCP. Then login as root using SSH protocol, locate the uploaded file and uncompress it:

mkdir tmp
cd tmp
unzip ../TiMOS-SR-14.0.R7-vm.zip

Create the folder for HDD image and move it:

mkdir -p /opt/unetlab/addons/qemu/timos-14.0.R7
ln -s /opt/unetlab/addons/qemu/timos-14.0.R7 /opt/unetlab/addons/qemu/timoscpm-14.0.R7
ln -s /opt/unetlab/addons/qemu/timos-14.0.R7 /opt/unetlab/addons/qemu/timosiom-14.0.R7
mv vm/7xxx-i386/sros-vm.qcow2 /opt/unetlab/addons/qemu/timos-14.0.R7/hda.qcow2 

Clean and fix permissions:

cd ..
rm -rf tmp

 


/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

Default username is admin with password admin.

Add your License into image:

guestfish -a /opt/unetlab/addons/qemu/timos-14.0.R7/hda.qcow2

run

mount /dev/sda1 /

touch /lic

vi /lic

 

vi commands are: i for insert

paste your license

then use key: ':' followed by 'x!' to close and save the file

exit

For Topology Setup:

 

Add a Nokia 7750 SR CPM:

Add a node by clicking + on the left sidebar, or do a right click on the empty grid.

Usally the default template should fit to your needs. But you need to do some small adaptions:

- Change Management Address

- Check if the correct license is choosen (same version then image release)

The default deployment of the Nokia 7750 VSR-SIM (vSim) is a 7750 SR12 as a distributed model.
That means, that the CPM (control processing module) and the IOMs (Input Output Modul) are separeted into 2 VMs and connected via the SF (Switching Fabric) 

To use a different chassis, you can edit the TimosLine for different chassis:
Supported chassis can be found in appendix C of the VSR INSTALLATION AND SETUP GUIDE

If You pasted your license into the image, fill the field Timos license with value:

 

cf3:\lic

 

 

 

Add a Nokia 7750 SR IOM and connect to CPM:

The default deployment of the Nokia 7750 VSR-SIM (vSim) is a distributed model.
That means, that the CPM (control processing module) and the IOMs (Input Output Modul) are separeted into 2 VMs and connected via the SF (Switching Fabric) 

In the TimosLine you can configure any supported card for the selected chassis.

- Check for the same image release as the CPM

- Check dependency for software release and "Hardware" (e.g. CPM5 and R12 is not possible)

Connect CPM and IOM via the plug-symbol (just draw a connection) on the SF Port

 

 

Add multiple IOMs and connect to CPM:

If you have to add more then one IOM, you have to add a Network (which is basicly a linux-bridge). That is because the CPM/IOM has only one switching fabric port.

Use the Network: "Bridge" 

 

Add a Network and connect to CPM:

Add a ManagementNet to your Cpm's!
The ManagementNet is needed to reach the license-server, or the reachability vis ssh.

The network Management is a bridge on the host which is attached to eht0.
The network Cloud 1 is a bridge on the host which is attached to eth1 and so on.... 

Optional: a local license on the server is also possible

 

 

Interconnect Nodes:

Interconnecting is realised just by just drawing a connection via the plug-symbol (just draw a connection)

Interconnecting is only possible when the VM/Node is stopped

 

Configure your configured Cards:

After booting, you can configure your node as you would expect it from "real" hardware.

 

 

Some information for Timos line:

 

SMBIOS provides a convenient way to pass VSR-specific configuration information
from the host to the guest so that it is available to VSR software when it boots. When
a VSR VM is started, the VSR software reads the product entry of the SMBIOS
system block. If the product entry begins with 'TIMOS:' (without the quotes and case
insensitive), VSR recognizes the string that follows as containing important
initialization information. The string following the 'TIMOS:' characters contains one
or more attribute-value pairs formatted as follows:
attribute1=value1 attribute2=value2 attribute3=value3
This pattern continues until all attributes have been specified.

 

This is for the VSR-I/D <- This is the easy part:

For the VSR-SIM (Nokia 7750 VSR CPM/IOM) it is more depending on Chassis that you want to virtualize and the SoftwareRelease.

This picture contains the most possible options, but remind that not all chassis accept any type of card or mda...

 

In principle, it could look like something like this:

Virtual machine 1 (CPM A)
TIMOS:slot=A chassis=SR-7 card=sfm3-7

Virtual machine 2 (CPM B)
TIMOS:slot=B chassis=SR-7 card=sfm3-7

Virtual machine 3 (IOM 1)
TIMOS:slot=1 chassis=SR-7 card=iom3-xp mda/1=isa-tunnel mda/2=m1-10gb-xfp

Virtual machine 4 (IOM 2)
TIMOS:slot=2 chassis=SR-7 card=iom3-xp mda/1=isa-tunnel mda/2=m1-10gb-xfp