lispflowmapping.git
8 years agoBug 5047: Improve soutbound performance 90/33490/2
Lorand Jakab [Mon, 25 Jan 2016 17:35:29 +0000 (19:35 +0200)]
Bug 5047: Improve soutbound performance

This commit resulted in ~40% performance increase for the
Map-Request/Map-Reply tests [1] on my local VM.

[1] https://jenkins.opendaylight.org/releng/view/lispflowmapping/job/lispflowmapping-csit-1node-performance-only-beryllium/plot/#lispflowmapping-csit-1node-performance-only-beryllium-pps.csv-history.csv

Change-Id: I70a8a893a022f958e2ecfaa93271b170473ff8ce
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoBug 5022: Migrate UI to IETF YANG model 01/33401/1
Lorand Jakab [Sat, 23 Jan 2016 00:28:47 +0000 (02:28 +0200)]
Bug 5022: Migrate UI to IETF YANG model

Change-Id: I1a7b64788c5298d7050abd89ff39be6cb0667f99
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoBug 5003: Fixing merging of SB mappings (for reachability) into NB Mappings when... 80/32980/4
vermagan@cisco.com [Tue, 19 Jan 2016 06:09:29 +0000 (22:09 -0800)]
Bug 5003: Fixing merging of SB mappings (for reachability) into NB Mappings when needed.
(not tested)

Change-Id: Ic7992f148bf768f1399213dbd6a2f6da00b0a992
Signed-off-by: vermagan@cisco.com <vermagan@cisco.com>
8 years agoBump yangtools to 1.0.0-SNAPSHOT 78/33278/1
Thanh Ha [Thu, 21 Jan 2016 21:05:09 +0000 (16:05 -0500)]
Bump yangtools to 1.0.0-SNAPSHOT

Change-Id: Ic2f0e237440cd478c081bac92e14c46a9f3f9f5b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 5034: Fix ServicePath normalization 10/33110/2
Florin Coras [Wed, 20 Jan 2016 16:33:52 +0000 (17:33 +0100)]
Bug 5034: Fix ServicePath normalization

Check if VNI is null and build normalized address accordingly.

Change-Id: Ic110664d7d4d78cac8a14bd63e04cee268a901e8
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoBug 5005: Send Map-Notify to all affected xTRs 93/32993/2
Lorand Jakab [Tue, 19 Jan 2016 10:11:07 +0000 (12:11 +0200)]
Bug 5005: Send Map-Notify to all affected xTRs

When merging is on, when a Map-Register is received send Map-Notify
containing the merged locator set to all xTRs that registered the same
prefix.

Change-Id: I50990371a077d2f405d99f0285e113333c9e2e76
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMerge "Bug 5016: Fix VNI for Source and Dest parsing in SourceDestKeyHelper"
Vina Ermagan [Wed, 20 Jan 2016 03:36:34 +0000 (03:36 +0000)]
Merge "Bug 5016: Fix VNI for Source and Dest parsing in SourceDestKeyHelper"

8 years agoBug 5016: Fix VNI for Source and Dest parsing in SourceDestKeyHelper 26/33026/2
Florin Coras [Tue, 19 Jan 2016 18:30:37 +0000 (19:30 +0100)]
Bug 5016: Fix VNI for Source and Dest parsing in SourceDestKeyHelper

Change-Id: Icbdc5e0d17a9b6d4eb21a9c1d6dba7268737b8be
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoBug 4991: Map-Notify with merged record when merging 43/32943/2
Lorand Jakab [Mon, 18 Jan 2016 14:35:18 +0000 (16:35 +0200)]
Bug 4991: Map-Notify with merged record when merging

Change-Id: Ib86db1f836893779cc0144dcf45937a45ff3c499
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoBug 4976: Fix NPE in SimpleMapCache 20/32820/2
Lorand Jakab [Sun, 17 Jan 2016 20:35:33 +0000 (22:35 +0200)]
Bug 4976: Fix NPE in SimpleMapCache

