Testing Harness

From Libreswan
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

move kvmsetup.sh from root to a subdirectory

cisco psk 3des. no pfs, aes

Install fedora 20 to physical machine:

yum install libvirtd libvirt-daemon-driver-qemu libvirt-daemon-kvm qemu-system-x86 screen gcc make flex bison yum install tcpdump sudo netcat virt-manager virt-install expect

add a user 'build' that will run the VMs and test cases. Add it to the qemu/kvm groups

service libvirtd start

git clone libreswan repo

cd libreswan.git cp ./kvmsetup.sh.sample ./kvmsetup.sh [edit to taste - mostly OSTYPE and OSMEDIA]

give build user password-less sudo rights and/or add to wheel group

sh ./testing/libvirt/install.sh

chmod 777 /var/lib/libvirt/qemu