Hi guys:
I'm using ryu 3.4 with ovs 2.0.1, through OpenFlow 1.2.
There is a bewildering problem:
A GotoTable instruction would result in a flow entry whose actions is
"drop", rather than "GotoTable".
To be more specific, the code for installing the flow entry is as follows:
*****
@handler.set_ev_cls(dpset.EventDP, dpset.DPSET_EV_DISPATCHER)
def switch_connection_handler(self, event):
datapath = event.dp
parser = datapath.ofproto_parser
ofproto = datapath.ofproto
if event.enter:
match = parser.OFPMatch(eth_src="10:10:10:10:10:10")
inst = [parser.OFPInstructionGotoTable(1)]
datapath.send_msg(
parser.OFPFlowMod(datapath=datapath,
match=match,
priority=50,
flags=ofproto.OFPFF_SEND_FLOW_REM,
command=ofproto.OFPFC_ADD,
instructions=inst))
*****
And the output flow entry is:
*****
cookie=0x0, duration=188.693s, table=0, n_packets=0, n_bytes=0,
idle_age=188, priority=50,dl_src=10:10:10:10:10:10 *actions=drop*
*****
I'm wondering why the installed flow entry on ovs was not "GotoTable" as
expected?
Thank you for any advice.
--
Thanks,
Chen
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel