OK,I understand.
Thanks for helping :-)

Cheers!
---

Yinbin 


> 在 2017年3月17日,09:06,Fujimoto Satoshi <[email protected]> 写道:
> 
> Hi
> 
> As Yi said, Ryu dynamically generates event classes, including 
> EventOFPSwitchFeatures class.
> You can see the detailed description in the Ryu documentation:
>          http://ryu.readthedocs.io/en/latest/ryu_app_api.html#event-classes
> 
> Thanks,
> Fujimoto
> 
> 
>> On 2017年03月17日 08:58, Yi Tseng wrote:
>> Hi
>> 
>> Ryu generate events at runtime by using exists OpenFlow definition 
>> (ryu/ofproto/....)
>> 
>> The reason I think is they don't need to create new file when they add new 
>> OpenFlow definition.
>> 
>> You can find here:
>> 
>> https://github.com/osrg/ryu/blob/master/ryu/controller/ofp_event.py#L96
>> 
>> 
>> Yi
>> 
>> 
>> 2017-03-16 7:29 GMT-07:00 个人邮箱 <[email protected]>:
>>> Greeting!
>>> 
>>> It’s confused me that when I read the simple_switch_13.py in app, the file 
>>> mentioned about off_event.EventOFPSwitchFeatures,but I don’t find the 
>>> EventOFPSwitchFeatures class in ofp_event.py in controller.And I want to 
>>> know how could simple_switch_13.py run without defining 
>>> EventOFPSwitchFeatures class?
>>> 
>>> ps:the ofp_event.EventOFPPacketIn event is not defining in this file too.
>>> 
>>> 
>>> Thanks!
>>> 
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> 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
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>> 
>> 
>> 
>> -- 
>> Yi Tseng (a.k.a Takeshi)
>> Taiwan National Chiao Tung University
>> Department of Computer Science
>> W2CNLab
>> 
>> https://takeshi.tw
>> 
>> 
>> ------------------------------------------------------------------------------
>> 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
>> [email protected]
>> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to