lispflowmapping.git
9 years agoBeryllium version bump 13/19413/3
Lorand Jakab [Tue, 12 May 2015 15:35:26 +0000 (18:35 +0300)]
Beryllium version bump

Change-Id: Ic13e9bbee5f14dc50770e4818c7c1f5511d4cbe1
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoFix openjdk8 build 36/20136/2
Lorand Jakab [Tue, 12 May 2015 14:45:52 +0000 (17:45 +0300)]
Fix openjdk8 build

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

9 years agoMerge "Support for Neutron Ports"
Lori Jakab [Thu, 30 Apr 2015 20:39:58 +0000 (20:39 +0000)]
Merge "Support for Neutron Ports"

9 years agoSupport for Neutron Ports 06/19406/1
Vina Ermagan [Thu, 30 Apr 2015 20:15:49 +0000 (13:15 -0700)]
Support for Neutron Ports

Signed-off-by: Vina Ermagan <vermagan@cisco.com>
9 years agoProcess RPCs to config data store 85/19385/1
Lorand Jakab [Thu, 30 Apr 2015 14:10:14 +0000 (17:10 +0300)]
Process RPCs to config data store

Change-Id: I156d1c71ae0a5afd670c9ba0a0b4e5bc50fc180b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoActivate enunciate only on JDK 7 67/19367/1
Lorand Jakab [Wed, 29 Apr 2015 12:03:23 +0000 (15:03 +0300)]
Activate enunciate only on JDK 7

Change-Id: Ie5ba98893e806591c07cf878e2ac725019b3e32a
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoSupport adding RESTCONF data to DAO 82/19182/6
Lorand Jakab [Wed, 29 Apr 2015 08:55:21 +0000 (11:55 +0300)]
Support adding RESTCONF data to DAO

Change-Id: Ia31994d6d25891dfa7adedb62e785650ee733db8
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRPC implementation for RESTCONF 67/18267/8
Lorand Jakab [Wed, 29 Apr 2015 17:26:17 +0000 (20:26 +0300)]
RPC implementation for RESTCONF

This commit introduces support for RESTCONF RPCs, using the existing
ClusterDAO storage backend with the existing MapServer/MapResolver API.

Change-Id: Ia9cca576e9bf06e90b05a7400aa807a1d6b970d3
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoProper checkstyle excludes 39/18739/1
Lorand Jakab [Tue, 21 Apr 2015 11:52:54 +0000 (14:52 +0300)]
Proper checkstyle excludes

Changing the source directory just to match on class names is the wrong
approach and makes the build take more time.  Use part of the class
that's fixed instead.

Change-Id: I0085dcbca48f9fac0b07fa104e593166358883df
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMerge "Add support for SourceDest LCAF"
Lori Jakab [Tue, 21 Apr 2015 09:00:15 +0000 (09:00 +0000)]
Merge "Add support for SourceDest LCAF"

9 years agoAdd support for SourceDest LCAF 75/18575/3
Florin Coras [Thu, 16 Apr 2015 16:20:09 +0000 (09:20 -0700)]
Add support for SourceDest LCAF

Change-Id: I19a984ef199cf0aa29e32784e32de9693616386e
Signed-off-by: Florin Coras <fcoras@cisco.com>
9 years agoMerge "Enforce basic checkstyle on mappingservice.*"
Lorand Jakab [Mon, 20 Apr 2015 18:59:20 +0000 (18:59 +0000)]
Merge "Enforce basic checkstyle on mappingservice.*"

9 years agoEnforce basic checkstyle on mappingservice.* 18/18618/4
Lorand Jakab [Mon, 20 Apr 2015 13:22:36 +0000 (16:22 +0300)]
Enforce basic checkstyle on mappingservice.*

Odlparent checkstyle rules are too restrictive for us at this time, so
we're ignoring them.  Instead of doing that, this patch overrides the
odlparent checkstyle rules for the mappingservice.* bundles so that we
enforce at least some basic rules.

The commit also fixes some checkstyle issues that were discovered.

Change-Id: Ife358094b206fe1f7b70fef25dfb43c9cea403ca
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBug 3021: Fix notification handling 03/18603/2
Florin Coras [Sun, 19 Apr 2015 19:09:01 +0000 (12:09 -0700)]
Bug 3021: Fix notification handling

This fixes the return types of LispSouthboundPlugin methods used for
sending LISP messages to avoid NullPointerExceptions in mdsal.

Change-Id: I0d5596da016917eee74bf9776914081464a4c4c3
Signed-off-by: Florin Coras <fcoras@cisco.com>
9 years agoFix SingleFeatureTest issues 16/18416/1
Lorand Jakab [Thu, 16 Apr 2015 12:24:49 +0000 (15:24 +0300)]
Fix SingleFeatureTest issues

Change-Id: Ieee2da67fd8e70443bb8206d531f7399b758e81b
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoFix typo in lfm-control-plane.yang 08/18208/1
Lorand Jakab [Mon, 13 Apr 2015 17:07:20 +0000 (20:07 +0300)]
Fix typo in lfm-control-plane.yang

Change-Id: I6ec57501e9b8da574832a5a1f8b90a368d9411e9
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoSwitch from junit.framework to org.junit 24/18124/1
Lorand Jakab [Fri, 10 Apr 2015 16:56:30 +0000 (19:56 +0300)]
Switch from junit.framework to org.junit

junit.framework.Assert is depracated in favor of org.junit.Assert, so
stop importing the deprecated classes.

Change-Id: I8719bbfd11d52fa208ac5cf85e4f5f122c985048
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoFix/reenable last failing integration tests 07/17907/1
Lorand Jakab [Wed, 8 Apr 2015 10:35:11 +0000 (13:35 +0300)]
Fix/reenable last failing integration tests

Change-Id: Idbfd1cf4171509fd6920fa4ff0ba71856831049e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBug 2946: Make LcafSegmentAddr maskable 44/17744/1
Florin Coras [Sat, 4 Apr 2015 01:56:43 +0000 (18:56 -0700)]
Bug 2946: Make LcafSegmentAddr maskable

This also enables longest prefix matches with segment addresses.

Change-Id: Iaf2c626786e79482aa1983c5226c012529591542
Signed-off-by: Florin Coras <fcoras@cisco.com>
9 years agoBUG-2944: Parse iid mask length in northbound key registration 87/17687/2
Florin Coras [Fri, 3 Apr 2015 04:31:05 +0000 (21:31 -0700)]
BUG-2944: Parse iid mask length in northbound key registration

Change-Id: I793fd37786c4c837f767f9c2352e33d43aecfeaa
Signed-off-by: Florin Coras <fcoras@cisco.com>
9 years agoPrepare the YANG models for RESTCONF 80/17680/1
Lorand Jakab [Fri, 3 Apr 2015 01:49:43 +0000 (04:49 +0300)]
Prepare the YANG models for RESTCONF

This commit is in preparation of an MD-SAL based mapping database.  The
existing YANG model had to be modified in order to be useble for that
goal, and a new model was added to describe the new API.  The models
have been checked to pass pyang.  The implementation of the MD-SAL based
mapping database will be provided by another commit.

Change-Id: Idb1a31a00fa110f2a1c493672cb508f23cf5fad7
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoAdd support for Karaf shell lisp:addkey command 75/17675/1
Lorand Jakab [Thu, 2 Apr 2015 22:23:39 +0000 (01:23 +0300)]
Add support for Karaf shell lisp:addkey command

The plan is to extend the command in the future to accept arguments, but
for now it installs the key "password" for the IPv4 prefix 0.0.0.0/0
(all IPv4 EIDs).

Change-Id: I7f3657b2a9254ddc1ef638b0d9a65293ed191d05
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove subscribers when removing mapping. 87/17587/2
Florin Coras [Wed, 1 Apr 2015 21:51:09 +0000 (14:51 -0700)]
Remove subscribers when removing mapping.

Change-Id: I3c20903cef359bcb2128fe9c39836553f4412ceb
Signed-off-by: Florin Coras <fcoras@ac.upc.edu>
9 years agoMerge "Add support for Karaf shell lisp:* commands"
Lorand Jakab [Wed, 1 Apr 2015 19:20:01 +0000 (19:20 +0000)]
Merge "Add support for Karaf shell lisp:* commands"

9 years agoMerge "BUG-2931: Avoid removing mapping key when deleting mapping"
Lori Jakab [Wed, 1 Apr 2015 14:34:32 +0000 (14:34 +0000)]
Merge "BUG-2931: Avoid removing mapping key when deleting mapping"

9 years agoAdd support for Karaf shell lisp:* commands 43/17543/1
Lorand Jakab [Wed, 1 Apr 2015 14:07:33 +0000 (17:07 +0300)]
Add support for Karaf shell lisp:* commands

This commit adds the necessary infrastructure to add Karaf shell
commands for the lispflowmapping project and adds the first command:
"lisp:mappings", based on the previos OSGi shell command "dumpAll".
The list of implemented commands and a short help can be consulted at
any time with "help lisp".

Change-Id: Iee6f430053c52dc4933ce920859ce03523dd05e2
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMerge "Bug 2871: Add support for IID mask-len"
Lorand Jakab [Wed, 1 Apr 2015 09:20:21 +0000 (09:20 +0000)]
Merge "Bug 2871: Add support for IID mask-len"

9 years agoBug 2871: Add support for IID mask-len 89/17389/2
Lorand Jakab [Mon, 30 Mar 2015 21:58:57 +0000 (00:58 +0300)]
Bug 2871: Add support for IID mask-len

