[libvirt] Openvswitch support question

Michal Privoznik mprivozn at redhat.com
Mon Sep 30 08:32:50 UTC 2013


On 30.09.2013 10:08, Vasiliy Tolstov wrote:
> Hi all.
> I'm using vs witch and libvirt 1.2.
> I'm write vswitch controller and want to react on up/down port in
> virtual switch.
> All fork fine, but message sent to controller does not contain Mac
> address of added interface. Does this libvirt problem or this is only
> vswitch error?
> 

>From the code I think we do send the interface's MAC:


http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/util/virnetdevopenvswitch.c;h=daa2bfa2af99a724ef9238d16127c85cedffa5a1;hb=HEAD#l132

(the @attachedmac_ex_id variable contains mac - see line 69).

But maybe I've misunderstood the question.

Michal




More information about the libvir-list mailing list