Introduction
If you are attending the NoF Tutorial session session (IEEE NoF tutorial), kindly download and install following, before the hands-on.
System / Software | Source / Image / command / | Comments |
---|---|---|
Virtualization /Hypervisor | Oracle Virtualbox | To run VMs. |
Virtual Machine | Download-link | For running Test and DUTs |
Create 2 VMs | Step-1 | |
Exchange of SSH-Keys between VMs | Step-2 | |
Install New Version of T-Rex | Step-3 | |
Install Test Automation Tools | Step-4 |
The Installation and configuration details are provided below.
Prerequisites
Handson-Sessions
Handon-Session-0: (Please complete this before the tutorial)
Step-1: Creating VMs.
- VM1 (DUT) : This is just a standard VM-from-ISO installation procedure. You will find many step-by-step description Ex: https://linuxhint.com/install_ubuntu_18-04_virtualbox/ on this, including Videos (Ex: https://www.youtube.com/watch?v=QbmRXJJKsvs) .
- Please ensure that number of interfaces are 4 and configured according to the table above.
- VM2 (TGEN): Same as above - or you can just clone it!.
- Please ensure that number of interfaces are 4 and configured according to the table above.
Network | Network/Adapter Type (Virtualbox) | Interfaces on DUT | Interfaces on TGen | Comments |
---|---|---|---|---|
test1 | Internal | eth3 | eth3 | Inter-VM ONLY |
test2 | Internal | eth2, | eth2, | Inter-VM ONLY |
admin | Bridged | eth1 | eth1 | Communicate with VMs from Host. |
Internet | NAT | eth0 | eth0 | For Internet Access |
The names of the interfaces maybe different - for example on Ubuntu it may be enp0s2/3/4...
Step-2: Exchange SSH Keys
To ensure smoother access, ensure DUT-VM can ssh to TGEN-VM without password-probe, copy the SSH public keys. The step to follow:
- If no identity is created yet (ex: if you don't find id_rsa.pub in ~/.ssh folder) Run ssh-keygen. It will generate the necessary identify.
- Use ssh-copy-id command. ssh-copy-id username_of_tgen_vm@ipaddress_of_tgen_vm
Step-3: