Hi,

On Thu, 24 Jul 2014 20:07:14 +0900
Taku Fukushima <[email protected]> wrote:

> We're currently working on implementing the dynamic routing for external
> networks with BGP targeting OpenStack Juno. Please refer the following
> specs and a blueprint for more details.
> 
> http://docs-draft.openstack.org/33/90833/9/check/gate-neutron-specs-docs/c283d48/doc/build/html/specs/juno/bgp-dynamic-routing.html
> https://blueprints.launchpad.net/neutron/+spec/bgp-dynamic-routing
> https://wiki.openstack.org/wiki/Neutron/DynamicRoutingUseCases
>
> We're thinking about to use Ryu's BGP libraries for the implementation. I

Yeah, I know. Thanks for that.

> started looking at the code and a question came to my mind after several
> code walkings.
>
> BGPSpeaker requires router_id, a string representation of an IPv4 address,
> in it's __init__ but I couldn't find where the router_id was used. So I'd
> like to ask why BGPSpeaker takes the router_id as an argument of its
> initialiser. Is it actually used anywhere and am I missing anything?
> Otherwise, are you planning to use it in the future?
> 
> I list my walking paths below to make it clear how I thought the router_id
> was not used:

router_id is used for the bgp_identifier in a BGP Open Message.

https://github.com/osrg/ryu/blob/5bbc3c21656395420ffcc0430e5ae9ab2193d211/ryu/services/protocols/bgp/peer.py#L1022

https://github.com/osrg/ryu/blob/5bbc3c21656395420ffcc0430e5ae9ab2193d211/ryu/services/protocols/bgp/peer.py#L1036


Thanks,

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to