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