draft-farinacci-lisp-lcaf-07 introduced a change for LCAF type 2
(segmentation) where the 2nd reserved field in the LCAF header becomes
IID mask-len.  Some LISP implementations set this field to a non-zero
value when registering mappings.  LISPflowmapping needs to be able to
serialize-deserialize this field in order to authenticate such
registrations.

This commit adds support for the above mentioned ser/des, however, it
does not implement support for IID masking.  It doesn't fully fix bug
2871 either.

Change-Id: I777e5bb5bcabc4dc7b558ee6eac89d88e0820d8e
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBUG-2931: Avoid removing mapping key when deleting mapping 16/17516/1
Florin Coras [Wed, 1 Apr 2015 07:04:00 +0000 (00:04 -0700)]
BUG-2931: Avoid removing mapping key when deleting mapping

Change-Id: Ifb8b9f24143d10478bbc27474d3a8b777a54cd68
Signed-off-by: Florin Coras <fcoras@ac.upc.edu>
9 years agoAdd <relativePath/> to ensure Maven pulls artifact from Nexus 66/17466/1
Thanh Ha [Tue, 31 Mar 2015 15:46:30 +0000 (11:46 -0400)]
Add <relativePath/> to ensure Maven pulls artifact from Nexus

Needed by autorelease to be able to find and replace this value
prebuild.

Change-Id: I1381fbc9f0888649e154fc04a705ac50ebff55b5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoBUG-2915: Add support to remove mapping through northbound API 74/17274/3
Florin Coras [Sat, 28 Mar 2015 07:25:53 +0000 (00:25 -0700)]
BUG-2915: Add support to remove mapping through northbound API

This supports removing a mapping from DAO by means of a northbound REST
call. If the mapping had any subscribers SMRs will be sent.

Change-Id: I54a627adb1c9dc19ce4944134761979a308ded2a
Signed-off-by: Florin Coras <fcoras@ac.upc.edu>
9 years agoRevert "Add odlparent relativepath relative to autorelease" 90/17190/1
Thanh Ha [Thu, 26 Mar 2015 19:00:04 +0000 (15:00 -0400)]
Revert "Add odlparent relativepath relative to autorelease"

Per discussion on mailing list thread we have decided to revert this
change and achieve relative path updating via scripting in autorelease.

https://lists.opendaylight.org/pipermail/release/2015-March/001754.html

This reverts commit 2adbccd94292df19094abd1a026b8ea02f9fadfc.

Change-Id: I81bde8f79f24098ad4125f76cd2488182ba4c13e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix merge failure to out of order patches 35/17135/1
Lorand Jakab [Wed, 25 Mar 2015 22:38:04 +0000 (00:38 +0200)]
Fix merge failure to out of order patches

Change-Id: I2ec031ef19c3da4cefb1413075e049368be5d78c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMerge "Rename static final variable 'logger' to 'LOG'"
Lorand Jakab [Wed, 25 Mar 2015 22:31:46 +0000 (22:31 +0000)]
Merge "Rename static final variable 'logger' to 'LOG'"

9 years agoAvoid Map-Register inconsistencies due to SMR handling exceptions 30/17130/2
Florin Coras [Wed, 25 Mar 2015 21:46:11 +0000 (14:46 -0700)]
Avoid Map-Register inconsistencies due to SMR handling exceptions

Catch exceptions raised by handling/sending of SMRs such that they don't
affect the processing of Map-Register messages.

Change-Id: I2614948a0416d16e47d2ab557a65dba78e98aa10
Signed-off-by: Florin Coras <fcoras@ac.upc.edu>
9 years agoRename static final variable 'logger' to 'LOG' 19/17119/1
Lorand Jakab [Wed, 25 Mar 2015 17:06:38 +0000 (19:06 +0200)]
Rename static final variable 'logger' to 'LOG'

This commit makes Sonar happier.

Change-Id: I9be49fca7eaabe0f6ca876d0bb25773e7daedb20
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove old checkstyle configuration 47/17047/2
Lorand Jakab [Tue, 24 Mar 2015 10:51:51 +0000 (12:51 +0200)]
Remove old checkstyle configuration

Our parent pom had a checkstyle configuration, using the rules from the
controller project.  ODLparent now has centrally managed checkstyle
rules, so remove the definition from out parent pom, which makes it
smaller.

Change-Id: I0e841f219713dc8661f14770b26a3656ff397684
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMerge "Map-Reply returns longest prefix match instead of eid-prefix being requested"
Lori Jakab [Mon, 23 Mar 2015 18:30:55 +0000 (18:30 +0000)]
Merge "Map-Reply returns longest prefix match instead of eid-prefix being requested"

9 years agoMap-Reply returns longest prefix match instead of eid-prefix being 40/16940/3
Florin Coras [Sat, 21 Mar 2015 08:42:52 +0000 (01:42 -0700)]
Map-Reply returns longest prefix match instead of eid-prefix being
requested

