Sorry about the confusion. On Sat, 2 Aug 2014 13:34:07 +0530 Digambar Patil <digambar...@gmail.com> wrote:
> But current I am starting with sdb_hub_app, Is there another to run > the server using command line. > For CLI support, current code is in ryu/cmd/of_config_cli.py right? > Becuase I didn't find cli.py in the code. I was talking about BGP ssh CLI. $ slogin localhost -p 4990 You can sepecify 'ssh_console=true' to initiate BGPSpeaker class like the following: = import eventlet eventlet.monkey_patch() import logging import sys log = logging.getLogger() log.addHandler(logging.StreamHandler(sys.stderr)) from ryu.services.protocols.bgp.bgpspeaker import BGPSpeaker if __name__ == "__main__": speaker = BGPSpeaker(as_number=64512, router_id='10.0.0.1', ssh_console=True) speaker.neighbor_add('192.168.177.32', 64513) while True: print speaker.rib_get() eventlet.sleep(5) ------------------------------------------------------------------------------ Infragistics Professional Build stunning WinForms apps today! Reboot your WinForms applications with our WinForms controls. Build a bridge from your legacy apps to the future. http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel