Re: [Ryu-devel] Topology representation in RYU controller

2014-04-24 Thread Karthik Sharma
Thanks for the explanation.I have one more query I have added the following code to the packet_in event handler of simple_switch.py to print out the topology (The new code is highlighted in red.) to get the topology information from RYU.

Re: [Ryu-devel] Topology representation in RYU controller

2014-04-22 Thread YAMADA Hideki
Hi, (2014/04/22 11:29), Karthik Sharma wrote: > This is the code for class Switches from > https://github.com/osrg/ryu/blob/master/ryu/topology/switches.py#L429 > > The member variables of particular interest to me in the class Switches are > the following. > > self.dps = {}

[Ryu-devel] Topology representation in RYU controller

2014-04-21 Thread Karthik Sharma
This is the code for class Switches from https://github.com/osrg/ryu/blob/master/ryu/topology/switches.py#L429 The member variables of particular interest to me in the class Switches are the following. self.dps = {} # datapath_id => Datapath class self.port_state =