summaryrefslogtreecommitdiffstats
path: root/infra/northbound/netconf/src
AgeCommit message (Collapse)AuthorFilesLines
2018-05-18Invoke CapabilityChangeNotificationProducer.close on shutdownMarek Gradzki1-2/+5
Also fixes Sonar warning regarding useless CapabilityChangeNotificationProducer instantiation. Change-Id: I376b834618d34f13615051abf622e6b12e031050 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2018-04-10Fix various Sonar warningsMarek Gradzki1-3/+1
Change-Id: I0883042a80525b72f33e66fdb0d5b9e600dcc713 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-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>
2017-11-22Add missing @Override annotationsMarek Gradzki1-0/+1
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 Gradzki2-16/+4
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 Gradzki2-45/+11
* 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-09-05HONEYCOMB-389 - Netconf whitelistJan Srnicek1-0/+129
Change-Id: I279f77fcada863c7ece2c2368fc4b5f957b45435 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14Shutdown closing of resourcesJan Srnicek1-1/+7
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 Gradzki3-82/+33
Change-Id: I63fa239e34178ab03c4eecd421bf19d80303d30e Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-14HONEYCOMB-360 - Netconf Northbound Intefaces provider separationJan Srnicek16-0/+1140
- Netconf configuration included under netconf.json Change-Id: If2a51d689e9bfc950da73f15a438277839140f8a Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>