superkkt / cherry

OpenFlow Controller written in Go
GNU General Public License v2.0
129 stars 31 forks source link

Automated tests?! #5

Open gurjeet opened 8 years ago

gurjeet commented 8 years ago

Are there any automated tests part of this repository? Perhaps there's an external OpenFlow testing framework that can be launched against Cherry controller to test it!

I am interested in providing Postgres support to this project, so I'd like to see docs around how to set up and run tests against Cherry.

superkkt commented 8 years ago

Unfortunately, we don't have automated tests yet. Could you please lead me to the testing framework you mentioned?

gurjeet commented 8 years ago

Mininet seems to be ideally suited for testing any of the components of an SDN setup. I found the following links that Cherry can use to automate testing via Mininet:

http://mininet.org/walkthrough/#using-a-remote-controller http://mininet.org/blog/2013/06/03/automating-controller-startup/

superkkt commented 8 years ago

@gurjeet Thanks. Actually, I tested Cherry using Mininet, but I didn't make it automatic. Now, I have a plan to do this and also very welcome a contribution from others. :-)