lispflowmapping.git
7 years agoSMR parent prefix 20/47120/32
Miroslav Toth [Wed, 19 Oct 2016 11:22:00 +0000 (13:22 +0200)]
SMR parent prefix

Change-Id: I54ee2460012a0ac08a2cc0333e2ce0d9ae98953b
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoAdd virtual parent sibling prefix lookup methods 32/50732/2
Lorand Jakab [Fri, 20 Jan 2017 14:56:17 +0000 (16:56 +0200)]
Add virtual parent sibling prefix lookup methods

Change-Id: I6fa317cbb7cdd0bcef2531b761e1c2dc19d1ce6d
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 7586: Make Extended SingleFeatureTest pass 36/50736/1
Lorand Jakab [Fri, 20 Jan 2017 18:13:03 +0000 (20:13 +0200)]
Bug 7586: Make Extended SingleFeatureTest pass

We missed the fact that southbound is a dependency for mappingservice,
because of the RPCs to send reply packets. This patch corrects the
feature dependency and allows the new extended SingleFeatureTest to
pass, so we can be removed from the feature blacklist.

Change-Id: I5aadb06cdb2c9ce1bd9c1c3b4efdade53e4a1bcc
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMerge "Fix removal of expired mappings when merge on"
Vina Ermagan [Fri, 20 Jan 2017 01:42:00 +0000 (01:42 +0000)]
Merge "Fix removal of expired mappings when merge on"

7 years agoMerge "Remove SimpleMapCache#getXtrIdTable()"
Vina Ermagan [Fri, 20 Jan 2017 01:40:57 +0000 (01:40 +0000)]
Merge "Remove SimpleMapCache#getXtrIdTable()"

7 years agoCleaning operational should clean map-cache too 96/49696/7
Lorand Jakab [Wed, 21 Dec 2016 11:11:13 +0000 (13:11 +0200)]
Cleaning operational should clean map-cache too

The recently added remove-all-operational-content RPC removes the
operational datastore content, but the in-memory southbound map-cache is
not cleaned on master nodes, since southbound operations go to the cache
first. This patch explicitly clears the southbound map-cache on master
nodes when the RPC is called.

Change-Id: I3c1b899de592f5499779c55fb880481a60f9a64a
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoFix removal of expired mappings when merge on 79/50579/1
Lorand Jakab [Tue, 17 Jan 2017 21:12:14 +0000 (23:12 +0200)]
Fix removal of expired mappings when merge on

Change-Id: Ie1f1752471f72400788d28e81fd7f41ede6273f7
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoRemove SimpleMapCache#getXtrIdTable() 43/50443/5
Lorand Jakab [Tue, 17 Jan 2017 19:43:09 +0000 (21:43 +0200)]
Remove SimpleMapCache#getXtrIdTable()

Change-Id: I53394480d41a5f0eb6356dfed24e293fbc5dfc19
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoSeparate authentication key in-memory storage 15/49715/5
Lorand Jakab [Wed, 21 Dec 2016 15:50:09 +0000 (17:50 +0200)]
Separate authentication key in-memory storage

Authentication key operations (add/get/remove) are part of the IMapCache
interface, so all map-caches implement them, even though we only really
use them in SimpleMapCache. This makes map-caches less "general", in the
sense that they need to be aware of the AuthenticationKey type, and we
have unused code.

This patch creates a new IAuthKeyDb interface and the AuthKeyDb class
implementing it, which contains only the authentication key operations.
The MappingSystem and the LispSouthBoundPlugin are switched to the new
implementation.

This is a prerequisite for a full solution to bug 7272, by making it
possible to remove all sub-keys when removing a mapping, leaving the
RadixTrie in a consistent state. It also makes a proper implementation
for the newly introduced remove-all-operational-content RPC, since
deleting all operational content should delete all southbound mappings,
but not authentication keys, which are now in the same in-memory
structures.

Checked system tests, all passing.

Change-Id: I9536dbccb06d486e205f8a15e9e8ac3fa1c53fcc
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoRemove the last remnants of the CSS 40/50540/1
Lorand Jakab [Tue, 17 Jan 2017 11:13:53 +0000 (13:13 +0200)]
Remove the last remnants of the CSS

We don't use the config sub-system (CSS) anywhere in our project, so
remove the dependecy completely.

