On Sep 30, 2013 12:32 PM, "Michal Privoznik" <mprivozn(a)redhat.com> wrote:
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
Thanks, Michal. Yes as see that libvirt send mac. I'm try to ask now in
vswitch list.