[Ryu-devel] variable in Ryu-python script

2016-10-09 Thread Tanvir.Ulhuque
Hi I want to declare some variables to use in python script for the RYU controller. I used the following way to declare/use this, Class () def_init_() : . self.variable01 = 0 self.variable02 = 0 def _function():

[Ryu-devel] Using my Ryu app in conjuction with cbench

2016-10-09 Thread Ezzat Zar
Hi, I have a simple packet_in handler Ryu app and I want to know how many other packet_in(s) the Ryu controller could afford responding (with cbench I guess) with and without my app running. When I run ./bin/ryu-manager ./ryu/app/simple_switch_13.py ./ryu/app/cbench.py I get the error: ==

Re: [Ryu-devel] Host Discovery?

2016-10-09 Thread Yi Tseng
Hi Sorry for late reply. Ryu will collect host information when there is a packet in sent to controller. There should be at least one Arp, IPv4 or IPv6 packet send by host and packet in to controller. Please check: 1. Default action of table miss, should be packet in. 2. Try use "pingall" comm