Change-Id: Ic2d0de34907ef4273339d50796aca594c77d8b05
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMerge "Account for merging on mapping removal"
Vina Ermagan [Mon, 16 Jan 2017 23:40:05 +0000 (23:40 +0000)]
Merge "Account for merging on mapping removal"

7 years agoFix NPE in SimpleMapCache 34/50034/2
Lorand Jakab [Wed, 4 Jan 2017 21:34:10 +0000 (23:34 +0200)]
Fix NPE in SimpleMapCache

This was causing a serious performance regression too, introduced with
Gerrit c/46778, "Make SimpleMapCache simple again".

Change-Id: I531a5f103322f5389b20197895a381aceef79fa5
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoAdd sibling prefix lookup methods to RadixTrie and HashMapDb 21/50121/2
Lorand Jakab [Sat, 7 Jan 2017 11:26:55 +0000 (13:26 +0200)]
Add sibling prefix lookup methods to RadixTrie and HashMapDb

Change-Id: Ib639113b120ce63444a164e857e78f3f41830243
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoAccount for merging on mapping removal 44/49744/2
Lorand Jakab [Thu, 22 Dec 2016 14:50:10 +0000 (16:50 +0200)]
Account for merging on mapping removal

When removing an xTR-ID mapping, if merge is on, the main mapping needs
to be re-calculated.

Change-Id: Ib49869b18de83ffb62f3cf311a87568b242425f8
Reported-by: Shakib Ahmed <sheikahm@cisco.com>
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoAdd toString() to MappingData 46/49746/1
Lorand Jakab [Thu, 22 Dec 2016 16:54:38 +0000 (18:54 +0200)]
Add toString() to MappingData

When running the `mappings` command on the Karaf console to view current
in-memory data structures, the address field of mapping shows the memory
reference of the MappingData object, since it doesn't override the
toString() method. This happens since the SimpleMapCache class was
simplified in https://git.opendaylight.org/gerrit/#/c/46778/ and the
MappingRecord was wrapped into a container class.

This patch implements the toString() method for the MappingData class.

Change-Id: Ib39ddb2c6330c28734f948d854ed42925cb1aa3a
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoAdd RPC to delete operational content 70/49670/2
Lorand Jakab [Tue, 20 Dec 2016 19:34:34 +0000 (21:34 +0200)]
Add RPC to delete operational content

This is useful when debugging all kinds of issues, as the RESTCONF
interface only allows removing all config datastore content, but not the
operational datastore content.

Change-Id: I6a1d1c2c86b63d825cd4994ffe8e98ccee6aa82d
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoIT: Add constant for sleep time 34/49634/1
Lorand Jakab [Tue, 20 Dec 2016 09:40:28 +0000 (11:40 +0200)]
IT: Add constant for sleep time

In addition, decrease sleep time for the multi-site tests from 2 seconds
to 1 second, to avoid the following type intermittent errors:

Failed tests:
  MappingServiceIntegrationTest.testMultiSite:414->testMultiSiteScenarioA:687
SMR contained Eid [_address=Ipv4PrefixBinary
[_ipv4AddressBinary=Ipv4AddressBinary [_value=[-64, 0, 1, 1]],
_ipv4MaskLength=32, augmentation=[]], _addressType=class
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.binary.address.types.rev160504.Ipv4PrefixBinaryAfi,
_virtualNetworkId=InstanceIdType [_value=2], augmentation=[]] which
wasn't expected.

AND

Failed tests:
  MappingServiceIntegrationTest.testMultiSite:415->testMultiSiteScenarioB:802
SMR contained Eid [_address=Ipv4PrefixBinary
[_ipv4AddressBinary=Ipv4AddressBinary [_value=[-64, 0, 2, 5]],
_ipv4MaskLength=32, augmentation=[]], _addressType=class
org.opendaylight.yang.gen.v1.urn.opendaylight.lfm.lisp.binary.address.types.rev160504.Ipv4PrefixBinaryAfi,
_virtualNetworkId=InstanceIdType [_value=2], augmentation=[]] which
wasn't expected.

Change-Id: I551e1f6ba60fc54ab259a419cd8c5ce97eaa1ba9
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoComment about config option modification dependencies 65/49465/2
Lorand Jakab [Fri, 16 Dec 2016 09:56:32 +0000 (11:56 +0200)]
Comment about config option modification dependencies

When we add/remove/modify a configuration option in ConfigIni.java, some
external modifications are required in the odlparent and docs projects.
Make this clear in a comment.

Change-Id: Id5ceb334cdf1075a1090b229672b1a3c5c575e24
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMerge "Remove overwrite configuration and convert it to mapping merge configuration"
Lori Jakab [Fri, 16 Dec 2016 08:36:09 +0000 (08:36 +0000)]
Merge "Remove overwrite configuration and convert it to mapping merge configuration"

7 years agoRemove overwrite configuration and convert it to mapping merge configuration 55/49455/1
Shakib Ahmed [Thu, 15 Dec 2016 21:35:18 +0000 (13:35 -0800)]
Remove overwrite configuration and convert it to mapping merge configuration

Change-Id: I511ec249ff2f5e3c6fef2336bfc4455728a08535
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoAdd parent prefix lookup methods to RadixTrie and HashMapDb 35/49335/4
Lorand Jakab [Wed, 14 Dec 2016 10:00:27 +0000 (12:00 +0200)]
Add parent prefix lookup methods to RadixTrie and HashMapDb

Change-Id: I30342f6ac146d78ed3708430cec684a4d603910f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMake SimpleMapCache simple again 78/46778/20
Lorand Jakab [Mon, 10 Oct 2016 19:22:08 +0000 (22:22 +0300)]
Make SimpleMapCache simple again

A lot of logic in SimpleMapCache is intelligence to handle LISP specific
features, like merging mappings from several different xTRs and handling
expiration of mapping state from UDP xTR registrations. This logic does
not belong there architecturally, and should be moved out.

SimpleMapCache still needs to handle some LISP specific functionality,
but methods implementing that functionality should not be part of the
general IMapCache contract, which is implemented by all map caches. This
commit introduces a new interface, ILispMapCache, which is only
implemented by SimpleMapCache, to provide access to xTR-ID specific
mappings.

Since FlatMapCache was not really maitained and tested, this patch
causes the map caches not be built when `iterateMask` is false. It's
better to fail than give undefined behavior to the user.

The patch also updates the mapping system and mapping service interfaces
to use MappingData instead of the immutable MappingRecord (contained
within) so that mapping context can be easily carried in both directions
between layers.

Change-Id: I49dbc68615a360d1b9d1c32b4af23726f173259f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoFix radix trie lookup exact 59/49059/4
Florin Coras [Wed, 7 Dec 2016 01:43:01 +0000 (17:43 -0800)]
Fix radix trie lookup exact

Change-Id: I6d29db3f0d5d576e83006a3f051ae97d9dfcf510
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoAdd postman collection in FD.io tutorial 19/49119/1
Shakib Ahmed [Wed, 7 Dec 2016 23:20:15 +0000 (15:20 -0800)]
Add postman collection in FD.io tutorial

Change-Id: I36a68b6699c14d98eb528f2226fac54d46728174
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoMerge "WIP: Update Tutorial for FD.io and OOR"
Vina Ermagan [Wed, 7 Dec 2016 02:05:45 +0000 (02:05 +0000)]
Merge "WIP: Update Tutorial for FD.io and OOR"

7 years agoBug 7272: Fix prefix removal in MultiTableMapCache 50/49050/2
Lorand Jakab [Tue, 6 Dec 2016 18:22:13 +0000 (20:22 +0200)]
Bug 7272: Fix prefix removal in MultiTableMapCache

This fix is a bit of a brute-force, since it removes authentication keys
and all data, when removing a mapping, but for the MultiTableMapCache in
lispflowmapping as-is currently it is OK, since authentication keys are
stored in SimpleMapCache. So this is just a band-aid for the particular
use case reported in the bug, but a proper fix will require more
changes, which need to be discussed.

Change-Id: I295d2921f6b81505271887fbde2078ec38dbca0d
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 7293: Fix radix trie removals that update the root (2) 20/49020/1
Florin Coras [Tue, 6 Dec 2016 10:25:37 +0000 (02:25 -0800)]
Bug 7293: Fix radix trie removals that update the root (2)

Change-Id: I08e202ba0557d1dfb013680c7f3720f4fb470f72
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoBug 7293: Fix radix trie node removals that update the root 66/48966/2
Florin Coras [Mon, 5 Dec 2016 07:36:20 +0000 (23:36 -0800)]
Bug 7293: Fix radix trie node removals that update the root

Set the isRoot flag if when removing intermediaries the root is
updated.

Change-Id: I1650798c333262ad79bc92240210f90f665131b7
Signed-off-by: Florin Coras <fcoras@cisco.com>
7 years agoSonar: Reorder modifiers ... 52/48652/1
Lorand Jakab [Thu, 24 Nov 2016 09:04:27 +0000 (11:04 +0200)]
Sonar: Reorder modifiers ...

... to comply with the Java Language Specification.

Change-Id: I670b63d32ce0e8d4f9d0814a5fdbefa989064319
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoSonar: Move trailing comment on previous empty line 24/48624/2
Lorand Jakab [Wed, 23 Nov 2016 12:53:11 +0000 (14:53 +0200)]
Sonar: Move trailing comment on previous empty line

Change-Id: I300972c7be4d89ffdc73a58475fa4a533ab5fc4b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoIT - timed out mappings 16/46816/2
Miroslav Toth [Mon, 19 Sep 2016 11:06:43 +0000 (13:06 +0200)]
IT - timed out mappings

Change-Id: I5b4c26821058c21584d028daff26698443d26bab
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoAllow setting SB registration validity value 08/45808/3
Miroslav Toth [Mon, 19 Sep 2016 12:26:46 +0000 (14:26 +0200)]
Allow setting SB registration validity value

For integration testing it helps speed things up if we don't have to
wait the full 200 seconds to elapse before a southbound entry expires
(which is minimum allowed value to be set). This patch allows setting
values lower than 200 s as the southbound timeout, and logs a warning
when that happens.

Change-Id: I9532d74d85c5f519e09480e92c1f8f542fefcc93
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoWIP: Update Tutorial for FD.io and OOR 51/48451/2
Shakib Ahmed [Thu, 17 Nov 2016 18:16:23 +0000 (10:16 -0800)]
WIP: Update Tutorial for FD.io and OOR

Change-Id: I986b6e5873c74ed486fb07c9dda1e6ac5405b1ac
Signed-off-by: Shakib Ahmed <sheikahm@cisco.com>
7 years agoRemove expiration code from HashMapDb 04/48104/2
Lorand Jakab [Tue, 8 Nov 2016 08:19:53 +0000 (10:19 +0200)]
Remove expiration code from HashMapDb

It wasn't used anywhere, and it didn't belong there architecturally.

Change-Id: Id94a6b7e730215b910e7fc4ca41bde537ede35c8
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoNetty multi-threading: do not hardcode number of threads 18/47818/1
Lorand Jakab [Wed, 2 Nov 2016 06:38:49 +0000 (08:38 +0200)]
Netty multi-threading: do not hardcode number of threads

Make the number of threads dependent on available cores. See comment in
source file for reasoning.

Change-Id: I7a1393f3879ef74ec6c5bcc756bd997a9e1bb112
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMake Netty multi-threaded in southbound 74/47774/2
Lorand Jakab [Thu, 27 Oct 2016 04:40:06 +0000 (07:40 +0300)]
Make Netty multi-threaded in southbound

Change-Id: I0790af750be50e3f04997c4157279b3d69594d83
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoMake Channel an argument to handleSerializedLispBuffer() 64/47664/4
Lorand Jakab [Thu, 27 Oct 2016 11:26:14 +0000 (14:26 +0300)]
Make Channel an argument to handleSerializedLispBuffer()

In preparation for multi-threading, this patch allows the sender channel
to be passed as an argument to handleSerializedLispBuffer() which puts
the packet on the wire.  Since the ChannelHandlerContext passed to
channelRead() has the original channel where the packet was received, we
can use it to send out the packet on the same channel, instead of using
just one channel for sending in LispSouthboundPlugin.

Change-Id: I1cd6205f8dc2e5431f73910ed1563773a1b12a1c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoReliable SMR - fix performance issue 10/47610/7
Miroslav Toth [Wed, 26 Oct 2016 13:11:26 +0000 (15:11 +0200)]
Reliable SMR - fix performance issue

Change-Id: I7f942037002cb983432368f54fd32c260b838e91
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoBug 7035: Fix race condition in HashMapDbTest 88/47588/1
Lorand Jakab [Wed, 26 Oct 2016 08:59:42 +0000 (11:59 +0300)]
Bug 7035: Fix race condition in HashMapDbTest

