<div dir="ltr"><span style="font-size:12.8px">   Hi Marcos,</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">For the moment it's not possible to filter out the Flows with a specific VNI, </div><div style="font-size:12.8px">but a patch [1] is underway to support that by adding a network.ID on each UUID where ID is GRE.key or Geneve.ID or VXLAN.VNI  and Link.ID for <a href="http://vlan.id/" target="_blank">VLAN.ID</a></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">So it would be possible to filter out all flows with a kind of query like that : </div><div style="font-size:12.8px">   G.V().Flows().Has(parentUUID, Within(  G.V().Flows().Has(<wbr>application, 'VXLAN', network.ID,<target_VNI>).<wbr>Dedup()  ))</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">But keep it mind it's better practice to start only capture interfaces of a specific namespace, for example :<br></div><div style="font-size:12.8px">   G.V().Has('Type', 'netns', 'Name', 'vm1').Out().Has('State', 'UP')<br></div><div style="font-size:12.8px"> <br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Regards,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Nicolas</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">[1] <a href="https://softwarefactory-project.io/r/#/c/6206/" target="_blank">https://softwarefactory-<wbr>project.io/r/#/c/6206/</a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 22, 2017 at 3:22 AM, Marcos Entenza Garcia <span dir="ltr"><<a href="mailto:mak@redhat.com" target="_blank">mak@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">All,<div><br></div><div>I've got a Skydive deployment in an OCP ovs-multitenat Cluster and I was wondering if there is any method I could use to filter the traffic for just one of the namespaces as all of them has different VNID. The flow schema doesn't seem to support that and can't find that filter to be added to a Gremlin query.</div><div><br></div><div>Any ideas?</div><div><br></div><div>Thanks,</div><div>Mak</div></div>
<br>______________________________<wbr>_________________<br>
Skydive-dev mailing list<br>
<a href="mailto:Skydive-dev@redhat.com">Skydive-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/skydive-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/skydive-dev</a><br>
<br></blockquote></div><br></div>