summaryrefslogtreecommitdiffstats
path: root/infra/northbound
AgeCommit message (Collapse)AuthorFilesLines
2018-05-02javadoc: add missing <name> in pom filesMarek Gradzki11-0/+11
Change-Id: I3d65b568c3651e4b2474c25bdf80cf3fff416360 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-05-02bgp-extensions: fix ODL BGP links in javadocMarek Gradzki6-6/+6
Change-Id: I84b338774c8175a7e59f03db3b81297607df0141 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-10Fix various Sonar warningsMarek Gradzki2-5/+3
Change-Id: I0883042a80525b72f33e66fdb0d5b9e600dcc713 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-09Bump Honeycomb version to 1.18.07-SNAPSHOTMarek Gradzki13-25/+25
Change-Id: Ib0b9a2a2369730cd8a21e35e4dce0b62e45e8ad3 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-23HONEYCOMB-424: bump ODL dependencies to OxygenMarek Gradzki19-91/+103
Change-Id: I3160e5df4e66b3b3c732619fc1fc7599459fda76 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-07Fix Netconf TCP server shutdownMarek Gradzki1-9/+17
Change-Id: I0c74799a7249777c3258be915e9a95836fe0265e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-03-07Fix Restconf server shutdownMarek Gradzki2-15/+36
Change-Id: Ia7c0fc2d269ae88170297ef22476c8a61121238a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-30HONEYCOMB-414: use NetconfNorthboundSshServer for NETCONF initializationMarek Gradzki2-103/+14
instead of rewriting it in HC. Change-Id: Id2b5cb1b7bcd38728721ce92a7b5dbe1d919731c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-01-09Bump honeycomb version to 1.18.04-SNAPSHOTMarek Gradzki13-25/+25
Change-Id: Idb0fec8ab45ec76431ab6d05d70a61eee1929628 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-11Do not hardcode websocket parameters in RestconfConfigurationMarek Gradzki1-2/+2
Change-Id: I3891eae1aac45fcd6e8adf4384c48d657998ed27 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-12-05Allow table type registration for BGP extensionjan.srnicek1-2/+2
modules with different package name Change-Id: I0f6336052081fff923711e71cf85b748d8d4c730 Signed-off-by: jan.srnicek <jan.srnicek@pantheon.tech>
2017-11-30HONEYCOMB-417: bump ODL dependencies to Nitrogen SR1Marek Gradzki3-1/+8
Change-Id: I6fe0d310a36dd8b0262c7db53f520616e65022e4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-23Fix method/modifiers ordering to comply with JLSMarek Gradzki3-62/+61
Change-Id: I2b886a118ff5167df89a2922802b343ce5978c95 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-22Add missing @Override annotationsMarek Gradzki6-0/+6
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 Gradzki3-23/+6
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 Gradzki13-64/+51
* 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-07Make restconf depend on miminal-distribution-coreMarek Gradzki1-0/+6
Follows infra/notrthbound/netconf dependency direction. Change-Id: Ie29115e2b0b969d33270493c6d6cc4e9bda5e009 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-11-06HONEYCOMB-359 - Wildcarded writers for BGP extensionsJan Srnicek10-47/+189
Defines wildcarded writers for BGP extensions to be able to write theirs respective part of ApplicationRib Change-Id: I0057b59c5977d5f75e0bc3c0c8eae9b8cfdf0f85 Signed-off-by: Jan Srnicek <jsrnicek@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 Srnicek36-228/+1428
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 Gradzki5-9/+9
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-09-05HONEYCOMB-389 - Netconf whitelistJan Srnicek2-0/+135
Change-Id: I279f77fcada863c7ece2c2368fc4b5f957b45435 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-09-05HONEYCOMB-389 - Restconf whitelistJan Srnicek2-0/+46
Change-Id: I4c60d0ea569e85b23a9d0127ef496545fc475a61 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-15Honeycomb docs updateJan Srnicek2-2/+2
Change-Id: I3f65dffad169634e5cf273d8568066b7f15bda37 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14Shutdown closing of resourcesJan Srnicek4-24/+43
Change-Id: If57a5414153cb983138872c7a1ded7c7066b1b6d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-10HONEYCOMB-387: bind HoneycombNotification2Netconf as EagerSingletonMarek Gradzki1-1/+1
https://gerrit.fd.io/r/#/c/7411/10 moved HoneycombNotification2Netconf instance creation out of distribution's Main. HoneycombNotification2Netconf is not used in any provider, so needs to be initialized eagerly. Change-Id: I1a5cfe6eb83b75a0b175052a8bda32eb4619218e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-03HONEYCOMB-362: bump ODL dependencies to CarbonMarek Gradzki15-132/+183
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-14HONEYCOMB-360 - Netconf Northbound Intefaces provider separationJan Srnicek20-0/+1326
- Netconf configuration included under netconf.json Change-Id: If2a51d689e9bfc950da73f15a438277839140f8a Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-14HONEYCOMB-360 - Restconf Northbound Intefaces provider separationJan Srnicek12-0/+685
- Restconf configuration included under restconf.json Change-Id: I45f503d3ef383bd6e3d356308d3212c7314b7a28 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-06Bump honeycomb version to 1.17.10-SNAPSHOTMarek Gradzki3-5/+5
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 Gradzki23-0/+1566
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>
2017-06-30HONEYCOMB-360 - Common northbound configurationJan Srnicek6-0/+71
Change-Id: Iefa1c4a7388c628c9527a00b13be59d98db640ec Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-30HONEYCOMB-360 - Utility for conditional initialization of HC guice modulesMarek Gradzki5-0/+207
Change-Id: Ia1a3f44c7dae0b4b0be99f96abb017e1b022ec32 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>