vtn.git
10 years agoAdditional UT coverage on VTN Manager-Implementation.internal.cluster. 74/13474/1
dhandayadhapani-b [Tue, 9 Dec 2014 15:09:00 +0000 (20:39 +0530)]
Additional UT coverage on VTN Manager-Implementation.internal.cluster.

Change-Id: I04ad30fc1f02804c9c17d40b02ce6b88b22cdf97
Signed-off-by: dhandayadhapani-b <dhandayadhapani-b@hcl.com>
10 years agoFixed modules properties of pom.xml. 29/13429/1
Hideyuki Tai [Sat, 6 Dec 2014 01:45:58 +0000 (20:45 -0500)]
Fixed modules properties of pom.xml.

Change-Id: I5854cc7381f1810f15d72313d5be9644662ec341
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoRefine build environment. 22/13422/1
Shigeru Yasuda [Fri, 5 Dec 2014 16:18:26 +0000 (01:18 +0900)]
Refine build environment.

  * Move IT modules under "it" directory.
  * Use maven plugins specified by odlparent.
    * Although odlparent specifies maven-javadoc-plugin 2.10.1,
      we use 2.9.1 because it breaks "mvn site".
  * Skip karaf features test if "vtn.karaf.skip" property is true.
  * dist/karaf: Do nothing on "mvn site".

Change-Id: Ie734ee8be064139541d74f35d40a02a1de911a94
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Drop arphandler emulation."
Shigeru Yasuda [Fri, 5 Dec 2014 15:43:32 +0000 (15:43 +0000)]
Merge "Drop arphandler emulation."

10 years agoBUG 2478: Search for pkgconfig file in /lib or /lib64. 94/13394/2
Shigeru Yasuda [Fri, 5 Dec 2014 05:33:57 +0000 (14:33 +0900)]
BUG 2478: Search for pkgconfig file in /lib or /lib64.

json-c-devel package for CentOS 6.6 (x86_64) puts the pkgconfig file
in /lib64 directory.

Change-Id: If7455a85e79dfaab9a21a65e0186e11e5b5b5db3
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 2479: Fixed unexpected failure of atomic operation tests. 05/13405/1
Shigeru Yasuda [Fri, 5 Dec 2014 09:49:47 +0000 (18:49 +0900)]
Bug 2479: Fixed unexpected failure of atomic operation tests.

Race condition tests for atomic operations need to ensure that all the
test threads have been dispatched.

Change-Id: I5a973060800bfff0df17f03def88f3e47b689ff4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoDrop arphandler emulation. 86/13386/1
Shigeru Yasuda [Fri, 5 Dec 2014 01:49:59 +0000 (10:49 +0900)]
Drop arphandler emulation.

VTN Manager does nothing unless VTN is present.

Change-Id: Id9ebf0f90b285c0dde78cf9cbdd843deb09d4a3d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoUT files for VTN Manager Implementation.Internal.Cluster package. 40/13340/1
kavitha.ma [Thu, 4 Dec 2014 02:36:22 +0000 (18:36 -0800)]
UT files for VTN Manager Implementation.Internal.Cluster package.

Change-Id: Ia689f7b3c6ec9329437bb12a10e961e90bda139f
Signed-off-by: kavitha.ma <kavitha.ma@hcl.com>
10 years agoAdded UT files for NetworkHandler of VTN-Neutron package. 48/12848/3
ananthip [Fri, 14 Nov 2014 14:08:18 +0000 (19:38 +0530)]
Added UT files for NetworkHandler of VTN-Neutron package.

Change-Id: If5e7e992a109dd1fbe782a3c1f38e9a156e31b52
Signed-off-by: ananthip <ananthip@hcl.com>
10 years agoUse fully-qualified OSGi bundle name. 53/13053/1
Shigeru Yasuda [Fri, 21 Nov 2014 20:22:34 +0000 (05:22 +0900)]
Use fully-qualified OSGi bundle name.

VTN Manager bundles can be found by "bundle:list | grep vtn".

Change-Id: I0969738ba3875f883a82edbc9ae0ee86cfa8779b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 2158: Handle out-of-order inventory notification. 51/12951/1
Shigeru Yasuda [Wed, 19 Nov 2014 10:44:23 +0000 (19:44 +0900)]
Bug 2158: Handle out-of-order inventory notification.

MD-SAL notifications are delivered on multiple threads.
So VTN Manager should not expect order of inventory notifications.

Change-Id: I9a23203b085ab114b8de11c6584903ab3850755e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMoved utility classes to dedicated package. 49/12949/1
Shigeru Yasuda [Wed, 19 Nov 2014 09:55:13 +0000 (18:55 +0900)]
Moved utility classes to dedicated package.

Change-Id: If8edc3f37b8e862e6effe8f547fc41d7bcb5b660
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoRemove local OSGi distribution. 40/12840/1
Shigeru Yasuda [Fri, 14 Nov 2014 11:44:33 +0000 (20:44 +0900)]
Remove local OSGi distribution.

Karaf distribution is still provided locally.

  * Add new feature, odl-vtn-manager-runtime, which installs requisites
    for VTN Manager. It is installed with odl-vtn-manager-all.
  * Change artifact ID to distribution.vtn-manager.karaf.

Change-Id: I5a386d4fdfe71051db4815a566a982b626fcbf99
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Increase UT coverage for VTN-Neutron package."
Sarath Babu Gurujala [Fri, 14 Nov 2014 10:48:27 +0000 (10:48 +0000)]
Merge "Increase UT coverage for VTN-Neutron package."

10 years agoBug 2256:Fixed bug Port cache cleared when network down, making coordinator unreachable 07/12807/1
balakrishnan [Fri, 14 Nov 2014 12:01:46 +0000 (17:31 +0530)]
Bug 2256:Fixed bug Port cache cleared when network down, making coordinator unreachable

Change-Id: I25991345c2c49151d059eb0de250e6d6da2ab151
Signed-off-by: balakrishnan <balakrishnan.ka@hcl.com>
10 years agoMerge "Include lldp-speaker application in VTN Manager binary distribution."
Hideyuki Tai [Fri, 7 Nov 2014 18:16:38 +0000 (18:16 +0000)]
Merge "Include lldp-speaker application in VTN Manager binary distribution."

10 years agoIncrease UT coverage for VTN-Neutron package. 10/12610/1
ananthip [Fri, 7 Nov 2014 15:09:54 +0000 (20:39 +0530)]
Increase UT coverage for VTN-Neutron package.

Change-Id: I9b1d8f86b1172e58984d8572d3e8c52406fb925d
Signed-off-by: ananthip <ananthip@hcl.com>
10 years agoInclude lldp-speaker application in VTN Manager binary distribution. 94/12594/2
Shigeru Yasuda [Fri, 7 Nov 2014 07:37:52 +0000 (16:37 +0900)]
Include lldp-speaker application in VTN Manager binary distribution.

Change-Id: I5056dc66bdaf69361b92ffe93f386c9e2bf6fa56
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoIncrease UT coverage. 91/12591/1
Shigeru Yasuda [Fri, 7 Nov 2014 07:34:43 +0000 (16:34 +0900)]
Increase UT coverage.

Change-Id: Ifdfc5cf26499f97e612fa9cefb7941533c9204f7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed minor bugs in API classes. 88/12488/1
Shigeru Yasuda [Tue, 4 Nov 2014 13:30:08 +0000 (22:30 +0900)]
Fixed minor bugs in API classes.

  * DataFlow: Fixed typo in public method name.
  * FlowStats: Fixed minor bug in toString().

Other changes:

  * Refined unit tests for org.opendaylight.vtn.manager.flow package.

Change-Id: I6060ab23bd83614bb9110339b6b21195b4a34226
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed minor bug in VNodeRouteTest.java. 47/12247/1
Shigeru Yasuda [Mon, 27 Oct 2014 02:41:19 +0000 (11:41 +0900)]
Fixed minor bug in VNodeRouteTest.java.

Change-Id: Ieff7570fc4a5289c3c63e7e08ff2ddc47ed3db2b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Trivial enhancement to API classes."
Hideyuki Tai [Fri, 24 Oct 2014 23:51:08 +0000 (23:51 +0000)]
Merge "Trivial enhancement to API classes."

10 years agoTrivial enhancement to API classes. 24/12224/1
Shigeru Yasuda [Fri, 24 Oct 2014 12:07:57 +0000 (21:07 +0900)]
Trivial enhancement to API classes.

  * DataLinkHost.equals(Object): Return false if the class of the given
    object does not match exactly.
  * VTenantPath.compareTo(VTenantPath): Remove redundant code.
    The class name should not be the same if the class objects are not
    identical.
  * IVTNManagerAware: Added missing @since doclet.

Change-Id: I8704df9cbd873e61c2078182ac46cddc87ec4115
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoIncrease UT coverage of API classes. 19/12219/2
Shigeru Yasuda [Fri, 24 Oct 2014 11:16:33 +0000 (20:16 +0900)]
Increase UT coverage of API classes.

Change-Id: I6b9ec62e0a15162a4e7b594f4c3e59f19ee06fb4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Bug 2236: Fixed bugs in PathMap."
Hideyuki Tai [Thu, 23 Oct 2014 01:56:58 +0000 (01:56 +0000)]
Merge "Bug 2236: Fixed bugs in PathMap."

10 years agoBug 2236: Fixed bugs in PathMap. 35/12135/2
Shigeru Yasuda [Wed, 22 Oct 2014 06:53:46 +0000 (15:53 +0900)]
Bug 2236: Fixed bugs in PathMap.

  * equals(Object): mapIndex field values need to be compared using
    Objects.equals().
  * hashCode(): Fixed NPE if mapIndex is null.

Change-Id: Iadd25f620dba1af7fb08c262f22a97ee978e08a3
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Bug 2239: Fixed manager.neutron bugs detected by FindBugs."
Hideyuki Tai [Wed, 22 Oct 2014 21:40:21 +0000 (21:40 +0000)]
Merge "Bug 2239: Fixed manager.neutron bugs detected by FindBugs."

10 years agoBug 2239: Fixed manager.neutron bugs detected by FindBugs. 41/12141/1
Shigeru Yasuda [Wed, 22 Oct 2014 10:37:01 +0000 (19:37 +0900)]
Bug 2239: Fixed manager.neutron bugs detected by FindBugs.

  * OVSDBPluginEventHandler
    * getSwitchIdFromInterface(): Fixed possible null dereference.
    * The following fields should not be static because they are handled
      by instance methods only.
      * integrationBridgeName
      * failmode
      * protocols
      * portname
    * getSystemProperties() should close FileInputStream.
    * getInternalBridgeUUID(): Map.entrySet() should be used rather than
      Map.keySet().
    * Eliminate trailing/succeeding whitespaces in log message.
  * PortHandler
    * canModifyInterface(): Boolean instances need to be compared using
      equals(Object).

Change-Id: Ia9b83547ffe4efe80b328925cddd1ecf71865ba5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 2235: Fixed NPE in PathPolicy(long, List). 34/12134/1
Shigeru Yasuda [Wed, 22 Oct 2014 04:43:28 +0000 (13:43 +0900)]
Bug 2235: Fixed NPE in PathPolicy(long, List).

Change-Id: I11b3992036f953363445a4acb3b2ca1b73cb6390
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoUse odlparent as parent POM. 06/12106/1
Shigeru Yasuda [Tue, 21 Oct 2014 13:22:05 +0000 (22:22 +0900)]
Use odlparent as parent POM.

  * maven-checkstyle-plugin 2.12 is still used for strict indentation
    check.

Other changes:

  * manager: Fixed incorrect javadoc link in unit test.
  * coordinator: Upgrade Apache Tomcat to 7.0.56.

Change-Id: I08dade0dd8c9054b6caf89f247a82cb6d3df5890
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoIncrementing versions by 0.1.0 for post-Helium master branch. 35/11935/3
Shigeru Yasuda [Tue, 14 Oct 2014 02:58:25 +0000 (11:58 +0900)]
Incrementing versions by 0.1.0 for post-Helium master branch.

Change-Id: If612c8376cb56783e97418406a82f3a8e8d05536
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 1836: Updated README for Helium release. 64/11564/2
Hideyuki Tai [Thu, 25 Sep 2014 06:32:59 +0000 (02:32 -0400)]
Bug 1836: Updated README for Helium release.

Change-Id: Ia8e14a76e88ab5bfe1ac0bfee6571d8899dbd490
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoBug 2016: Updated VTN Manager Neutron code to support updated OVSDB APIs. 43/11443/2
ananthip [Mon, 22 Sep 2014 13:09:17 +0000 (18:39 +0530)]
Bug 2016: Updated VTN Manager Neutron code to support updated OVSDB APIs.

Change-Id: I9a738900bcdae350c12d62680dc621e54f6ac141
Signed-off-by: ananthip <ananthip@hcl.com>
10 years agoIncrease UT coverage. 14/11414/2
Shigeru Yasuda [Sun, 21 Sep 2014 08:05:02 +0000 (17:05 +0900)]
Increase UT coverage.

Change-Id: Ibc7b780e5fe5dae6c68e28440cbc1263d0ac3b16
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoAdd unit test for flow condition. 78/11378/1
Shigeru Yasuda [Fri, 19 Sep 2014 18:09:05 +0000 (03:09 +0900)]
Add unit test for flow condition.

Other changes:

  * Increase UT coverage.
  * API javadoc: Add notice of limitation on flow filter.
  * IcmpMatchImpl: Refine hashCode() for better performance.
  * InetMatchImpl: Ditto.
  * Fix typo in comment.
  * Trivial improvement of error message.

Change-Id: I4f80cc944dba0b841e83615d6ca1e4d4db12a7d5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Bug 1901:Fixed bug in VTN FLOWFILTER with type "out""
Sarath Babu Gurujala [Fri, 19 Sep 2014 13:52:39 +0000 (13:52 +0000)]
Merge "Bug 1901:Fixed bug in  VTN FLOWFILTER with type "out""

10 years agoBug 1901:Fixed bug in VTN FLOWFILTER with type "out" 21/11321/2
balakrishnan [Fri, 19 Sep 2014 12:43:10 +0000 (18:13 +0530)]
Bug 1901:Fixed bug in  VTN FLOWFILTER with type "out"

Change-Id: I70c3339577bfc3b6d4c6cabebc4f2286c6d4dbac
Signed-off-by: balakrishnan <balakrishnan.ka@hcl.com>
10 years agoMerge "Bug 1925: Fix for portmap creation when created after vbrifflowfilter"
Sarath Babu Gurujala [Fri, 19 Sep 2014 07:26:08 +0000 (07:26 +0000)]
Merge "Bug 1925: Fix for portmap creation when created after vbrifflowfilter"

10 years agoMerge "Bug 1951: Fixed bug in Inet4AddressMatch.equals(Object)."
Hideyuki Tai [Thu, 18 Sep 2014 18:22:03 +0000 (18:22 +0000)]
Merge "Bug 1951: Fixed bug in Inet4AddressMatch.equals(Object)."

10 years agoBug 1925: Fix for portmap creation when created after vbrifflowfilter 15/11315/1
Karthik.S [Thu, 18 Sep 2014 16:45:19 +0000 (22:15 +0530)]
Bug 1925: Fix for portmap creation when created after vbrifflowfilter

Flowfilter is not added in controller, when Portmap is created after VBRIFFlowFilter.

Change-Id: Id84e65079665b749f07aa1a830e365c823fe90d9
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
10 years agoBug 1951: Fixed bug in Inet4AddressMatch.equals(Object). 14/11314/2
Shigeru Yasuda [Thu, 18 Sep 2014 11:40:47 +0000 (20:40 +0900)]
Bug 1951: Fixed bug in Inet4AddressMatch.equals(Object).

  * Both network address and netmask must be compared.

Change-Id: I08b233b418e7f29fa03ca478e25cf96b66c7bd92
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoRevert workaround for Bug 1759. 02/11302/1
Shigeru Yasuda [Thu, 18 Sep 2014 06:17:51 +0000 (15:17 +0900)]
Revert workaround for Bug 1759.

  * Pass DSCP value to SetNwTos action instead of TOS value.

Change-Id: I630dbe9972e8a16b9750945af21026185d84ee1d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 1932: Fixed bugs in InetMatch. 78/11278/1
Shigeru Yasuda [Wed, 17 Sep 2014 10:25:13 +0000 (19:25 +0900)]
Bug 1932: Fixed bugs in InetMatch.

  * equals(Object) does not work.
  * An empty string specified via JAXB as a string representation of
    IP address should be rejected.

Other changes:

  * Add unit tests for flow condition APIs.
  * Reduce sonar warnings in FlowMatch and FlowMatchBuilder.

Change-Id: I795d855279751a893fc4a93e547aafd528cbb021
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Bug 1807 - Fix for Audit Failure in VTN Coordinator"
Sarath Babu Gurujala [Mon, 15 Sep 2014 07:25:20 +0000 (07:25 +0000)]
Merge "Bug 1807 - Fix for Audit Failure in VTN Coordinator"

10 years agoMerge "Added Functional Tests for Flowfilter"
Sarath Babu Gurujala [Mon, 15 Sep 2014 06:19:05 +0000 (06:19 +0000)]
Merge "Added Functional Tests for Flowfilter"

10 years agoBug 1838: Fixed bug that SET_VLAN_PCP action was applied to untagged frame. 92/11092/1
Shigeru Yasuda [Fri, 12 Sep 2014 09:04:34 +0000 (18:04 +0900)]
Bug 1838: Fixed bug that SET_VLAN_PCP action was applied to untagged frame.

Change-Id: I07c3447ac7513d4728502f15076b094d00f70c46
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Reduce sonar warnings."
Shigeru Yasuda [Fri, 12 Sep 2014 08:12:18 +0000 (08:12 +0000)]
Merge "Reduce sonar warnings."

10 years agoReduce sonar warnings. 88/11088/1
Shigeru Yasuda [Fri, 12 Sep 2014 05:35:01 +0000 (14:35 +0900)]
Reduce sonar warnings.

