Hi,

you can try like below,

1. prepare ryu.conf. contents are

[DEFAULT]
bgp_config_file=/path/to/bgpconfigfile/bgpconfig.py

2. prepare bgpconfig.py. sample configuration exists at 
ryu/ryu/services/protocols/bgp_sample_conf.py

3. run ryu

$ ryu run —config-file /path/to/ryu.conf 
/path/to/ryu/ryu/services/protocols/application.py

4. it might be helpful to enable verbose option and ssh client

$ ryu run —verbose —config-file /path/to/ryu.conf 
/path/to/ryu/ryu/services/protocols/application.py 
/path/to/ryu/ryu/services/protocols/operator/ssh.py

5. you can login to cli by

$ ssh localhost -p 4990

Thanks,

On Aug 12, 2014, at 16:01, Peng Xiao <[email protected]> wrote:

> hi team
> 
> i want to establish BGP connection with real routers using Ryu, what is the 
> easiest way to do it without wring one line python code?
> 
> thanks
> 
> BR,
> 
> Peng Xiao
> ------------------------------------------------------------------------------
> _______________________________________________
> Ryu-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ryu-devel


------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to