Change-Id: Icf436365637d0227963c787af61cd5206dcc6a84
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoCreate and switch to a concurrent version of LispSouthboundStats 65/47165/4
Lorand Jakab [Wed, 19 Oct 2016 18:46:53 +0000 (21:46 +0300)]
Create and switch to a concurrent version of LispSouthboundStats

Change-Id: Ia3961a584f9008b0de54fbbb87ecce33d308f3dc
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoBug 7018: Fix NPE when SMR and no locators 81/47481/1
Lorand Jakab [Tue, 25 Oct 2016 09:41:40 +0000 (12:41 +0300)]
Bug 7018: Fix NPE when SMR and no locators

Change-Id: I2ef46e25509f40637c6a29bee81855dd383ac48c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoReliable SMR - executor shutdown update 56/47056/1
Miroslav Toth [Tue, 18 Oct 2016 08:45:38 +0000 (10:45 +0200)]
Reliable SMR - executor shutdown update

Change-Id: I7153553ce2710f8b197f5520fe4862bcef314efb
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoBug 6361: Make LispSouthboundHandler stateless 73/46973/4
Lorand Jakab [Fri, 14 Oct 2016 22:36:38 +0000 (01:36 +0300)]
Bug 6361: Make LispSouthboundHandler stateless

This fixes the performance regression that's currently visible in our
graphs, for both types of Map-Registers.

Change-Id: I402a71d76f2f391fb46a31dd86b091dc35ad879c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoIntegration test - Reenable MultisiteScenario 12/47012/3
Miroslav Toth [Thu, 13 Oct 2016 09:26:53 +0000 (11:26 +0200)]
Integration test - Reenable MultisiteScenario

Change-Id: I070b06d2117ee18cea322cef850ee2bad8f6cc0f
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoIntegration test - reliable smr 47/46947/1
Miroslav Toth [Fri, 14 Oct 2016 13:09:21 +0000 (15:09 +0200)]
Integration test - reliable smr

Change-Id: If1fc454fb79f5a948e5addce8cf645f813bf7ce7
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoMerge "Use Netty Epoll in SB when available"
Vina Ermagan [Thu, 13 Oct 2016 23:53:44 +0000 (23:53 +0000)]
Merge "Use Netty Epoll in SB when available"

7 years agoReliable SMR async 76/45376/21
Miroslav Toth [Thu, 8 Sep 2016 13:20:28 +0000 (15:20 +0200)]
Reliable SMR async

Change-Id: I7b639c2f933069adcfb5140f44c89712ff218f7d
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
7 years agoMerge "JUnit Test - RadixTrie test with random IPs."
Florin Coras [Wed, 12 Oct 2016 18:10:19 +0000 (18:10 +0000)]
Merge "JUnit Test - RadixTrie test with random IPs."

7 years agoBug 6925: Fix NPE in SimpleMapCache 99/46799/1
Lorand Jakab [Tue, 11 Oct 2016 18:42:36 +0000 (21:42 +0300)]
Bug 6925: Fix NPE in SimpleMapCache

This restores performance to levels before
https://git.opendaylight.org/gerrit/#/c/43473/

Change-Id: I03e935d1a1d3a4774610db6421c5705c56e26800
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
7 years agoUse Netty Epoll in SB when available 83/46683/1
Lorand Jakab [Fri, 7 Oct 2016 12:55:22 +0000 (15:55 +0300)]
Use Netty Epoll in SB when available

Preliminary performance testing shows that using Epoll on Linux x64
increases Map-Request, un-authenticated Map-Register and authenticated
Map-Register response rates from an average of 57k, 44k, and 31k replies
per second respectively to 88k, 55k, and 38k replies per second on our
internal reference testing platform.

Note that the sending rate is 100k requests per second, which means that
at higher sending rates the Map-Request performance may be even better
(although still "lossy").

This is the first step in improving southbound performance, with a
second patch to follow for multi-threaded packet handling, which depends
on Epoll (thus this patch).

Change-Id: I540a755850fb4c40ed0b1a4c745dbb4a5fa7bc9f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
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 agoJUnit Test - RadixTrie test with random IPs. 86/46286/5
Miroslav Toth [Thu, 22 Sep 2016 12:00:51 +0000 (14:00 +0200)]
JUnit Test - RadixTrie test with random IPs.

Change-Id: I88f1d1044d8f0e67f580152cdd332af64d2cb8d7
Signed-off-by: Miroslav Toth <mirtoth@cisco.com>
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"