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.
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 = {}
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 =