lispflowmapping.git
7 years agoMerge "Remove ${karaf.version} property from pom.xml"
Vina Ermagan [Thu, 6 Oct 2016 23:03:16 +0000 (23:03 +0000)]
Merge "Remove ${karaf.version} property from pom.xml"

7 years agoExtract ConfigIni into separate module 18/45818/5
Miroslav Toth [Mon, 19 Sep 2016 14:25:10 +0000 (16:25 +0200)]
Extract ConfigIni into separate module

Change-Id: I45cf2a8100c28278a2813dceb89d60202ba95a60
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoRemove ${karaf.version} property from pom.xml 23/46323/1
Lorand Jakab [Fri, 30 Sep 2016 12:36:20 +0000 (05:36 -0700)]
Remove ${karaf.version} property from pom.xml

org.apache.karaf.shell.console is now part of odlparent since
https://git.opendaylight.org/gerrit/#/c/42971 so we can get rid of one
more property in a pom file, which is a GoodThing(TM).

Change-Id: I1dc6eccabb1140668786b62fc00bbe8072600ced
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 6782: Fix parent insertions for empty children 03/46203/1
Florin Coras [Mon, 26 Sep 2016 20:07:50 +0000 (23:07 +0300)]
Bug 6782: Fix parent insertions for empty children

Expanded unit test as well.

Change-Id: I94b042c4b2c36ef92eade91592a5244309ae4815
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoAdd RadixTrie parent insertion unit test 98/46098/2
Florin Coras [Thu, 22 Sep 2016 17:54:39 +0000 (19:54 +0200)]
Add RadixTrie parent insertion unit test

Change-Id: Ida639fde073a5a43a3e2abe01a6d7fd700d0086c
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoMerge "Bug 6782: Fix RadixTrie parent insertions"
Vina Ermagan [Thu, 22 Sep 2016 17:12:08 +0000 (17:12 +0000)]
Merge "Bug 6782: Fix RadixTrie parent insertions"

7 years agoBug 6782: Fix RadixTrie parent insertions 42/46042/1
Florin Coras [Thu, 22 Sep 2016 10:47:37 +0000 (12:47 +0200)]
Bug 6782: Fix RadixTrie parent insertions

Change-Id: I75ca63a47b1f487cdd87b9fdcf9685ef6f6439ff
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoBug 6759: Fix NPE when request for expired mapping 96/45896/1
Miroslav Toth [Tue, 20 Sep 2016 14:19:40 +0000 (16:19 +0200)]
Bug 6759: Fix NPE when request for expired mapping

Change-Id: Ia7ccf53f27ceaf472b259fc60dec294749de8a69
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoBug 6754: Add serializer for IPv6 prefix SimpleAddress 78/45878/2
Florin Coras [Tue, 20 Sep 2016 09:36:29 +0000 (11:36 +0200)]
Bug 6754: Add serializer for IPv6 prefix SimpleAddress

Change-Id: Ib1b57540ca7e17b6721202ce3164d9d8f7ca02cc
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoMerge "Add RPC to read per xtrId mappings for an EID."
Vina Ermagan [Sat, 17 Sep 2016 00:49:31 +0000 (00:49 +0000)]
Merge "Add RPC to read per xtrId mappings for an EID."

7 years agoMerge "Add OOR conf files in tutorial"
Vina Ermagan [Thu, 15 Sep 2016 01:29:22 +0000 (01:29 +0000)]
Merge "Add OOR conf files in tutorial"

7 years agoFix RESTCONF collection for delete IPv4 Key call. 05/45605/1
Shakib Ahmed [Wed, 14 Sep 2016 22:40:58 +0000 (15:40 -0700)]
Fix RESTCONF collection for delete IPv4 Key call.

Change-Id: I0c4a1deae9a6dc49141488e6d058a51d5a41b449
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoAdd OOR conf files in tutorial 56/45556/1
Shakib Ahmed [Wed, 14 Sep 2016 00:55:46 +0000 (17:55 -0700)]
Add OOR conf files in tutorial

Change-Id: I6306157b5fa50087f4206ac818b3e260a6daef0b
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoBug 6536: Allow propagation of SB notifications on slaves 51/45151/1
Lorand Jakab [Mon, 5 Sep 2016 09:25:48 +0000 (04:25 -0500)]
Bug 6536: Allow propagation of SB notifications on slaves

First, add support for operational data store change notifications (we
only watched the config data store), since southbound originated
mappings are stored there.

Second, do not ignore southbound originated mappings coming from the
MD-SAL data store change notifications, if we're on a slave.

Change-Id: I310e6ae20600229c2d1b4aa9138ba6193fe3b9a1
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoAdd RPC to read per xtrId mappings for an EID. 44/44744/2
Shakib Ahmed [Fri, 26 Aug 2016 17:37:01 +0000 (10:37 -0700)]
Add RPC to read per xtrId mappings for an EID.

Change-Id: I21dd3c3406c06f04e56869544b4233bb2834f4ef
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoBug 5257: Make subscriber timeout 10 mins more than the TTL associated with mapping... 78/44578/6
Shakib Ahmed [Tue, 23 Aug 2016 22:36:00 +0000 (15:36 -0700)]
Bug 5257: Make subscriber timeout 10 mins more than the TTL associated with mapping record

Change-Id: I32a3f383922f84b2ed32db420cdedb3057826771
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoBug 6529: Remove registration date when deleting mapping 37/44637/1
Lorand Jakab [Wed, 24 Aug 2016 22:55:55 +0000 (17:55 -0500)]
Bug 6529: Remove registration date when deleting mapping

Change-Id: I4ff664568058aab384abef5c21f4154aa61f42de
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 6527: Switch to ClusteredDataTreeChangeListener 18/44618/1
Lorand Jakab [Wed, 24 Aug 2016 16:43:50 +0000 (11:43 -0500)]
Bug 6527: Switch to ClusteredDataTreeChangeListener

Change-Id: I74f44d21f92a824817b7ff31d3b3d29665fd1bf4
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 6511: Fix negative Map-Replies with empty database 68/44568/2
Lorand Jakab [Tue, 23 Aug 2016 19:34:10 +0000 (14:34 -0500)]
Bug 6511: Fix negative Map-Replies with empty database

Change-Id: Ie56c5f982a50a9e35d9c6d9bf7066fbb7e590cbc
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMerge "Integration Test - negative prefix generation"
Lori Jakab [Tue, 23 Aug 2016 20:44:29 +0000 (20:44 +0000)]
Merge "Integration Test - negative prefix generation"

7 years agoBug 6362: Don't save timestamp to MappingRecords 73/43473/9
Lorand Jakab [Fri, 5 Aug 2016 22:34:59 +0000 (17:34 -0500)]
Bug 6362: Don't save timestamp to MappingRecords

Change-Id: I9906e2310108b81b584e7fad39a310b8d79a4b3b
Co-authored-by: Miroslav Toth <mirtoth@cisco.com>
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoJUnit test: LispAddressUtilTest 91/44491/1
Miroslav Toth [Mon, 22 Aug 2016 13:25:02 +0000 (15:25 +0200)]
JUnit test: LispAddressUtilTest

Change-Id: I5db556a3e38bf0bf94a9996b00de1eea4fe3dabe
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoIntegration Test - negative prefix generation 26/44126/2
Miroslav Toth [Tue, 16 Aug 2016 13:49:32 +0000 (15:49 +0200)]
Integration Test - negative prefix generation

Change-Id: Ib728ed78f1c0602c0ebfb48528eacedfe9ef3760
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoBug 6351 - Clustering rework. 76/42476/14
Jozef Gloncak [Mon, 25 Jul 2016 11:05:11 +0000 (13:05 +0200)]
Bug 6351 - Clustering rework.

Change-Id: I74d00a81c3ba3d9c915911699f1f61a02c075a08
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoMerge "Bug 6422: get VNI table in MapCache"
Lori Jakab [Mon, 15 Aug 2016 14:55:33 +0000 (14:55 +0000)]
Merge "Bug 6422: get VNI table in MapCache"

7 years agoMerge "Bug 6406: Fix radix-trie insertions"
Lori Jakab [Mon, 15 Aug 2016 14:11:45 +0000 (14:11 +0000)]
Merge "Bug 6406: Fix radix-trie insertions"

7 years agoBug 6422: get VNI table in MapCache 45/43945/2
Miroslav Toth [Mon, 15 Aug 2016 08:19:11 +0000 (10:19 +0200)]
Bug 6422: get VNI table in MapCache

Change-Id: Ifa4605f665eb43a5ba2acd2d6e0e2f61937c527c
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoBug 6406: Fix radix-trie insertions 09/43909/2
Florin Coras [Sat, 13 Aug 2016 22:35:42 +0000 (00:35 +0200)]
Bug 6406: Fix radix-trie insertions

Change-Id: I931eab7daed333c8145ad36ac98cb84673eaa300
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoBug 6402: Convert src eid from binary IP to prefix 66/43866/3
Florin Coras [Fri, 12 Aug 2016 15:56:24 +0000 (17:56 +0200)]
Bug 6402: Convert src eid from binary IP to prefix

Change-Id: I31d8783c44b2a61e4984df255c9168628c8a3d9b
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoMerge "Cleanup: remove unused and commented out methods"
Florin Coras [Fri, 12 Aug 2016 15:48:52 +0000 (15:48 +0000)]
Merge "Cleanup: remove unused and commented out methods"

7 years agoCheckstyle: fix issues and enforce on implementation 64/43664/1
Lorand Jakab [Wed, 10 Aug 2016 20:07:53 +0000 (15:07 -0500)]
Checkstyle: fix issues and enforce on implementation

Change-Id: I762736d04a7a6f6855681469619bd261b6b757f2
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 6384: getNegativeMapping - Check for correct AFI 54/43654/1
Miroslav Toth [Wed, 10 Aug 2016 16:11:01 +0000 (18:11 +0200)]
Bug 6384: getNegativeMapping - Check for correct AFI

Change-Id: Ieec211a512e94056a2a8b7ad9817c4c952c7bb47
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoCleanup: remove unused and commented out methods 66/43466/3
Lorand Jakab [Tue, 9 Aug 2016 01:48:27 +0000 (20:48 -0500)]
Cleanup: remove unused and commented out methods

Change-Id: I4057bdbcb79483a179d199908e7a76fc292928f5
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoCheckstyle: fix issues and enforce on southbound 75/43475/2
Lorand Jakab [Tue, 9 Aug 2016 07:08:49 +0000 (02:08 -0500)]
Checkstyle: fix issues and enforce on southbound

