HONEYCOMB-369: configurable BGP peers 66/7566/3
authorMarek Gradzki <mgradzki@cisco.com>
Thu, 13 Jul 2017 08:41:27 +0000 (10:41 +0200)
committerMarek Gradzki <mgradzki@cisco.com>
Fri, 14 Jul 2017 12:01:08 +0000 (14:01 +0200)
commita3d562afdd96d4c37fe608af99f364e879ee92b6
tree1cf24ae099ada86a0f783ec879f6c9bf4e78e184
parentd28000626470afb327872660849da79869fdf310
HONEYCOMB-369: configurable BGP peers

BGP peer configuration is no longer read from bgp-peer.json file.
Netconf/Restconf is can be used instead.
BGP peer configuration in HC follows openconfig-extensions model (as in ODL BGP):
* http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-peering
* http://docs.opendaylight.org/en/stable-boron/user-guide/bgp-user-guide.html#bgp-application-peer-and-programmable-rib

Change-Id: I91aa6c4fc0923edbacf6cd10abd3957569a4f8c6
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
18 files changed:
infra/bgp-distribution-test/asciidoc/Readme.adoc
infra/bgp-distribution-test/src/test/java/io/fd/honeycomb/infra/bgp/distro/BgpDistributionTest.java
infra/bgp-distribution-test/src/test/resources/bgp.json
infra/northbound/bgp/pom.xml
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/ApplicationRibWriterFactory.java [new file with mode: 0644]
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpConfiguration.java
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpModule.java
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpNeighboursProvider.java [deleted file]
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpWriterFactoryProvider.java [deleted file]
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/BgpWritersModule.java
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/neighbors/BgpPeerWriterFactory.java [new file with mode: 0644]
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/neighbors/NeighborCustomizer.java [new file with mode: 0644]
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/neighbors/NetworkInstanceCustomizer.java [new file with mode: 0644]
infra/northbound/bgp/src/main/java/io/fd/honeycomb/infra/bgp/neighbors/ProtocolCustomizer.java [new file with mode: 0644]
infra/northbound/bgp/src/main/resources/honeycomb-minimal-resources/config/bgp.json
infra/northbound/bgp/src/test/java/io/fd/honeycomb/infra/bgp/neighbors/NeighborCustomizerTest.java [new file with mode: 0644]
infra/northbound/bgp/src/test/java/io/fd/honeycomb/infra/bgp/neighbors/NetworkInstanceCustomizerTest.java [new file with mode: 0644]
infra/northbound/bgp/src/test/java/io/fd/honeycomb/infra/bgp/neighbors/ProtocolCustomizerTest.java [new file with mode: 0644]