<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>We need to update the documentation :)</div><div><br></div><div>For your use case I think it could be something like this:</div><div><br></div><div>G.V().Has('Type', 'container', 'Namespace', Regex('.*my-namespace.*')).Descendants()<br></div><div><br></div><div>The "Descendants" step will retrieve everything belonging to what you selected before.</div><div><br></div><div>There are few other gremlin things that have been introduced and that need to be added to the documentation.</div><div><br></div><div>i hope this will help</div><div>Sylvain<br></div><div><br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Wed, Nov 7, 2018 at 3:11 PM Jorge Luis Tudela Gonzalez de Riancho <<a href="mailto:jtudelag@redhat.com">jtudelag@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hi guys,<div><br></div><div>Although I have used skydive before, Im having some troubles with queries.</div><div>I have been checking the docs [1], but still, no luck.</div><div><br></div><div>I would like to filter a few OpenShift Namespaces, using a regexp for the Namespace name.</div><div>Let's say the regexp is "my-namespace-*"</div><div><br></div><div>So, I would like to show all the elements belonging to the namespaces. I guess maybe only containers could be shown, as containersmight be the only ones with related OpenShift Namespace metadata...</div><div><br></div><div>Sth like:<br></div><div><div><br></div><div>G.V().Has('Name', '**', 'Type', 'container','Filter', 'Namespace', '*my-namespace*' ).Out()</div></div><div><br></div><div>* So, would this be possible?</div><div><br></div><div>Thanks!!</div><div><br></div><div>PS: I can not subscribe to <a href="mailto:skydive-dev@redhat.com" target="_blank">skydive-dev@redhat.com</a> in<a href="https://post-office.corp.redhat.com/mailman/listinfo" target="_blank"> https://post-office.corp.redhat.com/mailman/listinfo</a>, I can not find the list there...<br clear="all"><div><br></div><div>[1] <a href="http://skydive.network/documentation/api-gremlin" target="_blank">http://skydive.network/documentation/api-gremlin</a></div><div><br></div>-- <br><div dir="ltr" class="m_5945429701474031829gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span style="font-family:verdana,sans-serif;font-size:12.8px">Jorge Tudela</span><br></div><div style="font-size:12.8px"><font face="verdana, sans-serif">Infrastructure Consultant - Red Hat Iberia</font></div><div style="font-size:12.8px"><font face="verdana, sans-serif"><br></font></div><div style="font-size:12.8px"><font face="verdana, sans-serif">Cell: +34 626 860 421</font></div><div style="font-size:12.8px"><font face="verdana, sans-serif">Email: <a href="mailto:jtudelag@redhat.com" style="color:rgb(17,85,204)" target="_blank">jtudelag@redhat.com</a></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Skydive-dev mailing list<br>
<a href="mailto:Skydive-dev@redhat.com" target="_blank">Skydive-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/skydive-dev" rel="noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/skydive-dev</a><br>
</blockquote></div>