summaryrefslogtreecommitdiffstats
path: root/infra
AgeCommit message (Collapse)AuthorFilesLines
2017-08-14Shutdown closing of resourcesJan Srnicek5-34/+57
Change-Id: If57a5414153cb983138872c7a1ded7c7066b1b6d Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-08-14HONEYCOMB-381 - Shutdown handlerJan Srnicek3-0/+111
Change-Id: I5cf4317e5838470d1e792090c67d97db76ed14f2 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 Gradzki41-276/+432
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 Gradzki18-256/+837
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 Gradzki4-11/+16
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 Srnicek32-188/+359
- 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 Srnicek38-319/+593
- Restconf configuration included under restconf.json Change-Id: I45f503d3ef383bd6e3d356308d3212c7314b7a28 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-07-11Fix typo in infra/cfg-init/asciidoc/Readme.adoclijingjing1-1/+1
Change-Id: Ib6fb7cb8a4d98f123981b11f85bcdd0a7fb4d8ba Signed-off-by: lijingjing <li.jingjing3@zte.com.cn>
2017-07-06Bump honeycomb version to 1.17.10-SNAPSHOTMarek Gradzki36-69/+69
Change-Id: I6294fc266b704568d4e093a50d615f96eac153be Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06Fix distribtion test pomsMarek Gradzki2-0/+2
Properly define relativePath for parent projects. Change-Id: Ia9759f98e2266795b2794dd699a2fe4940159a47 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06HONEYCOMB-377: remove enabled flag for bgpMarek Gradzki10-55/+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 Srnicek59-59/+119
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 Gradzki29-138/+129
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-07-03HONEYCOMB-373 - Move configuration to minimal-distribution-coreJan Srnicek5-0/+0
Change-Id: Iee0644e01ad21f20adbc36fb8ace556e5ce4a8c4 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-30HONEYCOMB-360 - Common northbound configurationJan Srnicek18-23/+112
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 Gradzki6-0/+208
Change-Id: Ia1a3f44c7dae0b4b0be99f96abb017e1b022ec32 Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-30HONEYCOMB-373 - Separate minimal distribution modules to core moduleJan Srnicek65-121/+190
Change-Id: I5278f91ea06f57c84b44a8458ef44469ebd0cf84 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-30HONEYCOMB-358 - Conditional module loadingJan Srnicek41-117/+591
Change-Id: Ic9b7182cc77bf2f73cf5edd3ee19f25f53711cda Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-30HONEYCOMB-358 - Activation moduleJan Srnicek16-106/+202
Provides module that provides set of distribution started modules Change-Id: I54287cc17f3af7d51a47a7342e5b8496e5ade00e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-06-20Update BGP postman collection with labeled-unicast examplesMarek Gradzki1-30/+177
Change-Id: Iebbd67bfbf79460b4964a24b4ef76d0e1bdabd47 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-19HONEYCOMB-356: API implementationMarek Gradzki11-0/+523
RibWriter registers DataTreeChangeListener for given route type. RouteWriter recevies create/update/delete notifications for single route modifications in LocRib DS. Change-Id: I4832abfb25aa189ecd3964febd6071f9a25117b2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-19Add support for BGP labeled unicast ipv4 extensionMarek Gradzki3-3/+28
Change-Id: Id004eaf98d03daec260e7c13b79ced0f4785b952 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-16Increase timeout for distro testsv1.17.07-F0Marek Gradzki2-2/+2
Change-Id: I9eb2db901112ac861e078f9a320ceb81d7e83dbf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-16HONEYCOMB-356: translate API for BGP routesMarek Gradzki6-0/+177
Change-Id: Iba3698737772544f4e4bd99db4c07319d74305fc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-09Move Ids interface to test-modelMarek Gradzki4-18/+17
The interface is useful for testing infra with HC's test-model Change-Id: I6c1fd1888bccfd2ff461984bc0b4b7c42ce65347 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-09Move ordering logic out of AbstractSubtreeManagerRegistryBuilderBuilderMarek Gradzki14-125/+226
Introduces YangDAG that maintains topological order for yang schema nodes and can be used by other components to read additional graph edges, e.g. from file (HONEYCOMB-365). Change-Id: Ia3046d38ffb4ca222412309f6c4391afc9315bd2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-06-08Hide reader and writer registry builders in registry providers.Marek Gradzki4-20/+20
Only ReaderRegistry and WriterRegistry instances are needed by other components. Change-Id: Icc026154e80be4ca9424c79754f342e93fda0735 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-31Dedicated provider for BgpNeighboursMarek Gradzki3-8/+20
Change-Id: I1a98ea27dde5ba77f8b20382dfeb29496f3282b2 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-31Provide RIB/BGPExtensionConsumerContext as singletonsMarek Gradzki1-2/+5
Whitout specifying it explicitly Guice might create more instances Change-Id: Ia3cf56e54d59fa49488ab93a26a9db44cec51e8d Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-29HONEYCOMB-355: move BGP to separate distributionMarek Gradzki37-175/+655
Given current YangBindingProviderModule implementation (HONEYCOMB-358), needed to preserve footprint of minimal distro. The change also: - reverts logger&persistence config changes introduced by https://gerrit.fd.io/r/#/c/5972/ - improves logging for BGP component initialization Change-Id: Ie223833518be21628edb7ace36c7618e427585e0 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-26Include ODL's BGP to HC minimal distroMarek Gradzki26-12/+1405
Features: - static bgp instance - static peer registry (both remote & app peers supported) - bgp operational state exposed via RESTCONF/NETCONF - bgp-inet support - postman collection with examples TODOs: - make bgp disabled by default in honeycomb.json (probably bgp should be build using profile or allow to filter yangs loaded by SchemaCtx, otherwise footprint will grow) - update asciidocs for infra module - SPI for VPP integration: - allow RIB changes listeners - or writers (that can reject changes) to mirror netconf/restconf design - expose bgp server & peer cfg via netconf/restconf (currently read from json files) - test support for all BGP extensions (flowspec BGP needs additional care) - make bgp extensions fully configurable (probably requires changes in ODL) Testing 1) start hc distro: ./infra/minimal-distribution/target/minimal-distribution-1.17.07-SNAPSHOT-hc/minimal-distribution-1.17.07-SNAPSHOT/honeycomb 2) run bgp-testtool: java -jar ./target/bgp-testtool-0.6.3-Boron-SR3-executable.jar -ra 127.0.0.1:1790 -la 127.0.0.2:17900 -pr 2 -ll DEBUG --active true -as 65000 -mp true then GET http://localhost:8183/restconf/operational/bgp-rib:bgp-rib Change-Id: I156d6a1c79174279db8c8936c40ac1f28e14794c Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-19Remove unnecessary usages of Supplier interfaceMarek Gradzki5-29/+25
Change-Id: I6bc2f99806f81c206dcf31711a01fcebe809288a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-05-09HONEYCOMB-350 - APPEAR/DISAPPEAR modification handlingJan Srnicek22-553/+2026
Allows these types of modifications to check in depth, to see if some of their children nodes were not modified Change-Id: Ice2f988732c2d9ecad8e960c4f10d01863fb0cfd Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-04-07Bump ODL dependencies to Boron-SR3Marek Gradzki4-15/+21
Boron SR3 contains fixes for HC2VPP-62,HC2VPP-69,HC2VPP-68 Change-Id: I06ad40da6fe2f702c735bfa5413de19ba3132046 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-31Bump version to 1.17.07-SNAPSHOTMarek Gradzki27-52/+52
Change-Id: Ie7b486c266ea34df999e7122b5ef12d26aded863 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-31Fix memory-benchmark-api pom.xmlMarek Gradzki1-0/+1
Change-Id: I72f0e5339d9fc39a3ca76c67a20e8358ce7f700a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-22HONEYCOMB-348: include dump params in entity keyMarek Gradzki5-29/+70
Change-Id: I18b2ea3c897c467740f19bf346d13240aac458ac Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-03-07Use StreamWriterGenerator.create instead of deprecated constructorMarek Gradzki2-4/+5
Change-Id: Ief2224325fb7b9ec1dd3bbb21536f6306b68aa1a Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-27HONEYCOMB-344 - structural reader for listJan Srnicek9-93/+205
Change-Id: Ia02ed73daaeea547d49c9ec2d4d7d10f4db85b5e Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-21Resource nullability check for test runnerJan Srnicek2-0/+5
checks if provided resource path was found Change-Id: I86ed1b6f38bc8f48fd12ebe8620831862840ed11 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-15Downgrade ODL dependencies to Beryllium-SR4Marek Gradzki4-21/+15
Workaround for HC2VPP-62 until https://bugs.opendaylight.org/show_bug.cgi?id=7759 is fixed. Change-Id: I0e9c82378865bf99c1843b0399940a53350e2d76 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-14Added debug logs for transactionsJan Srnicek2-1/+36
Change-Id: I4585cbc2100ef0a76e50e870d57b28221debf2f6 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-10Fix support for nested augmentations when augmenting listsMarek Gradzki3-8/+104
Change-Id: I96e7db8f295c9c3d5b14395c7785574d12d76ea9 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-02-10HONEYCOMB-334 - List entry injection for yang dataJan Srnicek22-304/+806
Major changes - mechanism to inject list entries by key - provided processor registry to hide explicit implementations Minor changes - general refactoring Test cases - list in root of model - list under container - list under nested container - list in augmentation Change-Id: I9abe1ce5f9176c132ad88627b135516574e40e06 Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-02-07Prevent submitting of structural reader for list nodeJan Srnicek3-1/+19
Static customizer must be provided instead till HONEYCOMB-344 is resolved Change-Id: Id71f69fe23b156e6de10eed06a3596de8e602bbe Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-31HONEYCOMB-293 - Memory benchmarkingJan Srnicek27-2/+1441
Contains configuration for benchmarks: - Honeycomb on rest(just infra, no data) - Honeycomb with 1000 data nodes - Honeycomb with 10000 data nodes Each benchmark outputs two files: - out_path_name-HeapMemoryUsage.csv - out_path_name-NonHeapMemoryUsage.csv Both files are in format : committed,init,max,used 109576192,109051904,1525153792,12194752 Data sample sizes can be easily adjusted, just by changing start parameter -DsampleSize Change-Id: If6f9919307574237689326b4a38d410ec563200a Signed-off-by: Marek Gradzki <mgradzki@cisco.com> Signed-off-by: Jan Srnicek <jsrnicek@cisco.com>
2017-01-23HONEYCOMB-302: add support for nested augmentationsMarek Gradzki4-26/+440
Change-Id: I60f1b3f79ddb578d6fca157fe5736de40b30623e Signed-off-by: Marek Gradzki <mgradzki@cisco.com> (cherry picked from commit 78886acd688284585c2e219e18d7289f49cc8a45)