Thanks for reply. a. I tried but it does not work b. I make sure that nothing is running on port 6633 (by netstat -ltnup) and no other oft instance (by ps -aux | grep oft) Even when I tried with other port, I still got same error (Log file)
Nam On 05/03/2012 11:17 AM, kalapriya k wrote: hi, Two things: a) if your switch is running remotely, you have to specific to the oftest that it is remote. This can be done with the --platform=remote. b)the error in the logfile seems to indicate that the port 6633 on your machine (in which you are running oftest) is not free. probably there is a controller already running on that port. Stop any other controller that is running on the machine and start your oft. Oft will start a controller on that port and the switch will connect to it. hope it helps. On Thu, May 3, 2012 at 2:37 PM, Xuan-Nam Nguyen < xuan-nam.ngu...@inria.fr > wrote: <blockquote> Thanks for reply. 1. I attach in this mail the startUp log of pronto 3290 switch, may be it is useful. 2. I check out the newest source code of OFTest and compile it following the README I make sure that the OF deamon Pronto switch is running and trying to connect to controller (I tested with my controller and I works well) nothing runs on port 6633 But when I started with command : ./oft --test-spec=Echo ./oft --verbose --log-file="" I got error (see the attached file) Do you know what is the problem ? Thanks Nam <blockquote> From: "Dan Talayco" < dan.tala...@bigswitch.com > To: "Xuan-Nam Nguyen" < xuan-nam.ngu...@inria.fr > Cc: openflow-discuss@lists.stanford.edu , "Damien Saucez" < damien.sau...@inria.fr > Sent: Wednesday, May 2, 2012 6:35:51 PM Subject: Re: [openflow-discuss] Pronto 3290 max flow entries ? Hi-- I just ran OFTest against a 3290 in our lab running the test FillTableExact. I got RESULT: 3840 flows reported a bit below the 4K, but about right. I'm not aware of any flow types that might result in this kind of limit (2K that you're seeing). I would suggest trying to run FillTableExact from OFTest (I just checked in a couple of bug fixes to the git repo, so make sure you get the latest updates). It's at https://github.com/floodlight/oftest/ Do you know where this 3290 came from? There may be some older versions that had different ASICs in them that had other limits. I'm not sure how to determine if that's the case, but someone at Pronto/Pica8 might know. -Dan On Wednesday, May 2, 2012 at 7:50 AM, Xuan-Nam Nguyen wrote: <blockquote> Hi all, As the specification on http://yuba.stanford.edu/foswiki/bin/view/OpenFlow/Deployment/Vendor/Pronto : Pronto 3290 has maximum ~ 4000 flow entries We have an Pronto Switch 3290 which used newest firmware (2011-03-19 http://www.openflowhub.org/display/Indigo/Indigo+-+Download+Page ) But we can only insert maximum 1920 exact match flow entries into that switch. In controller (Beacon) we got error OFPET_FLOW_MOD_FAILED OFPFMFC_ALL_TABLES_FULL Do you know what is the reason ? Thanks NGUYEN Xuan Nam INRIA Sophia _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss Attachments: - Screenshot-Indigo OpenFlow Switch - Mozilla Firefox.png - Screenshot-Beacon - Mozilla Firefox.png </blockquote> _______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss </blockquote> </blockquote> -- NGUYEN Xuan Nam
[root@localhost tests]# ./oft --test-spec=Echo --platform=remote WARNING: No route found for IPv6 destination :: (no default route?) Controller startup failed (no switch addr); exiting E ====================================================================== ERROR: runTest (basic.Echo) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/xnam/oftest/tests/basic.py", line 91, in setUp sys.exit(1) SystemExit: 1 ---------------------------------------------------------------------- Ran 1 test in 20.002s FAILED (errors=1) Killed [root@localhost tests]# sudo ./oft --verbose --log-file="" --platform=remote -p 6634 WARNING: No route found for IPv6 destination :: (no default route?) 11:28:26 root : INFO : ++++++++ Thu May 3 11:28:26 2012 ++++++++ 11:28:26 root : INFO : No profile specified 11:28:26 root : INFO : Adding test basic.DataPlaneOnly 11:28:26 root : INFO : Adding test basic.DescStatsGet 11:28:26 root : INFO : Adding test basic.Echo 11:28:26 root : INFO : Adding test basic.EchoWithData 11:28:26 root : INFO : Adding test basic.FlowMod 11:28:26 root : INFO : Adding test basic.PacketIn 11:28:26 root : INFO : Adding test basic.PacketOut 11:28:26 root : INFO : Adding test basic.PacketOutMC 11:28:26 root : INFO : Adding test basic.PortConfigMod 11:28:26 root : INFO : Adding test basic.SimpleDataPlane 11:28:26 root : INFO : Adding test basic.SimpleProtocol 11:28:26 root : INFO : Adding test basic.TableStatsGet 11:28:26 root : INFO : Adding test flow_query.Flow_Add_5 11:28:26 root : INFO : Adding test flow_query.Flow_Add_7 11:28:26 root : INFO : Adding test flow_query.Flow_Add_8 11:28:26 root : INFO : Adding test flow_query.Flow_Del_1 11:28:26 root : INFO : Adding test flow_query.Flow_Del_2 11:28:26 root : INFO : Adding test flow_query.Flow_Del_4 11:28:26 root : INFO : Adding test flow_query.Flow_Mod_1 11:28:26 root : INFO : Adding test flow_query.Flow_Mod_2 11:28:26 root : INFO : Adding test flow_query.Flow_Mod_3 11:28:26 root : INFO : Adding test flow_query.Flow_Mod_3_1 11:28:26 root : INFO : Adding test flow_expire.FlowExpire 11:28:26 root : INFO : Adding test pktact.AddVLANTag 11:28:26 root : INFO : Adding test pktact.All 11:28:26 root : INFO : Adding test pktact.AllExceptOneWildcardMatch 11:28:26 root : INFO : Adding test pktact.AllExceptOneWildcardMatchTagged 11:28:26 root : INFO : Adding test pktact.AllPlusIngress 11:28:26 root : INFO : Adding test pktact.AllWildcardMatch 11:28:26 root : INFO : Adding test pktact.AllWildcardMatchTagged 11:28:26 root : INFO : Adding test pktact.BaseMatchCase 11:28:26 root : INFO : Adding test pktact.DirectMC 11:28:26 root : INFO : Adding test pktact.DirectMCNonIngress 11:28:26 root : INFO : Adding test pktact.DirectPacket 11:28:26 root : INFO : Adding test pktact.DirectPacketICMP 11:28:26 root : INFO : Adding test pktact.DirectPacketQueue 11:28:26 root : INFO : Adding test pktact.DirectTwoPorts 11:28:26 root : INFO : Adding test pktact.ExactMatch 11:28:26 root : INFO : Adding test pktact.ExactMatchTagged 11:28:26 root : INFO : Adding test pktact.Flood 11:28:26 root : INFO : Adding test pktact.FloodMinusPort 11:28:26 root : INFO : Adding test pktact.FloodPlusIngress 11:28:26 root : INFO : Adding test pktact.FlowToggle 11:28:26 root : INFO : Adding test pktact.ModifyL2Dst 11:28:26 root : INFO : Adding test pktact.ModifyL2DstIngress 11:28:26 root : INFO : Adding test pktact.ModifyL2DstIngressMC 11:28:26 root : INFO : Adding test pktact.ModifyL2DstMC 11:28:26 root : INFO : Adding test pktact.ModifyL2DstVIDMC 11:28:26 root : INFO : Adding test pktact.ModifyL2Src 11:28:26 root : INFO : Adding test pktact.ModifyL2SrcDstMC 11:28:26 root : INFO : Adding test pktact.ModifyL2SrcMC 11:28:26 root : INFO : Adding test pktact.ModifyL3Dst 11:28:26 root : INFO : Adding test pktact.ModifyL3Src 11:28:26 root : INFO : Adding test pktact.ModifyL4Dst 11:28:26 root : INFO : Adding test pktact.ModifyL4Src 11:28:26 root : INFO : Adding test pktact.ModifyTOS 11:28:26 root : INFO : Adding test pktact.ModifyVID 11:28:26 root : INFO : Adding test pktact.ModifyVIDWithTagMatchWildcarded 11:28:26 root : INFO : Adding test pktact.ModifyVlanPcp 11:28:26 root : INFO : Adding test pktact.SingleWildcardMatch 11:28:26 root : INFO : Adding test pktact.SingleWildcardMatchPriority 11:28:26 root : INFO : Adding test pktact.SingleWildcardMatchPriorityInsertModifyDelete 11:28:26 root : INFO : Adding test pktact.SingleWildcardMatchTagged 11:28:26 root : INFO : Adding test pktact.StripVLANTag 11:28:26 root : INFO : Adding test pktact.StripVLANTagWithTagMatchWildcarded 11:28:26 root : INFO : Adding test pktact.WildcardPriority 11:28:26 root : INFO : Adding test flow_stats.AggregateStats 11:28:26 root : INFO : Adding test flow_stats.SingleFlowStats 11:28:26 root : INFO : Adding test flow_stats.TwoFlowStats 11:28:26 root : INFO : Importing platform: from remote import * 11:28:26 root : DEBUG : Configuration: {'profile': None, 'base_of_port': 1, 'relax': False, 'mod_name_map': {'load': <module 'load' from '/home/xnam/oftest/tests/load.pyc'>, 'pktact': <module 'pktact' from '/home/xnam/oftest/tests/pktact.pyc'>, 'flow_expire': <module 'flow_expire' from '/home/xnam/oftest/tests/flow_expire.pyc'>, 'caps': <module 'caps' from '/home/xnam/oftest/tests/caps.pyc'>, 'basic': <module 'basic' from '/home/xnam/oftest/tests/basic.pyc'>, 'flow_query': <module 'flow_query' from '/home/xnam/oftest/tests/flow_query.pyc'>, 'flow_stats': <module 'flow_stats' from '/home/xnam/oftest/tests/flow_stats.pyc'>}, 'port_map': {24: 'eth3', 25: 'eth4', 26: 'eth5', 23: 'eth2'}, 'caps_table_idx': 0, 'controller_host': '127.0.0.1', 'controller_port': 6634, 'dbg_level': 10, 'test_params': 'None', 'test_dir': '.', 'port_count': 4, 'list': False, 'param': None, 'test_spec': 'all', 'platform': 'remote', 'debug': 'verbose', 'all_tests': {<module 'load' from '/home/xnam/oftest/tests/load.pyc'>: ['LoadBarrier'], <module 'basic' from '/home/xnam/oftest/tests/basic.pyc'>: ['DataPlaneOnly', 'DescStatsGet', 'Echo', 'EchoWithData', 'FlowMod', 'FlowStatsGet', 'PacketIn', 'PacketOut', 'PacketOutMC', 'PortConfigMod', 'SimpleDataPlane', 'SimpleProtocol', 'TableStatsGet'], <module 'flow_query' from '/home/xnam/oftest/tests/flow_query.pyc'>: ['Flow_Add_5', 'Flow_Add_5_1', 'Flow_Add_6', 'Flow_Add_7', 'Flow_Add_8', 'Flow_Del_1', 'Flow_Del_2', 'Flow_Del_4', 'Flow_Mod_1', 'Flow_Mod_2', 'Flow_Mod_3', 'Flow_Mod_3_1'], <module 'flow_expire' from '/home/xnam/oftest/tests/flow_expire.pyc'>: ['FlowExpire'], <module 'caps' from '/home/xnam/oftest/tests/caps.pyc'>: ['FillTableExact', 'FillTableWC'], <module 'pktact' from '/home/xnam/oftest/tests/pktact.pyc'>: ['AddVLANTag', 'All', 'AllExceptOneWildcardMatch', 'AllExceptOneWildcardMatchTagged', 'AllPlusIngress', 'AllWildcardMatch', 'AllWildcardMatchTagged', 'BaseMatchCase', 'DirectMC', 'DirectMCNonIngress', 'DirectPacket', 'DirectPacketICMP', 'DirectPacketQueue', 'DirectTwoPorts', 'ExactMatch', 'ExactMatchTagged', 'ExactMatchTaggedMany', 'Flood', 'FloodMinusPort', 'FloodPlusIngress', 'FlowToggle', 'IterCases', 'MixedVLAN', 'ModifyL2Dst', 'ModifyL2DstIngress', 'ModifyL2DstIngressMC', 'ModifyL2DstMC', 'ModifyL2DstVIDMC', 'ModifyL2Src', 'ModifyL2SrcDstMC', 'ModifyL2SrcMC', 'ModifyL3Dst', 'ModifyL3Src', 'ModifyL4Dst', 'ModifyL4Src', 'ModifyTOS', 'ModifyVID', 'ModifyVIDWithTagMatchWildcarded', 'ModifyVlanPcp', 'PacketOnly', 'PacketOnlyTagged', 'SingleWildcardMatch', 'SingleWildcardMatchPriority', 'SingleWildcardMatchPriorityInsertModifyDelete', 'SingleWildcardMatchTagged', 'StripVLANTag', 'StripVLANTagWithTagMatchWildcarded', 'WildcardPriority'], <module 'flow_stats' from '/home/xnam/oftest/tests/flow_stats.pyc'>: ['AggregateStats', 'SingleFlowStats', 'TwoFlowStats']}, 'log_file': '', 'base_if_index': 1} 11:28:26 root : INFO : OF port map: {24: 'eth3', 25: 'eth4', 26: 'eth5', 23: 'eth2'} 11:28:26 load : INFO : Initializing test set 11:28:26 basic : INFO : Initializing test set 11:28:26 pkt_act : INFO : Initializing test set 11:28:26 basic : INFO : Initializing test set 11:28:26 flow_expire: INFO : Initializing test set 11:28:26 basic : INFO : Initializing test set 11:28:26 caps : INFO : Initializing caps test set 11:28:26 basic : INFO : Initializing test set 11:28:26 basic : INFO : Initializing test set 11:28:26 flowq : INFO : Initializing test set 11:28:26 basic : INFO : Initializing test set 11:28:26 flow_stats: INFO : Initializing test set 11:28:26 root : INFO : *** TEST RUN START: Thu May 3 11:28:26 2012 runTest (basic.DataPlaneOnly) ... 11:28:26 basic : INFO : ** START DataPlaneOnly CASE runTest (basic.DataPlaneOnly) 11:28:26 dp-eth3 : INFO : Could not open socket ERROR runTest (basic.DescStatsGet) ... 11:28:26 basic : INFO : ** START TEST CASE runTest (basic.DescStatsGet) 11:28:26 controller: INFO : Create/listen at 127.0.0.1:6634 11:28:26 controller: INFO : Waiting for switch connection Controller startup failed (no switch addr); exiting ERROR runTest (basic.Echo) ... 11:28:46 basic : INFO : ** START TEST CASE runTest (basic.Echo) 11:28:46 controller: INFO : Create/listen at 127.0.0.1:6634 Exception in thread Thread-3: Traceback (most recent call last): File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner self.run() File "/usr/lib/python2.6/site-packages/oftest-0.0.1-py2.6.egg/oftest/controller.py", line 389, in run self.listen_socket.bind((self.host, self.port)) File "<string>", line 1, in bind error: [Errno 98] Address already in use
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss