Hi all, I have two floodlight controllers running on the same VM with different port number 6633 and 6634, and flowvisor running on host machine. When I was using fvctl to create two slices, binding to each controller, one of my controller (6633) runs normally and the other controller (6634) throw the following errors:
12:30:38.492 ERROR [n.f.c.i.OFChannelHandler:New I/O server worker #2-1] Error OFPET_BAD_ACTION OFPBAC_EPERM from switch OFSwitchBase [/ 192.168.56.1:44545 DPID[00:00:00:00:00:00:00:05]] in state MASTER 12:30:38.493 WARN [n.f.c.i.Controller:New I/O server worker #2-1] Unhandled OF Message: ofmsg:v=1;t=ERROR;l=105;x=0 from OFSwitchBase [/ 192.168.56.1:44545 DPID[00:00:00:00:00:00:00:05]] Here is the detail configuration: One of my floodlight is set to default (aka RestApiServer.port=8080, openflowport = 6633, Listening for internal floodlight RPC on localhost/ 127.0.0.1:6642). For the other floodlight, I modified floodlightdefault.properities file (RestApiServer.port=8081, openflowport = 6634) and FallbackCCProvider.java file (Listening for internal floodlight RPC on localhost/127.0.0.1:6643) to avoid port number conflict. I run these two floodlight controllers on the same VM, which has eth0=192.168.56.101. I run flowvisor on host machine and I didn't change any port number, just enable-topo-ctrl. Then I connect my host computer to TP-Link router which has a Openflow module, ip 192.168.1.1. I set up flowvisor using following commends: fvctl -f /dev/null add-slice slice1 tcp:192.168.56.101:6634 sli...@e.com fvctl -f /dev/null add-slice slice2 tcp:192.168.56.101:6633 sli...@e.com fvctl -f /dev/null add-flowspace p1 5 1 in_port=1 slice1=4 fvctl -f /dev/null add-flowspace p2 5 1 in_port=2 slice1=4 fvctl -f /dev/null add-flowspace p3 5 1 in_port=3 slice2=4 fvctl -f /dev/null add-flowspace p4 5 1 in_port=4 slice2=4 (5 is that the switch name is 00:00:00:00:00:00:00:05) Then I run two floodlight controllers and config router, and slice1 controller acts normal (I can ping from inport 1 to 2). But slice2 controller shows error messages: 12:30:38.492 ERROR [n.f.c.i.OFChannelHandler:New I/O server worker #2-1] Error OFPET_BAD_ACTION OFPBAC_EPERM from switch OFSwitchBase [/ 192.168.56.1:44545 DPID[00:00:00:00:00:00:00:05]] in state MASTER 12:30:38.493 WARN [n.f.c.i.Controller:New I/O server worker #2-1] Unhandled OF Message: ofmsg:v=1;t=ERROR;l=105;x=0 from OFSwitchBase [/ 192.168.56.1:44545 DPID[00:00:00:00:00:00:00:05]]. Hope I can get help here. Thanks in advance! Bests, Jun
_______________________________________________ openflow-discuss mailing list openflow-discuss@lists.stanford.edu https://mailman.stanford.edu/mailman/listinfo/openflow-discuss