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/virnetdevopenvswi...
(the @attachedmac_ex_id variable contains mac - see line 69).
But maybe I've misunderstood the question.
Michal