[Ryu-devel] SPECIFY PYTHON INTERPRETER

2017-09-01 Thread Alessandro Gaballo
Hi, I apologize if I'm not posting in the right section, I wasn't sure. I'm trying to develop 2 applications that need to talk to each other. By looking at this example I see that I have to install the applications: python setup.py instal

[Ryu-devel] RETRIEVE ROUTING/FLOW TABLE

2017-11-22 Thread Alessandro Gaballo
Hi, I'm running Quagga on my mininet topology to capture routing information, I wanted to know if it's possible to retrieve the routing table on the quagga routers (which are basically mininet hosts) or at least the flow tables. If so, how do I do it? --

Re: [Ryu-devel] RETRIEVE ROUTING/FLOW TABLE

2017-11-24 Thread Alessandro Gaballo
metric=0,mtu=None,nexthops=['0.0.0.0'],prefix='192.168.23.0/24',route_type=2,safi=None,src_prefix=None,tag=None), > > 'command': 7, 'length': 28, 'vrf_id': 0} > ZEBRA_IPV4_ROUTE_ADD received: {'zclient': > , 'version':

Re: [Ryu-devel] RETRIEVE ROUTING/FLOW TABLE

2017-11-27 Thread Alessandro Gaballo
llowing module. The naming convention is the similar to the OpenFlow event classes. https://github.com/osrg/ryu/blob/ed2c6eca2227c9efb3c7e51cdd6db6bf578ec609/ryu/services/protocols/zebra/event.py#L35-L57 Thanks, Iwase On 2017年11月25日 02:17, Alessandro Gaballo wrote: Thanks for the reply, I&#

Re: [Ryu-devel] RETRIEVE ROUTING/FLOW TABLE

2017-11-28 Thread Alessandro Gaballo
or >> multiple Zebra daemons topology. >> >> If you build (when "./configure") Zebra (Quagga) with >> "--enable-tcp-zebra" option, Zebra will expose >> the Zebra API as the TCP port (the default number is 2600), and you >> can access

Re: [Ryu-devel] RETRIEVE ROUTING/FLOW TABLE

2017-11-29 Thread Alessandro Gaballo
-Commands.html With the netlink approach, "ip -s link" shows the statistics for each link. Thanks, Iwase On 2017年11月29日 00:33, Alessandro Gaballo wrote: For the moment I'm using the mx util by miniNext to run netstat -rn on each host, in this way I can easily get the routing table

[Ryu-devel] SET CONTROLLER IP - GET CONNECTED SWITCHES

2017-12-01 Thread Alessandro Gaballo
Hi, I have 2 questions: - how do I set the IP address of the controller? - how do I get the list of the connected switches? Is there a simple api or do I need to explicitly save the various datapath? Also how do I map a datapath to the switch name? --

Re: [Ryu-devel] SET CONTROLLER IP - GET CONNECTED SWITCHES

2017-12-04 Thread Alessandro Gaballo
    Controller "tcp:127.0.0.1:6653" >     Controller "ptcp:6655"  # <--- waiting for controller on 6653+2 > ...(snip)... > > > > - how do I get the list of the connected switches? Is there a simple > api > > or do I need to explicitly save the various

Re: [Ryu-devel] SET CONTROLLER IP - GET CONNECTED SWITCHES

2017-12-05 Thread Alessandro Gaballo
ch('s1') >     s2 = net.addSwitch('s2') >     ...(snip)... > > > If you need to configure the controller address dynamically, you need > to get > your switch's names and dpids before calling the APIs on my previous > mail. > > > Thanks, &

[Ryu-devel] FASTEST WAY OF COMMUNICATION BETWEEN APPS

2018-01-23 Thread Alessandro Gaballo
Hi, what's the fastest way to make 2 ryu apps communicate? I have an app that does some computations and the other that install the flows and I want them to exchange custom messages, I actually only need to share an array. How can I do it? ---

Re: [Ryu-devel] FASTEST WAY OF COMMUNICATION BETWEEN APPS

2018-01-24 Thread Alessandro Gaballo
ase On 2018年01月24日 00:46, Alessandro Gaballo wrote: > Hi, what's the fastest way to make 2 ryu apps communicate? I have an app > that does some computations and the other that install the flows and I > want them to exchange custom messages, I actually only ne