Re: [vpp-dev] vpp graph dump

2017-08-17 Thread Eyal Lavee
Thanks Luke.

The show vlib graph and show features were enough to get me started...

The main downside I found is that the show graph only shows the currently 
existing dynamic graph topology, while some graph nodes/arcs are only added 
when specific features are enabled. This however is rooted in the highly 
modular design, and would not be any different with your tool.

I have yet to find a top-down method to understand the supported feature paths 
and the mapping to node graphs. I am currently fiddling through the clis (using 
the show help and the correlating API documentation to decipher the 
capabilities), trying to enable various features/functionality, generating the 
packet trace, and following the code through there.

Perhaps I should be looking at this first from the features list and not 
through the graph nodes (which are more implementation details)? How would be 
the best way to go about understanding each supported feature and how to 
control it via the clis/apis? I'm basically looking for the "user manual"

Regards,
Eyal

From: Luke, Chris [mailto:chris_l...@comcast.com]
Sent: Wednesday, August 16, 2017 23:59
To: Eyal Lavee <ela...@mellanox.com>; vpp-dev@lists.fd.io
Subject: RE: vpp graph dump

Eyal,

I didn't release that code because it was embedded into VPP and fragile; I had 
intended to rewrite it to make use of the API and never got round to it.

As Ole mentioned the API should now have all the required data; if you can wait 
until I return from vacation (read: remind me in September so I don't forget) I 
may have a stab at a small standalone utility using the API to generate the 
.dot and ultimately the .svg as I did before. There were many suggestions for 
adding things like runtime statistics to the edges etc which are still on the 
wishlist.

But if it's just the packet path, again as Ole mentions, "show vlib graph" is 
>90% of what you likely need.

Chris.

From: vpp-dev-boun...@lists.fd.io<mailto:vpp-dev-boun...@lists.fd.io> 
[mailto:vpp-dev-boun...@lists.fd.io] On Behalf Of Eyal Lavee
Sent: Tuesday, August 15, 2017 8:23
To: vpp-dev@lists.fd.io<mailto:vpp-dev@lists.fd.io>
Subject: [vpp-dev] vpp graph dump


Is there any method to dump the vpp node graph?
I'm looking to understand the supported feature path(s) without needing to 
reverse engineer from the code.

I have seen a previous post from mid 2016 entitled "[vpp-dev] Node graph 
visualization" on such a potential utility, but there do not seem to be any 
follow-ups to this.

Regards,
Eyal.

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

Re: [vpp-dev] vpp graph dump

2017-08-16 Thread Luke, Chris
Eyal,

I didn't release that code because it was embedded into VPP and fragile; I had 
intended to rewrite it to make use of the API and never got round to it.

As Ole mentioned the API should now have all the required data; if you can wait 
until I return from vacation (read: remind me in September so I don't forget) I 
may have a stab at a small standalone utility using the API to generate the 
.dot and ultimately the .svg as I did before. There were many suggestions for 
adding things like runtime statistics to the edges etc which are still on the 
wishlist.

But if it's just the packet path, again as Ole mentions, "show vlib graph" is 
>90% of what you likely need.

Chris.

From: vpp-dev-boun...@lists.fd.io [mailto:vpp-dev-boun...@lists.fd.io] On 
Behalf Of Eyal Lavee
Sent: Tuesday, August 15, 2017 8:23
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] vpp graph dump


Is there any method to dump the vpp node graph?
I'm looking to understand the supported feature path(s) without needing to 
reverse engineer from the code.

I have seen a previous post from mid 2016 entitled "[vpp-dev] Node graph 
visualization" on such a potential utility, but there do not seem to be any 
follow-ups to this.

Regards,
Eyal.

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev

[vpp-dev] vpp graph dump

2017-08-15 Thread Eyal Lavee

Is there any method to dump the vpp node graph?
I'm looking to understand the supported feature path(s) without needing to 
reverse engineer from the code.

I have seen a previous post from mid 2016 entitled "[vpp-dev] Node graph 
visualization" on such a potential utility, but there do not seem to be any 
follow-ups to this.

Regards,
Eyal.

___
vpp-dev mailing list
vpp-dev@lists.fd.io
https://lists.fd.io/mailman/listinfo/vpp-dev