vtn.git
6 years agoBump to odlparent 3.1.0 and yangtools 2.0.3 71/69871/1 master
Stephen Kitt [Thu, 22 Mar 2018 17:24:26 +0000 (18:24 +0100)]
Bump to odlparent 3.1.0 and yangtools 2.0.3

Change-Id: Ic1dab6e1badf259f7d9acab21c0fd829fd7ac67f
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump versions by x.(y+1).z for next dev cycle 56/68756/1
Anil Belur [Mon, 26 Feb 2018 07:41:48 +0000 (17:41 +1000)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I90b6f8fb4efa4a68aa7d94fcc7a33821b96f1517
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 years agoBump to yangtools-2.0.0 and odlparent-3.0.2 33/66633/6
Tom Pantelis [Wed, 20 Dec 2017 00:35:16 +0000 (19:35 -0500)]
Bump to yangtools-2.0.0 and odlparent-3.0.2

Change-Id: I08d1ea0a789a89d0665a284beaff88c457df71c6
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
6 years agoConvert code to use mdsal EOS APIs 50/64750/2
Tom Pantelis [Thu, 26 Oct 2017 00:21:29 +0000 (20:21 -0400)]
Convert code to use mdsal EOS APIs

The controller EOS APIs are deprecated and will be removed next release.

Change-Id: Ie4d6a94c2e0609318fbf867ed65516e13594a7ad
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoMerge "Bug 9224 - Fix for mapping issue of protocol and dscp values"
Venkatrangan Govindarajan [Thu, 19 Oct 2017 07:36:37 +0000 (07:36 +0000)]
Merge "Bug 9224 - Fix for mapping issue of protocol and dscp values"

6 years agoBug 9224 - Fix for mapping issue of protocol and dscp values 04/64504/1
ananth [Tue, 17 Oct 2017 18:37:39 +0000 (14:37 -0400)]
Bug 9224 - Fix for mapping issue of protocol and dscp values

**Issue
dest-network attribute was mandatory in the rest file
due to which protocol and dscp values were not mapping
from VTN Coordinator to VTN Manager.

Change-Id: I382569601bd8d7e8e0ee0a19bafdba39b4585dd6
Signed-off-by: ananth <ananth.y@hcl.com>
(cherry picked from commit 782e9c5a8883f6ddded0f8f290176f82de211b74)

6 years agoBug 9208: Fixed UDP L4 match details creation failures 27/64327/1
ananth [Fri, 13 Oct 2017 19:17:21 +0000 (15:17 -0400)]
Bug 9208: Fixed UDP L4 match details creation failures

*Changes included to add L4 match details for UDP
source and destination creation in VTN Coordinator.
*Added tcp, udp, icmp protocol values to definitions
to compare with the given protocol and to match L4 details
of tcp and udp accordingly.
*Changed attribute names and types wrongly mentioned in
the rest file.

Change-Id: Ied12fd295b52dea2b794d18219624c72391d2e6d
Signed-off-by: ananth <ananth.y@hcl.com>
6 years agoBug 9225: Upgrade Apache Tomcat for VTN coordinator to 7.0.82. 81/63981/1
Shigeru Yasuda [Thu, 5 Oct 2017 10:18:18 +0000 (19:18 +0900)]
Bug 9225: Upgrade Apache Tomcat for VTN coordinator to 7.0.82.

Change-Id: I46fd93349521648b06423d8eeb6e9209b2b362ee
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
6 years agoBug 9225: Upgrade Apache Tomcat for VTN coordinator to 7.0.81. 59/63759/2
Shigeru Yasuda [Thu, 28 Sep 2017 07:23:46 +0000 (16:23 +0900)]
Bug 9225: Upgrade Apache Tomcat for VTN coordinator to 7.0.81.

Change-Id: I092862c57a327323382cafc278ab08daf55b512e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
6 years agoBump vtn to use yangtools 1.2.0 61/63761/2
Anil Belur [Thu, 28 Sep 2017 07:32:32 +0000 (17:32 +1000)]
Bump vtn to use yangtools 1.2.0

Jira: releng-485
Change-Id: I45e11468fa8c191118f32d917098575222662241
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 years agoBump odlparent 2.0.4 to 2.0.5 27/63627/1
Stephen Kitt [Wed, 27 Sep 2017 13:34:54 +0000 (15:34 +0200)]
Bump odlparent 2.0.4 to 2.0.5

Change-Id: I7b25aae429ce84fbb09f06cde1c75232e154f949
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBug 9174: Fix for VTN Coordinator Flowlistentry Creation failure 75/63475/1
ananth [Fri, 22 Sep 2017 23:14:20 +0000 (19:14 -0400)]
Bug 9174: Fix for VTN Coordinator Flowlistentry Creation failure

** Issue in flowlistentry creation
a. The attribute names wrongly mentioned in the rest file
   that is used to generate code for REST API.
b. The attribute types wrongly specified.

Change-Id: Ifbac4906916a65430c7fc34b51a8a2d581ff4c2b
Signed-off-by: ananth <ananth.y@hcl.com>
(cherry picked from commit 97305e0582ef917a0762e42a7529c4ca3efa3cc5)

6 years agoBug 9024: Set null to bundle version qualifier if it is empty. 39/62139/1
Shigeru Yasuda [Tue, 22 Aug 2017 06:33:28 +0000 (15:33 +0900)]
Bug 9024: Set null to bundle version qualifier if it is empty.

If version qualifier in VTN Manager bundle version is empty,
get-manager-version RPC should set null to "qualifier" field in
bundle-version.

Change-Id: I1301b6c28a6ec3400d934bddd9ce03afdc8005c7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
(cherry picked from commit ea9a6877af6113f031e7b6649fa6d7ce45359375)

6 years agoRemove config subsystem remnants 25/61525/2
Tom Pantelis [Fri, 11 Aug 2017 01:32:41 +0000 (21:32 -0400)]
Remove config subsystem remnants

The project no longer uses the CSS so remove unused/unneeded
remnants.

Change-Id: I530c4e0716a428f20674c3f76a833b0822a8ac41
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoBump versions by x.(y+1).z for next dev cycle 09/61709/2
Thanh Ha [Mon, 14 Aug 2017 17:43:18 +0000 (13:43 -0400)]
Bump versions by x.(y+1).z for next dev cycle

Also bump odlparent to 2.0.4.

Change-Id: Icbcc2c9708b910e51786be7949f46256e36ec94b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoBump all Odlparent dependencies to 2.0.2 85/60985/2
Vratko Polak [Tue, 1 Aug 2017 13:37:46 +0000 (15:37 +0200)]
Bump all Odlparent dependencies to 2.0.2

Change-Id: I523f502267d0d179b18e0c598100ae0281c1a98c
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
6 years agoMerge "Disable VSEM Provider Build temporarily"
Sarath Babu Gurujala [Thu, 20 Jul 2017 12:26:08 +0000 (12:26 +0000)]
Merge "Disable VSEM Provider Build temporarily"

6 years agoDisable VSEM Provider Build temporarily 86/60586/2
gvrangan [Thu, 20 Jul 2017 10:32:48 +0000 (16:02 +0530)]
Disable VSEM Provider Build temporarily

 *  The autorelease build is failing because vsemprovider
    fails to build
 *  The problem seems to be due to command nuget failing to fetch some
    libraries
 *  This Patch will disable the VSEM Provider.

Change-Id: I3f9af3f1b162956b3595d59e9e15b87fcb432333
Signed-off-by: gvrangan <venkatrangang@hcl.com>
6 years agoBUG:8761 Portmapping fails due to unnecessary hex conversion 80/60180/2
yogalakshmi.pa [Tue, 11 Jul 2017 20:13:47 +0000 (16:13 -0400)]
BUG:8761 Portmapping fails due to unnecessary hex conversion

  * The VTN coordinator implementation is performing an
  operation to convert the switch ID to hexadecimal and
  then invoking VTN Manager REST API for creating port map.
  * Due to this the portmap creation fails when the logical
  port-id value is greater than nine
  * This was required for VTN in the Li release. But, later
  VTN Manager migrated to MD-SAL, after which this conversion
  was not necessary.

Change-Id: I8d84179442284101fa3b9033ed85c207042f9db0
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
6 years agoEnable integration test again. 15/59515/1
Shigeru Yasuda [Mon, 26 Jun 2017 11:08:28 +0000 (20:08 +0900)]
Enable integration test again.

  * Ensure that vtn-config is updated successfully.
  * Derive DataBroker from OSGi service repository.

Change-Id: I2b331cab71a22151225ff9da327339d77cf7e2e7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
6 years agoMigrate to odlparent 2.0.0 87/59487/1
Shigeru Yasuda [Fri, 23 Jun 2017 20:19:02 +0000 (05:19 +0900)]
Migrate to odlparent 2.0.0

  * Removed boot feature from local distro.
  * Disable IT temporarily.

Change-Id: I8f9b4f52df59888fa8f7bd864d1d2a80c87e6a45
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
6 years agoRevert tentative dependency only for odlparent 1.9.0 migration. 38/58938/1
Shigeru Yasuda [Wed, 14 Jun 2017 11:04:45 +0000 (20:04 +0900)]
Revert tentative dependency only for odlparent 1.9.0 migration.

Change-Id: I6c91ecce2c75ce03bf132f979fb5e3da80db1b51
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
6 years agoMigrate to odlparent 1.9.0 88/58888/2
Thanh Ha [Tue, 13 Jun 2017 20:31:18 +0000 (16:31 -0400)]
Migrate to odlparent 1.9.0

Change-Id: I4afc6bcab2b4af983b039038c0e46ae0afa9f95b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoEliminate whitespace before triple dot for variable-length parameters. 07/58907/2
Shigeru Yasuda [Wed, 14 Jun 2017 02:33:30 +0000 (11:33 +0900)]
Eliminate whitespace before triple dot for variable-length parameters.

This patch is required by checkstyle 7.6.1, and includes tentative
dependencies only for odlparent 1.9.0 migration.

Change-Id: Ieed4279732adc435dbcda330dd92d3714206d912
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoMigrate to odlparent 1.8.0-Carbon 64/58664/1
Thanh Ha [Sat, 10 Jun 2017 05:35:26 +0000 (01:35 -0400)]
Migrate to odlparent 1.8.0-Carbon

Per request of odlparent project we are downgrading all Nitrogen
projects to use the released odlparent 1.8.0-Carbon to allow for the
odlparent project to start performing semver style releases.

Change-Id: I0e79e42548142fe5bbe2ef20b7f3b7b6776c2d57
Jira: RELENG-159
RT: 41406
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Bug 8211: Fixed bug that failed to associate MD-SAL flow with VTN flow."
Shigeru Yasuda [Fri, 14 Apr 2017 07:44:17 +0000 (07:44 +0000)]
Merge "Bug 8211: Fixed bug that failed to associate MD-SAL flow with VTN flow."

7 years agoBug 8211: Fixed bug that failed to associate MD-SAL flow with VTN flow. 28/54928/1
Shigeru Yasuda [Wed, 12 Apr 2017 07:41:12 +0000 (16:41 +0900)]
Bug 8211: Fixed bug that failed to associate MD-SAL flow with VTN flow.

This patch makes the VTN Manager accept IN_PORT match specified by
port number only.

Change-Id: I97a55769b9690f8d2aaabe609899007cdeecce76
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
(cherry picked from commit a5e981cd23a31f212c9458e8c7788b24210d0c14)

7 years agoBug 8212: Accept data-flow-source that contains no vlan-id. 25/54925/1
Shigeru Yasuda [Wed, 12 Apr 2017 10:35:08 +0000 (19:35 +0900)]
Bug 8212: Accept data-flow-source that contains no vlan-id.

If data-flow-source in get-data-flow RPC input does not contain vlan-id,
it should be treated as if zero (untagged frame) is specified.

Change-Id: I8a6e85e3d5aa5bff80a30cac6506c30ff7acb183
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
(cherry picked from commit d5bc03792c62fae6a0093735171f75f928587ec6)

7 years agoMerge "Bug 8184: Suppress unnecessary send-barrier RPC error logs."
Shigeru Yasuda [Wed, 12 Apr 2017 13:14:26 +0000 (13:14 +0000)]
Merge "Bug 8184: Suppress unnecessary send-barrier RPC error logs."

7 years agoBump versions by x.(y+1).z for next dev cycle 30/54730/1
Anil Belur [Tue, 11 Apr 2017 01:46:02 +0000 (11:46 +1000)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I308a2a2a5cc7c04a00ed233cf3ce2a8d1a117841
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoBug 8184: Suppress unnecessary send-barrier RPC error logs. 15/54515/2
Shigeru Yasuda [Fri, 7 Apr 2017 10:17:02 +0000 (19:17 +0900)]
Bug 8184: Suppress unnecessary send-barrier RPC error logs.

Don't record an error message if an send-barrier RPC error seems to be
caused by disconnection of OpenFlow secure channel.

Change-Id: Ib75b4ffd68b00f4abc416d175e3c66c538c11dd6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBug 8191: Suppress warning detected by FindBugs. 76/54576/1
Shigeru Yasuda [Mon, 10 Apr 2017 07:03:47 +0000 (16:03 +0900)]
Bug 8191: Suppress warning detected by FindBugs.

  * Boxed value is unboxed and then immediately reboxed.

Change-Id: I53ccbb13a8713951bc581f75502bbaad71817842
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBug 7652: karaf 4 migration 61/50461/8
Hideyuki Tai [Sat, 14 Jan 2017 00:14:16 +0000 (00:14 +0000)]
Bug 7652: karaf 4 migration

This patch creates VTN features for Karaf 4.
This is the result of
https://wiki.opendaylight.org/view/Karaf_4_migration

Change-Id: I35669a3e0fe83e0b835be5331ef1dfab66bc315c
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
7 years agoFix Bug 7969, to avoid incompatible database queries contructed 45/53245/4
gvrangan [Mon, 13 Mar 2017 20:13:40 +0000 (20:13 +0000)]
Fix Bug 7969, to avoid incompatible database queries contructed

Postgres used to auto-detect the types of values in the where clause
and the arguments passed to  it. This has been disabled  in the recent
releases. This Fix will avoid a situation where VTN Coordinator
tries to construct  a query with such a problem causing a failure in
postgres and eventually leading to multiple failures.

Change-Id: Ic444a99fc1d2c51cc758f8dba745affb3a0b57d0
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoBUG-6859 - Binding generator v1 refactoring 49/52949/2
Michael Vorburger [Tue, 7 Mar 2017 14:31:26 +0000 (15:31 +0100)]
BUG-6859 - Binding generator v1 refactoring

Change-Id: If93cd2d2d5f1885e1f38aa6369bf513998dcd968
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoAdd missing <name> fields for pom.xml files 92/52692/2
Anil Belur [Fri, 3 Mar 2017 00:53:55 +0000 (10:53 +1000)]
Add missing <name> fields for pom.xml files

This is used by autorelease scripts to automatically parse which project
is failing a build and report to the mailing list automatically. We need
names in the format:

    ODL :: <groupId> :: <artifactId>

This patch formats in the same format as found in the startup archetypes
patch found here: https://git.opendaylight.org/gerrit/52522

Change-Id: I2ac1b501b76a2fb039b356b614c3e939d786e254
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoBug 7402: Upgrade Apache Tomcat for VTN coordinator to 7.0.73. 28/49528/1
Shigeru Yasuda [Mon, 19 Dec 2016 06:45:15 +0000 (15:45 +0900)]
Bug 7402: Upgrade Apache Tomcat for VTN coordinator to 7.0.73.

Change-Id: Ib9b8fd0055a5e261f1a2f677fe4a3bfdc1f4c151
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBug 7360: Fixed VTN coordinator build error on Fedora 25. 29/49329/1
Shigeru Yasuda [Wed, 14 Dec 2016 06:53:16 +0000 (15:53 +0900)]
Bug 7360: Fixed VTN coordinator build error on Fedora 25.

  * Ignore compilation warnings on readdir_r().

Change-Id: Icb6d5d443268d41f28869e593962fe891b2168fe
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoUse odlparent's features-parent for creating Karaf features. 46/47046/1
Shigeru Yasuda [Tue, 18 Oct 2016 04:52:02 +0000 (13:52 +0900)]
Use odlparent's features-parent for creating Karaf features.

Change-Id: I17842e853b7e5573dc94716d63256b774c907084
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBug 6278: Use odlparent's karaf-parent to build local distro only for IT. 33/46833/1
Shigeru Yasuda [Wed, 12 Oct 2016 11:40:19 +0000 (20:40 +0900)]
Bug 6278: Use odlparent's karaf-parent to build local distro only for IT.

Change-Id: Ibd82870d5b255eb46226a232b0166400b2c13e12
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBug 6846: Fixed bug in VTN Coordinator shutdown sequence. 63/46363/1
Shigeru Yasuda [Mon, 3 Oct 2016 11:44:10 +0000 (20:44 +0900)]
Bug 6846: Fixed bug in VTN Coordinator shutdown sequence.

This patch fixes a bug that did not terminate sub daemon processes
when the main daemon process crashed in its shutdown sequence.

Change-Id: I9f73663e0d6d253b17abf1d390283af2fc82b5d0
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBug 6278: Switch to use odlparent's karaf-parent. 04/46104/1
Shigeru Yasuda [Fri, 23 Sep 2016 00:53:09 +0000 (09:53 +0900)]
Bug 6278: Switch to use odlparent's karaf-parent.

Change-Id: I64b91792cae98a9829cf92287ea579ed5d8ae0c0
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBUG 6715:Fixed issue in maven-site generation. 83/45883/1
yogalakshmi.pa [Tue, 20 Sep 2016 17:52:32 +0000 (23:22 +0530)]
BUG 6715:Fixed issue in maven-site generation.

* Fixed the broken links for the manager module.

Change-Id: Ic306d6446210808e8f91b166d065e7c805967ea7
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
7 years agoBug 6632: Fixed VTN coordinator build error on Fedora 24. 89/45189/1
Shigeru Yasuda [Tue, 6 Sep 2016 03:58:18 +0000 (12:58 +0900)]
Bug 6632: Fixed VTN coordinator build error on Fedora 24.

Change-Id: Ic8a30151d9ddf7b42d5c24a00f4aafb24fd1cb8b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBug 6543: Changed the default value of port-name 60/44960/1
gvrangan [Wed, 31 Aug 2016 00:34:20 +0000 (00:34 +0000)]
Bug 6543: Changed the default value of port-name

This patch changed the default value of the parameter "port-name" for
the odl-vtn-manager-neutron feature to "eth1" in order to make the CSIT
for the feature work well. As of now, the parameter is not configurable,
and the default value is always used. However, in the ODL CSIT
environment, this parameter needs to be "eth1".

This change is a tentative fix. Ideally, the parameter "port-name"
should be configurable. That improvemnt is tracked as Bug 6599.

Change-Id: Id059618d975dc4982d498c7ab931c55026ba61bb
Signed-off-by: gvrangan <venkatrangang@hcl.com>
(cherry picked from commit 5696f6141b679e1606167f7a5ff705df89ebfae0)

7 years agoBump versions by 0.1.0 for next dev cycle 53/43453/1
Thanh Ha [Mon, 8 Aug 2016 21:50:23 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: Ie7d02b7293f209c6b135d2db831cd27bbe43bcb6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoMerge "Improving README for VTN"
Sarath Babu Gurujala [Mon, 8 Aug 2016 07:38:14 +0000 (07:38 +0000)]
Merge "Improving README for VTN"

7 years agoMerge "Enable Maven Site for VTN"
Sarath Babu Gurujala [Mon, 8 Aug 2016 07:36:17 +0000 (07:36 +0000)]
Merge "Enable Maven Site for VTN"

7 years agoUpdated description of POM files. 90/43090/1
Hideyuki Tai [Wed, 3 Aug 2016 15:19:05 +0000 (08:19 -0700)]
Updated description of POM files.

This change makes description of POM files more accurate and simple.

Change-Id: Id7e8323cff50fc7cbd0ae60db9c2e5bdf7142794
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
7 years agoMerge "Adding description for the pom files in VTN"
Hideyuki Tai [Wed, 3 Aug 2016 20:58:40 +0000 (20:58 +0000)]
Merge "Adding description for the pom files in VTN"

7 years agoFixed UT/IT build failure due to openflowplugin YANG model change. 38/43038/1
Shigeru Yasuda [Wed, 3 Aug 2016 12:05:29 +0000 (21:05 +0900)]
Fixed UT/IT build failure due to openflowplugin YANG model change.

Change-Id: I65a38b493b2b3e0341b6a16fc1c0d1ffe939669c
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoAdding description for the pom files in VTN 76/41476/9
yogalakshmi.pa [Thu, 7 Jul 2016 17:27:24 +0000 (22:57 +0530)]
Adding description for the pom files in VTN

Change-Id: If530e8b2c402056e5de5b2033f4fa44449955f97
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
7 years agoImproving README for VTN 71/42471/6
yogalakshmi.pa [Mon, 25 Jul 2016 18:08:17 +0000 (23:38 +0530)]
Improving README for VTN

Change-Id: I2cdc798ac14f700024243844ec00981ac96b5ded
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
7 years agoEnable Maven Site for VTN 31/40631/14
gvrangan [Tue, 21 Jun 2016 17:53:12 +0000 (17:53 +0000)]
Enable Maven Site for VTN

- Added the maven-site profile to root pom file
- Created the deploy-site.xml  and src/site.xml
- Added the workaround for the url in all the pom files
- Added properties to skip site and deploy in vtn/common/pom
- Override the skip site and edploy in vtn/manager/common/pom

Change-Id: I95204ec635714f681c2989496a40ce472b442df9
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoFixed UT failure due to incorrect test data. 52/42752/1
Shigeru Yasuda [Fri, 29 Jul 2016 01:03:46 +0000 (10:03 +0900)]
Fixed UT failure due to incorrect test data.

"123.456.789.abc" cannot be used as test data for invalid IP address
because "abc" is valid TLD. So "123.456.789.abc" will be treated as FQDN.

Change-Id: I9c87c45c2f07fdc04250769e967fcaf0855e0ea1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBug 6278: Depend on odlparent's version of karaf.branding & opendaylight-karaf-resources 48/42648/2
Ryan Goulding [Fri, 22 Jul 2016 07:46:44 +0000 (03:46 -0400)]
Bug 6278: Depend on odlparent's version of karaf.branding & opendaylight-karaf-resources

Change-Id: I9f5f5741395880083204f2c4b4d8af45c5120773
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoRevert "Bug 6258: Disabled VSEM Provider build." 00/42600/1
Venkatrangan Govindarajan [Wed, 27 Jul 2016 01:47:22 +0000 (01:47 +0000)]
Revert "Bug 6258: Disabled VSEM Provider build."

This reverts commit 80e359643040ff5550e0d16e82b7fe51a33ddc5c.

Change-Id: Ia95f6727b5cd330e49f9cf162cae6c6253c8809e
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoBug 6258: Disabled VSEM Provider build. 55/42355/1
Hideyuki Tai [Fri, 22 Jul 2016 15:53:13 +0000 (08:53 -0700)]
Bug 6258: Disabled VSEM Provider build.

We are facing a problem on building VSEM provider now. This patch has
disabled the build. This change needs to be reverted once the problem is
fixed.

Change-Id: Ie85913854ce0592debf63056bee05e05e70359f7
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
(cherry picked from commit 13b10561b838b931ab627afe08a92ed6e59fff66)

7 years agoAdded blueprint wiring for VTN Manager. 12/42112/1
Shigeru Yasuda [Wed, 20 Jul 2016 03:35:26 +0000 (12:35 +0900)]
Added blueprint wiring for VTN Manager.

vtn-provider YANG module is still provided only for compatibility.

Change-Id: I98635832d37752de608c6b6516853c0753a8deb4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoUse Java 8 features. 25/42025/1
Shigeru Yasuda [Tue, 19 Jul 2016 07:23:23 +0000 (16:23 +0900)]
Use Java 8 features.

Change-Id: I927189f14148a764ef213421519fee45d6100389
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoRemoved duplicate ietf-yang-types-20130715 dependency. 24/42024/1
Shigeru Yasuda [Tue, 19 Jul 2016 02:23:11 +0000 (11:23 +0900)]
Removed duplicate ietf-yang-types-20130715 dependency.

Change-Id: I95b1b23fa1a67f7d4ac3cdf03e47ff8e5f827f18
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoEliminate code duplications detected by Sonar. 30/41330/3
Shigeru Yasuda [Tue, 5 Jul 2016 13:13:43 +0000 (22:13 +0900)]
Eliminate code duplications detected by Sonar.

Change-Id: I56b0db7864448a93c3fcf5e7e4665928f7e2dfb5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoUpgrade ietf-{inet,yang}-types to 2013-07-15 23/40823/3
Hideyuki Tai [Fri, 24 Jun 2016 10:36:14 +0000 (03:36 -0700)]
Upgrade ietf-{inet,yang}-types to 2013-07-15

Change-Id: If97dd9c600ff2ea8cdad395eec49d21539b5bc00
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
7 years agoBug 6166: Handle jeopardy state of clustered DS. 56/41456/1
Shigeru Yasuda [Thu, 7 Jul 2016 06:18:23 +0000 (15:18 +0900)]
Bug 6166: Handle jeopardy state of clustered DS.

If DS is in jeopardy state, then:

  * stop aging MAC addresses in MAC address table.
  * stop updating flow statistics.
  * ignore entity ownership change during vtn-config initialization.

Change-Id: I601850fc4d331622f3e4d35368b9f5f313601b94
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoMerge "Revert "Disable VSEM Provider Build""
Hideyuki Tai [Wed, 6 Jul 2016 19:50:06 +0000 (19:50 +0000)]
Merge "Revert "Disable VSEM Provider Build""

7 years agoRevert "Disable VSEM Provider Build" 06/41406/1
Venkatrangan Govindarajan [Wed, 6 Jul 2016 16:06:48 +0000 (16:06 +0000)]
Revert "Disable VSEM Provider Build"

This reverts commit 00b67138abc3bd90e6be598345929c69049ccf44.

Change-Id: Ia39d1b1e2a36f9240985d08a656d8f0367519b48
Signed-off-by: gvrangan <venkatrangang@hcl.com>
7 years agoUpgrade Apache Tomcat for VTN coordinator to 7.0.70. 22/41322/1
Shigeru Yasuda [Tue, 5 Jul 2016 06:08:07 +0000 (15:08 +0900)]
Upgrade Apache Tomcat for VTN coordinator to 7.0.70.

Change-Id: I336760686689f66a5afa69ecfd1c00bb308e7116
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoEnable to specify Apache Ant home directory for VTN Coordinator build. 19/41319/1
Shigeru Yasuda [Tue, 5 Jul 2016 05:07:51 +0000 (14:07 +0900)]
Enable to specify Apache Ant home directory for VTN Coordinator build.

  1. If "vtn.build.ant.home" property is defined, its value is used as
     Ant home directory.
  2. If ANT_HOME environment variable is defined, its value is used as
     Ant home directory.
  3. Otherwise Ant home directory is auto-detected.

Change-Id: Ia2f7e6df0e4fe6d1b000de7408422f411ab90f5a
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoSuppress unwanted error logs caused by removed node. 23/40923/2
Shigeru Yasuda [Tue, 28 Jun 2016 11:30:41 +0000 (20:30 +0900)]
Suppress unwanted error logs caused by removed node.

This patch suppresses error logs for the following operations if the
target node is disconnected.

  * send-barrier
  * Installation of table miss flow

Change-Id: Icc767479bdec305ba5b2896a04288f3401854d0c
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoBug 6143: Fixed bug that failed to put vtn-data-flow into clustered DS. 14/41214/1
Shigeru Yasuda [Fri, 1 Jul 2016 13:12:13 +0000 (22:12 +0900)]
Bug 6143: Fixed bug that failed to put vtn-data-flow into clustered DS.

This patch fixes a bug that sets an invalid vtn-flow-id into vtn-data-flow
if DS transaction for adding data flow is re-executed due to data
confliction.

Change-Id: I6ef168e396c148daab8cf95b4cf2506b71108401
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoRemove obsolete dependency from it/common/pom.xml. 07/41007/1
Shigeru Yasuda [Wed, 29 Jun 2016 10:34:05 +0000 (19:34 +0900)]
Remove obsolete dependency from it/common/pom.xml.

Change-Id: Id320c09b1fe7a0a0269bfc4552fd4afb80553eeb
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoRemoved distributionManagement section from common 34/40834/2
Hideyuki Tai [Fri, 24 Jun 2016 18:57:50 +0000 (11:57 -0700)]
Removed distributionManagement section from common

The common/pom.xml does not need to have the information in the
distributionManagement section, since it inherits the necessary
information from its parent. Its parent's parent pom.xml,
odlparent-lite, defines the repository and snapshotRepository
information in its distributionManagement section.

Change-Id: I135e9a9ef3ff938916b09b0e39601fc15c459a26
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
7 years agoUse flow-removed notification for detecting removed flows. 99/40799/1
Shigeru Yasuda [Fri, 24 Jun 2016 02:34:24 +0000 (11:34 +0900)]
Use flow-removed notification for detecting removed flows.

Flow tables in operational DS are maintained by statistics manager,
which updates flow statistics by periodic polling. In other words,
removed flows are never notified to DataTreeChangeListener unless
statistics manager updates flow statistics.

On the other hand, flow-removed MD-SAL notification will be published
immediately when FLOW_REMOVED message is detected. So we determined to use
flow-removed notification in order to detect expired flows ASAP.

Change-Id: I52ccbe5be84f3ed1f809dbb847f81c6dbf979e9e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoMigrated to openflowplugin-li. 63/36263/7
Shigeru Yasuda [Tue, 15 Mar 2016 16:42:41 +0000 (01:42 +0900)]
Migrated to openflowplugin-li.

  * Send barrier after modifying flows explicitly.
  * Use opendaylight-direct-statistics to get flow statistics.

Change-Id: Ib84972fab26d653914276f027867293ffce8ff05
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoRemove openflowplugin NSF apps from required-capabilities. 74/40574/3
Shigeru Yasuda [Tue, 21 Jun 2016 02:26:08 +0000 (11:26 +0900)]
Remove openflowplugin NSF apps from required-capabilities.

openflowplugin has migrated to blueprint and no longer provides
config YANG files for NSF apps.

Change-Id: I344a8d6bde715658fc8d533594ba3ca98f22cdd3
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
7 years agoDisable VSEM Provider Build 19/40319/5
gvrangan [Tue, 14 Jun 2016 18:08:09 +0000 (18:08 +0000)]
Disable VSEM Provider Build

This fixes the current problem in VTN verify and Merge jobs.
It needs to be revoked once the versions of nuget gets upgraded.

Change-Id: Ie89f91946ccdd7c93cab66791caac096295db5ff
Signed-off-by: gvrangan <venkatrangang@hcl.com>
8 years agoUse DataTreeChangeListener in manager.neutron bundle. 84/39684/3
Shigeru Yasuda [Wed, 1 Jun 2016 05:26:12 +0000 (14:26 +0900)]
Use DataTreeChangeListener in manager.neutron bundle.

Other changes:

  * Refined OVSDB topology listener.
  * Fixed javadoc warnings.

Change-Id: Idd8b8663d075bb32d8756cd671c9ec381196a3ed
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoUse Objects.equals() to compare path-faults in bridge-status. 29/39929/1
Shigeru Yasuda [Tue, 7 Jun 2016 09:21:04 +0000 (18:21 +0900)]
Use Objects.equals() to compare path-faults in bridge-status.

Change-Id: Ie44fd410aa7dec9665668ad4c0ae7e2c28a1463a
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoMerge "Use DataTreeChangeListener instead of DataChangeListener."
Hideyuki Tai [Mon, 6 Jun 2016 15:44:07 +0000 (15:44 +0000)]
Merge "Use DataTreeChangeListener instead of DataChangeListener."

8 years agoBug 5993: Ignore flow-removed that contains non-zero table ID. 59/39759/1
Shigeru Yasuda [Thu, 2 Jun 2016 11:21:01 +0000 (20:21 +0900)]
Bug 5993: Ignore flow-removed that contains non-zero table ID.

VTN Manager uses only flow table 0. So VTN Manager should not handle
flow entries removed from non-zero flow table.

Change-Id: I32e078b9c27d2f2b7dc0328d019a79b5c459472d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoUse DataTreeChangeListener instead of DataChangeListener. 45/39745/1
Shigeru Yasuda [Thu, 2 Jun 2016 05:17:51 +0000 (14:17 +0900)]
Use DataTreeChangeListener instead of DataChangeListener.

Change-Id: I4ff29b09a03fe7d547f8b7a0ed3144241ad61f16
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoFixed sonar warnings in manager.neutron bundle. 16/39316/1
Shigeru Yasuda [Tue, 24 May 2016 09:37:42 +0000 (18:37 +0900)]
Fixed sonar warnings in manager.neutron bundle.

  * Remove this unused "VTN_IDENTIFIERS_IN_PORT" private field.
  * Make XXX a static final constant or non-public and provide accessors
    if needed.

Change-Id: Ie483788823d880e1b9e64dcccc72562e536d5b80
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoUse Checkstyle 6.16 as defined in odlparent. 40/39040/1
Shigeru Yasuda [Wed, 18 May 2016 12:59:25 +0000 (21:59 +0900)]
Use Checkstyle 6.16 as defined in odlparent.

Change-Id: I91fdfdc0960c62739b1204e09b79b946d54a1c4b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoRemoved unused methods in VTNNeutronUtils. 52/38952/1
Shigeru Yasuda [Tue, 17 May 2016 05:53:27 +0000 (14:53 +0900)]
Removed unused methods in VTNNeutronUtils.

For the present there is no need to convert VTN ID into UUID.
So we can remove VTNNeutronUtils.convertNeutronIDToVTNKey() and
all the related methods.

Other changes:

  * Refactored.
    * VTNNeutronUtils.convertUUIDToKey()
    * PortDataChangeListener
    * OVSDBEventHandler
  * Added some static methods to generate tenant/bridge/interface name from
    neutron object.
    * VTNNeutronUtils.getTenantId(BaseAttributes)
    * VTNNeutronUtils.getBridgeId(Network)
    * VTNNeutronUtils.getBridgeId(Port)
    * VTNNeutronUtils.getInterfaceId(Port)

Change-Id: Ied35c2b2c2e00d08727ce55f399133d2f660970d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoFixed bug in mock-up for integration test. 06/38906/1
Shigeru Yasuda [Mon, 16 May 2016 06:40:29 +0000 (15:40 +0900)]
Fixed bug in mock-up for integration test.

  * Don't wait for table miss flow entry to be installed into
    unsupported switch.

Change-Id: I9bf5600bc65c3888630e305364227f2b7a675c2e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoMerge "Bug 5557: Fixed issue in delete operation for vbrif out flowfilter"
Sarath Babu Gurujala [Fri, 13 May 2016 13:50:59 +0000 (13:50 +0000)]
Merge "Bug 5557: Fixed issue in delete operation for vbrif out flowfilter"

8 years agoBug 5557: Fixed issue in delete operation for vbrif out flowfilter 62/38862/2
yogalakshmi.pa [Fri, 13 May 2016 16:00:00 +0000 (21:30 +0530)]
Bug 5557: Fixed issue in delete operation for vbrif out flowfilter

* Issue in audit scenario for delete operation of vbrif OUT
  flowfilter
* Addressed the same for vtermif flowfilter keytype

Change-Id: I471d3dd1de2727ee2a007a62f0535a593c61aea5
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
8 years agoIT: Make logging levels configurable. 63/38863/1
Shigeru Yasuda [Fri, 13 May 2016 11:38:58 +0000 (20:38 +0900)]
IT: Make logging levels configurable.

Change-Id: Id21d46d76c65f6a345937d146a95fd3c38980f62
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoFixed bug in mock-up for integration test. 50/38850/1
Shigeru Yasuda [Fri, 13 May 2016 05:51:43 +0000 (14:51 +0900)]
Fixed bug in mock-up for integration test.

  * IT may be blocked unexpectedly when it fails to clear flow table.

Change-Id: Iaf355d37072c56251d998b760c8b4ee8d0d99248
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoFixed sonar warnings in manager.neutron bundle. 48/38848/2
Shigeru Yasuda [Fri, 13 May 2016 02:25:50 +0000 (11:25 +0900)]
Fixed sonar warnings in manager.neutron bundle.

  * Remove this unused "tenantCreated" local variable.
  * Define a constant instead of duplicating this literal "XXX" N times.
  * Either log or rethrow this exception.

Change-Id: I68805daac87999dabf8b59e58f00f09fb53052e3
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoMigrated integration test to mdsal-it-base. 43/38743/2
Shigeru Yasuda [Thu, 12 May 2016 06:03:44 +0000 (15:03 +0900)]
Migrated integration test to mdsal-it-base.

This patch enables integration test again.

Change-Id: I8a65316c6dc5b42f697acd6de259eed4b7d3337c
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoUse https to connect ODL Nexus 74/38474/2
Thanh Ha [Thu, 5 May 2016 20:04:04 +0000 (16:04 -0400)]
Use https to connect ODL Nexus

Change-Id: I8f677d45c75a7c2208547cf0dd765db98cb75dc9
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoDisable integration tests temporarily. 70/38570/1
Shigeru Yasuda [Mon, 9 May 2016 11:53:19 +0000 (20:53 +0900)]
Disable integration tests temporarily.

Change-Id: Idb546921f56e4e43102050045cd1e4b570c78d35
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoFixed sonar warnings. 91/37791/1
Shigeru Yasuda [Tue, 19 Apr 2016 09:51:03 +0000 (18:51 +0900)]
Fixed sonar warnings.

  * Methods should not be too complex
  * Collapsible "if" statements should be merged

Change-Id: Icab39065c1079d3e46e31bb7083e537c7eee3d89
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoMerge "Fixed dependencies in features-vtn-manager POM."
Shigeru Yasuda [Fri, 15 Apr 2016 06:14:32 +0000 (06:14 +0000)]
Merge "Fixed dependencies in features-vtn-manager POM."

8 years agoFixed dependencies in features-vtn-manager POM. 14/37514/2
Hideyuki Tai [Tue, 12 Apr 2016 15:29:04 +0000 (08:29 -0700)]
Fixed dependencies in features-vtn-manager POM.

  * Removed unnecessary dependencies.
  * Don't define version of required modules in features-vtn-manager
    POM. It should be centralized in manager.common POM.

Change-Id: Ib616ccf0fd5ece9cd4368ac81c3210bdcc4bf4e6
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
8 years agoMerge "Bug 5724: Improve log messages that indicate configuration changes."
Hideyuki Tai [Thu, 14 Apr 2016 20:36:33 +0000 (20:36 +0000)]
Merge "Bug 5724: Improve log messages that indicate configuration changes."

8 years agoMerge "Add dependency on javax.validation validation-api"
Hideyuki Tai [Thu, 14 Apr 2016 20:08:43 +0000 (20:08 +0000)]
Merge "Add dependency on javax.validation validation-api"

8 years agoBug 5724: Improve log messages that indicate configuration changes. 03/37603/1
Shigeru Yasuda [Thu, 14 Apr 2016 10:16:05 +0000 (19:16 +0900)]
Bug 5724: Improve log messages that indicate configuration changes.

  * Global path map
  * Path policy
  * Flow condition
  * Flow filter

Change-Id: Ib693cfabd901139c42df5792e4219ea2f03758fc
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
8 years agoAdd dependency on javax.validation validation-api 52/37552/1
Ryan Goulding [Wed, 13 Apr 2016 15:12:30 +0000 (11:12 -0400)]
Add dependency on javax.validation validation-api

In order to upgrade to org.eclipse.persistence to 2.6.0+ in odlparent,
downstream consumers must include the dependency on javax.validation
validation-api version 1.1.0.Final as described here:

http://stackoverflow.com/questions/28568154/
how-to-get-eclipselink-2-6-0-m3-working-with-jersey-1-18-3

The work to upgrade odlparent's moxy version is included in this patch:
https://git.opendaylight.org/gerrit/#/c/37541/

Change-Id: Id99ea8f255e78b119c6b84669fce573adb8d7eb9
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>