Change-Id: Ib1b1f7df9423978e87afb89770f5294a8d427cba
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed incorrect javadoc link in test sources. 87/11087/1
Shigeru Yasuda [Fri, 12 Sep 2014 05:26:58 +0000 (14:26 +0900)]
Fixed incorrect javadoc link in test sources.

Change-Id: Ia4416d986e47b8876e8daf7d67975a4e0bb89414
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoAdded Functional Tests for Flowfilter 02/11002/3
senthil [Wed, 10 Sep 2014 21:50:45 +0000 (03:20 +0530)]
Added Functional Tests for Flowfilter

Change-Id: I5945018765083ec38fd296fe68d35b6cc04d0317
Signed-off-by: senthil <senthil-b@hcl.com>
10 years agoBug 1807 - Fix for Audit Failure in VTN Coordinator 55/11055/1
senthil [Thu, 11 Sep 2014 19:22:32 +0000 (00:52 +0530)]
Bug 1807 - Fix for Audit Failure in VTN Coordinator

Change-Id: I2bcd9d81934963c283f11ec9b2f5d00124f58e51
Signed-off-by: senthil <senthil-b@hcl.com>
10 years agoMerge "Bug 1801: Sync dependencies to the controller."
Hideyuki Tai [Thu, 11 Sep 2014 15:21:02 +0000 (15:21 +0000)]
Merge "Bug 1801: Sync dependencies to the controller."

10 years agoBug 1801: Sync dependencies to the controller. 54/11054/1
Shigeru Yasuda [Thu, 11 Sep 2014 13:35:53 +0000 (22:35 +0900)]
Bug 1801: Sync dependencies to the controller.

  * maven-surefire-plugin 2.16
  * netty 4.0.23.Final
  * mockito-all 1.9.5
  * Third-party version of CorsFilter is no longer needed because
    Tomcat 7.0.53 provides CorsFilter.

Change-Id: I869ac4b76b09925fd5cc3bffbf2b828bbe3713ed
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoIncrease UT code coverage for packet modification. 52/11052/1
Shigeru Yasuda [Thu, 11 Sep 2014 13:22:06 +0000 (22:22 +0900)]
Increase UT code coverage for packet modification.

Change-Id: I35f5c0670b4ba52186e7a37db61ad69c3bf680e1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Updated UT for PortHandler and Enhanced UT for OVSDBPluginEventhandler"
Sarath Babu Gurujala [Thu, 11 Sep 2014 10:36:22 +0000 (10:36 +0000)]
Merge "Updated UT for PortHandler and Enhanced UT for OVSDBPluginEventhandler"

10 years agoMerge "Bug 1801: Updated Apache Tomcat version for VTN Manager."
Shigeru Yasuda [Thu, 11 Sep 2014 02:43:41 +0000 (02:43 +0000)]
Merge "Bug 1801: Updated Apache Tomcat version for VTN Manager."

10 years agoBug 1801: Updated Apache Tomcat version for VTN Manager. 19/11019/1
Hideyuki Tai [Thu, 11 Sep 2014 01:10:04 +0000 (21:10 -0400)]
Bug 1801: Updated Apache Tomcat version for VTN Manager.

This patch updated versions of bundles related to Apache Tomcat for VTN
Manager.

Change-Id: I51715220df721aceed63136bb8224f1e933623e0
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoMerge "Implement TCP/UDP checksum recalculation."
Hideyuki Tai [Wed, 10 Sep 2014 21:38:52 +0000 (21:38 +0000)]
Merge "Implement TCP/UDP checksum recalculation."

10 years agoMerge "Fixed incorrect javadoc link in test sources."
Hideyuki Tai [Wed, 10 Sep 2014 18:08:02 +0000 (18:08 +0000)]
Merge "Fixed incorrect javadoc link in test sources."

10 years agoImplement TCP/UDP checksum recalculation. 04/11004/1
Shigeru Yasuda [Wed, 10 Sep 2014 17:19:15 +0000 (02:19 +0900)]
Implement TCP/UDP checksum recalculation.

This patch enables flow filter to modify IPv4 address and TCP/UDP
port number in packets.

Change-Id: Ibf2deb423dac9ec5b90f57f4faae2a5394aa9331
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed incorrect javadoc link in test sources. 01/11001/1
Shigeru Yasuda [Wed, 10 Sep 2014 10:38:27 +0000 (19:38 +0900)]
Fixed incorrect javadoc link in test sources.

Change-Id: Ibe5bf4e989253393acd39a740bd91ef05daac082
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoAdd Support for FlowList/FlowFilter Features in Coordinator 72/10972/6
gvrangan [Wed, 10 Sep 2014 02:20:30 +0000 (11:20 +0900)]
Add Support for FlowList/FlowFilter Features in Coordinator

* User can Create/Update/Delete for Flowlist using Coordinator REST API
* User can Create/Update/Delete for FlowFilter using Coordinator REST API

Change-Id: I9d0c5f367a9fc9d2b7662b30dfcb8c56f4590a7e
Signed-off-by: gvrangan <venkatrangang@hcl.com>
10 years agoUpdated UT for PortHandler and Enhanced UT for OVSDBPluginEventhandler 93/10993/1
ananthip [Wed, 10 Sep 2014 13:00:57 +0000 (18:30 +0530)]
Updated UT for PortHandler and Enhanced UT for OVSDBPluginEventhandler

Change-Id: I519ae694da36aecc7c81dd6d53875fb4fdf29e22
Signed-off-by: ananthip <ananthip@hcl.com>
10 years agoMerge "Add Functional Tests for VTerminal and VTerminal Interfaces"
Sarath Babu Gurujala [Wed, 10 Sep 2014 11:59:08 +0000 (11:59 +0000)]
Merge "Add Functional Tests for VTerminal and VTerminal Interfaces"

10 years agoAdd Functional Tests for VTerminal and VTerminal Interfaces 47/10847/3
Karthik.S [Fri, 5 Sep 2014 17:12:11 +0000 (22:42 +0530)]
Add Functional Tests for VTerminal and VTerminal Interfaces

Change-Id: I58ab555e4edbc5cb30f33f1d4793238250b76ad6
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
10 years agoMerge "Add Coordinator Platform Support for the new features in ODL-VTN Manager"
Sarath Babu Gurujala [Wed, 10 Sep 2014 10:58:18 +0000 (10:58 +0000)]
Merge "Add Coordinator Platform Support for the new features in ODL-VTN Manager"

10 years agoUpdated UT for flow api 42/10942/3
ananthip [Tue, 9 Sep 2014 12:58:32 +0000 (18:28 +0530)]
Updated UT for flow api

Change-Id: I8600f0fac69d7e3b52655e6e8f2f98e193c3c9b9
Signed-off-by: ananthip <ananthip@hcl.com>
10 years agoAdd Coordinator Platform Support for the new features in ODL-VTN Manager 71/10971/2
gvrangan [Wed, 10 Sep 2014 01:01:39 +0000 (10:01 +0900)]
Add Coordinator Platform Support for the new features in ODL-VTN Manager

Change-Id: I656490da638ed27c132400011cc54da7c1047d0f
Signed-off-by: gvrangan <venkatrangang@hcl.com>
10 years agoUse PUSH_VLAN action to add VLAN tag to untagged frame. 05/10905/1
Shigeru Yasuda [Mon, 8 Sep 2014 14:39:18 +0000 (23:39 +0900)]
Use PUSH_VLAN action to add VLAN tag to untagged frame.

This patch is required to support OF 1.3 switch because SET_FIELD
action never appends a VLAN tag to the packet. OF plugin will ignore
PUSH_VLAN action if OF 1.0 is used.

Change-Id: If194a4629a7f8b70acc0dc276b1899b48c2e382e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed incorrect javadoc link in test sources. 28/10828/1
Shigeru Yasuda [Fri, 5 Sep 2014 02:11:03 +0000 (11:11 +0900)]
Fixed incorrect javadoc link in test sources.

Change-Id: I49bec690981a7811e4e6340f61bc707a88bf6627
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoUpdated Karaf distribution. 20/10820/1
Hideyuki Tai [Wed, 3 Sep 2014 00:07:06 +0000 (20:07 -0400)]
Updated Karaf distribution.

This patch added the following two features into VTN local Karaf
distribution.
 - features-adsal-compatibility
 - features-openflowplugin

The two features are needed for testing VTN Manager.
The above two features and vtn features are configured as bootFeatures
so that these are installed as startup.

Change-Id: If69fadaeff3e25730a88606c8897c58e9b1f4f0c
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoImplement REDIRECT flow filter. 83/10783/1
Shigeru Yasuda [Thu, 4 Sep 2014 15:43:44 +0000 (00:43 +0900)]
Implement REDIRECT flow filter.

Change-Id: If3c1de453eab76602021664bf381df39523c0987
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoUpdated UT for new OVSDB Neutron implementation 78/10678/2
ananthip [Wed, 3 Sep 2014 09:39:25 +0000 (15:09 +0530)]
Updated UT for new OVSDB Neutron implementation