As per RFC6830 a map-reply should return an eid-prefix with a mask
length less than or equal to that of the eid being requested.
This should be extended to return multiple eid records when overlapping
prefixes exist.

Change-Id: I27b0fb9fadee526ff053a3043d051426045035da
Signed-off-by: Florin Coras <fcoras@ac.upc.edu>
9 years agoBug 2888: Make lisp.smr config option default true 82/16982/1
Lorand Jakab [Mon, 23 Mar 2015 13:14:02 +0000 (15:14 +0200)]
Bug 2888: Make lisp.smr config option default true

Change-Id: Ib46369b9cb65684f2a930396e1108f57fffd2185
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoDo not instantiate Integers 70/16970/1
Robert Varga [Sun, 22 Mar 2015 22:58:34 +0000 (23:58 +0100)]
Do not instantiate Integers

Speed up comparison by not instantiating an explicit Integer instace.
Get hold of it once and use it as a constant. It has the further
advantage of using a JVM-wide-shared object (as it happens to fall into
the range of changed integers).

Change-Id: I57fb875a7ffb151e5782b3af844f20fc4e193fc7
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBug 2871: Added xtrsiteid flag to map-register header built by MapRegisterSerializer 98/16798/4
Florin Coras [Thu, 19 Mar 2015 03:15:47 +0000 (20:15 -0700)]
Bug 2871: Added xtrsiteid flag to map-register header built by MapRegisterSerializer

Change-Id: I47edbba65d9fbb921c8281b2142254badc5d8177
Reported-by: Saurabh Chopra <saurchop@cisco.com>
Signed-off-by: Florin Coras <fcoras@ac.upc.edu>
9 years agoAdd odlparent relativepath relative to autorelease 40/16440/1
Thanh Ha [Fri, 13 Mar 2015 02:27:35 +0000 (22:27 -0400)]
Add odlparent relativepath relative to autorelease

Change-Id: I92ab6c0eef27db2cfedd6ec4c75bb655f0db5e03
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoMerge "Add enhanced ELP RLOC processing in Map-Replies"
Vina Ermagan [Thu, 12 Mar 2015 04:38:22 +0000 (04:38 +0000)]
Merge "Add enhanced ELP RLOC processing in Map-Replies"

9 years agoMerge "Remove OSGi distribution build"
Vina Ermagan [Thu, 12 Mar 2015 04:29:33 +0000 (04:29 +0000)]
Merge "Remove OSGi distribution build"

9 years agoFix build 19/16319/1
Lorand Jakab [Wed, 11 Mar 2015 12:15:54 +0000 (14:15 +0200)]
Fix build

Change-Id: I9e7bc61abfddd45623f60a7208712cdf90d89136
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove OSGi distribution build 59/16259/1
Lorand Jakab [Tue, 10 Mar 2015 12:28:44 +0000 (14:28 +0200)]
Remove OSGi distribution build

The OSGi distribution was deprecated in Helium (we only shipped Karaf
features officially) and is being removed in Lithium.  The distribution
that is being built right now is based on
org.opendaylight.controller:distribution.opendaylight:0.2.0-SNAPSHOT,
which is Helium based, so we're building a Helium distribution with
lispflowmapping artifacts from Lithium.

Change-Id: I2ccf40e0626f3bdcf1d818fadca70c1bdfd5158d
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoAdd enhanced ELP RLOC processing in Map-Replies 05/15505/2
Lorand Jakab [Thu, 16 Oct 2014 10:59:04 +0000 (12:59 +0200)]
Add enhanced ELP RLOC processing in Map-Replies

Not all LISP data plane forwarding elements undestand the ELP LCAF used
for service chaining.  One solution to this problem is to check the list
of ITR-RLOCs in the Map-Requests against the ELP hop list and return the
next hop in a separate, lower priority simple (IPv4 or IPv6 AFI) locator
record.  This commit introduces this functionality in the mapping
service.

The more complex cases of several ELP locator records with different
priorities in combination with this patch have not been given a lot of
thought, and may lead to unexpected results.

The feature can be controlled using the 'lisp.elpPolicy' configuration
file property, which should be edited in the etc/custom.properties file
of the karaf distribution.  The three possible values are: 'default',
'both' and 'replace'.  'Default' keeps the ELP unmodified, 'both' adds
the next hop as a simple IPv4/IPv6 entry, and lowers ELP priority, while
'replace' removes the ELP, and keeps the next hop only.

Change-Id: I8166ca53a33413c212fd1e91d2d111611589b416
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoSwitch to the standalone Neutron project 71/15771/1
Lorand Jakab [Thu, 26 Feb 2015 11:24:39 +0000 (13:24 +0200)]
Switch to the standalone Neutron project

Change-Id: I7edeecaaee44cc31d9a7cfb53889d736e1db5447
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove unnecessary declarations from the parent 14/15714/1
Lorand Jakab [Wed, 25 Feb 2015 11:01:29 +0000 (13:01 +0200)]
Remove unnecessary declarations from the parent

Some of it is declared in odlparent, other declarations are no longer
necessary.

Change-Id: Ib416a6ac7ee3d6b56e9832db6b8f2833d4ff7473
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMake feature tests work again 25/15625/1
Lorand Jakab [Mon, 23 Feb 2015 18:05:25 +0000 (20:05 +0200)]
Make feature tests work again

Change-Id: I281ccebc6686f82243c4086afe19a6f83dd2f9c3
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove unnecesary declaration of <prerequisites> 52/15552/1
Lorand Jakab [Fri, 20 Feb 2015 13:12:08 +0000 (15:12 +0200)]
Remove unnecesary declaration of <prerequisites>

Using the <prerequisites> configuration in POM files is deprecated and
odlparent enforces Maven version using the maven-enforcer-plugin.

See:
http://jira.codehaus.org/browse/MNG-5297
http://jira.codehaus.org/browse/MNG-4840

Change-Id: I138df3c2b03fb8f0f88e7c559098c665b111ba7a
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMerge "Remove <repositories> and <pluginRepositories> sections"
Lori Jakab [Fri, 20 Feb 2015 08:02:21 +0000 (08:02 +0000)]
Merge "Remove <repositories> and <pluginRepositories> sections"

9 years agoMerge "Revert "Basic AD-SAL inventory service""
Vina Ermagan [Fri, 20 Feb 2015 00:25:34 +0000 (00:25 +0000)]
Merge "Revert "Basic AD-SAL inventory service""

9 years agoRevert "Basic AD-SAL inventory service" 03/15503/2
Lorand Jakab [Thu, 19 Feb 2015 16:11:37 +0000 (18:11 +0200)]
Revert "Basic AD-SAL inventory service"

This reverts commit 7e9fbe75c13692537c2b8151435c1e45223d79a9.

Since we want to remove all AD-SAL dependencies in Lithium timeframe,
remove the AD-SAL based inventory service that was committed for Helium.

Change-Id: Ibbe644b02c07ddc14ff5f4d4bebd08eeb8365af4
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoUpdate upstream Neutron groupId 58/15458/1
Lorand Jakab [Wed, 18 Feb 2015 10:46:50 +0000 (12:46 +0200)]
Update upstream Neutron groupId

Change-Id: I73c46df916715187a6cc53e798b1b8fa87d8b100
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMerge "Remove AD-SAL dependencies from Neutron service"
Vina Ermagan [Tue, 17 Feb 2015 18:53:23 +0000 (18:53 +0000)]
Merge "Remove AD-SAL dependencies from Neutron service"

9 years agoRemove reference to xtend-lib-osgi 01/15301/2
Robert Varga [Fri, 13 Feb 2015 22:41:14 +0000 (23:41 +0100)]
Remove reference to xtend-lib-osgi

The xtend library is embedded in yangtools, so there is no need to pull
it anywhere. Remove the dependency declaration to reduce clutter.

Change-Id: I099da77a1278bc5d55424ce2dbef64f02a55d7cd
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMove Karaf distribution POM file to "best practices" 46/15246/1
Lorand Jakab [Fri, 13 Feb 2015 10:30:53 +0000 (12:30 +0200)]
Move Karaf distribution POM file to "best practices"

We introduce a new pom file with a <dependencyManagement> section
inclusing all lispflowmapping artifacts.  Since the "best practices" now
use different parent POMs for different parts of the build, this is to
avoid repeating the project artifacts in many files.

With this commit, our Karaf distribution has a very simplified POM file,
with the parent being managed in the controller project.  We only have
to specify our own dependencies.

Change-Id: Ibbe9e6baa4ce59c160cd704ccb2c3497bac89425
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove AD-SAL dependencies from Neutron service 00/15200/1
Lorand Jakab [Wed, 11 Feb 2015 21:24:23 +0000 (23:24 +0200)]
Remove AD-SAL dependencies from Neutron service

Change-Id: Iebc5b3ccb3e83f4936df530a3fc58218c68fdf3d
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove <repositories> and <pluginRepositories> sections 49/15149/1
Thanh Ha [Wed, 11 Feb 2015 15:39:09 +0000 (10:39 -0500)]
Remove <repositories> and <pluginRepositories> sections

It is recommended that developers and servers configure this locally via
settings.xml.

https://lists.opendaylight.org/pipermail/discuss/2015-January/004482.html

Change-Id: I82a92386d9edea078deb34e5e87941e23e65028b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix 'critical' severity issues in Sonar 75/15075/1
Lorand Jakab [Mon, 9 Feb 2015 14:29:59 +0000 (16:29 +0200)]
Fix 'critical' severity issues in Sonar

Change-Id: Iac42897d1aec5d9da09e975d829bdd6fcae88c50
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMove YANG model POM file to "best practices" 65/14965/2
Lorand Jakab [Fri, 6 Feb 2015 13:49:29 +0000 (15:49 +0200)]
Move YANG model POM file to "best practices"

Turns out, this also solves our issues with the integration tests
(w00t!), so turn them back on.

It pays to follow best practices! ;)

Change-Id: I521ba89c396804895fc87a060a4920d05510ee90
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBUG-1173: do not hard-code guava version 94/14894/2
Robert Varga [Thu, 5 Feb 2015 09:30:40 +0000 (10:30 +0100)]
BUG-1173: do not hard-code guava version

odlparent defines the version upstream, no need to repeat it here.

Change-Id: Ie0d4934f774a70cf97d6304e37e86b879905d51d
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix unit test coverage settings 29/14629/1
Lorand Jakab [Fri, 30 Jan 2015 13:51:22 +0000 (15:51 +0200)]
Fix unit test coverage settings

Change-Id: Iea1cb56557c0f3401fb735088a1092223c375311
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBandaid: fix build by sweeping issues under the carpet 27/14627/1
Lorand Jakab [Fri, 30 Jan 2015 13:31:57 +0000 (15:31 +0200)]
Bandaid: fix build by sweeping issues under the carpet

Integration tests have been broken since upstream yangtools project
commit a50515f "Add marker interface Builder<T> to generated Builders".
Since no fix was found so far, this commit removes intergration tests
from the build to please Jenkins so that we can go on with development.

Integration tests are using commons.integrationtest from the controller
project, which has been deprecated recently.  It is likely we have to
rework our IT a bit.

Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoDo not override Sonar options configured in Jenkins 51/14551/1
Thanh Ha [Fri, 23 Jan 2015 14:52:59 +0000 (09:52 -0500)]
Do not override Sonar options configured in Jenkins

These settings are controlled by the Jenkins job.

Change-Id: I916e97f6eae22f4ed4b3c28d810e26a304a965d3
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix .gitreview for master branch 50/14550/1
Thanh Ha [Tue, 27 Jan 2015 19:38:34 +0000 (14:38 -0500)]
Fix .gitreview for master branch

Change-Id: I32846d6556827e5219233414bfe16c222bea2245
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFix 'blocker' severity issues in Sonar 43/14143/1 develop
Lorand Jakab [Wed, 14 Jan 2015 14:27:34 +0000 (16:27 +0200)]
Fix 'blocker' severity issues in Sonar

Change-Id: I63e393027535d1fec078f3f52382b84dbd9dbd16
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoPOM cleanup 04/14104/2
Lorand Jakab [Mon, 12 Jan 2015 14:55:58 +0000 (16:55 +0200)]
POM cleanup

Change-Id: I912a2bdebffb0801619e854feb744f6cba96025d
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoSet root pom.xml <name> for Sonar 54/14054/1
Thanh Ha [Fri, 9 Jan 2015 21:09:17 +0000 (16:09 -0500)]
Set root pom.xml <name> for Sonar

As mentioned on the mailing list Sonar uses the <name> field of the
pom.xml that is passed to the mvn command as the name of the project in
Sonar. In most cases this is the root pom.xml file in a project. This
patch sets the name to the project shortname.

https://lists.opendaylight.org/pipermail/discuss/2014-November/004024.html

Change-Id: I29fb850f46d615e4f468cf76f61b01397485a6db
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoAdd version for xtend-lib-osgi in IT POM 87/13987/1
Lorand Jakab [Thu, 8 Jan 2015 11:07:29 +0000 (13:07 +0200)]
Add version for xtend-lib-osgi in IT POM

lispflowmapping-develop-nightbuild-and-integration - Build # 403 failed,
because of an upstream change.  This commit specifies an explicit
version for xtend-lib-osgi in the integration tests pom file, using the
xtend.version property from odlparent, fixing the build.

Change-Id: Ie58ae291b9e5b0c1ce64b74efeafe1fef4bf0218
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove unnecessary version definitions 55/13455/1
Lorand Jakab [Mon, 8 Dec 2014 17:09:13 +0000 (19:09 +0200)]
Remove unnecessary version definitions

Change-Id: Ife58a877f51d62758baf2001699ee26d7703b666
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove unnecessary imports 89/13289/1
Lorand Jakab [Mon, 1 Dec 2014 21:54:30 +0000 (23:54 +0200)]
Remove unnecessary imports

Change-Id: I6a66881e5dba6dbb9b066d0e83a6c04a5f02fc7f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove unnecessary version overrides in IT 88/13288/1
Lorand Jakab [Mon, 1 Dec 2014 21:51:30 +0000 (23:51 +0200)]
Remove unnecessary version overrides in IT

Change-Id: I2e13f47f450738bfc074b714f4acf85140f5d24c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBug 2440: Fix mappingservice.implementation unit tests 33/13133/2
Lorand Jakab [Tue, 25 Nov 2014 20:41:58 +0000 (22:41 +0200)]
Bug 2440: Fix mappingservice.implementation unit tests

