Draft Proposal GSOC 2019
Andrew Bartlett
abartlet at samba.org
Tue Apr 9 05:38:38 UTC 2019
On Mon, 2019-04-08 at 23:55 +0100, P Mairo via samba-technical wrote:
> Thanks for the feedback,
> - thanks for pointing out the incorrect reference, I'll replace it
> with
> this one :
> https://github.com/wireshark/wireshark/blob/master/doc/README.xml-out
> put,
> as far as the parsing is concerned, I heard a lot of good things
> about
> ElementTree (
> https://stackoverflow.com/questions/1912434/how-do-i-parse-xml-in-pyt
> hon)
> which is included in the Python standard library
> - For the XML parsing, I go from the assumption that the diff of two
> pdml
> files is also a valid pdml file that I can convert to html where what
> I
> call "diff" is just the combination of the two outputs where I'll
> find a
> way to retain which line belongs to which file then use a color
> scheme to
> prettify all that while not being too fancy.
You should also be aware of script/traffic_summary.pl
#! /usr/bin/perl
#
# Summarise tshark pdml output into a form suitable for the load test
tool
#
While we normally only add new Python to Samba, this was a rare
exception, and the simplicity of the script demonstrates that.
Sorry if this makes things more complex, but I wanted to mention it.
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
Samba Developer, Catalyst IT http://catalyst.net.nz/services/samba
More information about the samba-technical
mailing list