Change-Id: I0647c2b539876f319d71bb2186eee5a07ee3f300
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoBump versions by 0.1.0 for next dev cycle 26/32726/1
Thanh Ha [Fri, 15 Jan 2016 05:29:03 +0000 (00:29 -0500)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I4f9c273f753ce478bfc33c73e2ea65aa479af58e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 4906: Remove inactive SB mappings after a timeout 93/32293/7
Lorand Jakab [Thu, 14 Jan 2016 17:26:31 +0000 (19:26 +0200)]
Bug 4906: Remove inactive SB mappings after a timeout

Change-Id: I83c28854acde09343b775154f0b2e4b4bbbc94fc
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoBug 4932: Sending SMRs to subscribers after storeing the new record. 68/32468/2
vermagan@cisco.com [Wed, 13 Jan 2016 04:04:38 +0000 (20:04 -0800)]
Bug 4932: Sending SMRs to subscribers after storeing the new record.

Change-Id: I0605cc8858c32f82e87fb8564d3cca3823c8a268
Signed-off-by: vermagan@cisco.com <vermagan@cisco.com>
8 years agoBug 4822: Fix mapping record merging 26/31626/7
Lorand Jakab [Tue, 12 Jan 2016 13:38:16 +0000 (15:38 +0200)]
Bug 4822: Fix mapping record merging

Change-Id: Idee0361f31a5a0cad28ba35d3165683c64126266
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoBug 4932: Sending SMR to the old EID key when a more specific is being registered... 89/32389/2
vermagan@cisco.com [Tue, 12 Jan 2016 05:39:23 +0000 (21:39 -0800)]
Bug 4932:  Sending SMR to the old EID key when a more specific is being registered for the first time.

Change-Id: I6a26c4230a49993ebd3442ffe4b6d46b19b61554
Signed-off-by: vermagan@cisco.com <vermagan@cisco.com>
8 years agoBug 4910: Make use of the StartingServiceIndex constant in the MappingSystem 73/32373/1
Florin Coras [Mon, 11 Jan 2016 22:34:08 +0000 (23:34 +0100)]
Bug 4910: Make use of the StartingServiceIndex constant in the MappingSystem

Change-Id: Ic1e351ce6322a465ebc9072144572e5b23a02e7d
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoBug 4910: Make starting ServiceIndex a constant 08/32308/1
Florin Coras [Sat, 9 Jan 2016 02:17:01 +0000 (03:17 +0100)]
Bug 4910: Make starting ServiceIndex a constant

Change-Id: I947d2676ab043039fde1b755cfc2d8554f5c09fe
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoBug 4909: Fix ServicePath LCAF normalization 07/32307/1
Florin Coras [Sat, 9 Jan 2016 01:52:09 +0000 (02:52 +0100)]
Bug 4909: Fix ServicePath LCAF normalization

Change-Id: Ie30450d4bf5e36aacf88fabc840eadb9a404faae
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoBug 4822: Simplify access to configuration variables 85/32185/1
Lorand Jakab [Wed, 6 Jan 2016 12:09:04 +0000 (14:09 +0200)]
Bug 4822: Simplify access to configuration variables

This patch removes the need to pass on configuration variables as part
of the API. Instead, any class can get access to any configuration
variable by accessing a single static instance of ConfigIni. This opens
up the possibility of adding new knobs to modify behavior of parts of
the code, without the need to change APIs (adding a method call
parameter for each knob).

The patch doesn't change the existing APIs (they should be cleaned up in
Boron timeframe though), but allows new confguration options with no API
changes. The main reason for this patch NOW is Bug 4822, which is
related to the merging of locators, and needs support for a new
configuration option.

Change-Id: I0f3a8680c749034f2b784cd5c24379dc3f589538
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMerge "WIP: Bug 4822: Infra for merging: store source RLOC"
Vina Ermagan [Tue, 5 Jan 2016 16:00:42 +0000 (16:00 +0000)]
Merge "WIP: Bug 4822: Infra for merging: store source RLOC"

8 years agoWIP: Bug 4822: Infra for merging: store source RLOC 54/31854/2
Lorand Jakab [Mon, 4 Jan 2016 14:30:30 +0000 (16:30 +0200)]
WIP: Bug 4822: Infra for merging: store source RLOC

Add support for storing a list of source RLOCs inside a mapping record,
to be used for merging locators, more specificly, to send Map-Notify
messages to the appropriate xTRs on merge.

Change-Id: Ifbea9ba9471e7edb89bae7db3695828a98ad3f51
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMerge "BUG-4840: drop dependency on org.opendaylight.controller:sal"
Vina Ermagan [Thu, 24 Dec 2015 20:31:53 +0000 (20:31 +0000)]
Merge "BUG-4840: drop dependency on org.opendaylight.controller:sal"

8 years agoBUG-4840: drop dependency on org.opendaylight.controller:sal 67/31867/1
Stephen Kitt [Thu, 24 Dec 2015 11:08:27 +0000 (12:08 +0100)]
BUG-4840: drop dependency on org.opendaylight.controller:sal

Change-Id: Ic63515f25ff773f5fe239530ee52f83535cbf536
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoBug 4832: Add serializer for Service Path LCAF 02/31802/1
Lorand Jakab [Tue, 22 Dec 2015 22:42:13 +0000 (00:42 +0200)]
Bug 4832: Add serializer for Service Path LCAF

Change-Id: Ie4d45e6ec9d2635d14a242c109e0e2d1c00f9cd3
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAdd support for Service Path mapping records processing 61/31561/1
Florin Coras [Fri, 18 Dec 2015 00:45:27 +0000 (01:45 +0100)]
Add support for Service Path mapping records processing

