(2014年08月05日 22:50), Bruce SUN wrote:
> Hi,
>
> I want to modify the miss_send_len in the set_config message, but I don't
> know what is the event id of this message? Like
> ofp_event.EventOFPSwitchFeatures? Could you tell me how to register the
> message or call it directly?
> Thanks a lot
Hi Bruce,
How to send "send_set_config " message is as follows.
Example:
def send_set_config(self, datapath):
ofp = datapath.ofproto
ofp_parser = datapath.ofproto_parser
req = ofp_parser.OFPSetConfig(datapath, ofp.OFPC_FRAG_NORMAL, 256)
datapath.send_msg(req)
If you need any further information, please refer to the following.
OpenFlow protocol API Reference:
http://ryu.readthedocs.org/en/latest/ofproto_ref.html
- OpenFlow v1.2/3/4 Messages and Structures
- Controller-to-Switch Messages
- Switch Configuration
>
> Best Regards,
> Bruce
>
>
> ------------------------------------------------------------------------------
> Infragistics Professional
> Build stunning WinForms apps today!
> Reboot your WinForms applications with our WinForms controls.
> Build a bridge from your legacy apps to the future.
> http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
>
>
>
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>
------------------------------------------------------------------------------
Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel