Hi,

slogin localhost -p 4990



ssh: connect to host localhost port 4990: Connection refused


Getting error while running above command


Is there guide we have for BGP CLI ?


Thanks,

Digambar


On Mon, Aug 4, 2014 at 11:05 PM, Digambar Patil <digambar...@gmail.com>
wrote:

> Hi,
>
>    Actually I am running the server using RYU gui_topology.py app also but
> not understand how to use bgp protocol for RYU.
>
>   According to your above code, if run the above code, it gives error
> saying "CoreManager is not active."
>
>   Any clue ?
>
> Thanks,
> Digambar
>
>
>
> On Mon, Aug 4, 2014 at 10:37 PM, Digambar Patil <digambar...@gmail.com>
> wrote:
>
>>
>>
>> ---------- Forwarded message ----------
>> From: FUJITA Tomonori <fujita.tomon...@lab.ntt.co.jp>
>> Date: Mon, Aug 4, 2014 at 9:20 AM
>> Subject: Re: [Ryu-devel] BGP implementation & openstack contribution
>> To: digambar...@gmail.com
>> Cc: ryu-devel@lists.sourceforge.net
>>
>>
>> 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

Reply via email to