The patch introduces two important changes for mapping records with
Service Path EIDs. First, it ensures that ServicePath EIDs are
normalized (i.e., Service Index is set to 0) before being used as keys
in mappings caches. Second, when doing lookups, for records with ELP
locator records, the Service Index in the requested EID is used to
select one, next hop, locator that is returned in the map-reply, instead
of the whole ELP.

Change-Id: Id487f3603f89beb5a878d5256709112ef004b4f6
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoAdd support for non-overwriting mapping storage 37/31537/1
Lorand Jakab [Thu, 17 Dec 2015 19:45:31 +0000 (21:45 +0200)]
Add support for non-overwriting mapping storage

When the "lisp.mappingOverwrite" configuration variable is set to
"false" this new mode of operation will allow storing a separate
MappingRecord for each unique xTR-ID from southbound registration. This
is independent from (but in preparation of) the merge functionality, as
rataining all southbound registrations is useful in non-merge mode too,
i.e., for liveness detection and statistics.

Change-Id: I6d322fbb5620815dbfc09dc49770373b48ec91c2
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoPull in hamcrest from odlparent 24/31424/2
Stephen Kitt [Wed, 16 Dec 2015 13:05:41 +0000 (14:05 +0100)]
Pull in hamcrest from odlparent

odlparent provides hamcrest-core; unittest_tools can rely on that as
long as it re-defines the scope (from test to compile).

Change-Id: I2878ef079c550dc58dde4564286704613aa7c01d
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoAdd missing license headers 83/31383/2
Thanh Ha [Tue, 15 Dec 2015 23:38:50 +0000 (18:38 -0500)]
Add missing license headers

Change-Id: Ia97bd156bc15f0022092535bb487183495c44dda
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoAdd ServicePath specific calls to postman collections 54/31354/2
Florin Coras [Tue, 15 Dec 2015 15:03:18 +0000 (16:03 +0100)]
Add ServicePath specific calls to postman collections

Change-Id: Id63cf7ec3978c9a1a7aa4032a131ed8d20236e79
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoAdd LispAddressStringifier support for ServicePath LCAF 53/31353/2
Florin Coras [Tue, 15 Dec 2015 11:37:25 +0000 (12:37 +0100)]
Add LispAddressStringifier support for ServicePath LCAF

Change-Id: I0c8aaaf1d49dd14eae6ac2e8460cc417c60d4cf6
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoAdd xTR-ID and site-ID fields inside MappingRecord 40/31340/2
Lorand Jakab [Tue, 15 Dec 2015 11:02:22 +0000 (13:02 +0200)]
Add xTR-ID and site-ID fields inside MappingRecord

In preparation for locator merging support.

Change-Id: I82b7fc94678af5102a5885cdd67485ac14219c79
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoBug 4778: Add missing service-path-lcaf identity 39/31339/1
Florin Coras [Tue, 15 Dec 2015 10:49:54 +0000 (11:49 +0100)]
Bug 4778: Add missing service-path-lcaf identity

Change-Id: I018ddebf955856fc845a805b5ddbc7dd56c6c358
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoSonar: Don't throw generic exceptions 76/31276/1
Lorand Jakab [Mon, 14 Dec 2015 14:32:51 +0000 (16:32 +0200)]
Sonar: Don't throw generic exceptions

Fix 13 instances of Sonar issue "Generic exceptions Error,
RuntimeException, Throwable and Exception should never be thrown"
labeled as Major. The rule description says: "Using such generic
exception prevents calling methods from handling differently each kind
of error."

Change-Id: I45a65903217375ab470275a2f5346d016ecebcf1
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoUse model based Enum for LISP message type 67/31167/1
Lorand Jakab [Thu, 10 Dec 2015 22:38:01 +0000 (00:38 +0200)]
Use model based Enum for LISP message type

... and remove LispMessageEnum.java from lisp-proto.

Change-Id: I143d59145fb57d825bf256b6b6f59a9df411916f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoSonar: Exception handler should preserve exception 46/31146/1
Lorand Jakab [Thu, 10 Dec 2015 13:54:26 +0000 (15:54 +0200)]
Sonar: Exception handler should preserve exception

Fix 29 instances of Sonar issue "Exception handlers should preserve the
original exception" labeled as Major. The rule description says: "When
handling a caught exception, two mandatory informations should be
logged: 1) some context to ease the reproduction of the issue; 2) the
original's exception, for its message and stack trace."

Change-Id: I172b52d86d98ad735c940738dc5c35abc1cf675e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoRename integration tests module 76/31076/1
Lorand Jakab [Wed, 9 Dec 2015 14:25:08 +0000 (16:25 +0200)]
Rename integration tests module

Change-Id: I6633eb7dcc12cd50a59ced5bce55275f1d7fd79d
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoSonar: Method params shouldn't be reassigned 63/31063/1
Lorand Jakab [Wed, 9 Dec 2015 10:41:05 +0000 (12:41 +0200)]
Sonar: Method params shouldn't be reassigned

Fix 14 instances of Sonar issue "Method parameters, caught exceptions
and foreach variables should not be reassigned" labeled as Major. The
rule description says: "While it is technically correct to assign to
parameters from within method bodies, it is better to use temporary
variables to store intermediate results. This rule will typically detect
cases where a constructor parameter is assigned to itself instead of a
field of the same name, i.e. when this was forgotten. Allowing
parameters to be assigned to also reduces the code readability as
developers will not be able to know whether the original parameter or
some temporary variable is being accessed without going through the
whole method. Moreover, some developers might also expect assignments of
method parameters to be visible from callers, which is not the case and
can confuse them. All parameters should be treated as final."

Change-Id: I488d2c3fbaf28814f207f65027f80d4b7d0e622e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoRemove MapServerMapResolverUtil.java from lisp-proto 19/31019/1
Lorand Jakab [Tue, 8 Dec 2015 21:17:06 +0000 (23:17 +0200)]
Remove MapServerMapResolverUtil.java from lisp-proto

This file is no longer needed after the migration to the IETF LISP YANG
model.

Change-Id: I2fa5c4529986ceaf66e37da9d1d7f93cca90e7be
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoSonar: Utility classes shouldn't have public constructor 17/31017/1
Lorand Jakab [Tue, 8 Dec 2015 20:14:05 +0000 (22:14 +0200)]
Sonar: Utility classes shouldn't have public constructor

Fix 19 instances of Sonar issue "Utility classes should not have a
public constructor" labeled as Major. The rule descriptions says:
"Utility classes, which are a collection of static members, are not
meant to be instantiated. Even abstract utility classes, which can be
extended, should not have public constructors. Java adds an implicit
public constructor to every class which does not define at least one
explicitly. Hence, at least one non-public constructor should be
defined."

Change-Id: I5e17afe35bc44d02e238f5a1558dfcfb588c7f80
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoFix source-dest-key example in RESTCONF Postman 77/30977/1
Lorand Jakab [Tue, 8 Dec 2015 13:19:08 +0000 (15:19 +0200)]
Fix source-dest-key example in RESTCONF Postman

Additionally, add a GET for an IID prefix

Change-Id: Ifb5e7726b048835bb5f8ab5bb624576610556b9e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoSonar: Final Class 72/30972/2
Lorand Jakab [Tue, 8 Dec 2015 13:03:50 +0000 (15:03 +0200)]
Sonar: Final Class

Fix 22 instances of Sonar issue "Final Class" labeled as Major.  The
rule description says: "Checks that class which has only private
constructors is declared as final."

Change-Id: Id544a5671266756fee68424b162954321657c581
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoSonar: if/else/for/while/do statements need braces 09/30909/2
Lorand Jakab [Mon, 7 Dec 2015 18:58:58 +0000 (20:58 +0200)]
Sonar: if/else/for/while/do statements need braces

Fix 23 instances of Sonar issue "if/else/for/while/do statements should
always use curly braces" labeled as "Major".

Add checkstyle rule to avoid introducing more of these.

Change-Id: I17152d437349c9ca45018421f6e580130c51c4e6
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMove integration tests to top-level directory 41/30741/1
Lorand Jakab [Fri, 4 Dec 2015 22:41:42 +0000 (00:41 +0200)]
Move integration tests to top-level directory

Since integration tests are now based on Karaf, they have to run after
everything else is built, so they don't seem to fit well with the
'mappingservice' component.

Change-Id: I5f5e18a3b068e430a14b53d720e8fa4e57951b80
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMerge "Use odlparent-lite as artifacts parent"
Lori Jakab [Fri, 4 Dec 2015 02:06:11 +0000 (02:06 +0000)]
Merge "Use odlparent-lite as artifacts parent"

8 years agoMerge topic/ietf_yang into master 82/30682/1
Lorand Jakab [Fri, 4 Dec 2015 01:32:01 +0000 (03:32 +0200)]
Merge topic/ietf_yang into master

Change-Id: Idf0e284cbe1bdd55106865e8f94ccc46bccfc99c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoFix SourceDestKeyHelper 79/30679/1 topic/ietf_yang
Florin Coras [Fri, 4 Dec 2015 01:08:02 +0000 (02:08 +0100)]
Fix SourceDestKeyHelper

Change-Id: If9cc584aecb8648d78ec4cd3331ba57341e989ce
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoMake source-dest-key-lcaf use simple-address 72/30672/1
Lorand Jakab [Thu, 3 Dec 2015 23:34:48 +0000 (01:34 +0200)]
Make source-dest-key-lcaf use simple-address

Change-Id: I406b0c7babc30dd43db0c5163df8339fb15a9130
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoFix SourceDest mappings printing 65/30565/1
Florin Coras [Thu, 3 Dec 2015 16:29:31 +0000 (17:29 +0100)]
Fix SourceDest mappings printing

Change-Id: I5fd6d6307d4bb90ed4b5152c84fd972f739a3ead
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoMigrate Postman collections to IETF YANG model 10/30510/1
Lorand Jakab [Wed, 2 Dec 2015 21:36:48 +0000 (23:36 +0200)]
Migrate Postman collections to IETF YANG model

Change-Id: I4b7689c650fd6d9a9133e2ebcfc0e61e80a59d76
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMigrate integrationtest to IETF YANG model 11/30411/3
Lorand Jakab [Tue, 1 Dec 2015 13:58:16 +0000 (15:58 +0200)]
Migrate integrationtest to IETF YANG model

Change-Id: Ib7e3fb9c1d9c30d9d97fc41130aa978b2caf946b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAdd map-cache support for EID VNI 78/30478/2
Florin Coras [Wed, 2 Dec 2015 09:58:42 +0000 (10:58 +0100)]
Add map-cache support for EID VNI

This adds a VNI table as the first table in the multi-table lookup
process employed for matching an EID in the map-cache.

Change-Id: Ica0abddf522f5f48158df5b8b680b162d91154ab
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoMigrate implementation/neutron/southbound to IETF YANG model 03/28303/35
Lorand Jakab [Mon, 30 Nov 2015 23:09:26 +0000 (01:09 +0200)]
Migrate implementation/neutron/southbound to IETF YANG model

Change-Id: I2e7738f5c518a51c1a309d63854bfaced3d6375c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoMigrate lisp-proto implementation to IETF YANG model 69/30269/8
Lorand Jakab [Tue, 1 Dec 2015 13:53:19 +0000 (15:53 +0200)]
Migrate lisp-proto implementation to IETF YANG model

Change-Id: I8f769d01f2c643960a1693b1f385100e2c3ed34e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoUse odlparent-lite as artifacts parent 41/30341/1
Thanh Ha [Sun, 29 Nov 2015 22:08:36 +0000 (17:08 -0500)]
Use odlparent-lite as artifacts parent

We created odlparent-lite to provide a minimal pom which allows projects
to publish to the correct server. Without this ${project}-artifacts may
fail to deploy to Nexus.

Change-Id: Id095a7c732818cefd3c5ec0792d40eafcd9feee8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMerge branch 'master' into topic/ietf_yang 47/29847/1
Lorand Jakab [Wed, 18 Nov 2015 11:04:12 +0000 (13:04 +0200)]
Merge branch 'master' into topic/ietf_yang

Change-Id: I7cb3bb7f8f6423db3bf51e0b49e66a4472d2c03a
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAdd odl- prefix to YANG files 29/29829/2
Lorand Jakab [Tue, 17 Nov 2015 19:43:44 +0000 (21:43 +0200)]
Add odl- prefix to YANG files

Prefix all ODL originateded YANG files with odl- just like IETF
originated YANG files start with ietf- to avoid potential name clashes,
when connecting devices with their own YANG models to ODL.

Change-Id: I05b8bf89872d89cf5fb6d2a4b5d0f499f9c26449
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoUpdate imports to reference new YANG revisions 23/29523/1
Lorand Jakab [Tue, 10 Nov 2015 21:40:13 +0000 (22:40 +0100)]
Update imports to reference new YANG revisions

Change-Id: Iee78c812f19e5b67267bbe6bee30f3cce246e15b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoRemmoving EIDToLocatorRecord grouping which was not used, merging with mapping-record... 15/29415/1
vermagan@cisco.com [Sun, 8 Nov 2015 02:50:49 +0000 (11:50 +0900)]
Remmoving EIDToLocatorRecord grouping which was not used, merging with mapping-record-container.

Change-Id: Idac347e7051d9e205160b79279d1d9046bc70d95
Signed-off-by: vermagan@cisco.com <vermagan@cisco.com>
8 years agoAdd ietf- prefix to lisp-address-types and bump revision 29/29329/3
Lorand Jakab [Thu, 5 Nov 2015 17:13:16 +0000 (12:13 -0500)]
Add ietf- prefix to lisp-address-types and bump revision

Change-Id: I1190c456c6c31a789bb202d4cd00eeed304309c6
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoRemove `case` statement from lisp-address-types 63/29263/5
Lorand Jakab [Thu, 5 Nov 2015 17:10:42 +0000 (12:10 -0500)]
Remove `case` statement from lisp-address-types

Change-Id: I1ab3f19c6c726d5f6c33000902d0bae5b7a69d99
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoRemove unused content from lisp-proto.yang 28/29328/2
Lorand Jakab [Thu, 5 Nov 2015 16:50:12 +0000 (11:50 -0500)]
Remove unused content from lisp-proto.yang

Change-Id: Iaaa3e7ec4055217d121930d9c1187bf50259f513
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAdd RPCs for handling lists 91/28891/3
Lorand Jakab [Thu, 5 Nov 2015 15:44:38 +0000 (10:44 -0500)]
Add RPCs for handling lists

Change-Id: I7aae47545c10a10f9ce7d1ced949820be4597b6a
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMove mappingservice-shell to separate feature 43/29043/3
Florin Coras [Fri, 30 Oct 2015 19:03:51 +0000 (20:03 +0100)]
Move mappingservice-shell to separate feature

Change-Id: Id171e793d0b3da70821e459c5d5b7d0660533eaa
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoRename list keys to suggest uniqueness requirement 54/28854/1
Lorand Jakab [Tue, 27 Oct 2015 20:07:38 +0000 (22:07 +0200)]
Rename list keys to suggest uniqueness requirement

Change-Id: Ieb2840d5da99bd03af8d74cd00c1d9a9a9d56899
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAdd revision to YANG imports 45/28845/1
Lorand Jakab [Tue, 27 Oct 2015 13:56:37 +0000 (15:56 +0200)]
Add revision to YANG imports

These are required, otherwise the binding code is looking for the wrong
revision, casing class not found expcetions.

Change-Id: Ia0579ca99006a48b15e2c5cffaa4dbd8db37543a
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAdding Service Path LCAF support for lisp address type yang model. 16/28716/4
vermagan@cisco.com [Thu, 22 Oct 2015 23:29:19 +0000 (16:29 -0700)]
Adding Service Path LCAF support for lisp address type yang model.

Change-Id: Idb19c18f07b3259d6d1da3810eb662d17fa3d0c0
Signed-off-by: vermagan@cisco.com <vermagan@cisco.com>
8 years agoWrap choices in 'case' statement 21/28821/1
Lorand Jakab [Mon, 26 Oct 2015 21:21:22 +0000 (23:21 +0200)]
Wrap choices in 'case' statement

Change-Id: I544efb098601adf6ec6a03659d47924a78e1a6bd
Signed-off-by: Vina Ermagan <vermagan@cisco.com>
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMerging lcal address with lisp-address. 36/28636/3
vermagan@cisco.com [Wed, 21 Oct 2015 07:25:35 +0000 (00:25 -0700)]
Merging lcal address with lisp-address.

Change-Id: I0c3b973d010431f53568ee1c944f7c2c426a22f2
Signed-off-by: vermagan@cisco.com <vermagan@cisco.com>
8 years agoUpdate mappingservice API to refer to VNI instead of IID 91/28591/2
Lorand Jakab [Tue, 20 Oct 2015 11:15:04 +0000 (14:15 +0300)]
Update mappingservice API to refer to VNI instead of IID

Change-Id: I40ddca2a51cf51672a80174a38b0bbe70a618932
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMore {{VERSION}} in features.xml 20/28620/1
Lorand Jakab [Tue, 20 Oct 2015 19:14:07 +0000 (22:14 +0300)]
More {{VERSION}} in features.xml

This email thread [1] pointed out that feature repositories can use
{{VERSION}} as well.

[1] https://lists.opendaylight.org/pipermail/dev/2015-October/001337.html

Change-Id: Ia1a0acd3e55706d7a37f0615664ff54610c37883
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoContainerize lisp-address everywhere 57/28457/11
Lorand Jakab [Tue, 20 Oct 2015 12:38:46 +0000 (15:38 +0300)]
Containerize lisp-address everywhere

Change-Id: Ie11ae5953a40af2b95bb75b1f4ffa3f9a23208ff
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAdd model for key-value-address LCAF 00/28400/2
Lorand Jakab [Wed, 14 Oct 2015 15:37:50 +0000 (18:37 +0300)]
Add model for key-value-address LCAF

Change-Id: I93250aef49091b4c32d4a276d26360b67fb6e868
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAvoid more duplicate generated POJO names 98/28398/3
Lorand Jakab [Mon, 19 Oct 2015 08:32:30 +0000 (11:32 +0300)]
Avoid more duplicate generated POJO names

Change-Id: I9ff1c8da354fc9c109390dc176195152b81f2620
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoSwitch to using {{VERSION}} in features.xml 52/28452/1
Lorand Jakab [Thu, 15 Oct 2015 14:11:23 +0000 (17:11 +0300)]
Switch to using {{VERSION}} in features.xml

