vtn.git
9 years agoBUG 5189: Fix for portmap creation with vlan-id issue. 37/34237/1
yogalakshmi.pa [Thu, 4 Feb 2016 17:29:57 +0000 (22:59 +0530)]
BUG 5189: Fix for portmap creation with vlan-id issue.

* Portmap creation fails when vlan-id is configured
* Addressed the same for vbrif and vterminalif portmap
  configuration

Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
Change-Id: Ib6003c3e1fdabbccfe41992ccdaf414971245f35
(cherry picked from commit e6217c57f66a6174d896e91a160074c85d5b2792)

9 years agoMerge "Bug 5123: Fixed stand-alone flowcondition delete issue."
Sarath Babu Gurujala [Mon, 8 Feb 2016 09:23:18 +0000 (09:23 +0000)]
Merge "Bug 5123: Fixed stand-alone flowcondition delete issue."

9 years agoMerge "Bug 5063: Supress debug statements in VTN Coordinator build."
Sarath Babu Gurujala [Mon, 8 Feb 2016 09:22:41 +0000 (09:22 +0000)]
Merge "Bug 5063: Supress debug statements in VTN Coordinator build."

9 years agoBug 5123: Fixed stand-alone flowcondition delete issue. 30/34230/1
yogalakshmi.pa [Thu, 28 Jan 2016 19:27:51 +0000 (00:57 +0530)]
Bug 5123: Fixed stand-alone flowcondition delete issue.

* Fixed the stand-alone flowcondition delete issue
  in ODCdriver module which was present in VTNManager
  even after the flowfilter was deleted.

Change-Id: I6804810e8758c1101b9590b79ec357f66cbe2634
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
(cherry picked from commit 42e54bbd235fba75363014f244450f2c03297ab2)

9 years agoBug 5122: Fixed build issues reported in Ubuntu14.04 28/34228/1
yogalakshmi.pa [Thu, 28 Jan 2016 14:56:50 +0000 (20:26 +0530)]
Bug 5122: Fixed build issues reported in Ubuntu14.04

* Ubuntu 14.04 uses gcc 4.8.2
* Compilation warnings reported are addressed

Change-Id: I63b66f56f5398b1a3fc28195ed409199ced59aba
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
(cherry picked from commit 6a4229fc08bc4de53e5627aa15f00b8b98539409)

9 years agoBug 5063: Supress debug statements in VTN Coordinator build. 27/34227/1
yogalakshmi.pa [Thu, 28 Jan 2016 12:57:30 +0000 (18:27 +0530)]
Bug 5063: Supress debug statements in VTN Coordinator build.

* Supressing the debug statements in the Auto-generated script
  of ODCdriver module build.

Change-Id: I170cf321b2b3f418a8f5a3da5889a410464a4e34
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
(cherry picked from commit 22f93095b0d9176516b250a2afe7f7db5339930d)

9 years agoBUG 4965: Fetch issue with KT_VTN_DATAFLOWS 23/34223/1
yogalakshmi.pa [Wed, 27 Jan 2016 17:24:37 +0000 (22:54 +0530)]
BUG 4965: Fetch issue with KT_VTN_DATAFLOWS

* Incorrect valid flag value set for Match count
  attribute in val_flow_cmn structure.
* Incorrect format of the  Logical port-id value.
* Incorrect interface state assigned to interfaces,
  resulted in issues in port mapped interfaces.

Change-Id: I77c1040fa658af39d107a0be265bc7c909969603
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
(cherry picked from commit d2a6a1daabb72877c36523116cfb77ea420d94f5)

9 years agoBug 5236: Fixed inappropriate node name in VTN configuration file. 12/34112/1
Shigeru Yasuda [Thu, 4 Feb 2016 14:52:09 +0000 (23:52 +0900)]
Bug 5236: Fixed inappropriate node name in VTN configuration file.

  * Use <vinterface> for virtual interface configuration.

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

9 years agoFixed typo and wrong indentation. 75/33875/1
Hideyuki Tai [Fri, 15 Jan 2016 17:15:06 +0000 (09:15 -0800)]
Fixed typo and wrong indentation.

Change-Id: I1f2fc4c17af9626877fa85ff5ab5c9d065f3d842
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
(cherry picked from commit 425a8d6af633eec6f9dcf8cfbfd16cea750d62f1)

9 years agoBUG-2625: do not pull in mockito-all 73/33673/3
Robert Varga [Wed, 27 Jan 2016 21:43:18 +0000 (22:43 +0100)]
BUG-2625: do not pull in mockito-all