Change-Id: I7d619e437b7dad22bce4826644097610ef22378b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBump versions by 0.1.0 for next dev cycle 23/43423/1
Thanh Ha [Mon, 8 Aug 2016 21:50:16 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I5f2def7f267b3f99a010bd308da0b0df5631e7df
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoCheckstyle: fix issues and enforce on inmemorydb 02/43002/2
Lorand Jakab [Tue, 2 Aug 2016 22:23:25 +0000 (17:23 -0500)]
Checkstyle: fix issues and enforce on inmemorydb

Change-Id: I1c064ef3e7c4c043c9652cbb151f6d159e466980
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoRevert "Clustering - common infrastructure." 99/43299/1
Lorand Jakab [Mon, 8 Aug 2016 03:53:45 +0000 (22:53 -0500)]
Revert "Clustering - common infrastructure."

This reverts commit 9493583244a2b9b5583e2ca9ac11ff73bb4ad1d3.

Change-Id: I8d87010928504c3d91825c19348ac4d330065851
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoRevert "Clustering - Importing cluster bundle to implementation bundle." 81/43281/1
Lorand Jakab [Sun, 7 Aug 2016 18:10:28 +0000 (13:10 -0500)]
Revert "Clustering - Importing cluster bundle to implementation bundle."

This reverts commit 721455ca19d20d1bd332d0c3a0c0e7b2c7ad2c0c.

Change-Id: I4bac77437e9150f1138163cd895563663a7cab32
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoRevert "Clustering - adding to LispMappingService." 55/43255/1
Lorand Jakab [Fri, 5 Aug 2016 18:58:03 +0000 (13:58 -0500)]
Revert "Clustering - adding to LispMappingService."

This reverts commit b83997d4c3379b5f112bb6374f0c9480c9c9f0e1.

Change-Id: I6bfe71ae0eb03ba6711b2a7d62f51f88a47e1ff2
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMerge "Bug 6297: Change subscriber's RLOC selection algo"
Lori Jakab [Fri, 5 Aug 2016 13:24:47 +0000 (13:24 +0000)]
Merge "Bug 6297: Change subscriber's RLOC selection algo"

7 years agoBug 6297: Change subscriber's RLOC selection algo 29/43029/5
Miroslav Toth [Wed, 3 Aug 2016 08:47:16 +0000 (10:47 +0200)]
Bug 6297: Change subscriber's RLOC selection algo

Change-Id: Ie30a31f6bb37aa8d7c1d21e6cfb9cd8ed53affc5
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoRevert "Clustering - adding to LispSouthboundPlugin." 75/43075/2
Lorand Jakab [Wed, 3 Aug 2016 16:59:08 +0000 (11:59 -0500)]
Revert "Clustering - adding to LispSouthboundPlugin."

This reverts commit c174d5b216d6824714480c8e40a9d1655022c1f7.

The reason is to see if it was causing a performance regression (as
measured by Jenkins).

Change-Id: Ifa8bb37739fc65816f4658178077542800fb80b9
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMake unittest.tools a test dependency 15/42815/5
Robert Varga [Sat, 30 Jul 2016 00:30:50 +0000 (02:30 +0200)]
Make unittest.tools a test dependency

It seems this should not be pulled into runtime,
constrain the dependency appropriately.

Change-Id: I892ff0737b94e9e7fd1e8b6cc55d1379c679ffee
Signed-off-by: Robert Varga <rovarga@cisco.com>
7 years agoAdd missing relativePath declaration 19/42819/1
Robert Varga [Sat, 30 Jul 2016 11:30:45 +0000 (13:30 +0200)]
Add missing relativePath declaration

Parent coming from other projects should have relativePath
unset, silences a maven warning.

Change-Id: I271c78b834913512607e53ea4c4391d8a1989093
Signed-off-by: Robert Varga <rovarga@cisco.com>
7 years agoBug 6309: Fix negative map-replies for non-IP EIDs 96/42796/1
Florin Coras [Fri, 29 Jul 2016 16:38:53 +0000 (18:38 +0200)]
Bug 6309: Fix negative map-replies for non-IP EIDs

Change-Id: I74cacf39ba0557a2793ac0b087b9e124d52d19eb
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoCheckstyle: fix issues and enforce on lisp-proto 51/42751/1
Lorand Jakab [Fri, 29 Jul 2016 00:39:09 +0000 (19:39 -0500)]
Checkstyle: fix issues and enforce on lisp-proto

Change-Id: Iebaaba5c730c7e1c6a25c8786248a2190d7aaa13
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 6278: Use odlparent's karaf-parent 19/42719/2
Lorand Jakab [Thu, 28 Jul 2016 15:16:09 +0000 (10:16 -0500)]
Bug 6278: Use odlparent's karaf-parent

Change-Id: Ia5a7b12b4748eae7921c11428070d5368076bce5
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoJUnit Test - Neutron plugin tests 18/42318/6
Miroslav Toth [Fri, 22 Jul 2016 12:54:15 +0000 (14:54 +0200)]
JUnit Test - Neutron plugin tests

Change-Id: If11132e6df768eef5b58d18dbe7747c0efe7397f
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoMerge "Bug 6278: Depend on odlparent's version of karaf.branding & opendaylight-karaf...
Lori Jakab [Thu, 28 Jul 2016 11:31:46 +0000 (11:31 +0000)]
Merge "Bug 6278: Depend on odlparent's version of karaf.branding & opendaylight-karaf-resources"

7 years agoMerge "Checkstyle: enable copy/paste detection"
Vina Ermagan [Wed, 27 Jul 2016 22:11:36 +0000 (22:11 +0000)]
Merge "Checkstyle: enable copy/paste detection"

7 years agoCheckstyle: enable copy/paste detection 73/42573/1
Lorand Jakab [Tue, 26 Jul 2016 13:53:10 +0000 (08:53 -0500)]
Checkstyle: enable copy/paste detection

See https://lists.opendaylight.org/pipermail/odlparent-dev/2016-July/000443.html

Since inmemorydb and mapcache have violations, this patch doesn't enable
CPD on them yet, until they will be fixed.

Change-Id: Ic41822fc6c9c78389690c05c8e721b276b762d02
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoWarn when merge is on, but xTR-ID is 0 81/42181/4
Lorand Jakab [Mon, 25 Jul 2016 13:38:43 +0000 (08:38 -0500)]
Warn when merge is on, but xTR-ID is 0

Also, fix a NPE in SimpleMapCache.

Change-Id: Iee1b46bcfea6647996deae0c8bf9ca3b089f41db
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoCheckstyle fixes re. hidden fields 47/42347/3
Michael Vorburger [Fri, 22 Jul 2016 22:27:09 +0000 (00:27 +0200)]
Checkstyle fixes re. hidden fields

To be enforced / preparing for
https://git.opendaylight.org/gerrit/#/c/41305/

Change-Id: I7ad255aa06f29a599fd13e9ebb9d080f56444443
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoSwitch from config-parent to {odl,binding-}parent 23/42323/2
Lorand Jakab [Fri, 22 Jul 2016 16:08:48 +0000 (11:08 -0500)]
Switch from config-parent to {odl,binding-}parent

Since we moved to bluprints from config subsystem, we don't need
config-parent anymore.

Change-Id: Ia1f62217cabca35ce8dc77de7f3227b06c500e02
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMake map register cache timeout configurable. 29/42229/2
Jozef Gloncak [Thu, 21 Jul 2016 10:39:53 +0000 (12:39 +0200)]
Make map register cache timeout configurable.

Currently it is possible to configure map register cache
timeout from blueprint.

Change-Id: Ic6ddd8aaf1fed605ca476e8660ebe073a929330f
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoConfiguration of southbound plugin via property placeholder 05/42305/2
Jozef Gloncak [Fri, 22 Jul 2016 11:08:11 +0000 (13:08 +0200)]
Configuration of southbound plugin via property placeholder

Original way of configuration of instance variable was reworked
to use proprty placeholder in blueprint.

Change-Id: I83589c4723526f0d7c6cac67987630fd0088b91f
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoBug 6278: Depend on odlparent's version of karaf.branding & opendaylight-karaf-resources 47/42647/1
Ryan Goulding [Fri, 22 Jul 2016 07:44:21 +0000 (03:44 -0400)]
Bug 6278: Depend on odlparent's version of karaf.branding & opendaylight-karaf-resources

Change-Id: I8ce61f6881e98d7d0be1ed52784788ce200beb8d
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoClustering - adding to LispSouthboundPlugin. 87/40587/24
Jozef Gloncak [Tue, 21 Jun 2016 08:09:17 +0000 (10:09 +0200)]
Clustering - adding to LispSouthboundPlugin.

Added code for cluster aware behaviour to LfmMappingServiceSb.

Change-Id: I06e89cf08fe531e1e53eab08b9f8d5204ba2603f
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoClustering - adding to LispMappingService. 73/40473/18
Jozef Gloncak [Fri, 17 Jun 2016 06:11:35 +0000 (08:11 +0200)]
Clustering - adding to LispMappingService.

Added code for cluster aware behaviour to LispMappingService.

Change-Id: I9e6cd6e806dd1e2c3656a3b4ed3b973a85868f68
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoClustering - Importing cluster bundle to implementation bundle. 78/40378/17
Jozef Gloncak [Wed, 15 Jun 2016 06:28:39 +0000 (08:28 +0200)]
Clustering - Importing cluster bundle to implementation bundle.

Change-Id: Ie9868d8e7143c707537e9a717b429310805cc74f
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoClustering - common infrastructure. 44/40444/17
Jozef Gloncak [Thu, 16 Jun 2016 13:42:45 +0000 (15:42 +0200)]
Clustering - common infrastructure.

Common class for clustering operations for each module.

Change-Id: If401eba45155e07846f025340b6499969213e7bb
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoMerge "Reenable Neutron using YANG models"
Lori Jakab [Thu, 21 Jul 2016 14:22:54 +0000 (14:22 +0000)]
Merge "Reenable Neutron using YANG models"

7 years agoReenable Neutron using YANG models 62/41662/16
Miroslav Toth [Wed, 13 Jul 2016 11:53:30 +0000 (13:53 +0200)]
Reenable Neutron using YANG models

Change-Id: I777875bff02827aa467278d82cbe15ae7b453d20
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoLower log-level for a warning 86/42086/1
Lorand Jakab [Tue, 19 Jul 2016 19:37:44 +0000 (14:37 -0500)]
Lower log-level for a warning

Change-Id: I41b4324b1691814b922c47ab4dbf74ebd33c13f1
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoSimplify mapping update model 73/41673/2
Lorand Jakab [Mon, 11 Jul 2016 18:37:47 +0000 (13:37 -0500)]
Simplify mapping update model

Change-Id: Ic977386da2791660692c4f648be6e968240f94e4
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMerge "Bug 6071: Compute authentication data for Map-Notify"
Vina Ermagan [Wed, 13 Jul 2016 06:12:36 +0000 (06:12 +0000)]
Merge "Bug 6071: Compute authentication data for Map-Notify"

7 years agoMerge "Make ui-module a provided dependency"
Vina Ermagan [Wed, 13 Jul 2016 05:27:45 +0000 (05:27 +0000)]
Merge "Make ui-module a provided dependency"

7 years agoMerge "Bug 6097: Add xTR-ID and Site-ID to Map-Notify"
Vina Ermagan [Wed, 13 Jul 2016 05:27:13 +0000 (05:27 +0000)]
Merge "Bug 6097: Add xTR-ID and Site-ID to Map-Notify"

7 years agoBug 6097: Add xTR-ID and Site-ID to Map-Notify 24/41724/2
Lorand Jakab [Tue, 12 Jul 2016 16:24:51 +0000 (11:24 -0500)]
Bug 6097: Add xTR-ID and Site-ID to Map-Notify

Slow path was ignoring the xtrSiteIdPresent bit from Map-Register
messages, and the Map-Notify serializer was ignoring the boolean value
as well.

Change-Id: I1e3e41c878cb236aae88fe1d0daacf4f17237f89
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMake ui-module a provided dependency 23/41723/1
Lorand Jakab [Tue, 12 Jul 2016 14:51:18 +0000 (09:51 -0500)]
Make ui-module a provided dependency

Since ui-bundle already includes all of ui-module,
we should make it a provided dependency so it does not
get packaged into the distribution.

See https://lists.opendaylight.org/pipermail/release/2016-July/007215.html

Change-Id: Ic96fb9180926605c57ef5d38441037dec077ca3c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoCheckstyle: fix issues and enforce on mapcache 77/41677/1
Lorand Jakab [Mon, 11 Jul 2016 20:09:18 +0000 (15:09 -0500)]
Checkstyle: fix issues and enforce on mapcache

Change-Id: I65b49be37d0f1ee01baf6ce4517441b2a4eae473
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoCheckstyle: fix issues and enforce on dsbackend 75/41675/2
Lorand Jakab [Mon, 11 Jul 2016 19:02:12 +0000 (14:02 -0500)]
Checkstyle: fix issues and enforce on dsbackend

Change-Id: Ida32a6d552b7ea8d86b902089c9d4184d8cb5eee
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 6071: Compute authentication data for Map-Notify 99/41599/2
Lorand Jakab [Mon, 11 Jul 2016 13:17:22 +0000 (08:17 -0500)]
Bug 6071: Compute authentication data for Map-Notify

Change-Id: I3856ca3dbb1e5f16c83f6918acd5b772e7e87078
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMake sure re-enabled Neutron follows checkstyle 72/41572/1
Lorand Jakab [Fri, 8 Jul 2016 17:46:47 +0000 (12:46 -0500)]
Make sure re-enabled Neutron follows checkstyle

Neutron is now disabled in the build, but when it is ready to be
re-enabled, it should follow and enforce odlparent checkstyle rules.

Change-Id: I8efc8e2e75c2fe4c24d6ecb16c43cf6dd8fa0fbe
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 6071: Move authentication package to lisp-proto 14/41514/2
Lorand Jakab [Fri, 8 Jul 2016 13:33:46 +0000 (08:33 -0500)]
Bug 6071: Move authentication package to lisp-proto

This is step one in fixing Map-Notify authentication data on the "slow
path".

Change-Id: Ic75a86cf3a96afc644d6faa2a35068b1185838ab
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoCheckstyle: fix build due to odlparent changes 79/41479/1
Lorand Jakab [Thu, 7 Jul 2016 12:36:16 +0000 (07:36 -0500)]
Checkstyle: fix build due to odlparent changes

Change-Id: I89629ae0d9ff4412e3253aee6ad01f224c27eb52
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoFix Sonar (soon Checkstyle) TrailingComment 97/41297/2
Michael Vorburger [Mon, 4 Jul 2016 17:40:18 +0000 (19:40 +0200)]
Fix Sonar (soon Checkstyle) TrailingComment

Change-Id: I0acaeca76715b45eb5bf3e755f8bdf0b2bbc53fc
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoFix - using unrefreshed authentication data. 92/41192/4
Jozef Gloncak [Fri, 1 Jul 2016 06:28:55 +0000 (08:28 +0200)]
Fix - using unrefreshed authentication data.

This bug relate with https://git.opendaylight.org/gerrit/#/c/40755. See
comment from Vina Ermagan for more details
https://git.opendaylight.org/gerrit/#/c/40755/5/mappingservice/southbound/src/main/java/org/opendaylight/lispflowmapping/southbound/lisp/LispSouthboundHandler.java

Change-Id: If592546bacffd73135ece1c02555b9cd0712ed99
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoFix breakage caused by odlparent changes 21/41221/1
Lorand Jakab [Fri, 1 Jul 2016 19:10:06 +0000 (14:10 -0500)]
Fix breakage caused by odlparent changes

Change-Id: I8c426b5bee677c5fe67ba522663aa976927a0f6b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 6102: Upgrade ietf-{inet,yang}-types to 2013-07-15 80/39880/6
Lorand Jakab [Mon, 6 Jun 2016 10:24:18 +0000 (13:24 +0300)]
Bug 6102: Upgrade ietf-{inet,yang}-types to 2013-07-15

Change-Id: I58eacc61784131abef18e94a30c7337036662528
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoAdding authentication data to map register cache. 55/40755/5
Jozef Gloncak [Thu, 23 Jun 2016 09:02:06 +0000 (11:02 +0200)]
Adding authentication data to map register cache.

Authentication type and string are stored in map register cache in map value.
If map register cache hit occures and it is required to send map notify
message which should be authenticated then this localy stored authentication
data are used.

If authentication data are changed (value in datastore) then the application is
switched to authentication refreshing mode for period of time which is equal
to map register cache record timout. During this period are authentication data
obtained as before - by direct request to simple map cache.

Change-Id: I6537b8cd88773c960a3f4d90b8e26ea2bb397fb0
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoRepeat DatagramSocket instance creation. 28/41128/2
Jozef Gloncak [Thu, 30 Jun 2016 10:02:56 +0000 (12:02 +0200)]
Repeat DatagramSocket instance creation.

If creation of instance of DatagramSocket class throws
SocketException then it is tried once again.

Change-Id: I78453883a50b770889dcc7d3da5baa69a42c6825
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoCheckstyle: move mappingservice.api to odlparent 23/41023/2
Lorand Jakab [Wed, 29 Jun 2016 14:11:14 +0000 (09:11 -0500)]
Checkstyle: move mappingservice.api to odlparent

Change-Id: I4742e2abc15451e22ebd8d890a74166d7ecb76bf
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoCheckstyle: preparation for switching to odlparent 69/40969/3
Lorand Jakab [Tue, 28 Jun 2016 21:25:06 +0000 (16:25 -0500)]
Checkstyle: preparation for switching to odlparent

There has been a lot of work on the ODL-wide checkstyle rules in
odlparent, and we should eventually be compliant. To be able to make
progress on individial bundles, this commit moves our custom checkstyle
enabler from mappingservice/pom.xml to the individual child poms. As an
example, mappingservice/shell is updated to comply with ODL checkstyle
rules and turns on enforcement. Additionally, it contains a violation
that is inevitable, and code to suppress than one particular violation.
That can be used as an example in other places where there is good
reason not to follow ODL style.

Change-Id: I3455f4084fa1302f8a970b2dfba0b9293767aecf
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 6116 - Added ns prefixes 09/40909/1
Matus Marko [Tue, 28 Jun 2016 06:02:34 +0000 (08:02 +0200)]
Bug 6116 - Added ns prefixes

- In the where clauses of the ietf-lisp-address-types.yang module were added namespace prefixes for the identities included in the same yang file

Change-Id: I1a0232c4c7907cdb23b642cecf6da0713d6c9c41
Signed-off-by: Matus Marko <matmarko@cisco.com>
7 years agoJUnit Test - LispAddressUtilTest updated 40/40040/3
Miroslav Toth [Wed, 8 Jun 2016 10:28:40 +0000 (12:28 +0200)]
JUnit Test - LispAddressUtilTest updated

Change-Id: I558cf8a07ce99f5a8c963557b8be6329f6eaee85
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoMerge "Remove unused authentication variable."
Lori Jakab [Wed, 22 Jun 2016 13:27:21 +0000 (13:27 +0000)]
Merge "Remove unused authentication variable."

7 years agoRemove unused authentication variable. 48/40548/3
Jozef Gloncak [Mon, 20 Jun 2016 13:49:35 +0000 (15:49 +0200)]
Remove unused authentication variable.

Change-Id: I5904c36df6321fd04157daaade08a27dbc2392c9
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoAdd blueprint wiring for LispFlowMapping 95/40495/6
Alexis de Talhouët [Fri, 17 Jun 2016 15:07:21 +0000 (11:07 -0400)]
Add blueprint wiring for LispFlowMapping

Change-Id: I99a6f302111d44a3004a4be75142885805740713
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
7 years agoMerge "Add radix trie to HashMapDb for fast IP LPM"
Vina Ermagan [Sat, 18 Jun 2016 00:34:02 +0000 (00:34 +0000)]
Merge "Add radix trie to HashMapDb for fast IP LPM"

7 years agoAdd radix trie to HashMapDb for fast IP LPM 29/40129/5
Florin Coras [Fri, 3 Jun 2016 07:37:31 +0000 (10:37 +0300)]
Add radix trie to HashMapDb for fast IP LPM

This adds a radix trie implementation for fast IP longest prefix
matching leveraged for now in HashMapDb to speed up mappings lookup. The
change is not fully transparent as it introduces a number of ILispDAO
API and map-cache implementation updates.

An important caveat to consider is that authkey lookup logic in map-caches
cannot be changed to use the tries because keys are not always found
under the longest prefix match. This is a consequence of the fact that
we now accept generic auth keys for aggregate prefixes, i.e., we don't
have one-to-one matching between mapping and auth entries, and we store
both auth keys and mappings in the same map-cache.

Change-Id: I4e7d2badce3b3cd31030fbea87f7366ea6b41035
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoTurning on tests which were disabled due to movement of authentication to southbound. 07/39407/14
Jozef Gloncak [Wed, 25 May 2016 10:41:11 +0000 (12:41 +0200)]
Turning on tests which were disabled due to movement of authentication to southbound.

Uncommenting tests.

Change-Id: I7adc6bac17a5c2b0a0e926f68e615254d20ba20e
Signed-off-by: Jozef Gloncak <jgloncak@cisco.com>
7 years agoMerge "Bug 6051: Temporarly disable Neutron in build"
Vina Ermagan [Tue, 14 Jun 2016 06:42:11 +0000 (06:42 +0000)]
Merge "Bug 6051: Temporarly disable Neutron in build"

7 years agoMerge "Fix Map-Notify for non-authenticated Map-Registers on cache hit"
Vina Ermagan [Sun, 12 Jun 2016 20:44:09 +0000 (20:44 +0000)]
Merge "Fix Map-Notify for non-authenticated Map-Registers on cache hit"

7 years agoBug 6051: Temporarly disable Neutron in build 98/40198/1
Lorand Jakab [Sun, 12 Jun 2016 08:02:07 +0000 (11:02 +0300)]
Bug 6051: Temporarly disable Neutron in build

The Neutron project deprecated the I*Aware interfaces during Beryllium
and is removing them now in Boron. Until migration is finished, disable
our Neutron service in the build.

Change-Id: I7a63d0055b84a3d6f6ef5ffe3fb8423e658a0ad7
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoFix Map-Notify for non-authenticated Map-Registers on cache hit 77/40177/2
Lorand Jakab [Sat, 11 Jun 2016 20:26:42 +0000 (23:26 +0300)]
Fix Map-Notify for non-authenticated Map-Registers on cache hit

Change-Id: I2d1ebb08a884ecb1461ec5ee18a52b6f6ff19c9c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoMerge "Bug 6041: Ignore SMRs and RLOC probes in Map-Resolver"
Vina Ermagan [Fri, 10 Jun 2016 21:19:05 +0000 (21:19 +0000)]
Merge "Bug 6041: Ignore SMRs and RLOC probes in Map-Resolver"

8 years agoFix transformMapRegisterToMapNotify() 74/40174/1
Lorand Jakab [Fri, 10 Jun 2016 15:41:15 +0000 (18:41 +0300)]
Fix transformMapRegisterToMapNotify()

Instead of 0x40, the code was setting the first byte to 0x04.
Additionally, it didn't take into account flags that need to be present
in the returned packet.

Change-Id: I0f0dbaf940abf3033220237350819c6d56405fea
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoBug 6041: Ignore SMRs and RLOC probes in Map-Resolver 82/40082/4
Lorand Jakab [Thu, 9 Jun 2016 15:40:27 +0000 (18:40 +0300)]
Bug 6041: Ignore SMRs and RLOC probes in Map-Resolver

Change-Id: I37f8285fbe5ce0b4bf24387d77f3d4fd298adb30
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoFix type in LispAddressUtil.asIpv{4,6}PrefixEid 77/40077/2
Lorand Jakab [Thu, 9 Jun 2016 00:22:04 +0000 (03:22 +0300)]
Fix type in LispAddressUtil.asIpv{4,6}PrefixEid

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