The recommended way to define versions in the features.xml file is to
use {{VERSION} instead of properties.  See [1] for a recent thread on
the topic.  For now only the <bundle> and <configfile> tags are
supported [2].

[1] https://lists.opendaylight.org/pipermail/controller-dev/2015-October/010674.html
[2] https://git.opendaylight.org/gerrit/gitweb?p=odlparent.git;a=blob;f=features-parent/pom.xml;h=08c06730f5455b2555dfccf292e2a27bedccf01e;hb=HEAD#l76

Change-Id: I235b9d8821236d9cb95e8b8c9d7a04e816f7ac1b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAvoid NPE for mapping queries with null source EID 79/28379/1
Florin Coras [Wed, 14 Oct 2015 11:01:21 +0000 (13:01 +0200)]
Avoid NPE for mapping queries with null source EID

Change-Id: I299864df0b1ae56bbd7effb20b670081a44c2f40
Signed-off-by: Florin Coras <fcoras@cisco.com>
8 years agoWait indefinitely for the shell service reference 72/28372/2
Lorand Jakab [Wed, 14 Oct 2015 09:06:37 +0000 (12:06 +0300)]
Wait indefinitely for the shell service reference

Change-Id: I34df03e3cdac176d5ec5c1c485ee8d0059cd77bf
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoContainerize the use of lisp-address 21/28321/1
Lorand Jakab [Tue, 13 Oct 2015 10:08:28 +0000 (13:08 +0300)]
Containerize the use of lisp-address

Change-Id: Ie67fb6733ba4161b55033ba2768d1e84a72ea714
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoAvoid duplicate POJO names using -afi/-lcaf suffix 01/28301/5
Lorand Jakab [Tue, 13 Oct 2015 08:14:22 +0000 (11:14 +0300)]
Avoid duplicate POJO names using -afi/-lcaf suffix

Change-Id: Iff0b677afe0e5568c762908fbb868d2c535d619d
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMerge branch 'master' into topic/ietf_yang 88/28288/1
Lorand Jakab [Mon, 12 Oct 2015 14:10:24 +0000 (17:10 +0300)]
Merge branch 'master' into topic/ietf_yang

Change-Id: I489ceff034e498cff459393c7284370710dc12c6
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoDistinguish between address and prefix for IPvX 12/28212/1
Lorand Jakab [Fri, 9 Oct 2015 14:05:04 +0000 (17:05 +0300)]
Distinguish between address and prefix for IPvX

Change-Id: I183a49ea0bef8097d38d01645e5fa939fa0cc9ec
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoGet rid of some Eclipse warnings 09/28209/1
Lorand Jakab [Fri, 9 Oct 2015 12:12:15 +0000 (15:12 +0300)]
Get rid of some Eclipse warnings

Checkstyle missed some source files, so the rules are now strengthened.

Change-Id: Ibdf646edf850be6b52d0af641fa3c64d8804cb32
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMove implementation to the new notification service 56/27956/3
Lorand Jakab [Thu, 8 Oct 2015 08:25:51 +0000 (11:25 +0300)]
Move implementation to the new notification service

Change-Id: I22166138718827bc5641fa0d49f29aa24a9f8007
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMove southbound to the new notification service 18/27918/4
Lorand Jakab [Mon, 5 Oct 2015 15:19:39 +0000 (18:19 +0300)]
Move southbound to the new notification service

We still use the controller project for the dependency, but this should
make it easier to switch to the mdsal project when the time comes.

Change-Id: I007c9bd27c5e5c65d3a066ae55ae5ff15007e107
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoImprove consistency of YANG model namespaces 15/28015/2
Lorand Jakab [Wed, 7 Oct 2015 16:04:38 +0000 (19:04 +0300)]
Improve consistency of YANG model namespaces

Change-Id: I5a42bd12832a0c563428dc99d7b2e120678ce4f6
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMerge "Bug 4424: Remove non-existing features-base"
Vina Ermagan [Wed, 7 Oct 2015 00:34:37 +0000 (00:34 +0000)]
Merge "Bug 4424: Remove non-existing features-base"

8 years agoBug 4424: Remove non-existing features-base 78/27978/3
Lorand Jakab [Tue, 6 Oct 2015 21:30:40 +0000 (00:30 +0300)]
Bug 4424: Remove non-existing features-base

Change-Id: I637092ce4820df6ce8435377f5361faaec2f59af
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoFix inmemorydb race condition 86/27986/1
Lorand Jakab [Tue, 6 Oct 2015 20:23:28 +0000 (23:23 +0300)]
Fix inmemorydb race condition

Change-Id: I59a51ae069791d1b069185050e0b9b81c0e3ddb8
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoSwitch to using lisp-address instead of LispAddress 56/27756/4
Lorand Jakab [Thu, 1 Oct 2015 16:17:22 +0000 (19:17 +0300)]
Switch to using lisp-address instead of LispAddress

This commit modifies the build to make experimentation easy. Modules
that wouldn't build are commented out, tests that would fail are skipped
by default, and Karaf will only load odl-lispflowmapping-models instead
of the odl-lispflowmapping-msmr feature. Additionally odl-mdsal-apidoc
is pulled in automatically.

If you start Karaf after a successful build, you should be able to
explore the API and play with adding/removing keys/mappings to/from the
config datastore.

Change-Id: I70fd3c950d4b668bc57fa55a8156b76fe2751437
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoRemove hardcoded karaf version from IT 21/27921/1
Lorand Jakab [Mon, 5 Oct 2015 08:49:54 +0000 (11:49 +0300)]
Remove hardcoded karaf version from IT

This allows the version bumping scripts to work without the need to
manually modify a Java file.

Change-Id: Ief4ef577fbfcc17ef842284cf432b976a671faf5
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
(cherry picked from commit 6f1b9f93748bc1d92d1e936ec13d6979d497a831)

8 years agoUpdate tutorial Postman for Beryllium 19/27919/1
Lorand Jakab [Wed, 30 Sep 2015 16:49:39 +0000 (19:49 +0300)]
Update tutorial Postman for Beryllium

Change-Id: I5733da2c43eb0098a16639247e7a3c77f620348c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
(cherry picked from commit 6385e4b99da00ddbcda3e127813e7053d150363a)

8 years agoRemove hardcoded karaf version from IT 91/27891/1
Lorand Jakab [Mon, 5 Oct 2015 08:49:54 +0000 (11:49 +0300)]
Remove hardcoded karaf version from IT

This allows the version bumping scripts to work without the need to
manually modify a Java file.

Change-Id: Ief4ef577fbfcc17ef842284cf432b976a671faf5
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoUpdate tutorial Postman for Beryllium 76/27676/1
Lorand Jakab [Wed, 30 Sep 2015 16:49:39 +0000 (19:49 +0300)]
Update tutorial Postman for Beryllium

Change-Id: I5733da2c43eb0098a16639247e7a3c77f620348c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMove karaf shell commands to the config subsystem 80/27580/1
Lorand Jakab [Fri, 25 Sep 2015 12:43:54 +0000 (14:43 +0200)]
Move karaf shell commands to the config subsystem

Change-Id: I2190e38c81081de8778a791baa2ffc6795c1a791
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
(cherry picked from commit e4eb4c141c3e2fb820fa0129574dd565f311d0cb)

8 years agoAdd support for AS Number and No Address base types 36/27536/1
Lorand Jakab [Mon, 28 Sep 2015 14:09:23 +0000 (17:09 +0300)]
Add support for AS Number and No Address base types

Change-Id: Ice1a024572fe302d5b98c9f537b86d3c93c8a5c6
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoStart work on IETF YANG integration 73/27473/2
Lorand Jakab [Fri, 25 Sep 2015 21:49:16 +0000 (23:49 +0200)]
Start work on IETF YANG integration

Change-Id: Ia4e453cb916bc95227fb59a6549e5a3612ca5969
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMove karaf shell commands to the config subsystem 36/27436/1
Lorand Jakab [Fri, 25 Sep 2015 12:43:54 +0000 (14:43 +0200)]
Move karaf shell commands to the config subsystem

Change-Id: I2190e38c81081de8778a791baa2ffc6795c1a791
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMove lisp-config to the southbound bundle 93/27393/1
Lorand Jakab [Thu, 24 Sep 2015 13:45:24 +0000 (15:45 +0200)]
Move lisp-config to the southbound bundle

The module is configuring southbound related variables (binding
address), so it belongs there. This commit just migrates files from the
separate old "config" bundle, with is deleted. Further modifications (if
necessary) will be done in a different commit.

Change-Id: I3af5a98f7c0be1020141f9edf925a14b72470dfe
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMove service definitions to mappingservice.api 61/27161/3
Lorand Jakab [Tue, 22 Sep 2015 19:18:16 +0000 (21:18 +0200)]
Move service definitions to mappingservice.api

They define an API so that's a better place, it allows alternative
implementations and make it possible to get a service reference without
making implementations a dependency (thus avoinding potential circular
dependencies).

Change-Id: Icef7d033847d50369c711164e975cbde0bfb165d
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoPretty JSON for detailed view at tables 55/27055/4
Alberto Montes [Wed, 16 Sep 2015 16:20:49 +0000 (18:20 +0200)]
Pretty JSON for detailed view at tables

Now, at the view button of the Keys and Mappings tables show the JSON of the object in a pretty way.

Change-Id: I54ae7a55988232ef5d392fe153f27b1477e55439
Signed-off-by: Alberto Montes <al.montes.gomez@gmail.com>
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoFix integration tests failure 05/27305/1
Lorand Jakab [Tue, 22 Sep 2015 17:38:35 +0000 (19:38 +0200)]
Fix integration tests failure

Change-Id: I675633722934cd72851d1f5b6f30d3380463249e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>