bgpcep.git
6 years agoReplace deprecated CheckNotNull 95/67195/6
Claudio D. Gasparini [Mon, 15 Jan 2018 15:36:35 +0000 (16:36 +0100)]
Replace deprecated CheckNotNull

Change-Id: I21ec7c40264533e027320f7b5b31ee895003537e
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoDocument path-id reserved value 21/67421/3
Claudio D. Gasparini [Mon, 22 Jan 2018 13:08:34 +0000 (14:08 +0100)]
Document path-id reserved value

Change-Id: I663ffac423e8a48c8528782165abc1406d70bb44
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-672: Fix key storage un adj-rib-out 12/67412/7
Claudio D. Gasparini [Sat, 20 Jan 2018 12:08:18 +0000 (13:08 +0100)]
BGPCEP-672: Fix key storage un adj-rib-out

list key must not be null, therefore
path-id should always be included.
Reserving PATH-ID 0 for non-supporting
add-path.

Change-Id: I9b0af92e91e7c0b1c7281230a804c7adeff2dbca
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-724 Make BGP Session recoverable 58/66358/23
Kevin Wang [Mon, 11 Dec 2017 21:58:17 +0000 (13:58 -0800)]
BGPCEP-724 Make BGP Session recoverable

This patch make BGP Session recoverable when anything wrong
happens during netty session negotiation. When an exception
is captured, the BGP session will be terminated.

Change-Id: Id3fc7ec282a2151e3bd6bdbfa8930e141b3ceaff
Signed-off-by: Kevin Wang <kevixw@gmail.com>
6 years agoRemove private constructor tests 25/67125/3
Claudio D. Gasparini [Fri, 12 Jan 2018 15:57:33 +0000 (16:57 +0100)]
Remove private constructor tests

Change-Id: I33cc6ffcf940db226826e350e59c8af5eb1e1d71
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoRemove no longer required method 06/67106/6
Claudio D. Gasparini [Fri, 12 Jan 2018 11:26:26 +0000 (12:26 +0100)]
Remove no longer required method

Change-Id: Ic987e86f09cff5df35f81c13a7385866727f30ed
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoReduce number of parameters for pcep 78/67278/2
Claudio D. Gasparini [Thu, 18 Jan 2018 10:49:15 +0000 (11:49 +0100)]
Reduce number of parameters for pcep

-improve logs

Change-Id: Ibdf63a2b7d7894600a466a07086d7b9d4d9b5cc4
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoAdd feature-repo-parent pom 02/67402/2
Claudio D. Gasparini [Sun, 21 Jan 2018 17:21:11 +0000 (18:21 +0100)]
Add feature-repo-parent pom

reducing duplicated dependencies
by inheritance.

Change-Id: I8683f302ec4bd7aa08ed38bbc8a149e17de24a5d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoAdd single feature parent 01/67401/2
Claudio D. Gasparini [Sun, 21 Jan 2018 16:14:45 +0000 (17:14 +0100)]
Add single feature parent

reducing duplicated dependencies
by inheritance

Change-Id: Ia143e2f70f1aa76cb611f58b7673bb96a722bdd1
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFix poms 00/67400/1
Claudio D. Gasparini [Sun, 21 Jan 2018 11:31:44 +0000 (12:31 +0100)]
Fix poms

- use dependency version management
- fix checkstyle complains
- add checkstyles to parents

Change-Id: Ide387d38f5d4e6c865f12070c5f8e3bbea5f9aef
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEliminate unneeded declarations 12/67312/5
Robert Varga [Thu, 18 Jan 2018 22:47:50 +0000 (23:47 +0100)]
Eliminate unneeded declarations

yangtools.version is not really useful, as are the plugin
declarations, which we are inheriting from elsewhere.

Change-Id: I78ca9db9bb0341237fca05d251a801efab95266b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoCleanup feature dependencies 41/67341/3
Robert Varga [Thu, 18 Jan 2018 22:59:38 +0000 (23:59 +0100)]
Cleanup feature dependencies

Use smaller upstream features to the extent we need them.

Change-Id: I9bf9dac7fe926c5c69a544ac7620d8a18085e5e5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoFix config-loader-spi pulling in bundles 55/67155/5
Robert Varga [Mon, 15 Jan 2018 12:24:01 +0000 (13:24 +0100)]
Fix config-loader-spi pulling in bundles

Depend on odl-mdsal-broker instead of pulling in controller bundles
into this feature.

Change-Id: I86c7e150a0e972f2f802c8bc5e8bea892b0d5bad
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump to yang 2.0.1 71/67271/1
Claudio D. Gasparini [Thu, 18 Jan 2018 07:07:26 +0000 (08:07 +0100)]
Bump to yang 2.0.1

Change-Id: I6551c9e338f7e178997edaf1fdc680598f587c6c
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoDisable offline link detection in bmp-impl 52/67152/1
Robert Varga [Mon, 15 Jan 2018 12:09:40 +0000 (13:09 +0100)]
Disable offline link detection in bmp-impl

This seems to suffer from a similar affliction.

Change-Id: I236f7bdfd00dc361d8d7e5177c4d9eac8954d2a5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoDisable offline links in bgp-rib-impl 50/67150/1
Robert Varga [Mon, 15 Jan 2018 10:39:01 +0000 (11:39 +0100)]
Disable offline links in bgp-rib-impl

This is a workaround for broken merge job -- disable link
detection until we figure out what is wrong with jenkins.

Change-Id: I985702541b46fd015cde55a9e35390ffc978cf8a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump to odlparent-3.0.2 and yangtools-2.0.0 66/65866/19
Robert Varga [Thu, 23 Nov 2017 12:51:31 +0000 (13:51 +0100)]
Bump to odlparent-3.0.2 and yangtools-2.0.0

This is a combined upgrade of dependencies, adopting them in one
go. Since yangtools has switched to using java.util.Optional,
mirror that decision in interfacing expected do directly interact
with NormalizedNodes.

Change-Id: I87977f2757777c3cefe2a59acb0ec1f2d3beed21
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFix yangtools feature reference 13/67113/1
Robert Varga [Fri, 12 Jan 2018 15:29:08 +0000 (16:29 +0100)]
Fix yangtools feature reference

The feature was renamed to odl-yangtools-data, fix the reference.

Change-Id: I1f26a9206ff151bc90d8bb298bff8a83af755a1e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoBump to odlparent-3.0.0 and yangtools-2.0.0 11/67111/1
Claudio D. Gasparini [Fri, 12 Jan 2018 14:32:23 +0000 (15:32 +0100)]
Bump to odlparent-3.0.0 and yangtools-2.0.0

This is a combined upgrade of dependencies,
adopting them in one go.

Change-Id: I68206648e60f657a2d16f1160bd379c0a769ee75
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-742 Fix BGP NPE filter null BGP State 65/67065/3
Claudio D. Gasparini [Thu, 11 Jan 2018 14:59:46 +0000 (15:59 +0100)]
BGPCEP-742 Fix BGP NPE filter null BGP State

from BGP State collector.

Change-Id: Ic23277b22466140c2e17c429eea7467fd9d33ce8
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-739: Improve logs under programming 50/67050/1
Claudio D. Gasparini [Thu, 11 Jan 2018 08:52:34 +0000 (09:52 +0100)]
BGPCEP-739: Improve logs under programming

- make programming service closeable
- close service when pcep-topology provider
service is closed.

Change-Id: I87ad85b3b4a54c71b1020f12b962277b7595b182
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoIntroduce testtool-parent 71/66971/4
Claudio D. Gasparini [Tue, 9 Jan 2018 12:24:33 +0000 (13:24 +0100)]
Introduce testtool-parent

to enforce findbug and checkstyle
under testtools

Change-Id: I971c273cbfd739e308d3548faf664af7812cc30c
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFix findbug and checkstyle issues 72/66972/2
Claudio D. Gasparini [Tue, 9 Jan 2018 11:51:34 +0000 (12:51 +0100)]
Fix findbug and checkstyle issues

Change-Id: Ia8fef246d76af79c9557f7cecf7cbd2740249ab9
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFix findbug issues under pcep modules 24/66924/3
Claudio D. Gasparini [Sun, 7 Jan 2018 22:06:47 +0000 (23:06 +0100)]
Fix findbug issues under pcep modules

Change-Id: Ia1fd4067479bc0bbdc8242ef7cc111394b62c059
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFix findbug issues 23/66923/2
Claudio D. Gasparini [Sun, 7 Jan 2018 21:37:20 +0000 (22:37 +0100)]
Fix findbug issues

for rib-spi & rib-impl module

Change-Id: I76e4bebdab4581ec4475647af5ce87bcfc52d616
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce checkstyle & findbug under bundle-parent 21/66921/1
Claudio D. Gasparini [Sun, 7 Jan 2018 18:35:13 +0000 (19:35 +0100)]
Enforce checkstyle & findbug under bundle-parent

and remove enforcement from modules which
contains it as a parent.

Change-Id: I48846c5765f35411ab28508da8df7fdcf2c8f8a2
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce checksyle findbug and checkstyle 08/66908/1
Claudio D. Gasparini [Fri, 5 Jan 2018 17:17:19 +0000 (18:17 +0100)]
Enforce checksyle findbug and checkstyle

under bgp topology

Change-Id: Id30c083d36fa47b42f45f2eaa1c0ccd91109564f
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce checkstyle and findbug 07/66907/1
Claudio D. Gasparini [Fri, 5 Jan 2018 16:44:22 +0000 (17:44 +0100)]
Enforce checkstyle and findbug

under PeerAcceptor

Change-Id: Ied636638346c6a3852aa7c453d73b8d13c011278
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce checkstyle and findbug 02/66902/2
Claudio D. Gasparini [Fri, 5 Jan 2018 16:13:11 +0000 (17:13 +0100)]
Enforce checkstyle and findbug

under openconfig-state

Change-Id: I01cca3a4b084691449da90f64cfe55d370a99db9
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFix checkstyle issues under rib-spi 01/66901/2
Claudio D. Gasparini [Fri, 5 Jan 2018 15:28:05 +0000 (16:28 +0100)]
Fix checkstyle issues under rib-spi

and enforce findbug

Change-Id: I4bf3cc40aa28636a016dbc97c9bda17284557c63
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle 89/66889/2
Claudio D. Gasparini [Thu, 28 Dec 2017 23:29:00 +0000 (00:29 +0100)]
Enforce findbug and checkstyle

under programming spi

Change-Id: I5f2b757c48ac2ae107dadd1174fb4779528b3e77
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle 96/66796/3
Claudio D. Gasparini [Thu, 28 Dec 2017 13:15:18 +0000 (14:15 +0100)]
Enforce findbug and checkstyle

under openconfig-spi & rib-mock

Change-Id: I09a97928c539f5638d920794704cc9796b534e53
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle 94/66794/1
Claudio D. Gasparini [Tue, 26 Dec 2017 20:38:59 +0000 (21:38 +0100)]
Enforce findbug and checkstyle

under modules

- openconfig-api
- parser-api
- ri-api
- testool
- util

Change-Id: I01838e001689835f1d4f4b3dab5c1e3fe311fc72
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoRemove GLOBAL strict bgp registry 70/66770/2
Claudio D. Gasparini [Wed, 20 Dec 2017 17:30:27 +0000 (18:30 +0100)]
Remove GLOBAL strict bgp registry

Change-Id: Id11ef8a8bcb31949f90734d43fae0a19da81b4b2
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle 69/66769/2
Claudio D. Gasparini [Sat, 23 Dec 2017 22:23:45 +0000 (23:23 +0100)]
Enforce findbug and checkstyle

under programming impl

Change-Id: I46db1e8dbf0c94ad8640af15b5bbe25e30ff8559
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle under utils 68/66768/2
Claudio D. Gasparini [Sat, 23 Dec 2017 22:09:39 +0000 (23:09 +0100)]
Enforce findbug and checkstyle under utils

Change-Id: I3598bd00429565b11f5fa1913efe70634ccd5b36
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoOptimize TerminationReason memory usage and performance 29/61229/4
Robert Varga [Sat, 5 Aug 2017 23:54:10 +0000 (01:54 +0200)]
Optimize TerminationReason memory usage and performance

Using a map is forcing us to box on each lookup. Given the cardinality
a simple array lookup is just fine.

Change-Id: Id39151267545e6c35a3c0b9997612879e9b88c65
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoEnforce findbug and checkstyle under PCEP 52/66752/3
Claudio D. Gasparini [Fri, 22 Dec 2017 22:30:41 +0000 (23:30 +0100)]
Enforce findbug and checkstyle under PCEP

Topology provider

Change-Id: I90c6e45d3a9c8ae559c327de8c0e4fa09cc02a76
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-738: fix unbind pcep stats 51/66751/1
Claudio D. Gasparini [Fri, 22 Dec 2017 22:15:11 +0000 (23:15 +0100)]
BGPCEP-738: fix unbind pcep stats

by doing it when session is finished
 or topology is closed.

Change-Id: I5f46f1e2bfb7f37a9fad6d3101177c8f127ba67a
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle under BMP Parser 32/66732/1
Claudio D. Gasparini [Fri, 22 Dec 2017 11:39:26 +0000 (12:39 +0100)]
Enforce findbug and checkstyle under BMP Parser

Change-Id: I9f2b96af276dbbe4edd528373473c42a1d459daf
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle under BMP IMPL 31/66731/1
Claudio D. Gasparini [Fri, 22 Dec 2017 11:02:41 +0000 (12:02 +0100)]
Enforce findbug and checkstyle under BMP IMPL

Change-Id: I6f6edbb401c95a80768d2c507e6c909d69ae493d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle under BMP SPI 30/66730/1
Claudio D. Gasparini [Fri, 22 Dec 2017 10:57:03 +0000 (11:57 +0100)]
Enforce findbug and checkstyle under BMP SPI

Change-Id: I6e0de407586040e6de8d86bf45bedb614a769d4d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce Findbug and checkstyle under BMP API 29/66729/1
Claudio D. Gasparini [Fri, 22 Dec 2017 10:56:33 +0000 (11:56 +0100)]
Enforce Findbug and checkstyle under BMP API

Change-Id: I7882d0af8603bd5939edc4a8d2850c544b6fef50
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-737: Implement BMP client reconnection 14/66714/3
Claudio D. Gasparini [Thu, 21 Dec 2017 10:46:36 +0000 (11:46 +0100)]
BGPCEP-737: Implement BMP client reconnection

after succesful connection goes down.
Remove duplicate code.

Change-Id: I8690de7d6a49c6c92e319c840a37a1fe043b9775
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle for pcep auto bandwith 68/66668/3
Claudio D. Gasparini [Wed, 20 Dec 2017 10:29:16 +0000 (11:29 +0100)]
Enforce findbug and checkstyle for pcep auto bandwith

Change-Id: I69959b94839f6b16836a2123a7f481fccdaafd6b
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle under l3vpn 82/66582/3
Claudio D. Gasparini [Mon, 18 Dec 2017 16:57:16 +0000 (17:57 +0100)]
Enforce findbug and checkstyle under l3vpn

Change-Id: I049c4941cc69bddb1f1db2f7713a6127a02a2b0d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug & checkstyle for bgp inet 81/66581/3
Claudio D. Gasparini [Mon, 18 Dec 2017 16:38:47 +0000 (17:38 +0100)]
Enforce findbug & checkstyle for bgp inet

Change-Id: Ie623110fa1d1a5466f2ceb914284b07d24e76f87
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checkstyle under bgp concepts 80/66580/3
Claudio D. Gasparini [Mon, 18 Dec 2017 16:17:20 +0000 (17:17 +0100)]
Enforce findbug and checkstyle under bgp concepts

Change-Id: I16ef040f415e742f94751f57ebd965c51f3747ce
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug and checktyle under bgp cli 79/66579/3
Claudio D. Gasparini [Mon, 18 Dec 2017 16:08:03 +0000 (17:08 +0100)]
Enforce findbug and checktyle under bgp cli

Change-Id: I081909c05f31d02fd11042c96d564c499ef1f328
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug & checkstyle under bgp benchmark 78/66578/3
Claudio D. Gasparini [Mon, 18 Dec 2017 16:06:46 +0000 (17:06 +0100)]
Enforce findbug & checkstyle under bgp benchmark

Change-Id: I9f6afa12f79cf17f7927a7fdd11ffaa766278ff8
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug & checkstyle under evon module 77/66577/3
Claudio D. Gasparini [Mon, 18 Dec 2017 13:03:51 +0000 (14:03 +0100)]
Enforce findbug & checkstyle under evon module

Change-Id: Ib09de798d809002e03379805d299e8e577331be4
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce checkstyle and finbug 76/66576/3
Claudio D. Gasparini [Mon, 18 Dec 2017 12:12:03 +0000 (13:12 +0100)]
Enforce checkstyle and finbug

under topology modules

Change-Id: I1ff4d0d5fd6317fbb014633cef218e02d2ec26e9
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug for rsvp modules 75/66575/3
Claudio D. Gasparini [Mon, 18 Dec 2017 12:02:48 +0000 (13:02 +0100)]
Enforce findbug for rsvp modules

Change-Id: I98f68d71b333e64371b79244a0ad3914212a7d43
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBUG-6308: implement draft-sajassi-bess-evpn-vpws-fxc 55/66555/4
Claudio D. Gasparini [Tue, 7 Feb 2017 09:10:05 +0000 (10:10 +0100)]
BUG-6308: implement draft-sajassi-bess-evpn-vpws-fxc

https://tools.ietf.org/html/draft-sajassi-bess-evpn-vpws-fxc-01

Change-Id: Ic5c647ec83dccbf3a4a8d6bbee2802700091d7c6
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFix NPE when decoding Pcep Entity 44/66644/1
Claudio D. Gasparini [Wed, 20 Dec 2017 10:19:10 +0000 (11:19 +0100)]
Fix NPE when decoding Pcep Entity

Change-Id: Ifc3c87b28a37c389013eddb3de95530d8882bb8b
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoIllegalStateException: Schema for node 19/66619/3
Claudio D. Gasparini [Tue, 19 Dec 2017 17:05:15 +0000 (18:05 +0100)]
IllegalStateException: Schema for node

not found for parse xml with config.
Fix by catching exception and throw only a warn.

Change-Id: If039b0eff0afc1dd33e62f421d612fa11eb773bf
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce checkstyle and findbug under PCE Api 85/66385/8
Claudio D. Gasparini [Tue, 12 Dec 2017 11:33:04 +0000 (12:33 +0100)]
Enforce checkstyle and findbug under PCE Api

Change-Id: Ifdda7b466bb43d2f3e2d7ade338129fc6bd30bae
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoPCEP Entity Identifier configurable 45/66345/11
Claudio D. Gasparini [Fri, 8 Dec 2017 19:23:11 +0000 (20:23 +0100)]
PCEP Entity Identifier configurable

- Reduce number of parameters for PCEP

Change-Id: I91190152b9307a9492091a0243492cc539e8862d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoReduce number of paramaters for PCEP Dispatcher 50/66350/9
Claudio D. Gasparini [Mon, 11 Dec 2017 15:03:47 +0000 (16:03 +0100)]
Reduce number of paramaters for PCEP Dispatcher

Change-Id: I67a5f3d63ed60a8f9e2a416d6927559b2bba93b1
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-735: Fix Pcep Java-level deadlock 90/66390/7
Claudio D. Gasparini [Tue, 12 Dec 2017 14:35:49 +0000 (15:35 +0100)]
BGPCEP-735: Fix Pcep Java-level deadlock

Change-Id: Ida03e2d21b53f8bb5cd5df90e978f55d10ca0d80
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-736: BMP Testtool retry connection 05/66505/1
Claudio D. Gasparini [Fri, 15 Dec 2017 11:22:00 +0000 (12:22 +0100)]
BGPCEP-736: BMP Testtool retry connection

capability

Change-Id: I70169ff59c621e6a0c60b9b185bf9e2a2337b8b7
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFix wrong conditional while creating BGP config dir 06/66406/1
Ajay Lele [Wed, 13 Dec 2017 02:08:59 +0000 (18:08 -0800)]
Fix wrong conditional while creating BGP config dir

The conditional where BGP config dir is created causes premature return
from the method because of which the config dir does not get watched.

Change-Id: I5022b9a3ed49010b665edcd935b33b0b0514debf
Signed-off-by: Ajay Lele <ajayslele@gmail.com>
6 years agoDocument simulated exception under tests 51/66351/3
Claudio D. Gasparini [Mon, 11 Dec 2017 15:58:10 +0000 (16:58 +0100)]
Document simulated exception under tests

Change-Id: I73ce359d7915949d1a706f51922ef49075cde8bf
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoRename pcep wrapper 44/66344/2
Claudio D. Gasparini [Sat, 9 Dec 2017 23:06:34 +0000 (00:06 +0100)]
Rename pcep wrapper

Change-Id: I3f6bf3dca2c2ea5bbeb2de9d16d68572aa271001
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoPCEP Entity Id configurable per Topology Node 43/66343/3
Claudio D. Gasparini [Fri, 8 Dec 2017 18:27:32 +0000 (19:27 +0100)]
PCEP Entity Id configurable per Topology Node

- Introduce interfaces and models
- extend pcep stats

Change-Id: I47e597100b2293ef8cd8da14e6018a6309caf436
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce checkstyle and findbug for PCEP 47/66347/1
Claudio D. Gasparini [Mon, 11 Dec 2017 11:38:34 +0000 (12:38 +0100)]
Enforce checkstyle and findbug for PCEP

Topology modules

- api
- spi

Change-Id: Ib1d2092520aab6fca58dbbbc022bee9d864d956f
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-730: Fix ModifiedNodeDoesNotExistException 50/65850/16
Claudio D. Gasparini [Mon, 20 Nov 2017 13:44:06 +0000 (14:44 +0100)]
BGPCEP-730: Fix ModifiedNodeDoesNotExistException

Create wrapper for handle Cluster Singleton
Servise.
Previous implementation was done on RIbs and Peers,
if the registration failed for Rib, Peer could still
registering and given per true that Rib was initialized.
Ending on race condition and false assumption under DS.

Change-Id: I15263684d01220882d126ed6dcd6c152d74263dc
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFeatures clean up 76/66276/16
Claudio D. Gasparini [Wed, 6 Dec 2017 13:17:24 +0000 (14:17 +0100)]
Features clean up

Put order under BGPCEP features
- use features instead of bundles
- use odl-bgpcep-extras-dependencies whenever possible
instead of util bundle
- remove unnecesary pcep/rsvp-dependency features

Change-Id: Ib395983698ae58a292071be60c3dddb5cf732eb7
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBug-6562: Support add-path in base BGP NLRI 87/64487/7
Ajay Lele [Wed, 18 Oct 2017 19:20:21 +0000 (12:20 -0700)]
Bug-6562: Support add-path in base BGP NLRI

- Update BGP message model to include path-id in base Withdraw
  and NLRI section.
- Update parse/serialize logic of update message to take into
  account path-id if present.
- Added unit-test for BGP update parse/serialize with add-path.
- Updated revision number in all affected models.
- Updated code affected by model change.

Change-Id: I149d0ed87e38fa96895a713117d83b826ac57b01
Signed-off-by: Ajay Lele <ajayslele@gmail.com>
6 years agoBGPCEP-732: Pass IpAddress as BGP Peer identifier 06/66306/3
Claudio D. Gasparini [Thu, 7 Dec 2017 13:09:36 +0000 (14:09 +0100)]
BGPCEP-732:  Pass IpAddress as BGP Peer identifier

a not give for true that it will be all the time Ipv4.

Change-Id: I5cb237f422fd4246d86e9e0c44e8dfda919a7af8
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoAdd description to pcep SR capability model 05/66305/1
Claudio D. Gasparini [Thu, 7 Dec 2017 11:01:51 +0000 (12:01 +0100)]
Add description to pcep SR capability model

Change-Id: I62fb4d9baae0e431d4104689c6571b2002cfdf9e
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGP Migrate deprecated netty methods 66/66266/3
Claudio D. Gasparini [Wed, 6 Dec 2017 09:18:12 +0000 (10:18 +0100)]
BGP Migrate deprecated netty methods

Change-Id: I7bc2c5899f17fe974212da37dfea6c51461e502a
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoSplit BGPDeployer initialization from constructor 72/66272/2
Claudio D. Gasparini [Wed, 6 Dec 2017 11:32:20 +0000 (12:32 +0100)]
Split BGPDeployer initialization from constructor

Change-Id: Ia5e1fe42a31b6278503c3cb604870731aa108dff
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoPrevent NullPointerException 74/66274/1
Claudio D. Gasparini [Wed, 6 Dec 2017 12:54:07 +0000 (13:54 +0100)]
Prevent NullPointerException

Change-Id: I771ea0d9a19df410e276975ddd2c4302374d0a00
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoClean up 65/66265/1
Claudio D. Gasparini [Wed, 6 Dec 2017 09:11:47 +0000 (10:11 +0100)]
Clean up

- remove unused imports
- static declared as final
- unnecesary private
- remove deprecated checkedFuture

Change-Id: I4def646d01969755394970661b81f21aa9827690
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforche finish creation of Pcep Tunnel root 61/66261/2
Claudio D. Gasparini [Tue, 5 Dec 2017 14:41:03 +0000 (15:41 +0100)]
Enforche finish creation of Pcep Tunnel root

