There are no examples of this because this is not an OpenFlow feature -- only 
the controller can instruct a switch to send a packet.

Unless maybe there is some vendor extension for some switches…

-- Murphy

On Apr 25, 2012, at 11:28 AM, Weiyang Mo wrote:

> BTW,any example code for this? For instance, the controller wishes to send a 
> packet which contains the data "Hello" through the switch to the Output.
>  
> How should I write the code? Is it like "actions=[openflow.ofp_packet_out, 
> ...]" ?
>  
> I am not clear because I don't find sample codes.  Could anyone provides a 
> simple sample code?
>  
> Regards
>  
> Weiyang
> ---------- Forwarded message ----------
> From: Weiyang Mo <[email protected]>
> Date: 2012/4/25
> Subject: instruct the swtich to create a new packet.
> To: [email protected]
> 
> 
> Hi,all,
>  
> I want to insert an action in to flow entry. The action can tell the switch 
> to create a new arbitary packet. What command should I use?
>  
> Thanks a lot
>  
> Weiyang
> 

Reply via email to