Could you be more specific about what error is occurring?  Are you getting a 
log message?  A stack trace while executing?  A syntax error when starting up 
POX?

Also, the code snippet shown below... where is it?  In an event handler?  
Somewhere else?

-- Murphy

On Jan 22, 2013, at 8:12 AM, Ali Al-Khamis wrote:

> 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