HI,

Thanks for your reply!!


def send_packet_out(self, datapath, buffer_id, in_port):

    ofp = datapath.ofproto
    ofp_parser = datapath.ofproto_parser

    actions = [ofp_parser.OFPActionOutput(ofp.OFPP_FLOOD, 0)]
    req = ofp_parser.OFPPacketOut(datapath, buffer_id,in_port, actions)
    datapath.send_msg(req)


In these codes of the example, i can't find data the controller send.

I think it can't send data what i want to send.

Thanks,

Alan


2016-08-05 12:04 GMT+08:00 Iwase Yusuke <[email protected]>:

> Hi,
>
> You can use Packet-Out messages for such purpose, I guess.
>   http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#ry
> u.ofproto.ofproto_v1_3_parser.OFPPacketOut
>
> Thanks,
> Iwase
>
>
>
> On 2016年08月05日 12:45, Alan Wang wrote:
>
>> Hi All,
>>
>> I want to send some data controller collected from Controller to Host.
>>
>> What should i do ?
>>
>> Thanks,
>>
>> Alan.
>>
>>
>>
>> ------------------------------------------------------------
>> ------------------
>>
>>
>>
>> _______________________________________________
>> Ryu-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>
>>
------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to