Re: [Ryu-devel] about patch

2014-08-13 Thread FUJITA Tomonori
Hi, On Wed, 13 Aug 2014 22:17:59 +0800 Peng Xiao wrote: > 1. why not just using Pull Request, i think it's more convenient than email > the patch > > PR is open and anyone logged in GitHub can see it and leave comments for it > or discussion. I think that it's matter of taste. Linux kernel, on

Re: [Ryu-devel] put the bmpstation server host and port configuration to flags.py

2014-08-13 Thread FUJITA Tomonori
Hi, On Sun, 10 Aug 2014 10:53:26 +0800 Peng Xiao wrote: > I have put the bmpstation server host and port configuration to flags.py Can you use register_ops() in bmpstation.py (you can change options by ryu.conf file)? We try to avoid add an application specific option to flags.py unless it's a

[Ryu-devel] I’m loving this style, let me know what you think ryu-devel

2014-08-13 Thread saman biook aghazadeh
[email protected] is sending you this message in the context of Frank & Oak's "Refer a Friend" program. If you don't want to receive any more recommendations to discover Frank & Oak, unsubscribe http://join.yullove.it/r?001:eNqNi0EKwyAURE+jm4Iksep34aJQco8af4iNmtB8S3v7Sk5QmMW84c2cyRF+iKfi

[Ryu-devel] about patch

2014-08-13 Thread Peng Xiao
hi team I have two questions about patch. 1. why not just using Pull Request, i think it's more convenient than email the patch PR is open and anyone logged in GitHub can see it and leave comments for it or discussion. 2. If i write a patch, how do i know if the patch is accepted or rejected.

Re: [Ryu-devel] BGP filter get_rib()

2014-08-13 Thread Jaume Devesa
To me it is ok, parse a JSON in trivial stuff :) Thanks for the response! On 13 August 2014 14:51, FUJITA Tomonori wrote: > Hi, > > On Wed, 13 Aug 2014 13:28:55 +0200 > Jaume Devesa wrote: > > > I'm connecting a Ryu bgp speaker to a remote Quagga service and I'm able > to > > share prefixes wi

Re: [Ryu-devel] Problem importing bgpspeaker driver

2014-08-13 Thread FUJITA Tomonori
On Tue, 12 Aug 2014 18:30:57 +0900 (JST) FUJITA Tomonori wrote: > On Tue, 12 Aug 2014 10:24:41 +0200 > Jaume Devesa wrote: > >> I've found an error caused by the use of oslo.cfg in Ryu's applications. >> Maybe I'm doing something wrong... but I find it strange, because I am >> following the com

Re: [Ryu-devel] BGP filter get_rib()

2014-08-13 Thread FUJITA Tomonori
Hi, On Wed, 13 Aug 2014 13:28:55 +0200 Jaume Devesa wrote: > I'm connecting a Ryu bgp speaker to a remote Quagga service and I'm able to > share prefixes with it. Great! I'm glad to hear that you made rapid progress. > When I execute the *get_rib() *method, I get the prefixes that I get from >

[Ryu-devel] BGP filter get_rib()

2014-08-13 Thread Jaume Devesa
Hello Ryu devs, I'm connecting a Ryu bgp speaker to a remote Quagga service and I'm able to share prefixes with it. When I execute the *get_rib() *method, I get the prefixes that I get from it and the prefixes that I send to it: [{u'paths': [{u'origin': u'i', u'localpref': u'', u'nexthop': u'192

Re: [Ryu-devel] got an exception when using bgp

2014-08-13 Thread ISHIDA Wataru
Hi, Are you running ryu bgp with root permission? ryu bgp listens on port 179, so root permission is required. and if you use ‘local_address’, you have to specify ‘local_port’ too like this 'bgp_neighbors': { '10.2.2.2': { 'remote_as': 45090, 'loca

Re: [Ryu-devel] got an exception when using bgp

2014-08-13 Thread FUJITA Tomonori
On Wed, 13 Aug 2014 17:32:11 +0800 Peng Xiao wrote: > hi team > > here is my exception. > > $ ryu run --verbose --config-file ~/ryu/etc/ryu/ryu.conf > ~/ryu/ryu/services/protocols/bgp/application.py > loading app /home/bgpmon/ryu/ryu/services/protocols/bgp/application.py > Create CustomEvent ca

[Ryu-devel] got an exception when using bgp

2014-08-13 Thread Peng Xiao
hi team here is my exception. $ ryu run --verbose --config-file ~/ryu/etc/ryu/ryu.conf ~/ryu/ryu/services/protocols/bgp/application.py loading app /home/bgpmon/ryu/ryu/services/protocols/bgp/application.py Create CustomEvent called instantiating app /home/bgpmon/ryu/ryu/services/protocols/bgp/app

[Ryu-devel] [PATCH] bgp: move ssh configuration to bgp config file

2014-08-13 Thread FUJITA Tomonori
You can't pass ssh.py to run command any more. If you need ssh CLI, update the bgp config file and then: ryu run —-config-file /path/to/ryu.conf /path/to/ryu/ryu/services/protocols/application.py Signed-off-by: FUJITA Tomonori --- ryu/services/protocols/bgp/application.py | 3 ++ ryu/serv