<div dir="ltr">I agree,<div><br></div><div>The client should pass the query</div><div><br></div><div>Eyal</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 5, 2016 at 9:23 AM, Afek, Ifat (Nokia - IL) <span dir="ltr"><<a href="mailto:ifat.afek@nokia.com" target="_blank">ifat.afek@nokia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
vitrage topology show has a different behavior for a tree and a graph.<br>
<br>
In case it is called with no query:<br>
* For a tree it returns the node, zone, host and instances<br>
* For a graph it returns everything<br>
<br>
I don't think that the selected topology representation should affect the type of entities returned by the API. I would expect to get the same entities, just organized differently. However, I understand that returning all entities might not result in a tree structure.<br>
<br>
Maybe we force the client to call it with query, and then fail if the result is not a tree?<br>
Other thoughts?<br>
<br>
Ifat.<br>
<br>
<br>
<br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br></div>