On Thu, 06 Sep 2018 22:51:00 +0900,
Rinaldo Buratti wrote:
> Dear all,
> 
> I'm interest on modify some bgp announcements. In particular i want to add
> to an existing announcement an extended community, how can i do that?

I don't have much experience in this field.

Some Extended communities are defined in ryu.lib.packet.bgp.
I guess you'll need to set extended attributes in Path.pattrs.
VrfTable.insert_vrf_path may serve as an example.

> Moreover i would like to modify some bgp decisions, like announcements
> propagation that should be done using certain criteria. Is there a way to
> do that?Even if you can tell me which part of the Ryu code to modify would
> be helpfull.

The best path calculation logic is in
ryu.services.protocols.bgp.processor.

Hope this helps.

--
IWAMOTO Toshihiro


_______________________________________________
Ryu-devel mailing list
Ryu-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to