Hi, I have just started writing controllers using Openflow. I am using Mininet 2.0.0 to create a network with 2 OVS Switches. I wrote a controller that behaves like a learning switch, similar to what is shown in l2_learning.py. I was trying to view the flows I installed by issuing the dpctl command to the switch in my terminal as:
mininet@mininet-vm:~/pox$ dpctl show tcp:127.0.0.1:6633 dpctl: talking to tcp:127.0.0.1:6633: unexpected end of file I am running mininet and controller in the same virtual image and hence, 127.0.0.1. I am getting the following error on my controller(pox) terminal: ERROR:openflow.of_01:[Con 5/None]: Exception while handling OpenFlow message: [Con 5/None] ofp_features_request [Con 5/None] header: [Con 5/None] version: 1 [Con 5/None] type: 5 (OFPT_FEATURES_REQUEST) [Con 5/None] length: 8 [Con 5/None] xid: 862702809 Traceback (most recent call last): File "/home/mininet/pox/pox/openflow/of_01.py", line 622, in read h(self, msg) TypeError: 'NoneType' object is not callable I am not able to figure out why this error is caused. Should I be handling anything in my controller code? Any pointers will be helpful. Thanks! Navina _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss