vtn.git
9 years agoBUG 4966: Fetch issue for KT_DATAFLOWS 67/33367/1
yogalakshmi.pa [Fri, 22 Jan 2016 20:06:51 +0000 (01:36 +0530)]
BUG 4966: Fetch issue for KT_DATAFLOWS

Change-Id: Iecbb359b860faf2b327005eefc70472cc13e026f
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
9 years agoUpdate .gitreview for stable/beryllium 80/32680/1
Thanh Ha [Thu, 14 Jan 2016 22:11:38 +0000 (17:11 -0500)]
Update .gitreview for stable/beryllium

Change-Id: I40ff4747717cc36292c0571fd8f4d55475ab2c5f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoMerge "Support for fetching dataflows from VTN Manager"
Sarath Babu Gurujala [Thu, 14 Jan 2016 19:40:42 +0000 (19:40 +0000)]
Merge "Support for fetching  dataflows from VTN Manager"

9 years agoSupport for fetching dataflows from VTN Manager 84/32584/6
yogalakshmi.pa [Thu, 14 Jan 2016 19:58:59 +0000 (01:28 +0530)]
Support for fetching  dataflows from VTN Manager

* Support operations are dataflows,vtn dataflows,
* Known Issues-odc_vtn_dataflow.cc:Refer to BugId:4965
* odc_dataflow.cc:Refer to BugId:4966
* Fetching Inet-Match in dataflows:Refer to BugId:4967

Change-Id: Iefca12dc269fe460982355a0204269e5b663283d
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
9 years agoMerge "VTN Manager - Neutron UT Files."
Sarath Babu Gurujala [Thu, 14 Jan 2016 18:43:15 +0000 (18:43 +0000)]
Merge "VTN Manager - Neutron UT Files."

9 years agoMerge "Support for fetching VTN Stations."
Sarath Babu Gurujala [Thu, 14 Jan 2016 13:16:30 +0000 (13:16 +0000)]
Merge "Support for fetching VTN Stations."

9 years agoSupport for fetching VTN Stations. 00/32500/10
bharathi.m [Tue, 12 Jan 2016 02:20:00 +0000 (07:50 +0530)]
Support for fetching VTN Stations.

Change-Id: Id68a45ef1db5ea4cc75a30107603646674583e59
Signed-off-by: bharathi.m <bharathi.m@hcl.com>
9 years agoVTN Manager - Neutron UT Files. 39/28939/10
Arthi.b [Wed, 28 Oct 2015 20:18:43 +0000 (01:48 +0530)]
VTN Manager - Neutron UT Files.

* Added Unit test Files for VTN-Manager Neutron Files.

Change-Id: Ie2652a66d36c43a5ac60f7de297dca28d918eb94
Signed-off-by: Arthi.b <arthi.b@hcl.com>
9 years agoBug 4961: Fix for audit failure in VTN 51/32551/2
bharathi.m [Tue, 12 Jan 2016 09:34:03 +0000 (15:04 +0530)]
Bug 4961: Fix for audit failure in VTN
Coordinator

Signed-off-by: bharathi.m <bharathi.m@hcl.com>
Change-Id: I5515d41e9f48a33eeef53d142f0bba0fcac4725c

9 years agoModified Flowfilter,Flowfilterentry keytypes in VTN 23/32323/6
yogalakshmi.pa [Sun, 10 Jan 2016 16:44:34 +0000 (22:14 +0530)]
Modified Flowfilter,Flowfilterentry keytypes in VTN
Coordinator to invoke VTN Manager RPC.

* Supported operations are vtn_flowfilter,vbr_flowfilter,
  vbrif_flowfilter and vtermif_flowfilter.

Change-Id: Ibc623680f9fd5d277659330f82473571833fa223
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
9 years agoModified Flowlist,FLowlistentry Keytypes in VTN Coordinator 75/31975/16
yogalakshmi.pa [Thu, 31 Dec 2015 20:47:47 +0000 (02:17 +0530)]
Modified Flowlist,FLowlistentry Keytypes in  VTN Coordinator
to invoke VTN Manager RPC

Change-Id: Ib35d0929c231cb9aa70417c965aa4d6db7716e26
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
9 years agoFixed bug of MAC mapping RPCs. 92/32292/1
Shigeru Yasuda [Fri, 8 Jan 2016 18:02:13 +0000 (03:02 +0900)]
Fixed bug of MAC mapping RPCs.

  * Duplicate hosts in allowed-hosts should be eliminated.

Change-Id: Idad6caf5a6610173281a03b334f65c6301f70663
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoIncrease integration test coverage. 22/32222/1
Shigeru Yasuda [Thu, 7 Jan 2016 13:47:24 +0000 (22:47 +0900)]
Increase integration test coverage.

  * Flow condition

Change-Id: I7f8fbf62fe27256acd6c42f3a88e341f65aa2d80
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoIncrease integration test coverage. 84/32184/1
Shigeru Yasuda [Wed, 6 Jan 2016 12:14:18 +0000 (21:14 +0900)]
Increase integration test coverage.

  * Path map

Change-Id: Iae5ab95ff9d33ec147c9ef4dc6f79b88a08bbeb6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoBug 4885: Fixed coordinator UT error on Fedora 22 (x86_64). 72/32172/1
Shigeru Yasuda [Wed, 6 Jan 2016 09:31:23 +0000 (18:31 +0900)]
Bug 4885: Fixed coordinator UT error on Fedora 22 (x86_64).

Change-Id: Ia8ee6ecbf99e93c4685dd2944c3f943477b10f2c
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Modify VTN Coordinator to invoke VTN RPC instead of REST API"
Sarath Babu Gurujala [Tue, 5 Jan 2016 12:28:07 +0000 (12:28 +0000)]
Merge "Modify VTN Coordinator to invoke VTN RPC instead of REST API"

9 years agoModify VTN Coordinator to invoke VTN RPC instead of REST API 06/31606/19
yogalakshmi.pa [Fri, 18 Dec 2015 20:49:56 +0000 (02:19 +0530)]
Modify VTN Coordinator to invoke VTN RPC instead of REST API

* Supported operations are Vtn, Vbridge, Vterminal,
  Vbr_vlanmap, Vbrif, Vtermif, Vbrif_portmap, Vtermif_portmap.
* Audit is working.
* Disabled UT temporarily.

Change-Id: Ib34b620ee14677753a88985e2c09d5ad01ff2edc
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
9 years agoIncrease integration test coverage. 67/32067/2
Shigeru Yasuda [Mon, 4 Jan 2016 10:25:37 +0000 (19:25 +0900)]
Increase integration test coverage.

  * Flow filter
  * Path policy

Change-Id: I2b9c58fa298b53fd65f7b90a7969dc5810730087
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Added strict verification of vnode-path-fields."
Hideyuki Tai [Tue, 29 Dec 2015 00:56:53 +0000 (00:56 +0000)]
Merge "Added strict verification of vnode-path-fields."

9 years agoMerge "Bug 4839: Reduce unnecessary barrier request on remove-flow RPC call."
Hideyuki Tai [Tue, 29 Dec 2015 00:53:58 +0000 (00:53 +0000)]
Merge "Bug 4839: Reduce unnecessary barrier request on remove-flow RPC call."

9 years agoSplit too large integration test class. 04/31904/1
Shigeru Yasuda [Mon, 28 Dec 2015 04:50:53 +0000 (13:50 +0900)]
Split too large integration test class.

Change-Id: I276fcc873e07da95419470d02a358867f27afff5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoRefactoring: Use DS transaction specific logger. 80/31880/1
Shigeru Yasuda [Fri, 25 Dec 2015 16:40:03 +0000 (01:40 +0900)]
Refactoring: Use DS transaction specific logger.

Change-Id: I52e6a75979fcbc12f238e758a6157aded47f1d09
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoAdded strict verification of vnode-path-fields. 78/31878/1
Shigeru Yasuda [Fri, 25 Dec 2015 14:32:58 +0000 (23:32 +0900)]
Added strict verification of vnode-path-fields.

A vnode-path-fields should be treated as an invalid path if it does not
specify the virtual bridge though it specifies the virtual interface.

Change-Id: I16f6328581fa8ff8e6d478d2974fac65bf0d87d7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoSuppress sonar warnings. 65/31865/2
Shigeru Yasuda [Thu, 24 Dec 2015 10:41:46 +0000 (19:41 +0900)]
Suppress sonar warnings.

  * Declarations should use Java collection interfaces such as "List"
    rather than specific implementation classes such as "LinkedList"

Change-Id: Ie5b438854f063456de08f6299755ef295bfb2443
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoBug 4839: Reduce unnecessary barrier request on remove-flow RPC call. 61/31861/2
Shigeru Yasuda [Thu, 24 Dec 2015 06:12:12 +0000 (15:12 +0900)]
Bug 4839: Reduce unnecessary barrier request on remove-flow RPC call.

Change-Id: I97bddad29371f5972de72ec1030c38b370e23a99
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Added MD-SAL clustering support."
Hideyuki Tai [Wed, 23 Dec 2015 22:35:44 +0000 (22:35 +0000)]
Merge "Added MD-SAL clustering support."

9 years agoSuppress sonar warnings. 64/31764/2
Shigeru Yasuda [Tue, 22 Dec 2015 10:17:03 +0000 (19:17 +0900)]
Suppress sonar warnings.

  * Security - Array is stored directly

Change-Id: I691bca12209e14088fa1745b15f2aecf6e030555
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoAdded MD-SAL clustering support. 87/31687/1
Shigeru Yasuda [Mon, 21 Dec 2015 10:39:49 +0000 (19:39 +0900)]
Added MD-SAL clustering support.

  * Use ClusteredDataChangeListener as appropriate.
  * Changed default value of vtn-config.init-timeout to 10 seconds.

Change-Id: I6d732bf1d6ff3c993c4b974d2b5d01caba4942e6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoRemoved unused file. 86/31686/1
Shigeru Yasuda [Mon, 21 Dec 2015 10:37:03 +0000 (19:37 +0900)]
Removed unused file.

Change-Id: Ia78878069514146426c6901e07326d1b94559ba1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Removed listconfig application"
Sarath Babu Gurujala [Mon, 21 Dec 2015 09:35:49 +0000 (09:35 +0000)]
Merge "Removed listconfig application"

9 years agoRemoved listconfig application 86/31586/4
ananthip [Fri, 18 Dec 2015 09:51:55 +0000 (15:21 +0530)]
Removed listconfig application

Change-Id: I00d0c60d512dc5854bab39d81f43e6291011f6cf
Signed-off-by: ananthip <ananthip@hcl.com>
9 years agoMerge "Fix Comments and space in neutron xml/yang files."
Sarath Babu Gurujala [Sat, 19 Dec 2015 11:05:33 +0000 (11:05 +0000)]
Merge "Fix Comments and space in neutron xml/yang files."

9 years agoFix Comments and space in neutron xml/yang files. 79/30179/4
ananthip [Wed, 25 Nov 2015 09:46:39 +0000 (15:16 +0530)]
Fix Comments and space in neutron xml/yang files.

   * Fixed misleading description in vtn-neutron yang file
   * Fixed the space in config xml file

Change-Id: Ib767c0c7fb683e377c1ead0696bb1fd9264d6f7a
Signed-off-by: ananthip <ananthip@hcl.com>
9 years agoMerge "Add profiles to enable vtncoordinator and vtnapps"
Hideyuki Tai [Thu, 17 Dec 2015 02:22:09 +0000 (02:22 +0000)]
Merge "Add profiles to enable vtncoordinator and vtnapps"

9 years agoMerge "Use new MD-SAL notification API."
Hideyuki Tai [Thu, 17 Dec 2015 00:49:06 +0000 (00:49 +0000)]
Merge "Use new MD-SAL notification API."

9 years agoMerge "Ignore IntelliJ files"
Shigeru Yasuda [Wed, 16 Dec 2015 17:21:07 +0000 (17:21 +0000)]
Merge "Ignore IntelliJ files"

9 years agoIgnore IntelliJ files 62/31462/1
Stephen Kitt [Wed, 16 Dec 2015 16:11:00 +0000 (17:11 +0100)]
Ignore IntelliJ files

Change-Id: Ie696aa46f2cce2595b7ffd92cf1b8a6362353865
Signed-off-by: Stephen Kitt <skitt@redhat.com>
9 years agoUse odlparent-provided versions of junit and hamcrest 60/31460/1
Stephen Kitt [Wed, 16 Dec 2015 16:01:48 +0000 (17:01 +0100)]
Use odlparent-provided versions of junit and hamcrest

it/util is currently disabled, but for consistency's sake, this patch
pulls the versions of junit and hamcrest defined in odlparent.

Change-Id: I8075f40091ea5fc7a0a070d4a013adc09e920ccf
Signed-off-by: Stephen Kitt <skitt@redhat.com>
9 years agoUse new MD-SAL notification API. 14/31414/1
Shigeru Yasuda [Wed, 16 Dec 2015 10:04:55 +0000 (19:04 +0900)]
Use new MD-SAL notification API.

Change-Id: I24b3fe8d0643c4f1fa92139852e36284a7c3a8de
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMigrated integration tests to MD-SAL. 01/31401/1
Shigeru Yasuda [Wed, 16 Dec 2015 06:39:42 +0000 (15:39 +0900)]
Migrated integration tests to MD-SAL.

Change-Id: I481521ef7abe219b029de49744d1ff7e8427d501
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoAdd profiles to enable vtncoordinator and vtnapps 32/31232/1
gvrangan [Wed, 9 Dec 2015 14:05:43 +0000 (06:05 -0800)]
Add profiles to enable vtncoordinator and vtnapps

This patch adds 2 profiles vtncoordinator and vtnapps to allow users to
enable each feature respectively. Both profiles are disabled by default
and can be enabled as part of a Maven build by setting
-Pvtncoordinator,vtnapps.

Alternatively the 2 profiles can be enabled via passing a parameter
-Djenkins. This is useful for OpenDaylight CI to ensure these features
are activated during CI builds.

Change-Id: I19c26e2be0160742223f7f202ab58b0369fe286b
Also-by: Thanh Ha
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoBug 4765: Reject negative DPID in node-id or node-connector-id. 19/31219/1
Shigeru Yasuda [Fri, 11 Dec 2015 20:29:27 +0000 (05:29 +0900)]
Bug 4765: Reject negative DPID in node-id or node-connector-id.

Change-Id: Ib265cbd8a58388df178a87ec5eefe45d66fc9bc7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed bug that set invalid vTerminal state. 10/31210/1
Shigeru Yasuda [Fri, 11 Dec 2015 17:23:20 +0000 (02:23 +0900)]
Fixed bug that set invalid vTerminal state.

If a new disabled virtual interface is added to a vTerminal,
the vTerminal state should not be changed to DOWN.

Change-Id: Icab3f4c97da3af97a2976c856b9afcd47de77bb5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoRevert "Don't build VTN Coordinator and apps by default." 81/31181/1
Shigeru Yasuda [Fri, 11 Dec 2015 08:13:31 +0000 (08:13 +0000)]
Revert "Don't build VTN Coordinator and apps by default."

This reverts commit d5f175269d98aea6e366f6b3995ac30fe07b4b62
because it breaks autorelease build.

Change-Id: Ifde71c2ffc702f011870fe53c5e7148f2c24330d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoDon't build VTN Coordinator and apps by default. 96/31096/4
gvrangan [Wed, 9 Dec 2015 14:05:43 +0000 (06:05 -0800)]
Don't build VTN Coordinator and apps by default.

  * Build the VTN Coordinator only if vtncoordinator profile is
    activated.

  * Build VTN applications only if vtnapps profile is activated.

Change-Id: Ie61b0d20107e09859cdf45987ed3869bf07b99f5
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoReduced sonar warnings. 95/30995/1
Shigeru Yasuda [Tue, 8 Dec 2015 17:04:56 +0000 (02:04 +0900)]
Reduced sonar warnings.

  * Methods should not be too complex.
  * Declarations should use Java collection interfaces such as "List"
    rather than specific implementation classes such as "LinkedList"
  * Avoid cycle between java packages
  * Collapsible "if" statements should be merged
  * Unused local variables should be removed
  * Unused private fields should be removed
  * Singular Field
  * String literals should not be duplicated
  * Useless imports should be removed

Change-Id: Ic5edefa8f9d92f7f5b54e89692ada674503c58b7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoBug 4710: Fixed bug that set invalid error tag into RPC result. 57/30557/2
Shigeru Yasuda [Thu, 3 Dec 2015 14:58:48 +0000 (23:58 +0900)]
Bug 4710: Fixed bug that set invalid error tag into RPC result.

Change-Id: I81fa0d4dafe64cb1b3b36016788671843087ccc8
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoRemoved all the AD-SAL APIs. 76/30476/1
Shigeru Yasuda [Wed, 2 Dec 2015 10:26:21 +0000 (19:26 +0900)]
Removed all the AD-SAL APIs.

VTN no longer depends on AD-SAL.

  * This patch disables integration tests temporarily.
    It will be enabled again when it is migrated to MD-SAL.
  * Reduced lint warnings.
  * Refined some unit tests.

Change-Id: I03a2f6dae300488be8e2a9965e4c8d6f75d836a4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoRemoved use of AD-SAL in manager.neutron. 96/30296/3
Shigeru Yasuda [Fri, 27 Nov 2015 14:25:36 +0000 (23:25 +0900)]
Removed use of AD-SAL in manager.neutron.

Other changes:

  * Moved all internal classes to neutron.impl package so that they are
    not exported to other bundles.
  * Fixed bug that manager.neutron might break DatapathId specified by
    ovsdb.
  * Use InstanceIdentifierBuilder when manager.neutron creates an instance
    identifier that contains more than one path components.
  * Use new version of InstanceIdentifier.firstKeyOf().
  * Eliminate use of invalid doclet.
  * Suppressed FindBugs warnings.

Change-Id: I88582a81e0dcf08aded33b1f6bf4c402dccb2882
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed unstable unit test for VTN Coordinator. 23/30423/1
Shigeru Yasuda [Tue, 1 Dec 2015 07:31:12 +0000 (16:31 +0900)]
Fixed unstable unit test for VTN Coordinator.

  * upll (vbr_entry_test.Redirect_Field_2)
    Fixed unstable test due to uninitialized memory.

Change-Id: I546335167c2b00c7c3f81385942860728e2f2e55
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoBuild VTN Manager API javadoc only if "docs" profile is activated. 89/30189/3
Shigeru Yasuda [Wed, 25 Nov 2015 11:09:07 +0000 (20:09 +0900)]
Build VTN Manager API javadoc only if "docs" profile is activated.

  * Use maven plugins specified by odlparent.
    * maven-javadoc-plugin
    * maven-dependency-plugin
    * build-helper-maven-plugin

Change-Id: I1e9e1ef5a03c898f452a42045a55d35525d8c1b6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMoved config file from manager.config to manager.implementation. 15/30115/1
Shigeru Yasuda [Tue, 24 Nov 2015 04:02:57 +0000 (13:02 +0900)]
Moved config file from manager.config to manager.implementation.

Change-Id: Ibbb0d25ee386bafa231f3144cf884f0e02612c89
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoSwitch to enunciate-2.1.1 98/30098/2
Robert Varga [Mon, 23 Nov 2015 23:45:30 +0000 (00:45 +0100)]
Switch to enunciate-2.1.1

Enunciate2 supports JDK8, switch to using it.

Change-Id: I05e0ce9787e45fa4a419aeac832758b2f944d301
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
9 years agoMigrated VTN Manager to MD-SAL. 33/30033/1
Shigeru Yasuda [Sat, 21 Nov 2015 00:56:16 +0000 (09:56 +0900)]
Migrated VTN Manager to MD-SAL.

Legacy AD-SAL APIs will be removed by Berrylium release.

Change-Id: I38511f239c1f2d92c0b58dca0d1b5e170ed607ad
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed unstable unit test for VTNThreadPool. 74/29974/2
Shigeru Yasuda [Fri, 20 Nov 2015 10:29:56 +0000 (19:29 +0900)]
Fixed unstable unit test for VTNThreadPool.

Change-Id: I581a9b268f4ab634d1b9ca61220bcaa111a87a19
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed IT breakage. 10/29910/1
Shigeru Yasuda [Thu, 19 Nov 2015 03:05:02 +0000 (12:05 +0900)]
Fixed IT breakage.

  * it.core: (SwitchLink): VtnLink.isStaticLink() will return default
    value if its value is not specified.

Change-Id: I360471df0c430ec7abb267447a2e610269fccacc
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed IT breakage. 37/29637/1
Shigeru Yasuda [Fri, 13 Nov 2015 08:51:12 +0000 (17:51 +0900)]
Fixed IT breakage.

  * ownermock: Implemented a new interface of EntityOwnershipService.

Change-Id: I2351b55312fbca84e8a5127d11ab5bb9978605a0
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoSupport VTN Neutron User Configurable Properties 85/29285/6
gvrangan [Wed, 4 Nov 2015 18:31:05 +0000 (10:31 -0800)]
Support VTN Neutron User Configurable Properties

 * Earlier vtn.ini file was used
 * Values can now be modified in 90-vtn.xml

Change-Id: I426c55b492a6fb53a3170b0e5d68824beef77cab
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoMerge "Update YANG models for VTN Manager API."
Hideyuki Tai [Thu, 12 Nov 2015 16:39:17 +0000 (16:39 +0000)]
Merge "Update YANG models for VTN Manager API."

9 years agoMerge "Added static method for conversion from ipv4-address to Ip4Network."
Hideyuki Tai [Thu, 12 Nov 2015 16:24:25 +0000 (16:24 +0000)]
Merge "Added static method for conversion from ipv4-address to Ip4Network."

9 years agoUpdate YANG models for VTN Manager API. 91/29591/1
Shigeru Yasuda [Thu, 12 Nov 2015 12:09:47 +0000 (21:09 +0900)]
Update YANG models for VTN Manager API.

  vtn-mac-map.yang
    * Use the singular word as the list name.
    * Added switch port information to the MAC mapped host information.
  vtn-vlan-map-yang
    * Added more description about remove-vlan-map RPC.

Change-Id: I9586e961b1497776c5353193145db127bd4e2377
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Added a tunable parameter for host tracking."
Hideyuki Tai [Thu, 12 Nov 2015 02:09:53 +0000 (02:09 +0000)]
Merge "Added a tunable parameter for host tracking."

9 years agoAdded static method for conversion from ipv4-address to Ip4Network. 54/29554/2
Shigeru Yasuda [Wed, 11 Nov 2015 16:04:29 +0000 (01:04 +0900)]
Added static method for conversion from ipv4-address to Ip4Network.

Change-Id: I60fb14f26f348aff3124ce2281e1da7d8272f936
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoAdded a tunable parameter for host tracking. 44/29544/1
Shigeru Yasuda [Wed, 11 Nov 2015 11:57:16 +0000 (20:57 +0900)]
Added a tunable parameter for host tracking.

host-tracking field in vtn-config keeps a boolean value that determines
whether to enable host tracking for hosts learned in the vBridge.

Change-Id: I3c4a6a2b6a43ce077f367456e00c89c8063e2232
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoUse entity ownership service to implement global task in a cluster. 22/29522/1
Shigeru Yasuda [Tue, 10 Nov 2015 21:39:31 +0000 (06:39 +0900)]
Use entity ownership service to implement global task in a cluster.

This patch defines the following global entities in a cluster.

  * VTN configuration
  * Periodic timer task that collects flow statistics.

Change-Id: Ic35f29fc5a2efcb4902cc487865dec0b57170e6b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoRefine POM hierarchy for sonar build. 77/29377/1
Shigeru Yasuda [Fri, 6 Nov 2015 10:26:46 +0000 (19:26 +0900)]
Refine POM hierarchy for sonar build.

  * Import common module from the root POM.
  * Build applications on sonar build.

Change-Id: If5a1da6e900d607c55265fab8a9fcbb4583d8cfd
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed build error due to upgrade of spring framework. 44/29244/1
Shigeru Yasuda [Wed, 4 Nov 2015 09:16:00 +0000 (18:16 +0900)]
Fixed build error due to upgrade of spring framework.

This patch downgrades spring framework locally, and downgrades AD-SAL
to Lithium release. This is just a temporary fix and will be removed
when VTN is fully migrated to MD-SAL.

Change-Id: Ib87d32dddcc48c04118ad3553b20e84160aca331
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed typo in comment. 48/29048/2
Hideyuki Tai [Fri, 30 Oct 2015 17:01:19 +0000 (10:01 -0700)]
Fixed typo in comment.

Parameter "logicalDatastoreType" was documented more than once.

Change-Id: Ia133e71d4d4cdf556892218599eceb856419ea61
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoFixed unstable JUnit test for VTN Coordinator. 01/29101/1
Shigeru Yasuda [Mon, 2 Nov 2015 02:55:42 +0000 (11:55 +0900)]
Fixed unstable JUnit test for VTN Coordinator.

Change-Id: I36c36a28bfeba261d6916ce435632a6335327319
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Disable verbose logging in upll UT."
Hideyuki Tai [Fri, 30 Oct 2015 20:56:36 +0000 (20:56 +0000)]
Merge "Disable verbose logging in upll UT."

9 years agoDisable verbose logging in upll UT. 41/29041/1
Shigeru Yasuda [Fri, 30 Oct 2015 17:35:53 +0000 (02:35 +0900)]
Disable verbose logging in upll UT.

upll UT may break the terminal by printing uninitialized string
if verbose logging is enabled.

Change-Id: Ia22113deef937cd16e2e40ca79eba655fe94d11e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed makefile for odcdriver. 40/29040/1
Shigeru Yasuda [Fri, 30 Oct 2015 17:30:05 +0000 (02:30 +0900)]
Fixed makefile for odcdriver.

  * Don't modify any file under core directory.
  * Don't define local rules before including common rules.
  * Don't create python byte code (parser.pyc).

Change-Id: Ic92bf881dad2f2b6d58670b17796e8d4496bacb5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoUpdate YANG models for VTN Manager API. 36/29036/1
Shigeru Yasuda [Fri, 30 Oct 2015 16:21:01 +0000 (01:21 +0900)]
Update YANG models for VTN Manager API.

  remove-vlan-map
    Added missing vBridge path to input.
  set-mac-map-acl
    Added missing output.
  get-mac-mapped-host
    Added "configured" field to output.

Change-Id: I01b95c8892f7739e2ef64d79871650ab8b433ae4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Refactor switches/ports data collection"
Sarath Babu Gurujala [Thu, 29 Oct 2015 06:29:58 +0000 (06:29 +0000)]
Merge "Refactor switches/ports data collection"

9 years agoRefactor switches/ports data collection 03/28503/8
bharathi.m [Fri, 16 Oct 2015 17:38:05 +0000 (23:08 +0530)]
Refactor switches/ports data collection

  * Spec files created based on restconf yang file (nodes.rest,port.rest)
  * Code_gen.py script will convert .rest files into .hh files.
  * The generated util classes will be used in source to use the RESTCONF url
    and fetch the information.

Change-Id: Ic58ac80e3775e1e470572f3d9228dd3e54cf7566
Signed-off-by: bharathi.m <bharathi.m@hcl.com>
9 years agoVTN Manager - Neutron Feature 07/28707/4
ananthip [Thu, 22 Oct 2015 18:52:55 +0000 (00:22 +0530)]
VTN Manager - Neutron Feature

* Implementation of the Neutron Networks and Ports Data Listeners
* Implementation of the ovsdb ports listener
* Completes the support for Openstack Integration

Change-Id: I2f10394732d785c9763ed563334243111fe2e2b4
Signed-off-by: ananthip <ananthip@hcl.com>
9 years agoMerge "Import AD-SAL packet parser/generator."
Hideyuki Tai [Mon, 19 Oct 2015 21:56:58 +0000 (21:56 +0000)]
Merge "Import AD-SAL packet parser/generator."

