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


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to