Ask Your Question
0

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

Hi

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
0

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
0

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 field.name -r -
edit flag offensive delete publish link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Question Tools

Follow
1 follower

Stats

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

Seen: 47 times

Last updated: Oct 25 '16