for avoid race conditions.

Change-Id: I48de958c2181d51fb7baa3b146bab5344bf4bc9a
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoRemove Pcep Tunnel Config example as default 50/66250/2
Claudio D. Gasparini [Tue, 5 Dec 2017 18:17:47 +0000 (19:17 +0100)]
Remove Pcep Tunnel Config example as default

Change-Id: I87889b3af04277f693c5face80833ab0bb39d940
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoMigrate deprecated netty methods 43/66243/2
Claudio D. Gasparini [Tue, 5 Dec 2017 13:26:33 +0000 (14:26 +0100)]
Migrate deprecated netty methods

Change-Id: I8b4b28c2f7d9acdd2ebd436be48260d3505f04af
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoMigrate deprecated Futures.transform 41/66241/2
Claudio D. Gasparini [Tue, 5 Dec 2017 13:12:00 +0000 (14:12 +0100)]
Migrate deprecated Futures.transform

Change-Id: Ib9d984ddbd26e901407f77dcd12e249da79b16ff
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoRemove unnecesary imports 40/66240/2
Claudio D. Gasparini [Tue, 5 Dec 2017 12:40:50 +0000 (13:40 +0100)]
Remove unnecesary imports

Change-Id: Ibba970f0debd06d510a9dc39940241c99dce6872
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-704: Remove PCEP CSS Config 52/65852/7
Claudio D. Gasparini [Fri, 10 Nov 2017 11:23:10 +0000 (12:23 +0100)]
BGPCEP-704: Remove PCEP CSS Config

Change-Id: I6ba9a08280add3661bc313853cc66b9d930da8e9
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-728: BMP Mock clustering 96/66196/1
Claudio D. Gasparini [Mon, 4 Dec 2017 13:27:21 +0000 (14:27 +0100)]
BGPCEP-728: BMP Mock clustering

Fix clustering connection for bmp test tool
-enforce findbug

Change-Id: Icd0cb21467ab5c8fbea38a2561f0330cbdc5914d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-726: Migrate PCEP Tunnel config 59/66059/7
Claudio D. Gasparini [Mon, 27 Nov 2017 16:31:17 +0000 (17:31 +0100)]
BGPCEP-726: Migrate PCEP Tunnel config

from deprecated CSS to DS Config.

Change-Id: I038da50451ae18de05ccea12f9b105593924bc7f
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-726: Introduce tunnel topology config 84/66184/3
Claudio D. Gasparini [Sat, 2 Dec 2017 13:36:31 +0000 (14:36 +0100)]
BGPCEP-726: Introduce tunnel topology config

models.
- enforce checkstyle and findbug

Change-Id: I60d519d76a3a087dc04307f868710fb029c52a0d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBUG-726: Move pcep topology tunnel to aggregator 83/66183/1
Claudio D. Gasparini [Sat, 2 Dec 2017 13:27:47 +0000 (14:27 +0100)]
BUG-726: Move pcep topology tunnel to aggregator

Change-Id: Ib6b63744c2ac9d7c345c5d85cddc02a19ca3ea3f
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoFix static imports, * import not allowed 82/66182/1
Claudio D. Gasparini [Sat, 2 Dec 2017 08:07:29 +0000 (09:07 +0100)]
Fix static imports, * import not allowed

Change-Id: I0abeadf529dab138d680a50cf4e01ec7bb46b196
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoImprove CheckUtil testss 46/66146/1
Claudio D. Gasparini [Fri, 1 Dec 2017 08:33:16 +0000 (09:33 +0100)]
Improve CheckUtil testss

-enforce checkstyle
-enforce findbug

Change-Id: I9d3dd4dc6b6b6192d8015f0d9f11a4c7082e7297
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoEnforce findbug under pcep cli 98/66098/2
Claudio D. Gasparini [Thu, 30 Nov 2017 15:40:23 +0000 (16:40 +0100)]
Enforce findbug under pcep cli

Change-Id: I4a84ff3da88e651f61ec2b6735180c18ed2d5806
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoDrop obsolete Maven site configuration 04/66004/4
Claudio D. Gasparini [Tue, 28 Nov 2017 07:45:24 +0000 (08:45 +0100)]
Drop obsolete Maven site configuration

See
https://lists.opendaylight.org/pipermail/odlparent-dev/2017-November/001492.html

Change-Id: I47450accb138360d2074e091b827f62492cca0cb
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-727: PCEP Cli 95/66095/2
Claudio D. Gasparini [Thu, 30 Nov 2017 09:50:07 +0000 (10:50 +0100)]
BGPCEP-727: PCEP Cli

Implement PCEP Cli for offer Node Session State

Change-Id: Ie14eb2723e151042054437f9fa4fdae1e3563914
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-685: Rework deployers 88/66088/1
Claudio D. Gasparini [Thu, 30 Nov 2017 11:26:47 +0000 (12:26 +0100)]
BGPCEP-685: Rework deployers

Remove no longer Deployers services/Interfaces,
they were used to provide backward compatibility
and offering services to store on DS.
Once remove CSS Config, Deployers should only listen
changes on DS and not offer more than required.
this add simplicity and avoids boilerplate.

Change-Id: Icb1382c72b1ac1700c596c5ce020aa98c41e09ee
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-710: Create Network Topology Loader 12/65712/11
Claudio D. Gasparini [Wed, 15 Nov 2017 15:18:45 +0000 (16:18 +0100)]
BGPCEP-710: Create Network Topology Loader

- Rework config loader
- Rename config-file examples
- Create config file example for pcep
- Dont use deployer for config loaders,
  use DS straight
- Remove no longer required Deployer interfaces

Change-Id: Id9beea9f321c01061fc65923b6a4838be30d7bb0
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-580: Implement PCEP stats DS rendering 37/65537/10
Claudio D. Gasparini [Wed, 29 Nov 2017 09:46:02 +0000 (10:46 +0100)]
BGPCEP-580: Implement PCEP stats DS rendering

- create Pcep Topology stats models
- create new PCEP State interfaces
- augment network pcep topology
with pcep session state
- implement PCEP Stats Registry for register
Node Stats and store stats udner DS

Change-Id: Ib33a05c7e3fcb9ef7c485bed7a33e543ed6c7d14
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoRename bgp release-session rpc 05/66005/2
Claudio D. Gasparini [Tue, 28 Nov 2017 13:34:12 +0000 (14:34 +0100)]
Rename bgp release-session rpc

for a more proper name based on what
actually do.

Change-Id: Ib4d14e9f5642710c62bff08dcedf2474be77016c
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-704: Rework Pcep teardown session rpc 07/66007/1
Claudio D. Gasparini [Tue, 28 Nov 2017 13:54:09 +0000 (14:54 +0100)]
BGPCEP-704: Rework Pcep teardown session rpc

return void RpcResult instead future void

Change-Id: I2813f84d8bc03b47539f489b769921c7b04b1e84
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-704: Rework Deployer 02/66002/1
Claudio D. Gasparini [Tue, 28 Nov 2017 12:39:28 +0000 (13:39 +0100)]
BGPCEP-704: Rework Deployer

- Filter Pcep Network Topologies

Change-Id: Icafdfe5c06251ad740ee2d44b931459a9d93af1c
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-704: Add restart session rpc 97/65997/3
Claudio D. Gasparini [Fri, 24 Nov 2017 11:55:03 +0000 (12:55 +0100)]
BGPCEP-704: Add restart session rpc

as a replacement for Css rpc removed

Change-Id: If5e6e08c9a673289cf44c519d675dcb9626c45bc
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-704: Update Topology Deployer 48/65848/4
Claudio D. Gasparini [Fri, 10 Nov 2017 11:21:59 +0000 (12:21 +0100)]
BGPCEP-704: Update Topology Deployer

Deploy topology based on network topology
config, and remove CSS Config.

Change-Id: Ifb90294e7a69869ef4c357e0124bcf2a5cb96d00
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-704: PCEP Config models 02/65402/7
Claudio D. Gasparini [Fri, 10 Nov 2017 07:39:44 +0000 (08:39 +0100)]
BGPCEP-704: PCEP Config models

Create PCEP models config as a replacement for
deprecated CSS Config

Change-Id: I2328345ea8440edd2aae66b596807753da483f1b
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
6 years agoBGPCEP-685: Remove Path selection Css config 52/65952/2
Claudio D. Gasparini [Mon, 20 Nov 2017 12:39:21 +0000 (13:39 +0100)]
BGPCEP-685: Remove Path selection Css config

no longer required models and files

Change-Id: I0b588d2e19aa8df9c272fcd6cc00cabdfd82e1cf
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>