On Thu, Apr 03, 2014 at 10:04:46PM +0300, Alexandru Copot wrote:
> Many tests need to send OF packets using ofctl/send to simulate
> a controller. The ones that I wrote were made by looking at the
> relevant data structures and filling the fields. I was wondering
> if everyone does the same.
> 
> What do you think about some kind of tool that would allow to
> select the required OF message, present the user with the
> needed fields for filling them and that would produce a hex dump
> of the packet ?

I think it's a good idea.  One would not want to hand-write the tool,
but it would be pretty easy to parse openflow-*.h and nicira-ext.h
(build-aux/check-structs does most of the work needed) and accept
syntax to assign fields.
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to