Enable the SMBIOS and Qemu Line on Nokia (Alcatel) Devices
Posted: Tue Mar 21, 2017 7:56 pm
In order to emulate the Nokia (Alcatel) vSR in different ways, we need to have an option to include smbios lines and qemu lines:
Here is qemu wrapper with smbios and qemu options.
starting /opt/unetlab/wrappers/qemu_wrapper -T 0 -D 5 -t "7750SR_CPM5A" -F /opt/qemu/bin/qemu-system-x86_64 -d 0 -- -device e1000,netdev=net0,mac=50:00:00:05:00:00 -ne
tdev tap,id=net0,ifname=vunl0_5_0,script=no -device e1000,netdev=net1,mac=50:00:00:05:00:01 -netdev tap,id=net1,ifname=vunl0_5_1,script=no -smp 2 -m 2048 -name 7750SR_CPM5A -uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -hda hda.qcow2 -machine type=pc,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -smbios type=1,product=\"TIMOS:slot=A chassis=SR-12
card=cpm5 " > /opt/
unetlab/tmp/0/b649e067-95a6-4c4a-abae-6a7572331121/5/wrapper.txt 2>&1 &
The smbios and qemu should be a editable fields in the add device.
Look the picture:
Here is qemu wrapper with smbios and qemu options.
starting /opt/unetlab/wrappers/qemu_wrapper -T 0 -D 5 -t "7750SR_CPM5A" -F /opt/qemu/bin/qemu-system-x86_64 -d 0 -- -device e1000,netdev=net0,mac=50:00:00:05:00:00 -ne
tdev tap,id=net0,ifname=vunl0_5_0,script=no -device e1000,netdev=net1,mac=50:00:00:05:00:01 -netdev tap,id=net1,ifname=vunl0_5_1,script=no -smp 2 -m 2048 -name 7750SR_CPM5A -uuid xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx -hda hda.qcow2 -machine type=pc,accel=kvm -serial mon:stdio -nographic -nodefconfig -nodefaults -rtc base=utc -smbios type=1,product=\"TIMOS:slot=A chassis=SR-12
card=cpm5 " > /opt/
unetlab/tmp/0/b649e067-95a6-4c4a-abae-6a7572331121/5/wrapper.txt 2>&1 &
The smbios and qemu should be a editable fields in the add device.
Look the picture: