Hi all, 

I am new in OpenFlow and POX. My question is about installing a rule or flow 
table entry to send a TCP packet to a specific port (working on 
forwarding.l2_learning). 


I always find an error for this type of matching:

        if of.match.nw_proto == 6
            out_port = 2

        of.actions.append(of.ofp_action_output(port = out_port))

        log.debug("Installing FlowTable entry")
        self.connection.send(of)

If this syntax is error, how could making the matching for the packet's type?


Thanks, 
Ali

Reply via email to