[one-users] change ebtables-xen to work with KVM?
Shi Jin
jinzishuai at gmail.com
Mon Sep 21 14:34:44 PDT 2009
Hi, there,
I am reading the documentation at
http://www.opennebula.org/doku.php?id=documentation:rel1.4:nm
to isolate the virtual networks. It seems that we need to change the
ebtables-xen script a little bit to make it work for KVM, right?
I guess all we need to do is the replace the following two lines to
use virsh or something similar, right?
vm_id=`sudo xm domid #{VM_NAME}`.strip
networks=`sudo xm network-list #{vm_id}`.split("\n")[1..-1]
Has anyone worked out a solution already so that I don't have to
reinvent the wheel? Thanks a lot.
Shi
--
Shi Jin, Ph.D.
More information about the Users
mailing list