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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Claudio D. Gasparini [Fri, 10 Nov 2017 07:46:30 +0000 (08:46 +0100)]
BGPCEP-704: Remove PCEP Dispatcher CSS modules
Remove deprecated and no longer required PCEP
Dipatcher CSS models
Change-Id: Iaa3734c6b1e6a9847f4d3f44c9e15759cea2590f
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Thu, 9 Nov 2017 10:21:35 +0000 (11:21 +0100)]
BGPCEP-704: Rework Programming
- Remove Programming CSS Configuration
- remove css config models
- Introduce a Factory service for InstructionSchedulers
- enforce checkstyle
Change-Id: I48bbaaa6a764e9ac46859dd482f4fe05c7e6d0c1
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Fri, 10 Nov 2017 07:22:00 +0000 (08:22 +0100)]
BGPCEP-704: Remove PCEP/Programming Controller
config files
Change-Id: I7c697d7f84009c7d5a84ffddf87372140b9e7ba0
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Robert Varga [Thu, 23 Nov 2017 13:41:11 +0000 (14:41 +0100)]
Fix odlparent reference
The reference should point to 2.0.5, not 1.9.0.
Change-Id: I739d260b1509ce981b803a7a0b7e087a55f97159
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Claudio D. Gasparini [Wed, 15 Nov 2017 12:20:56 +0000 (13:20 +0100)]
BGPCEP-717: Add logback config file
for reduce log level of yang parser.
As a result we reduce 1G output to
only 12M
- set debug loglevel for test
Change-Id: If9265b0a025d2171fbe5578d527abf89c0b0af60
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Ajay Lele [Thu, 26 Oct 2017 19:04:59 +0000 (12:04 -0700)]
BGPCEP-709: Operational OpenConfig BGP RIB output is not seen for all controllers in the 3 node cluster
- StateProviderImpl uses clustering singleton service to run only 1 instance in cluster.
Problem is that if BGP speaker needs to be kept separate across the cluster nodes
e.g. for scalability issues (creating separate shard for bgp rib and openconfig module and
disabling replication for them), since the singleton service name is same across
the nodes, only 1 instance of the service runs and so operational data is available
only on that node.
- This PR changes this to run operational data collection/update service on all nodes,
but perform the activity only for rib and peer that are active on that node.
- Updated unit-tests.
Change-Id: I7284b249b8ec68b4c6905a92bbb221816d196cae
Signed-off-by: Ajay Lele <ajayslele@gmail.com>
Claudio D. Gasparini [Fri, 10 Nov 2017 17:07:19 +0000 (18:07 +0100)]
BGPCEP-704: Remove integration test
already covered by tests under PCEP
Change-Id: I7227106d63645efd0699573752e4abe688bea070
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sun, 12 Nov 2017 18:45:35 +0000 (19:45 +0100)]
BGPCEP-718: Hide InterruptedException
coming from closing thread, when closing module.
Avoiding confuse message.
Change-Id: Ica45c84b33f5d3b30ea3f61e5b76cf01bad5c03d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sat, 11 Nov 2017 18:54:35 +0000 (19:54 +0100)]
BGPCEP-717: Add logback config file
for reduce log level of yang parser.
As a result we reduce 1G output to
only 12M
- set debug loglevel for test
- set info loglevel for yang parser
Change-Id: I29f4480d2bc9e27bb77be4cdb18d621f06d40bcb
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Thu, 9 Nov 2017 10:34:07 +0000 (11:34 +0100)]
Remove PCEPDipatcher deprecated method
Change-Id: Ie2aa3b0734372b2dd1c5d37c0dc7f34866d8911a
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Wed, 8 Nov 2017 11:40:43 +0000 (12:40 +0100)]
Enforce BMP SPI/ API Checkstyle
Change-Id: I4cbbc75a30362967bca4a7edcd0001ef32dc8536
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Tue, 7 Nov 2017 16:00:43 +0000 (17:00 +0100)]
BGPCEP-685: Remove rib config css models
Change-Id: I91f4e4633fbbacbdf4b61bca11310534d77e129c
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Tue, 7 Nov 2017 10:31:58 +0000 (11:31 +0100)]
Remove deprecated methods under BMP API
Change-Id: I6ffe7f210331f08539a260cb0871be77b7f1ec8a
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Tue, 7 Nov 2017 10:28:57 +0000 (11:28 +0100)]
BGPCEP-711: BMP test tool clustering support
Make test tool able to connect to multiple nodes
Change-Id: Ic0011095140e7a31e598bc475f66713c85ed3038
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Mon, 6 Nov 2017 17:23:33 +0000 (18:23 +0100)]
Split artifacts in multiple artifacts
Change-Id: Ib90ecdde2568738a2066c88e01af27ac2eea231b
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Mon, 6 Nov 2017 16:23:17 +0000 (17:23 +0100)]
Remove dulicated module
Change-Id: I43c941e38b391ed34cb236742e2e74b42fa649d7
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Tue, 7 Nov 2017 10:05:43 +0000 (11:05 +0100)]
BGPCEP-688: Add odl-bgpcep-bmp-config-example
to features-bmp
Change-Id: I6d49057747ea80a66dbee4e3fb9ce100ea4e4008
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Mon, 6 Nov 2017 13:07:27 +0000 (14:07 +0100)]
move bmp to bmp aggregator
Change-Id: I78ac37a18987378ce066effbff0972ee9e04c8c9
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Kevin Wang [Mon, 23 Oct 2017 21:05:27 +0000 (14:05 -0700)]
BGPCEP-706: Fix BGP Flowspec NumbericOphrand
Right now when serializing a NumbericOphrand, the "end-of-list"
bit is not properly set. The last entry in the ophrand list
should have this bit set according to RFC [1]. Otherwise the packet
will be in malformed format.
This patch fix BGP flowspec NumbericOphrand to set the "end-of-list"
field properly. When the serialization happens, the end-of-list
field will be set in runtime.
[1] https://tools.ietf.org/html/rfc5575
Change-Id: Ib8841360b47137dc0ec0f54c3ef156a298ba3c81
Signed-off-by: Kevin Wang <kevixw@gmail.com>
Claudio D. Gasparini [Wed, 25 Oct 2017 06:57:28 +0000 (08:57 +0200)]
BGPCEP-685: Remove BGP Config subsystem models
Change-Id: I1d66738f637882eb1aadbbd9f94a4e1fd65d795a
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Mon, 23 Oct 2017 16:07:20 +0000 (18:07 +0200)]
BGPCEP-701: Remove old statistics, keep only openconfig stats
Change-Id: I729d20bc958396c70c761e9d40097a69850b4872
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Fri, 27 Oct 2017 12:45:46 +0000 (14:45 +0200)]
BGPCEP-685: Add Peer Release session rpc
old reset session rpc has been removed by
removal of cfg models. Therefore create a new
rpc providing the same service.
Change-Id: If17936e78642b5718126e79b6c197209af5ed268
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Fri, 20 Oct 2017 08:29:25 +0000 (10:29 +0200)]
BGPCEP-702: Migrate Cli to Operational State
Old bgp stats are being removed, therefore
we use new operational state stats for cli
- Enforce checkstyle
Change-Id: Iabe50a392db7eacb70b0533c65ecee7e683aba4c
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Thu, 2 Nov 2017 10:55:03 +0000 (11:55 +0100)]
BGPCEP-685: Remove controller config
and create config example module
Change-Id: I247a0a5749fafeac053cb5ddab04edc5865f6c5b
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Tue, 17 Oct 2017 13:56:42 +0000 (15:56 +0200)]
BGPCEP-704: Remove no longer required BMP CSS Config file
Change-Id: I9f906c90c1035c6256e9331101fe2542f53261c2
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Tue, 17 Oct 2017 10:35:43 +0000 (12:35 +0200)]
BGPCEP-688: BMP Config Loader
- Create BMP Config file loader
- Remove no longer required CSS config files
- Create BMP Config file example
Change-Id: I1bbdac4fd9efb29ae541a00952db02ad16e6f5be
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Thu, 2 Nov 2017 10:40:25 +0000 (11:40 +0100)]
BGPCEP-694: Dont install bgp example configuration by default
Change-Id: I23327a9f82f0993f2e0f82eb3ffc64b0aedfd380
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Mon, 30 Oct 2017 20:17:51 +0000 (21:17 +0100)]
BGPCEP-710: Config loader feature
-module bgp config loader can be reused for pcep.
Therefore we move to the top level, and we share it as
a new feature.
-Enforce checkstyle
Change-Id: I49058a9156841ec14eb8320738feb6503013f4ab
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Tue, 17 Oct 2017 14:22:53 +0000 (16:22 +0200)]
Reorder the modifiers to comply with the Java Language Specification
Change-Id: I0017515575a08271a3a1d6aeeedae3b6a072a9fb
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Thanh Ha [Mon, 30 Oct 2017 20:53:42 +0000 (16:53 -0400)]
Remove deploy-site.xml
With the javadoc jobs now available to generate javadoc it is time to
remove the maven-sites and related files.
Change-Id: I27ab85cca6733c8ebe6a5a95c9c4b675789c9454
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Claudio D. Gasparini [Sat, 28 Oct 2017 21:13:13 +0000 (23:13 +0200)]
Use bulk operation
Change-Id: Id8da3f1394551ec6c879bfab847fdd93fda3e0a1
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sat, 28 Oct 2017 20:50:01 +0000 (22:50 +0200)]
Migrate Jave 5 Stringbuffer
Change-Id: I57a2e07fa111dc6cf87d5920cf388169f4fe41e3
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sat, 28 Oct 2017 20:49:24 +0000 (22:49 +0200)]
Remove unnecesary boxing
Change-Id: I48a32e366ab320a31b868bb9af8e11014bf1aa12
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sat, 28 Oct 2017 20:47:24 +0000 (22:47 +0200)]
Fix missing version for maven reports
Change-Id: I45f229b90731d22d1099d38c690b2e6bb8ad5763
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Wed, 25 Oct 2017 12:20:01 +0000 (14:20 +0200)]
Create pcep topology parent aggregator
Change-Id: I3fbf0eb152ba84da138881f1080eb7b65d15469c
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Kevin Wang [Wed, 30 Aug 2017 22:46:39 +0000 (15:46 -0700)]
BUG-9079 Make PCEP session recoverable from exception
This patch makes PCEP session recoverable from any netty exception.
Whenever an exception happens, PCEP session will be closed. So it
will be at a clean state when the next session retry comes.
Change-Id: I38a983c44519fd5c12cb9cd0da09fa14c4177ac7
Signed-off-by: Kevin Wang <kevixw@gmail.com>
Claudio D. Gasparini [Fri, 13 Oct 2017 13:01:30 +0000 (15:01 +0200)]
BUG-9192 / BUG-9191
Enforce that each bundle under bgp is part of exactly one
feature by introducing new topology-api and concepts features.
Change-Id: Ifc6898b7154ba3451f1af7cfeba638c90c3c7a31
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sun, 27 Aug 2017 11:23:31 +0000 (13:23 +0200)]
Remove table type deprecated model
Change-Id: Ic08f591d2952a5cc839aac48677323edb1bca31d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sun, 27 Aug 2017 10:42:55 +0000 (12:42 +0200)]
Remove addpathcapability deprecated model
Change-Id: Ifd17ee8a8374c85fba978666295c0520ca5b7047
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sat, 26 Aug 2017 23:00:06 +0000 (01:00 +0200)]
Remove deprecated binding type / value models
Change-Id: I1afd5a57f34f8531574578ed007d7fcaf7ffd0d8
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Ajay Lele [Fri, 22 Sep 2017 21:53:10 +0000 (14:53 -0700)]
Bug 9205: NPE received while receiving BGP peers
Change-Id: I05383a406b03e5dc460e5ae013da82280920981e
Signed-off-by: Ajay Lele <ajayslele@gmail.com>
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Robert Varga [Mon, 9 Oct 2017 12:31:14 +0000 (14:31 +0200)]
BUG-9218: eliminate duplicate bundles
Packaging api bundles in multiple features causes inefficiency
in Karaf4. Introduce org-bgpcep-{bmp,rsvp,bgp-parser}-api
features to hold them.
Change-Id: I6351c945bbf3e272187dcd875854bff40c9b4f11
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Yrineu Rodrigues [Thu, 7 Sep 2017 21:08:12 +0000 (18:08 -0300)]
BUG-8929: NPE during singleton startup
Avoid NPE when installing features 'odl-bgpcep-bgp-api' and
'odl-bgpcep-bgp-impl' individually
Change-Id: Id651dff7c813544bd07a03b435069de5e723721d
Signed-off-by: Yrineu Rodrigues <yrineu.rodrigues@serro.com>
Claudio D. Gasparini [Mon, 4 Sep 2017 11:02:48 +0000 (13:02 +0200)]
BUG-8987: Print Exception when Css registration fails
Change-Id: I34236ac8546358fe3c00985fbbf40f69aa0bef19
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Stephen Kitt [Wed, 27 Sep 2017 13:36:39 +0000 (15:36 +0200)]
Bump odlparent 2.0.4 to 2.0.5
Change-Id: I0764041e6638fb24bc73deba3d158c265669ed66
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Anil Belur [Fri, 29 Sep 2017 02:34:21 +0000 (12:34 +1000)]
Bump bgpcep to use yangtools 1.2.0
Jira: releng-485
Change-Id: I322b6c2595c75b61a829a74dc5ebfdd12784f1c7
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Claudio D. Gasparini [Sat, 26 Aug 2017 22:07:27 +0000 (00:07 +0200)]
remove RD and Distinguisher deprecated models
Change-Id: I57d9073358b0284d9a7cef2463f05406a9653b24
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Mon, 11 Sep 2017 09:57:07 +0000 (11:57 +0200)]
BUG-9141: Fix Stateful07TopologySessionListener failing test
Some of the timers are rounding down, which is ending
on some statistics results in 0, when we have better
performance than expected. Update the code to round up.
Use LongAdder instead of long for counters
Change-Id: I958f1c252ba94f8cd392979fe469555aee3f8d48
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sat, 26 Aug 2017 22:04:16 +0000 (00:04 +0200)]
Migrate if to switch statement
Change-Id: Iacd0e96cd33884da88ce443f9a6f04e438996c7e
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sat, 26 Aug 2017 22:03:00 +0000 (00:03 +0200)]
Migrate iterables to java 8
Change-Id: I8cb6a37d1bc961c27b87b4fcb62ec93620288759
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Fri, 25 Aug 2017 11:28:57 +0000 (13:28 +0200)]
remove unnecesary boxing / unboxing
Change-Id: Ia0600f1684cb122bd41b2b0bb056ac60f50593c6
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Robert Varga [Mon, 4 Sep 2017 11:52:35 +0000 (13:52 +0200)]
Adjust for mdsal-binding-dom-codec movement
The codec is moveing its package, adjust for that. Also migrate
to using mdsal infra instead of controller, where possible.
Change-Id: I89306996d0a80908176c2918c1bff5f04e7bcad8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Robert Varga [Mon, 4 Sep 2017 16:02:56 +0000 (18:02 +0200)]
BUG-8987: check for null keys
Keys can be passed down as null, hence we need to check for this
happening.
Change-Id: I67018107b0925244f32b0cde6d8b53605594d521
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Robert Varga [Mon, 4 Sep 2017 11:43:46 +0000 (13:43 +0200)]
Migrate to using mdsal binding codec APIs
yangtools.binding.codec is deprected, migrate away from it.
Change-Id: Id11820a63bed195cd71578c9b92c7b29a642a844
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Claudio D. Gasparini [Fri, 25 Aug 2017 10:09:58 +0000 (12:09 +0200)]
Remove redundant cast
Change-Id: I8bb65db4621c817df641e8ed5c3a63b57d4b3f9c
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Fri, 25 Aug 2017 10:00:31 +0000 (12:00 +0200)]
Remove unnecesary imports
Change-Id: Ib51f90fae97a00962ebe44989b8c134546fada96
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Fri, 25 Aug 2017 09:59:53 +0000 (11:59 +0200)]
Remove unnecesary interface modifiers
Change-Id: I4d55d622e5f8431f0ee7d5650025b0a1bfd448dc
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Fri, 25 Aug 2017 09:58:43 +0000 (11:58 +0200)]
Fix wrong return of null when it should be optional
Change-Id: Iaa90b7dea002ea24da40973cab9d3a18e6955a1b
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Vratko Polak [Fri, 25 Aug 2017 08:17:25 +0000 (10:17 +0200)]
Bug 9046: Bring back data change counter feature
Tests which rely on data change counter do not work without this.
Change-Id: I0a82674c50887f7282cc6ed7a6a54573da73d637
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Ajay Lele [Thu, 10 Aug 2017 21:49:50 +0000 (14:49 -0700)]
Bug-8942: Fix DelegatedLspsCount
mbean value returns count of all LSPs and not just
the ones that are delegated
- Fixed code to return count of delegated LSPs only
- Added unit-test
Change-Id: I067b4cff8c7503fa878742ab6605fca2685a6c15
Signed-off-by: Ajay Lele <ajayl.bro@gmail.com>
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Wed, 9 Aug 2017 08:04:54 +0000 (10:04 +0200)]
enforce check-style for rsvp impl
Change-Id: I50a5540b58bcffe0c60687a5b37474f2ac27656f
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Mon, 21 Aug 2017 07:40:08 +0000 (09:40 +0200)]
Replace Preconditions.CheckNotNull per RequireNonNull
Change-Id: I41b155a876cdb10911ea28a31fe4040f5fe1bd53
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Dana Kutenicsova [Sun, 6 Aug 2017 10:18:35 +0000 (12:18 +0200)]
BUG-8156 : conflicting listener fix
In case another session listener is in conflict
with the existing one, close the new listener.
Change-Id: I1a594c3876eb1d28133dcc08b31f38deb5ceb27a
Signed-off-by: Dana Kutenicsova <dana.kutenics@gmail.com>
Signed-off-by: Kevin Wang <kevixw@gmail.com>
Dana Kutenicsova [Sun, 6 Aug 2017 08:53:58 +0000 (10:53 +0200)]
BUG-8156 : fixed start of session manager
Upon restart of session manager, its close flag was never
set to false, causing pcep sessions to be rejected as they
rely on this value.
Change-Id: I676ea5774cea4cbbee84222d2ad562bea70e83f3
Signed-off-by: Dana Kutenicsova <dana.kutenics@gmail.com>
Signed-off-by: Kevin Wang <kevixw@gmail.com>
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Dana Kutenicsova [Sat, 5 Aug 2017 23:00:49 +0000 (01:00 +0200)]
BUG-8156 : duplicate session up fixed
In case of session up twice, the second session gets
deleted from pcep and controller.
Change-Id: I25894bcbc0cc9e7a2d7759278244e4d93553122d
Signed-off-by: Dana Kutenicsova <dana.kutenics@gmail.com>
Signed-off-by: Kevin Wang <kevixw@gmail.com>
Claudio D. Gasparini [Mon, 7 Aug 2017 14:56:00 +0000 (16:56 +0200)]
Enforce checkstyle for rsvp api/spi
Change-Id: I7ceb91c1eaf1a1b3fb583eec31f08f5a497e4c8a
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sun, 13 Aug 2017 20:54:08 +0000 (22:54 +0200)]
Enforce check-style under rsvp spi tests
Change-Id: If52a4ab3a18c3618009127cd14ac7f3fa53a09dd
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Claudio D. Gasparini [Sun, 13 Aug 2017 20:55:14 +0000 (22:55 +0200)]
Enforche check-stile under rsvp api
Change-Id: I4bdd959b3c27353bc945e6c9282a948c97afaaa7
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Thanh Ha [Mon, 14 Aug 2017 17:15:46 +0000 (13:15 -0400)]
Bump versions by x.(y+1).z for next dev cycle
Change-Id: I75484ae00ea56a89a168cc408714ca4dd898eb49
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Stephen Kitt [Tue, 8 Aug 2017 16:14:19 +0000 (18:14 +0200)]
Bump odlparent 2.0.2 to 2.0.4
Change-Id: Ieee18f9e069a0d9eb6ca8cc9e12237654d958105
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Claudio D. Gasparini [Sat, 6 May 2017 18:37:21 +0000 (20:37 +0200)]
BUG-8335: Adjust instantiation
The hanging issue stems from the use of a blocking dispatch for DTCL,
which means we are calling into user code while holding listener
registration lock. This does not happen in production environment.
This patch adds an explicit test for this scenario and migrates
the hanging test to call properly initialize its base class.
Also cleans up warnings in the implementation, as it has not seen much
love lately.
Change-Id: I6c424acfad87244c7a23b013ea91da543ecf72a8
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Claudio D. Gasparini [Mon, 7 Aug 2017 11:48:17 +0000 (13:48 +0200)]
Clean up
- Migrate Futures.addCallback
- Move test to shorter package
Change-Id: I7c5f8f9743cd7220414d68d043ca912261edec4d
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>
Robert Varga [Sat, 5 Aug 2017 22:36:33 +0000 (00:36 +0200)]
Cleanup eclipse warnings
- static methods
- deprecated classes
- raw types
- unneded version declarations
Change-Id: Ibfe2f1f3203ebca416d8badd1f149d669ddc2415
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Robert Varga [Fri, 4 Aug 2017 22:03:38 +0000 (00:03 +0200)]
Enforce no split packages
This patch augments Export-Packages with a directive to fail build
if a split package is detected.
Change-Id: I52a2a157f992cb97fd8c6a88cf45c933ed0fd953
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Robert Varga [Fri, 4 Aug 2017 21:18:26 +0000 (23:18 +0200)]
BUG-8722: fix regression introduced by BUG-5876
Change I707914f3ab0786c0ad8ba71a5476b3b7e322b0cd regressed
bgp-rib-impl packaging such that it massively over-included
classes, leading to split package.
This patch fixes that regression.
Change-Id: I6366972b88e3881675c3dd70517fc4e95c050261
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Claudio D. Gasparini [Fri, 7 Jul 2017 07:28:56 +0000 (09:28 +0200)]
Re add features-bgpcep-extra to integration test
Change-Id: Ic61d66e420f5281dbde1a836b5adbc1ba78be777
Signed-off-by: Claudio D. Gasparini <claudio.gasparini@pantheon.tech>