Ask is moving to Stack Overflow and! Please use the "opendaylight" tag on either of these sites. This site is now in Read-Only mode


Automation of Wireshark part, in order to filter all the packet level details of the message transaction between the Switch and the Controller

asked 2016-10-20 23:28:09 -0700

Swathi gravatar image


I am trying to automate the OF test case: adding a flow table and pushing a flow entry into the table.

I have used python robot framework for automation and automated the sections wherein switch-controller association, adding Flow table and pushing flows are done successfully via script. I have used Ostinato for traffic generation.

During the process, I am checking and filtering the fields in the transaction of messages manually for project related purpose. I am stuck as I am not able to automate fetching a field from the Wireshark with Openflow as filter.

Please help me in automation of the Wireshark part, so that my test coverage will be successful.

Regards, Swathi

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-10-24 09:56:18 -0700

jamoluhrsen gravatar image

I don't know of any wireshark related automation in the OpenDaylight project at this point. There was a system test library created around tcpdump but it's not being used by any current system tests. Maybe it can help somehow?

edit flag offensive delete publish link more

answered 2016-10-25 02:22:57 -0700

If you know the field name that you use in the Wireshark GUI to filter OpenFlow packets, you can automate this with the CLI version of Wireshark, called tshark, like this:

pcap stream | tshark -n -Y -r -
edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2016-10-20 23:28:09 -0700

Seen: 603 times

Last updated: Oct 25 '16