Hi,

I have the following error after trying to install a datapath flow:

*00092|openflow-event|ERR:received Openflow error packet from
dpid=b213fbd89635: type=1, code=7, 64 bytes of data*

I think this error type and code refers to a "wrong request length for
type."

This is the part of code I use to install the flow:

*ip24 = "172.27.231.24"
ip127 = "172.27.231.127"
mac24 = "ea:f6:d6:f2:b5:f6"
port24 = 3

actions = [[openflow.OFPAT_SET_DL_DST,**match24],[openflow.OFPAT_SET_**
NW_DST,ip24],[openflow.OFPAT_**SET_NW_SRC,ip127],[openflow.**OFPAT_OUTPUT,
[0, port24]]]

inst.install_datapath_flow(**dpid, flowmatch1, CACHE_TIMEOUT,
                              **         HARD_TIMEOUT, actions,
                              **         bufid,
openflow.OFP_DEFAULT_PRIORITY,
                              **         inport, buf)*

This is the output of *actions*:

*[[5, 'ea:f6:d6:f2:b5:f6'], [7, '172.27.231.24'], [6, '172.27.231.127'],
[0, [0, 3]]]*

I would like to know what is wrong, with this code?

Thank you
-- 
Rui Vaz

Reply via email to