First, note that the --port option is to specify the TCP port on which the controller should listen for connections from the switch. The usual OpenFlow value is 6633.
Is Nox running at the same time as Oftest? I suggest trying the option --test-spec=Echo to start with. This will just attempt to connect to the target switch, run an echo request, and disconnect. You probably also need to look at remote.py and use that with: --platform=remote You will need to adjust the port map structure there which maps OpenFlow port numbers on the target switch to the interfaces on the oftest host. -Dan On Thursday, September 15, 2011 at 10:47 PM, santosh bollam wrote: > > Hi, > > I have an issue regarding oftest, Please help me. The Details below. > > when i am running oftest I am using two systems. I was connected these two > With a cross wire. For My system I gave the port address as 191.168.100.100 > and another system with port address 191.168.100.50 with no gateway in both > systems for the connected ports. > In One system I am running the Nox Controller. In another system I am > running switch to connect to controller. It is connecting well. > > But when I am running oftest for particular test case I am getting Some > error. Here is the procedure of my run > > > oftest/tests$ sudo ./oft --verbose --host=191.168.100.100 --port=2 > WARNING: No route found for IPv6 destination :: (no default route?) > runTest (pktact.AddVLANTag) ... Exception in thread Thread-1: > Traceback (most recent call last): > File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner > self.run() > File > "/usr/local/lib/python2.6/dist-packages/oftest-0.0.1-py2.6.egg/oftest/controller.py", > line 312, in run > self.listen_socket.bind((self.host, self.port)) > File "<string>", line 1, in bind > error: [Errno 98] Address already in use > > > Please mail your answer at [email protected] > (mailto:[email protected]) > > Regards, > Santosh > > > > > > _______________________________________________ > openflow-discuss mailing list > [email protected] > (mailto:[email protected]) > https://mailman.stanford.edu/mailman/listinfo/openflow-discuss _______________________________________________ openflow-discuss mailing list [email protected] https://mailman.stanford.edu/mailman/listinfo/openflow-discuss