Change-Id: I2271f8fb0c49d794ee1cd4a4472cc1b43adea3e5
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoAdd coding style checks 40/12140/2
Lorand Jakab [Wed, 22 Oct 2014 09:07:11 +0000 (12:07 +0300)]
Add coding style checks

Run the maven-checkstyle-plugin during the build, using rules from the
controller project, which include:

  - No TAB characters
  - No trailing spaces
  - No redundant, unused or star imports
  - Long constants defined with upper ell: 'L'
  - No empty statements (standalone ';' semicolon)
  - If a class overrides equals() it must override hashCode()

These rules are applied to .java, .xml, and .yang files.  Rule
violations are reported on the console, but they don't cause the build
to fail.  This behavior should be changed in the future, when the
existing code base is cleaned up, so that no new violations are
introduced after that.

Change-Id: I552eb72e1ac4b96a4cf80a216a1638bb36d77821
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoMass remove trailing spaces 73/12173/2
Lorand Jakab [Wed, 22 Oct 2014 17:50:53 +0000 (20:50 +0300)]
Mass remove trailing spaces

Change-Id: I50f41f7d6f42f813fbe2a01d4e056bbc2480b83c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoFix IT failure on IPv6 enabled hosts 87/12287/1
Lorand Jakab [Thu, 23 Oct 2014 14:26:16 +0000 (17:26 +0300)]
Fix IT failure on IPv6 enabled hosts

Change-Id: I26583bc1f1c017958c5a4cde6f7947f015fe474f
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRefactor the poms to clean up unused tags and move to odl parent 84/11884/1
Lorand Jakab [Fri, 10 Oct 2014 13:02:33 +0000 (16:02 +0300)]
Refactor the poms to clean up unused tags and move to odl parent

Also added other enhancements like sorting as well as cleaning up redundant properties etc.

Change-Id: I3443dcd00ceb71bb0613c8e2fdc643fd26322401
Signed-off-by: Devin Avery <devin.avery@brocade.com>
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoIncrementing versions by 0.1.0 for post-helium develop branch 29/11829/3
Lorand Jakab [Wed, 8 Oct 2014 19:59:58 +0000 (22:59 +0300)]
Incrementing versions by 0.1.0 for post-helium develop branch

Change-Id: Ie07c7cce2be4cb13b8048d4cc3243e020ad8bedc
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBug 2058: Fix reading config variables in Karaf 05/11505/2
Lorand Jakab [Wed, 24 Sep 2014 00:25:45 +0000 (17:25 -0700)]
Bug 2058: Fix reading config variables in Karaf

Change-Id: I0ab027e0278dd75e588c8aa2d22cef185de2f5fb
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBug 1905 : Fix for Traffic Engineering LCAF L/P/S flags not being set from NB API. 63/11263/1
Vina Ermagan [Tue, 16 Sep 2014 02:29:02 +0000 (19:29 -0700)]
Bug 1905 : Fix for Traffic Engineering LCAF L/P/S flags not being set from NB API.

Update address convertor to read the correct flags.

Change-Id: I44625674de4c3a1470a45455c21b3eeed36c6adb
Signed-off-by: Vina Ermagan <vermagan@cisco.com>
9 years agoBug 1909: Fix maven-bundle-plugin version 46/11246/4
Ed Warnicke [Tue, 16 Sep 2014 16:33:03 +0000 (11:33 -0500)]
Bug 1909: Fix maven-bundle-plugin version

Removed the

<Bundle-Activator></Bundle-Activator>
<Service-Component></Service-Component>

because they cause maven-bundle-plugin 2.4.0 to throw error:

The default package '.' is not permitted by the Import-Package syntax.

Change-Id: Ida7772548852379acfa0322bacf9c39de8c08034
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoBug 1877: Add LISP Neutron implementation to Karaf 94/11194/1
Lorand Jakab [Mon, 15 Sep 2014 15:04:09 +0000 (18:04 +0300)]
Bug 1877: Add LISP Neutron implementation to Karaf

Change-Id: Ie6b93a6f94660e5778a5c9e8a761b3667aab2d03
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBug 1843: Add LISP NETCONF implementation to Karaf 06/11106/1
Lorand Jakab [Fri, 12 Sep 2014 13:35:17 +0000 (16:35 +0300)]
Bug 1843: Add LISP NETCONF implementation to Karaf

Change-Id: I0dc5223bafaaa90a5592dacd5ba84e1b0b8f7a49
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoBug 1841: Autoload odl-lispflowmapping-all feature in Karaf distribution 96/11096/1
Lorand Jakab [Fri, 12 Sep 2014 12:14:30 +0000 (15:14 +0300)]
Bug 1841: Autoload odl-lispflowmapping-all feature in Karaf distribution

