<p dir="ltr"><br>
On Sep 30, 2013 12:32 PM, "Michal Privoznik" <<a href="mailto:mprivozn@redhat.com">mprivozn@redhat.com</a>> wrote:<br>
><br>
> On 30.09.2013 10:08, Vasiliy Tolstov wrote:<br>
> > Hi all.<br>
> > I'm using vs witch and libvirt 1.2.<br>
> > I'm write vswitch controller and want to react on up/down port in<br>
> > virtual switch.<br>
> > All fork fine, but message sent to controller does not contain Mac<br>
> > address of added interface. Does this libvirt problem or this is only<br>
> > vswitch error?<br>
> ><br>
><br>
> From the code I think we do send the interface's MAC:<br>
><br>
><br>
> <a href="http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/util/virnetdevopenvswitch.c;h=daa2bfa2af99a724ef9238d16127c85cedffa5a1;hb=HEAD#l132">http://libvirt.org/git/?p=libvirt.git;a=blob;f=src/util/virnetdevopenvswitch.c;h=daa2bfa2af99a724ef9238d16127c85cedffa5a1;hb=HEAD#l132</a><br>

><br>
> (the @attachedmac_ex_id variable contains mac - see line 69).<br>
><br>
> But maybe I've misunderstood the question.<br>
><br>
> Michal<br></p>
<p dir="ltr">Thanks, Michal. Yes as see that libvirt send mac. I'm try to ask now in vswitch list.</p>