summaryrefslogtreecommitdiffstats
path: root/infra/northbound/bgp
AgeCommit message (Collapse)AuthorFilesLines
2017-11-23Fix method/modifiers ordering to comply with JLSMarek Gradzki1-6/+7
Change-Id: I2b886a118ff5167df89a2922802b343ce5978c95 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Add missing @Override annotationsMarek Gradzki4-0/+4
Fix isses reported by Sonar thanks to IntelliJ's code inspection. Change-Id: Ief7b4307d4b90e107f010d7feaa307776afaf947 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-20Use InetAddresses.forString instead of InetAddress.getByNameMarek Gradzki1-7/+2
Unlike InetAddress.getByName(), Guava's InetAddresses.forString() never cause DNS services to be accessed. JDK equivalents whenever you are expecting to handle only IP address string literals, so there is no blocking DNS penalty for a malformed string. See: https://google.github.io/guava/releases/22.0/api/docs/com/google/common/net/InetAddresses.html#forString-java.lang.String- Change-Id: Id1fc5fa45465b0e0b3aea7d60b9fdb855240d902 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-10HONEYCOMB-385: bump ODL dependencies to NitrogenMarek Gradzki1-1/+1
* guava bumped to 22.0 (same as used by ODL) * use 4K RSA for SSH server (related to bouncy-castle bump in ODL) - based on https://git.opendaylight.org/gerrit/#/c/60138/2 - also fixes HC2VPP-207 * removed some yang models from netconf-whitelist.xml, that are no longer present in ODL dependencies, * increased timeouts in distro tests, because generating 4K RSA key my last longer (especially on slow jenkins nodes). * EmptyMountPointService exposed to enable reuse by notification and restconf providers Change-Id: I2ff32bd7f0298716210fcfee4918007a42fab171 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-03HONEYCOMB-359 - Wildcarded writersJan Srnicek2-46/+9
Adds option to specify subtree writer that can handle whole subtree of nodes without having whole subtree specified. Its checking if node is children at runtime, rather than having pre-computed tree Change-Id: Ic46f2bd6de84f0dd14865825399f5a90a1f80859 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-09HONEYCOMB-363 - Bgp extension modulesJan Srnicek8-354/+37
Provides maven modules per bgp extension. Defines common configuration that can be used to define new extensions(AbstractBgpExtensionModule). Change-Id: I1c8ff65b6f9aa5474026f4bdf42476bd0559208e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-10-03Bump honeycomb version to 1.18.01-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: I64bcd7e45da5d7431ba436ff6ad1ac62cd1d1051 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-02Fix BGP RIB link-state configurationMarek Gradzki1-1/+8
Change-Id: I896f1aae3b71e21bd6127aedf22faef07a132daf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-14Shutdown closing of resourcesJan Srnicek3-23/+36
Change-Id: If57a5414153cb983138872c7a1ded7c7066b1b6d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-03HONEYCOMB-362: bump ODL dependencies to CarbonMarek Gradzki11-50/+144
Change-Id: I63fa239e34178ab03c4eecd421bf19d80303d30e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-28Move BGP examples to hc2vppMarek Gradzki1-283/+0
Change-Id: I3a77a35fb039acb1e0a138450883922e9a02683f Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 756ffae6576fe50c052950418627be4a1d21f996)
2017-07-17HONEYCOMB-369: configurable BGP peersMarek Gradzki15-245/+782
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> (cherry picked from commit a3d562afdd96d4c37fe608af99f364e879ee92b6)
2017-07-17Make BGP protocol instance name configurableMarek Gradzki3-11/+15
Change-Id: I49a201b8e027d229a60bb76abe9b5688af7b7cdf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-17HONEYCOMB-370: make bgp peers configuration optionalMarek Gradzki2-55/+6
Change-Id: I459425f4ee8f43d0bf196d2c762e741c58667907 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06Bump honeycomb version to 1.17.10-SNAPSHOTMarek Gradzki1-2/+2
Change-Id: I6294fc266b704568d4e093a50d615f96eac153be Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06HONEYCOMB-377: remove enabled flag for bgpMarek Gradzki7-51/+15
Use module configuration to enable/disabe BGP. Also hides BgpExtensionModule module to the user (until HONEYCOMB-363 is fixed). Change-Id: I8294d080138a0bcf640420484b76c089aa332d93 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-03HONEYCOMB-360 - Separate ProviderTrait to dedicated projectJan Srnicek11-10/+15
This change is necessary to break dep cycle, that would by introduced by splitting netconf and data-core modules. Also allows to reduce use in hc2vpp(some project incude whole minimal-distribution-core just because of this one interface) Change-Id: I7744b4dc78f6d6797263b10bbc4ead545a2f6593 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-03HONEYCOMB-374: move BGP to minimal-distributionMarek Gradzki22-0/+1565
Separate BGP distribution was temporary workaround for HONEYCOMB-358 and (partially) HONEYCOMB-360. BGP northbound interface is disabled by default. Change-Id: I72a0f83f40ea96bee478be7d6560f2112611d80f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>