Mockito-all seems to conflict with pax-exam, pull in only the bare
needed things.

Change-Id: I55452c0b6032a71adad91c13cfb30b1acf97c70f
Signed-off-by: Robert Varga <rovarga@cisco.com>
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoBUG-2625: bump to equinox 3.9.1 72/33672/1
Robert Varga [Wed, 27 Jan 2016 21:43:06 +0000 (22:43 +0100)]
BUG-2625: bump to equinox 3.9.1

Change-Id: If1268c6ac57d04d561d55e09024ad8f5334299e8
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRun integration tests without openflowplugin application. 18/33618/2
Shigeru Yasuda [Wed, 27 Jan 2016 11:22:25 +0000 (20:22 +0900)]
Run integration tests without openflowplugin application.

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

9 years agoBug 4772 Fix to add ethernet interface as port to the bridge. 85/33585/1
gvrangan [Fri, 22 Jan 2016 22:15:33 +0000 (17:15 -0500)]
Bug 4772 Fix to add ethernet interface as port to the bridge.

addPortToBridge method was adding the termination point
to the parent node instead of the bridge node entry.
Current fix fetches the bridge node from the configuration
DS  after bridge is added and then adds the termination point.

Change-Id: Id7a7eadf2b7be2d15495d7475e6bdfe214934420
Signed-off-by: gvrangan <venkatrangang@hcl.com>
(cherry picked from commit 5ff2710011995ea040a4a9d4a85b6613a56320f8)

9 years agoBug 5094: Fixed a bug in VTNManagerProviderImpl.isOwner(VTNEntityState). 76/33576/1
Shigeru Yasuda [Tue, 26 Jan 2016 10:22:13 +0000 (19:22 +0900)]
Bug 5094: Fixed a bug in VTNManagerProviderImpl.isOwner(VTNEntityState).

It threw an IllegalStateException if the controller is not the owner
of the specified entity.

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

9 years agoIncrease integration test coverage. 76/33476/1
Shigeru Yasuda [Mon, 25 Jan 2016 07:22:53 +0000 (16:22 +0900)]
Increase integration test coverage.

  * MAC mapping

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

9 years agoMerge "Bug 5051: Fixed bug in get-mac-mapped-host RPC."
Shigeru Yasuda [Sat, 23 Jan 2016 16:16:24 +0000 (16:16 +0000)]
Merge "Bug 5051: Fixed bug in get-mac-mapped-host RPC."

9 years agoMerge "BUG 4966: Fetch issue for KT_DATAFLOWS"
Sarath Babu Gurujala [Sat, 23 Jan 2016 10:33:58 +0000 (10:33 +0000)]
Merge "BUG 4966: Fetch issue for KT_DATAFLOWS"

9 years agoMerge "VTN Manager - Neutron UT Files."
Sarath Babu Gurujala [Sat, 23 Jan 2016 10:32:20 +0000 (10:32 +0000)]
Merge "VTN Manager - Neutron UT Files."

9 years agoBug 5051: Fixed bug in get-mac-mapped-host RPC. 88/33388/1
Shigeru Yasuda [Fri, 22 Jan 2016 05:47:45 +0000 (14:47 +0900)]
Bug 5051: Fixed bug in get-mac-mapped-host RPC.

  * get-mac-mapped-host should return host information specified by
    mac-addresses in RPC input.

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

9 years agoBUG 4966: Fetch issue for KT_DATAFLOWS 66/33366/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 agoBump yangtools to 1.0.0-SNAPSHOT 48/33248/1
Thanh Ha [Thu, 21 Jan 2016 20:33:46 +0000 (15:33 -0500)]
Bump yangtools to 1.0.0-SNAPSHOT

Change-Id: I05a4620a3af2a7c609ad1f6a483a4182bd6dbead
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoVTN Manager - Neutron UT Files. 76/32076/11
ananthip [Mon, 4 Jan 2016 13:12:59 +0000 (18:42 +0530)]
VTN Manager - Neutron UT Files.

   * Added the listener UT files.

Change-Id: I412702aec061e8bdb6b2d5369e361ea63a5c1a88
Signed-off-by: ananthip <ananthip@hcl.com>
9 years agoBump versions by 0.1.0 for next dev cycle 43/32743/1
Thanh Ha [Fri, 15 Jan 2016 07:36:30 +0000 (02:36 -0500)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I3650ef911740fe662f0707ce008f8f38be179151
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>