Re: [Ryu-devel] difference between ofp_event and event in RYU

2014-04-15 Thread FUJITA Tomonori
On Wed, 16 Apr 2014 10:04:24 +1200 Karthik Sharma wrote: > 1) If I were to attempt to build a database backed controller where the > database stores >1) topology information >2) flow table information > I could use the cached information to store the topology? Is m

Re: [Ryu-devel] difference between ofp_event and event in RYU

2014-04-15 Thread Karthik Sharma
Excellent!. 1) If I were to attempt to build a database backed controller where the database stores 1) topology information 2) flow table information I could use the cached information to store the topology? Is my understanding correct? 2) Can you point me to the dat

Re: [Ryu-devel] difference between ofp_event and event in RYU

2014-04-15 Thread FUJITA Tomonori
On Wed, 16 Apr 2014 09:45:48 +1200 Karthik Sharma wrote: > O.K.From where does topology application get the switch and link > information? > Does topology application inturn poll the switches via OpenFlow control > channel to get that information? > > Or does it pre-compute and store it (somewhe

Re: [Ryu-devel] difference between ofp_event and event in RYU

2014-04-15 Thread Karthik Sharma
O.K.From where does topology application get the switch and link information? Does topology application inturn poll the switches via OpenFlow control channel to get that information? Or does it pre-compute and store it (somewhere) if I run the application with $ sudo ryu-manager --observe-links r

Re: [Ryu-devel] difference between ofp_event and event in RYU

2014-04-15 Thread FUJITA Tomonori
Hey, On Wed, 16 Apr 2014 09:24:15 +1200 Karthik Sharma wrote: > I was looking at the RYU source code I came across two structures or > classes. > > 1) ofp_event which contains events such as > > - EventOFPHello > ​ - EventOFPSwitchFeatures >

[Ryu-devel] difference between ofp_event and event in RYU

2014-04-15 Thread Karthik Sharma
​Hi, I was looking at the RYU source code I came across two structures or classes. 1) ofp_event which contains events such as - EventOFPHello ​ - EventOFPSwitchFeatures - EventOFPPortDescStatsReply - EventOFPEchoRequest