summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-10-02Use relative paths in IT test configstable/1707Marek Gradzki3-3/+3
Change-Id: Ic19175c90fbd91ba81aaa812f735c03eb9c9a836 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-02Include IT coverage in JaCoCo and Sonar reportsMarek Gradzki4-2/+57
* introduces jacoco-it.exec which stores aggregated IT test execution data, * configures Sonar to use jacoco-it.exec to report IT coverage, * marks following modules as integration tests: - it-test - minimal-distribution-test - bgp-distribution-test Change-Id: I538c1febb6112a6abad29061f6b00259a0d79f9f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-02Clean JaCoCo and Sonar configurationMarek Gradzki1-11/+1
Remove unused and obsolete values from honeycomb-parent's pom. Change-Id: I520a1b69169db6778787bae9ac8d4092a9078e4f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-10-02Bump JaCoCo Maven Plugin to 0.7.9Marek Gradzki1-1/+1
Change-Id: I67019b56d98b5896f7a4eb02657bd39ca2e238e5 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-27Fix BGP RIB link-state configurationMarek Gradzki1-1/+8
Change-Id: I896f1aae3b71e21bd6127aedf22faef07a132daf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-09-08Fix Sonar error-handling issuesMarek Gradzki3-8/+8
Change-Id: Iae8a7d27ed4ba778abe5bdbb937f55fa4d7a6638 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-08-03Bump yang-binding.version to 0.9.4-Boron-SR4Marek Gradzki1-1/+1
ODL Boron-SR4 leftover Change-Id: I27a39415523f8ffbba084113f30453a1eb9a0edc Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-28Set honeycomb version to 1.17.07.1-SNAPSHOTMarek Gradzki57-112/+112
Change-Id: I55f36fb9db260462c1ad2816bbdc2cfd3b47f554 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-27Bump Honeycomb version to 1.17.07v1.17.07Marek Gradzki57-112/+112
Change-Id: I3ff312361a5eedff9ca10cb0ef941e9e2efeeab4 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-27Move BGP examples to hc2vppMarek Gradzki1-283/+0
Change-Id: I3a77a35fb039acb1e0a138450883922e9a02683f Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-271.17.07 release notes updateMarek Gradzki2-4/+10
Change-Id: I6eadb8e97e09642899663e4195be6aabbdfc3075 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-26HONEYCOMB-357: plugin development tutorial updateMarek Gradzki1-33/+166
Distribution's modules configuration was moved to pom.xml Restconf port was updated. Section on netconf testing was added. Change-Id: I9a33dc4c95f59641a2c306b6048917681b815b06 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-18Set honeycomb version back to 1.17.07-SNAPSHOTMarek Gradzki57-112/+112
Change-Id: I49581238280881f128f138b63e854f26998fddee Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-18Bump honeycomb version to 1.17.07-RC2v1.17.07-RC2Marek Gradzki57-112/+112
Change-Id: I2d84081238446e35af7d33e2b9944ac34c2b1832 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-14HONEYCOMB-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>
2017-07-14HONEYCOMB-370: make bgp peers configuration optionalMarek Gradzki2-55/+6
Change-Id: I459425f4ee8f43d0bf196d2c762e741c58667907 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-14Make BGP protocol instance name configurableMarek Gradzki4-11/+16
Change-Id: I49a201b8e027d229a60bb76abe9b5688af7b7cdf Signed-off-by: Marek Gradzki <mgradzki@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-11HONEYCOMB-373 - Remove local module mappingJan Srnicek1-46/+3
Change-Id: Ic3a8a843168baed85cc31e0a09f9aa21cf691d1a Signed-off-by: Jan Srnicek <jsrnicek@cisco.com> (cherry picked from commit f6a03970c2e59d040012b6a457997361a318e8b2)
2017-07-07Set honeycomb version back to 1.17.07-SNAPSHOT (fixed)Marek Gradzki57-112/+112
Second attempt to bump version back to SNAPSHOT. Cannot be submitted before merge job for https://gerrit.fd.io/r/#/c/7476/ is finished. Change-Id: Id9a143b6d7774aaabc3aaad7168eb424fbda0a85 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-07Bump honeycomb version to 1.17.07-RC1 (fixed)v1.17.07-RC1Marek Gradzki57-112/+112
Honeycomb artifacts are published by honeycomb-merge job. Current job settings use 'default' choosing-strategy, which clones most recent commit from target branch. Therefore honeycomb version should not be set to snapshot until merge job is finished and artifacts are available in nexus. This patch is second attempt to bump honeycomb version (has the same contents as https://gerrit.fd.io/r/#/c/7453/) Change-Id: Iabc4431e3f65ff25ba6abeabc0d6c37bbb163963 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06Set honeycomb version back to 1.17.07-SNAPSHOTMarek Gradzki57-112/+112
Change-Id: Id9a143b6d7774aa3a93aaad7168eb424fbda0a85 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
2017-07-06Bump version to 1.17.07-RC1Marek Gradzki57-112/+112
Change-Id: I4d24431e3f65ff25ba6abeabc0d6c37bbb163963 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-06Set stable/1707 as default branch for gitreviewMarek Gradzki1-0/+1
Change-Id: I17764fab41ad59b1fe0d73dc9cf0759abeb88a77 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 Srnicek67-174/+197
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 - Generate guice to yang modules indexJan Srnicek6-17/+380
Generates two descriptor files yang-modules-binding/yang-modules - List of Yang modules by project(classpath + deps) yang-mapping/FULL_PROJECT_NAME-yang-modules-index - Index from Guice modules to Yang modules that are used by respective Guice module These files are included in jar files and distribution resources Change-Id: Iafc178219245df9129fb426a5876215c6fd1837e 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-23Bump ODL dependencies to Boron-SR4Marek Gradzki1-8/+8
Change-Id: I06aee0da6fe2f702c735bfa5413de19ba3132046 Signed-off-by: Marek Gradzki <mgradzki@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-09Exclude .idea folder from checkstyleJan Srnicek1-1/+2
Change-Id: I4e9cd08ad8640b2733fa1c62cbd620a639e81bed Signed-off-by: Jan Srnicek <jsrnicek@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 Gradzki27-12/+1413
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-24Update initialization example in honeycomb archetypeMarek Gradzki3-67/+18
Removes unsupported AbstractDataTreeConverter Change-Id: I0b45f1d16139a55f2248294b57bfad6d8ee32c45 Signed-off-by: Marek Gradzki <mgradzki@cisco.com>