Change-Id: Id6ce1fb72396240ab90614b2c8eace8f4bb376e7
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoFix for Bug 1816: DELETE key does not work in REST API 59/11059/1
Vina Ermagan [Wed, 10 Sep 2014 23:12:23 +0000 (16:12 -0700)]
Fix for Bug 1816: DELETE key does not work in REST API

Change-Id: I6f66d66c5b94f6dfedd33664efd522c42a7199f6
Signed-off-by: Vina Ermagan <vermagan@cisco.com>
9 years agoBug 1791: Fix removeEid CLI command 05/11005/2
Lorand Jakab [Wed, 10 Sep 2014 17:56:57 +0000 (20:56 +0300)]
Bug 1791: Fix removeEid CLI command

While at it, add previously undocumented 'addDefaultPassword' command to
CLI help.

Change-Id: I6d29be2127e78b11a0b2ca0bfe4abb7b3d5bf2a3
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoRemove META-INF from netconf 12/10612/1
Lorand Jakab [Tue, 2 Sep 2014 06:39:09 +0000 (09:39 +0300)]
Remove META-INF from netconf

And add it to .gitignore

Change-Id: Ia6ac7bfa050c630417f88e08e70e1897f35d5d07
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoAdded support for receiving map reply on XTR port 76/10576/1
Yair Zinger [Sun, 31 Aug 2014 15:00:44 +0000 (18:00 +0300)]
Added support for receiving map reply on XTR port

Signed-off-by: Yair Zinger <yair.zinger@contextream.com>
9 years agoAdd mappingservice-netconf bundle 53/10153/5
Florin Coras [Fri, 22 Aug 2014 03:29:22 +0000 (20:29 -0700)]
Add mappingservice-netconf bundle

The goal is to enable the management of NETCONF connections to LISP
devices via a simple REST API. If the functionality turns out to be
useful to other controller services, a Java API may also be defineda in
the future.

The bundle consists of a netconf-connector data model that defines RPCs
for spinning up/down sal-netconf-connectors and the associated service
implementation. Both dependency resolution and netconf-connector
instantiation/tearing down are done programmatically via JMX.

Change-Id: I6db79956c1c43b57a6386366c9b4f16937aa53cc
Signed-off-by: Florin Coras <fcoras@ac.upc.edu>
9 years agoMerge "Expand implementation of Neutron Service APIs in Lisp ." into develop
Lori Jakab [Thu, 28 Aug 2014 19:51:10 +0000 (19:51 +0000)]
Merge "Expand implementation of Neutron Service APIs in Lisp ." into develop

9 years agoBasic AD-SAL inventory service 91/9391/3
Lorand Jakab [Thu, 17 Jul 2014 17:55:23 +0000 (20:55 +0300)]
Basic AD-SAL inventory service

Change-Id: I033e73da0870f7563e400c26c7d24c9d62cdc2d8
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoFix XTR-ID and Site-ID not being copied to notification 46/10446/1
Lorand Jakab [Thu, 28 Aug 2014 11:49:11 +0000 (14:49 +0300)]
Fix XTR-ID and Site-ID not being copied to notification

Change-Id: I6f013dde607104bca3b84df2998c9555a1055480
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoExpand implementation of Neutron Service APIs in Lisp 20/10420/2
Vina Ermagan [Thu, 28 Aug 2014 04:49:45 +0000 (21:49 -0700)]
Expand implementation of Neutron Service APIs in Lisp
.

Change-Id: I28e3a20439796fa436ea2cac62c7ff664d4a6ef3
Signed-off-by: Vina Ermagan <vermagan@cisco.com>
9 years agoAdding bundle dependencies to features/pom.xml which will be treated as secondary... 65/10365/1
Madhu Venugopal [Wed, 27 Aug 2014 11:07:27 +0000 (04:07 -0700)]
Adding bundle dependencies to features/pom.xml which will be treated as secondary dependencies from integration project.

Without these dependencies, the integration project build will fail because of the missing artifacts in its .m2 cache

Change-Id: I9398e2b91f945c506274cad7ebdac2d98a2be4bc
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
9 years agoAdd karaf distribution build 61/10361/1
Lorand Jakab [Wed, 27 Aug 2014 08:13:37 +0000 (11:13 +0300)]
Add karaf distribution build

Change-Id: I08c37ecfc534aad10cb7ec5547b1303103b6e68c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoAdd northbound karaf feature 55/10355/1
Lorand Jakab [Wed, 27 Aug 2014 08:09:18 +0000 (11:09 +0300)]
Add northbound karaf feature

With this feature, manual functional tests are now passing for
odl-lispflowmapping-all.

Change-Id: I80d1487b57fd2c5bddac88f7edfa16d996d5cd6c
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
9 years agoFix Karaf dependencies and add tests 13/10313/3
Lorand Jakab [Tue, 26 Aug 2014 12:10:25 +0000 (15:10 +0300)]
Fix Karaf dependencies and add tests

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