[openstack-dev] REST API collation and visualization
Neil Jerram
Neil.Jerram at metaswitch.com
Mon Nov 16 17:52:42 UTC 2015
On 16/11/15 16:37, Neil Jerram wrote:
> Hi there,
>
> I'm interested in collating all the REST API exchanges to and between
> OpenStack components, and presenting / visualizing all those in an
> easily comprehensible way. Is there already some tool to do that?
>
> Many thanks,
> Neil
Well here's a start anyway, for capturing requests into Neutron:
$ sudo tshark -i any -d tcp.port==9696,http -f 'tcp port 9696' -V -Y
http | awk -f filter.awk > pcap.txt
where filter.awk is:
--------------cut here---------------
BEGIN {
disp = 0;
}
/^[A-Z]/ {
disp = 0;
}
/^Hypertext/ {
disp = 1;
}
/^Java/ {
disp = 1;
}
{
if (disp) print;
}
--------------cut here---------------
But I'm guessing that more developed things already exist....?
Neil
More information about the OpenStack-dev
mailing list