Hi Subha,

How about the following?

Example:

    experimenter = <Experimenter ID>
    exp_type = <Experimenter defined type>
    data = b'\x00\x00...'  # as a raw binary data
    msg = ofproto.OFPExperimenter(
        datapath, experimenter=experimenter, exp_type=exp_type, data=data)
    datapath.send_msg(msg)

Thanks,
Iwase


On 2017年12月05日 15:44, Subha wrote:
Hi Team,

Can you pls let me know how to send an experimenter message using ryu 
controller.

Any json file example ?

I referred the following example, but still not getting a clear idea.

http://ryu.readthedocs.io/en/latest/ofproto_v1_3_ref.html#experimenter

Thanks,
subha.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot



_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to