Change-Id: I31d5abf888f5f3e6eff548429c14dde2ede5242f
Signed-off-by: ananthip <ananthip@hcl.com>
10 years agovTerminal bug fix. 46/10746/1
Shigeru Yasuda [Thu, 4 Sep 2014 02:47:18 +0000 (11:47 +0900)]
vTerminal bug fix.

This patch fixes bug that more than one virtual interface could be
configured in a vTerminal.

Change-Id: If9683153005be09a489662f484ccfce7a0cab4a1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Update VTN Coordinator sources to the latest version."
Hideyuki Tai [Wed, 3 Sep 2014 03:03:54 +0000 (03:03 +0000)]
Merge "Update VTN Coordinator sources to the latest version."

10 years agoUpdate VTN Coordinator sources to the latest version. 67/10567/3
Shigeru Yasuda [Mon, 1 Sep 2014 07:09:22 +0000 (16:09 +0900)]
Update VTN Coordinator sources to the latest version.

VTN Coordinator version is changed to 6.0.0.0-SNAPSHOT.

Change-Id: I598d1d1145de4fe7a5826f1619b4a0560ad4ef0f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoEnable flow actions in flow filter to modify packet. 46/10646/1
Shigeru Yasuda [Tue, 2 Sep 2014 17:50:41 +0000 (02:50 +0900)]
Enable flow actions in flow filter to modify packet.

Other changes:

  * Apply flow filters for outgoing packets when an unicast packet is
    broadcasted in the vBridge. In that case REDIRECT flow filter is
    ignored.

Change-Id: Id17cf857806f289b737a088af3f8c7dae27dc0f9
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed manager.neutron's Import-Package. 13/10613/1
Shigeru Yasuda [Tue, 2 Sep 2014 06:37:15 +0000 (15:37 +0900)]
Fixed manager.neutron's Import-Package.

This patch fixes a bug that manager.neutron failed to load some
OVSDB classes.

Change-Id: I6a34e57bec2bd3dc13f91f61ee39256cb8408e0c
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoUse maven-assembly-plugin to include OVSDB in distribution package. 77/10577/1
Shigeru Yasuda [Mon, 1 Sep 2014 14:07:57 +0000 (23:07 +0900)]
Use maven-assembly-plugin to include OVSDB in distribution package.

Change-Id: Ia81a9e04d5361da73c42e353639e6c9f654c12b2
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoImplementaion for New OVSDB Api support in Neutron with integrationtest 52/10452/3
ananthip [Thu, 28 Aug 2014 12:53:30 +0000 (18:23 +0530)]
Implementaion for New OVSDB Api support in Neutron with integrationtest

Change-Id: I7cd81c3ccb56fdbe2c95fc191dd7a223852781ea
Signed-off-by: ananthip <ananthip@hcl.com>
10 years agoMerge "Added a dependency for ovsdb features."
Shigeru Yasuda [Fri, 29 Aug 2014 00:14:52 +0000 (00:14 +0000)]
Merge "Added a dependency for ovsdb features."

10 years agoMerge "Specify plugin versions in order to suppress warning."
Hideyuki Tai [Thu, 28 Aug 2014 21:42:11 +0000 (21:42 +0000)]
Merge "Specify plugin versions in order to suppress warning."

10 years agoSpecify plugin versions in order to suppress warning. 59/10459/1
Shigeru Yasuda [Thu, 28 Aug 2014 16:30:29 +0000 (01:30 +0900)]
Specify plugin versions in order to suppress warning.

Change-Id: I34eb4947188863e6c02085804a54a87ea2168379
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoAdded a dependency for ovsdb features. 60/10460/1
Hideyuki Tai [Thu, 28 Aug 2014 15:59:47 +0000 (11:59 -0400)]
Added a dependency for ovsdb features.

This patch added a dependency for odl-ovsdb-all feature to
odl-vtn-manager-neutron.
The odl-ovsdb-all feature contains ovsdb library and plugin which
necessary for VTN Manager Neutron bundle.

Change-Id: I509330e601df560941ce3d1a454af3f0b6ad67d6
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoImplement DROP flow filter. 57/10457/1
Shigeru Yasuda [Thu, 28 Aug 2014 15:12:18 +0000 (00:12 +0900)]
Implement DROP flow filter.

Change-Id: I94fae13bc279d8054a45c14f3d565c36df57d818
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoKaraf feature support for VTN Manager. 94/9994/4
Hideyuki Tai [Fri, 15 Aug 2014 22:09:18 +0000 (18:09 -0400)]
Karaf feature support for VTN Manager.

This patch introduces a Karaf feature for VTN Manager, and a Karaf
distribution for testing the feature.

Change-Id: I1eb8a10d440512d269032acca6f753e0495824da
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoMerge "Implement Java-APIs for flow filter."
Hideyuki Tai [Tue, 26 Aug 2014 18:44:49 +0000 (18:44 +0000)]
Merge "Implement Java-APIs for flow filter."

10 years agoRevert previous change that modified sonar.tests. 16/10316/1
Shigeru Yasuda [Tue, 26 Aug 2014 14:37:41 +0000 (23:37 +0900)]
Revert previous change that modified sonar.tests.

Change-Id: I83fac40f75e392e20d76caad1141be80aaaceabd
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoAppend IT source directories to sonar.tests property. 10/10310/1
Shigeru Yasuda [Tue, 26 Aug 2014 13:19:12 +0000 (22:19 +0900)]
Append IT source directories to sonar.tests property.

Change-Id: I210bfb51aa278ad0bd567958d534210dae562abe
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoActivate common module on Sonar analysis. 90/10290/1
Shigeru Yasuda [Tue, 26 Aug 2014 09:31:26 +0000 (18:31 +0900)]
Activate common module on Sonar analysis.

Change-Id: I0fe5155ff73f0789417a9ff2c7ddd53abe8cb978
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoCreate build profile only for Sonar analysis. 84/10284/1
Shigeru Yasuda [Tue, 26 Aug 2014 08:14:08 +0000 (17:14 +0900)]
Create build profile only for Sonar analysis.

The following modules will be skipped if "vtn.build.sonar" property
is defined.

  * manager/dist
  * coordinator

Change-Id: Ib329379d70a9335f695fb9e590a09b6b1470a771
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoShare a single IT code coverage file with all modules. 73/10273/1
Shigeru Yasuda [Tue, 26 Aug 2014 04:02:24 +0000 (13:02 +0900)]
Share a single IT code coverage file with all modules.

Change-Id: If4c6162f69cf9cbcc37408ee445fafdd6c13b6fd
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoImplement Java-APIs for flow filter. 79/10179/1
Shigeru Yasuda [Fri, 22 Aug 2014 17:21:54 +0000 (02:21 +0900)]
Implement Java-APIs for flow filter.

Note that flow filter feature is not yet fully-implemented.
This patch enables to configure flow filters, but they will not work.

Change-Id: I54fa3bcbcacdd724ead08d22168f521cdd988da5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoActivate IT modules if vtn.build.sonar property is defined. 71/10171/1
Shigeru Yasuda [Fri, 22 Aug 2014 14:08:07 +0000 (23:08 +0900)]
Activate IT modules if vtn.build.sonar property is defined.

Change-Id: Ib80248e3a3919b74bae8af0160ec42c92264ae53
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoUse JaCoCo JUnit listener to collect test coverage. 63/10163/1
Shigeru Yasuda [Fri, 22 Aug 2014 11:25:06 +0000 (20:25 +0900)]
Use JaCoCo JUnit listener to collect test coverage.

Change-Id: I7e385fe108073ade25e7b2979ba4ecf4d8fb9ee8
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoapi/pom.xml: Add javax.xml.bind.annotation.adapters to Import-Package. 55/10155/1
Shigeru Yasuda [Fri, 22 Aug 2014 07:26:01 +0000 (16:26 +0900)]
api/pom.xml: Add javax.xml.bind.annotation.adapters to Import-Package.

This patch fixes a bug that XmlJavaTypeAdapter might not be visible to
Jackson.

Other changes:

  * Remove unnecessary dependencies in pom.xml.

Change-Id: Ic5efede7d8d444e5248856379cd168b0967bf499
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoRefine implementation of FlowAction.create(). 93/10093/1
Shigeru Yasuda [Wed, 20 Aug 2014 10:58:28 +0000 (19:58 +0900)]
Refine implementation of FlowAction.create().

  * Take IP protocol number instead of boolean value.
  * Use reflection to simplify the code.

Change-Id: I6c66c62cb506071b7494d02fb411a344106309a6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoImport new version of openflowplugin. 53/10053/2
Shigeru Yasuda [Tue, 19 Aug 2014 07:57:03 +0000 (16:57 +0900)]
Import new version of openflowplugin.

Change-Id: Ifbc36b729d5ac84e59e62ea9fa5f0e43f0a9c3d6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed incorrect logging and comments. 72/9772/1
Shigeru Yasuda [Thu, 7 Aug 2014 09:51:08 +0000 (18:51 +0900)]
Fixed incorrect logging and comments.

Change-Id: I36795ce894d86b8094d794f6f1967f5ad4c660cb
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Add REST APIs for flow filter."
Hideyuki Tai [Thu, 7 Aug 2014 02:02:05 +0000 (02:02 +0000)]
Merge "Add REST APIs for flow filter."