O'Reilly logo

OpenDaylight Cookbook by Yrineu Rodrigues, Mohamed El-Serngawy, Rashmi Pujar, Jamie Goodyear, Alexis de Talhouët, Mathieu Lemay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

How to do it...

The following subsections highlight some implementation guidelines for extending BGP and PCEP protocols with an RFC or draft.

Guidelines to write a new BGP extension:

  • Creating a separate Maven bundle for the extension you want to implement:

Add the base-parser bundles as dependencies to the pom file of the new bundle created:

<dependency>  <groupId>${project.groupId}</groupId>  <artifactId>bgp-parser-api</artifactId></dependency><dependency>  <groupId>${project.groupId}</groupId>  <artifactId>bgp-parser-spi</artifactId></dependency>
  • YANG modeling for the extension:

You could write a new YANG model or new elements, or augment the existing ones based on your requirements. Once the YANG models are created, build the new bundle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required