9 years agoImport AD-SAL packet parser/generator. 15/28515/1
Shigeru Yasuda [Fri, 16 Oct 2015 17:12:02 +0000 (02:12 +0900)]
Import AD-SAL packet parser/generator.

Although packet parser is located in manager bundle, it is only for
VTN internal use.

Change-Id: I31d239d032fdc04d73e3288ca1e22f96c588dc8b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed problems in manager.neutron module. 06/28506/3
Shigeru Yasuda [Fri, 16 Oct 2015 12:48:29 +0000 (21:48 +0900)]
Fixed problems in manager.neutron module.

  * Use manager.common.yang as a parent.
  * Don't define version of required modules in manager.neutron POM.
    It should be centralized in manager.common POM.
    * Current ovsdb version is 1.2.1-SNAPSHOT, not 1.2.0-SNAPSHOT.
  * Added missing source file for vtn-neutron module factory.
  * Suppress checkstyle warnings.
  * Added vtn-provider to vtn-neutron's capability.
  * Don't create maven meta data in the source directory.

Change-Id: I3714903187c1fbdb7f4bdf85ea38baf7f88c72c1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Update YANG models for VTN Manager API."
Hideyuki Tai [Tue, 13 Oct 2015 23:38:52 +0000 (23:38 +0000)]
Merge "Update YANG models for VTN Manager API."

9 years agoMerge "Added utilities for migrating to MD-SAL."
Hideyuki Tai [Tue, 13 Oct 2015 23:34:05 +0000 (23:34 +0000)]
Merge "Added utilities for migrating to MD-SAL."

9 years agoUpdate YANG models for VTN Manager API. 99/28199/6
Shigeru Yasuda [Fri, 9 Oct 2015 08:07:22 +0000 (17:07 +0900)]
Update YANG models for VTN Manager API.

  vtn.yang
    * Renamed remove-tenant RPC to remove-vtn.
  vtn-mac-map.yang
    * Added vlan-id field to mapped-hosts that indicates VLAN ID where
      the host is detected.
  vtn-mac-table.yang
    * Added an internal field for MAC address aging.
    * Added an internal field for IP address probing.
    * Added more description for remove-mac-entry RPC.
  vtn-flow-filter.yang
    * Added more description for remove-flow-filter RPC.

Change-Id: Id0962ae14cdc1ae8b5fda230e77450661e070646
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoIntegrate VTN MAnager to OVSDB Southbound Impl 77/27677/15
kavitha.ma [Wed, 30 Sep 2015 05:57:35 +0000 (11:27 +0530)]
Integrate VTN MAnager to OVSDB Southbound Impl

  *  Handle new OVS node addition to the network

Change-Id: Ib349b8aa08835d8eb96d21c26419ad0dfe0e2c26
Signed-off-by: kavitha.ma <kavitha.ma@hcl.com>
9 years agoAdded utilities for migrating to MD-SAL. 17/28317/1
Shigeru Yasuda [Tue, 13 Oct 2015 08:47:00 +0000 (17:47 +0900)]
Added utilities for migrating to MD-SAL.

  * Added conversion between IpNetwork and ip-address.
  * Added XML adapter for vlan-id.
  * Removed use of AD-SAL enums, EtherTypes and IPProtocols.

Change-Id: Ie878990b4374afeec907c2b3775f809b27a9c0e8
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoBug 4427: Clear cached flow conditions on transaction cancel. 26/28226/1
Shigeru Yasuda [Wed, 7 Oct 2015 14:25:23 +0000 (23:25 +0900)]
Bug 4427: Clear cached flow conditions on transaction cancel.

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

9 years agoFixed build error with JDK8. 23/28223/2
Shigeru Yasuda [Fri, 9 Oct 2015 18:37:44 +0000 (03:37 +0900)]
Fixed build error with JDK8.

  * Fixed unit test failure with JDK8.
    JDK8 JAXB seems not to call setter method on unmarshalling if
    @XmlElement is set on property method and its type is collection
    (e.g. List).
  * Don't run enunciate with JDK8.

Change-Id: I0df9727b7a7e7298b8ec30925ef1a1cd7214bd32
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoUpdated UT code for VTN Manager Neutron. 72/28072/2
Hideyuki Tai [Thu, 8 Oct 2015 10:47:15 +0000 (03:47 -0700)]
Updated UT code for VTN Manager Neutron.

This change fixes the compilation failure which is introduced by the
recent change in Neutron project.
https://git.opendaylight.org/gerrit/#/c/25500/
In the above patch, the Neutron project added public new methods to
NeutronObject class in the org.opendaylight.neutron.spi package, and
this caused the compilation failure.

Change-Id: I2214ccef8d21b6ec9b25ac4f82956417b449f47f
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoMerge "Set presence statement to config and status containers."
Hideyuki Tai [Fri, 2 Oct 2015 21:51:14 +0000 (21:51 +0000)]
Merge "Set presence statement to config and status containers."

9 years agoSet presence statement to config and status containers. 40/27840/1
Shigeru Yasuda [Fri, 2 Oct 2015 19:24:41 +0000 (04:24 +0900)]
Set presence statement to config and status containers.

Config and status containers should be visible even if empty.

Change-Id: If926d745c9e732ff4fb1d5646cc105aec4f30a93
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoUse new version of InstanceIdentifier.firstKeyOf(). 39/27839/1
Shigeru Yasuda [Fri, 2 Oct 2015 18:48:32 +0000 (03:48 +0900)]
Use new version of InstanceIdentifier.firstKeyOf().

Change-Id: If2de0bf3efb07eb2405a3c9ea28ba56e6d379dd2
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoUse SLF4J log message format as possible in internal logging API. 38/27838/1
Shigeru Yasuda [Fri, 2 Oct 2015 17:51:51 +0000 (02:51 +0900)]
Use SLF4J log message format as possible in internal logging API.

Change-Id: Ic8da5a0b0b7627c4c037cd35d8ff3fb89243b848
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoChanged internal logging API. 30/27830/1
Shigeru Yasuda [Fri, 2 Oct 2015 14:40:49 +0000 (23:40 +0900)]
Changed internal logging API.

Change-Id: Ia42396ea659b0e821dad3194d7336fa95ce5b205
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed IT breakage. 09/27809/2
Shigeru Yasuda [Fri, 2 Oct 2015 11:47:43 +0000 (20:47 +0900)]
Fixed IT breakage.

  * Extend OSGi bundle load timeout to 10 minutes.
  * Added missing capabilities.
  * Don't use AD-SAL northbound bundlescanner.
    * AD-SAL bundlescanner is no longer available because of asm-all
      version up.
  * Extend heap size for test VM.
  * Kill test VM after 20 minutes.

Change-Id: I95851181ad05f2e57c60714464877bba40977ba6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoDefine public YANG models for all the VTN functionalities. 15/26715/6
Shigeru Yasuda [Wed, 9 Sep 2015 10:53:31 +0000 (19:53 +0900)]
Define public YANG models for all the VTN functionalities.

Note that this patch includes only YANG models. Implementations for those
models will be added later.

Change-Id: I4f03539044205851345f5023bc872105fdab821d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoRemove use of AD-SAL I/F in vtn-port-desc check. 71/27571/1
Shigeru Yasuda [Tue, 29 Sep 2015 07:26:16 +0000 (16:26 +0900)]
Remove use of AD-SAL I/F in vtn-port-desc check.

Change-Id: Id9e36e47ab09d202191eb6bc35eebc3594b491a3
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFIX for VTN Manager Neutron build fail due to Neutron Patch - 27003 57/27357/2
ananthip [Wed, 23 Sep 2015 14:15:37 +0000 (19:45 +0530)]
FIX for VTN Manager Neutron build fail due to Neutron Patch - 27003

  * Added implementation for INeutronCRUD in NeutronPortCRUDStub.java.

Change-Id: Ia192fc19e1ddb9f79f1620914e49c4f344e89f35
Signed-off-by: ananthip <ananthip@hcl.com>
9 years agoMerge "Bug 4286: Fix for VTN FlowFilter delete issue in UPLL module"
Sarath Babu Gurujala [Wed, 23 Sep 2015 09:49:16 +0000 (09:49 +0000)]
Merge "Bug 4286: Fix for VTN FlowFilter delete issue in UPLL module"

9 years agoFixed incorrect unit test for JAXB unmarshalling. 62/27162/1
Shigeru Yasuda [Fri, 18 Sep 2015 13:47:31 +0000 (22:47 +0900)]
Fixed incorrect unit test for JAXB unmarshalling.

Change-Id: I99402f301deb3f91315b88d64f7cf88d7700331b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoUses vtn-flow-action-list in vtn-data-flow-info. 50/27150/1
Shigeru Yasuda [Fri, 18 Sep 2015 09:35:13 +0000 (18:35 +0900)]
Uses vtn-flow-action-list in vtn-data-flow-info.

data-flow-action list, which indicates flow actions to be applied to
packets, was renamed to vtn-flow-action.

Change-Id: I26edc4d4a091b3384e6bee00c5008dcf9bdb665c
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoPrepare to clean up AD-SAL Status and StatusCode. 36/27136/1
Shigeru Yasuda [Thu, 17 Sep 2015 19:28:06 +0000 (04:28 +0900)]
Prepare to clean up AD-SAL Status and StatusCode.

Change-Id: Ic10263d6fbbbce5bb23e1995b5469ca6cd5ca141
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>