vtn.git
9 years agoBug 5715: Fixed incorrect log record for modified vBridge configuration. 29/37529/1
Shigeru Yasuda [Wed, 13 Apr 2016 08:09:16 +0000 (17:09 +0900)]
Bug 5715: Fixed incorrect log record for modified vBridge configuration.

Change-Id: I9eeeaacef555f7a33e525f03ebd16ea4f0f15f6d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoRemove features-ovsdb 94/37494/2
Thanh Ha [Tue, 12 Apr 2016 14:08:52 +0000 (10:08 -0400)]
Remove features-ovsdb

VTN does not need the NetVirt features and NetVirt was moved to a new
project and features-ovsdb disabled from the ovsdb project.

Change-Id: Ibee3b5c1c14026e2240fc5b83492fe2e5e6cb33b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoMerge "Bug 5609: Fixed issue with fetching vtn dataflows."
Venkatrangan Govindarajan [Mon, 11 Apr 2016 22:17:21 +0000 (22:17 +0000)]
Merge "Bug 5609: Fixed issue with fetching vtn dataflows."

9 years agoMerge "Bug 5530: Fixed flowfilter Import/Audit issue in delete operation"
Venkatrangan Govindarajan [Mon, 11 Apr 2016 22:15:33 +0000 (22:15 +0000)]
Merge "Bug 5530: Fixed flowfilter Import/Audit issue in delete operation"

9 years agoInherit nexusproxy property from odlparent 54/37454/2
Thanh Ha [Mon, 11 Apr 2016 20:32:14 +0000 (16:32 -0400)]
Inherit nexusproxy property from odlparent

Fix upload issue due to http -> https redirect.

Change-Id: I093dbed150bd649bc470958fda667ded57c98208
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoBug 5609: Fixed issue with fetching vtn dataflows. 56/37256/2
yogalakshmi.pa [Thu, 7 Apr 2016 17:47:35 +0000 (23:17 +0530)]
Bug 5609: Fixed issue with fetching vtn dataflows.

* Fixed the issue with fetching vtn dataflows for
  vlanmapping

Change-Id: Ie4ac45ace039440d79bf15c850726fb8cd60d58a
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
9 years agoBug 5530: Fixed flowfilter Import/Audit issue in delete operation 63/37063/4
yogalakshmi.pa [Mon, 4 Apr 2016 17:18:36 +0000 (22:48 +0530)]
Bug 5530: Fixed flowfilter Import/Audit issue in delete operation

* Issue with delete opeartion in flowfilter that is created with
  multiple sequence number during the Import/Audit Scenarios.
* Addressed this for all the flowfilter keytypes.

Change-Id: Ie59f1a88250b50982d530a3af9fd7db373af7d3a
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
9 years ago(DataObjectIdentity): Handle unkeyed lists in DataObject. 26/37026/1
Shigeru Yasuda [Fri, 1 Apr 2016 22:20:38 +0000 (07:20 +0900)]
(DataObjectIdentity): Handle unkeyed lists in DataObject.

Change-Id: If8e0c45c9a8a61fec6fff450bae7d7002e0706b8
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoUse mockito-core instead of mockito-all. 22/37022/1
Shigeru Yasuda [Fri, 1 Apr 2016 21:16:09 +0000 (06:16 +0900)]
Use mockito-core instead of mockito-all.

mockito-all seems to contain old version of hamcrest-core.

Change-Id: I433d2baaa4c2e14ef5315afd0ee6616d763becda
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed incorrect javadoc comments. 11/37011/1
Shigeru Yasuda [Fri, 1 Apr 2016 14:43:14 +0000 (23:43 +0900)]
Fixed incorrect javadoc comments.

Change-Id: I616631823c510ef24fa671b48a7b937fba3b58ae
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoBug 5616: Fixed bug in next-flow-id initialization. 15/36815/1
Shigeru Yasuda [Tue, 29 Mar 2016 13:10:37 +0000 (22:10 +0900)]
Bug 5616: Fixed bug in next-flow-id initialization.

This patch fixed a bug that corrupted next-flow-id container when a new
controller joins with the cluster.

Change-Id: I20ca0f72425ee07ec62238d77c94c99aeef3e0c3
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoModify VTN WebAPI to build using JDK 1.8 15/36415/1
gvrangan [Thu, 17 Mar 2016 21:00:29 +0000 (21:00 +0000)]
Modify VTN WebAPI to build using JDK 1.8

Change-Id: Id701962eea756e2a8e11bebf7d91361d63286c8d
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoMerge "Fix Bug 5330 to handle OVSDB disconnect from VTN Manager"
Sarath Babu Gurujala [Fri, 11 Mar 2016 18:31:19 +0000 (18:31 +0000)]
Merge "Fix Bug 5330 to handle OVSDB disconnect from VTN Manager"

9 years agoFix Bug 5330 to handle OVSDB disconnect from VTN Manager 61/35661/8
gvrangan [Thu, 3 Mar 2016 03:16:02 +0000 (03:16 +0000)]
Fix Bug 5330 to handle OVSDB disconnect from VTN Manager

Whenever a new OVSDB node gets connected, odl-vtn-manager-neutron
feature will create a OVS bridge which can be controlled using Openflow
to provide networking to Openstack instances.
This patch deletes the bridge node entry from config DS when the OVS
disconnects.The patch also removes some data change handling
code that were not required by VTN and modifies access levels on
some existing methods.

Change-Id: Id0e7dfc055eab71f58a8cd3645c392084698913a
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoBug 5372: Don't remove flows when PACKET_IN is notified on internal port. 86/36086/1
Shigeru Yasuda [Thu, 10 Mar 2016 12:22:10 +0000 (21:22 +0900)]
Bug 5372: Don't remove flows when PACKET_IN is notified on internal port.

If OF swtich has IPv6 support, it may transmit IPv6 neighbor advertisement
packet to every port. VTN Manager may remove unexpected flow entries if
that IPv6 packet transmitted to internal port is notified.

This removal was intended for removing obsolete flow entries once
installed by VTN Manager. But it is no longer needed because VTN Manager
removes all the obsolete flow entries when a new OF switch is detected.

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

9 years agoBug 5469: Install the table-miss flow entry into every OF1.3+ switch. 25/36025/1
Shigeru Yasuda [Tue, 8 Mar 2016 05:57:10 +0000 (14:57 +0900)]
Bug 5469: Install the table-miss flow entry into every OF1.3+ switch.

According to the OpenFlow 1.3 specification, OF1.3+ switch drops packets
unmatched by flow entries by default. So the VTN Manager needs to install
the table-miss flow entry into OF1.3+ switches so that unmatched packets
are punted to the controller.

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

9 years agoBug 5459: Cancel ongoing RPCs routed to the removed node. 46/35746/1
Shigeru Yasuda [Thu, 3 Mar 2016 19:51:03 +0000 (04:51 +0900)]
Bug 5459: Cancel ongoing RPCs routed to the removed node.

Ongoing add-flow/remove-flow RPCs may not return result until timeout
if the target node is removed. This may block VTN internal threads.
This patch keeps track of node-routed RPCs, and cancels all the ongoing
RPCs routed to removed nodes.

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

9 years agoRemove the dummyprovider from features 61/35561/3
gvrangan [Tue, 1 Mar 2016 00:09:02 +0000 (00:09 +0000)]
Remove the dummyprovider from features

* This is no longer needed as it is solved in neutron

Change-Id: I90ca639007cf94bd60031809045b2ddc94bea27d
Signed-off-by: gvrangan <venkatrangang@hcl.com>
9 years agoUse CharMatcher to remove ':' characters 96/35496/1
Robert Varga [Fri, 26 Feb 2016 22:07:47 +0000 (23:07 +0100)]
Use CharMatcher to remove ':' characters

String.replace() incurs pattern compilation cost, CharMatcher does not
have it and has a specialized method to remove all matching characters
from a string.

Change-Id: If385bd5059ea446969eab5783da91984075cef42
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBug 5436: Suppress unnecessary remove-flow RPC error logs. 83/35483/1
Shigeru Yasuda [Fri, 26 Feb 2016 19:04:29 +0000 (04:04 +0900)]
Bug 5436: Suppress unnecessary remove-flow RPC error logs.

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

Addional changes:

  * ReadFlowFuture: Fixed invalid error message.

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

9 years agoFixed sonar warning in manager.neutron. 23/35423/1
Hideyuki Tai [Thu, 25 Feb 2016 13:34:21 +0000 (05:34 -0800)]
Fixed sonar warning in manager.neutron.

  * Removed an unused private field.
  * Removed an unnecessary throws clause.

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

9 years agoBug 5412: Remove unnecessary import statement. 47/35347/1
Shigeru Yasuda [Wed, 24 Feb 2016 12:49:44 +0000 (21:49 +0900)]
Bug 5412: Remove unnecessary import statement.

manager.neutron never uses DOM API.

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

9 years agoPull in PowerMock from odlparent. 86/35286/2
Hideyuki Tai [Tue, 23 Feb 2016 13:13:38 +0000 (05:13 -0800)]
Pull in PowerMock from odlparent.

Odlparent now manages dependencies for PowerMock, in sync with Mockito.
Rely on that instead of defining our own versions.

Change-Id: Ia07d06d7bf72c6ea1cfa2be1f9eb5acb5d537da5
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
9 years agoFixed UT/IT breakage. 80/35180/1
Shigeru Yasuda [Mon, 22 Feb 2016 10:57:26 +0000 (19:57 +0900)]
Fixed UT/IT breakage.

  * Use powermock 1.6.4.
  * Don't load mockito into IT container.

Change-Id: Ib15d9025ed76699b5ad7cf2497b345f48621a4d4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoMerge "Removed unused code in manager/neutron/src."
Shigeru Yasuda [Mon, 22 Feb 2016 03:03:06 +0000 (03:03 +0000)]
Merge "Removed unused code in manager/neutron/src."

9 years agoRemoved unused code in manager/neutron/src. 62/35162/1
Hideyuki Tai [Thu, 11 Feb 2016 13:12:13 +0000 (05:12 -0800)]
Removed unused code in manager/neutron/src.

  * Removed unused variables.
  * Removed unnecessary comments.

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

9 years agoRemoved unnecessary mocking in manager.neutron UT. 61/35161/1
Hideyuki Tai [Thu, 11 Feb 2016 12:58:39 +0000 (04:58 -0800)]
Removed unnecessary mocking in manager.neutron UT.

Other change:

  * Removed unused variables.

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

9 years agoRemoved unused code. 17/35117/1
Shigeru Yasuda [Fri, 19 Feb 2016 21:01:40 +0000 (06:01 +0900)]
Removed unused code.

Other changes:

  * VNodeIdentifier.java: No need to check VNodeType in equals() and
    hashCode() because VNodeType is value is tied to VNodeIdentifier
    subclass and never shared with other class.

Change-Id: I213cd7375265413f0ee0a0929113907887fe0335
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoFixed sonar warning. 10/35110/1
Shigeru Yasuda [Fri, 19 Feb 2016 12:58:55 +0000 (21:58 +0900)]
Fixed sonar warning.

  * Utility classes should not have a public constructor

Other changes:

  * Increate unit test coverage.
  * Remove debugging code in unit test.

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

9 years agoFixed IT breakage. 06/35106/1
Shigeru Yasuda [Fri, 19 Feb 2016 15:31:56 +0000 (00:31 +0900)]
Fixed IT breakage.

Change-Id: I2b2e3e962562cd59ec657f4f76dbfa6df99e57dd
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
9 years agoIncrease unit test coverage. 43/35043/1
Shigeru Yasuda [Tue, 16 Feb 2016 16:55:22 +0000 (01:55 +0900)]
Increase unit test coverage.

Other changes:

  * implementation: FlowActionConverter, BridgeIdentifier:
    Remove unnecessary constructor.

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

9 years agoBug 5341 Fix for Failure in Fetching dataflows for vlan mapping 87/34587/1
gvrangan [Fri, 12 Feb 2016 22:40:32 +0000 (17:40 -0500)]
Bug 5341 Fix for Failure in Fetching dataflows for vlan mapping

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

9 years agoIncrease unit test coverage. 82/34582/1
Shigeru Yasuda [Fri, 12 Feb 2016 22:12:19 +0000 (07:12 +0900)]
Increase unit test coverage.

  * Added unit tests for manager.internal.vnode.xml package.

Other changes:

  * Fixed incorrect javadoc comments.
  * implementation: XmlVInterface.java: Don't use raw type.
  * it/util: VTNInetAddrAction.java: Added @Override annotation.

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

9 years agoFixed unstable integration test. 41/34541/1
Shigeru Yasuda [Fri, 12 Feb 2016 09:37:15 +0000 (18:37 +0900)]
Fixed unstable integration test.

  * Wait for completion of asynchronous tasks as needed.

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

9 years agoMerge "BUG 4678: Fixed Port map configuration with OpenStack Liberty"
Sarath Babu Gurujala [Fri, 12 Feb 2016 06:17:43 +0000 (06:17 +0000)]
Merge "BUG 4678: Fixed Port map configuration with OpenStack Liberty"

9 years agoBUG 4678: Fixed Port map configuration with OpenStack Liberty 32/34532/1
ananthip [Thu, 11 Feb 2016 12:56:32 +0000 (18:26 +0530)]
BUG 4678: Fixed Port map configuration with OpenStack Liberty

Change-Id: I36b4f2692aed5997792dc552bd839d31b15d733a
Signed-off-by: ananthip <ananthip@hcl.com>
(cherry picked from commit 6baea77be7a4c72df434d380fd262d355a7689bf)

9 years agoBUG 5234: Fixed FT scripts in VTN Coordinator 98/34498/1
Karthik.S [Thu, 4 Feb 2016 19:03:02 +0000 (00:33 +0530)]
BUG 5234: Fixed FT scripts in VTN Coordinator

* Modified FT scripts in VTN Coordinator for VTN Manager RESTCONF
* Updated VBR, VBRIF_PORTMAP, VTERM, VTERMIF_PORTMAP, VBRIF/VTERMIF
  Flowfilter keytypes and its audit FT files.
* Modified Multi-Controller FT files.
* Modified the datafiles for the above Keytypes to support RESTCONF.
* Modified the validate functions in test scripts.

Change-Id: Iabdeb197687f5b04c019f790359cb1aaf82134fb
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
(cherry picked from commit 8fbe60bf97169fa8eaa2a73e307b59c9d85f387c)

9 years agoBUG 5300: Fixed UT for ODCdriver in VTN Coordinator 85/34485/1
yogalakshmi.pa [Thu, 11 Feb 2016 19:04:48 +0000 (00:34 +0530)]
BUG 5300: Fixed UT for ODCdriver in VTN Coordinator

* Modified the UT for ODCdriver module in VTN Coordinator for
  the RESTCONF changes in VTN Manager.
* Fixed the UT failures in ODCdriver module.

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

9 years agoMerge "Bug 5286: Fixed description attribute issue in create operation."
Sarath Babu Gurujala [Thu, 11 Feb 2016 12:11:49 +0000 (12:11 +0000)]
Merge "Bug 5286: Fixed description attribute issue in create operation."

9 years agoMerge "Bug 5294: Fixed update issue in flowfilter and flowlist keytypes"
Sarath Babu Gurujala [Thu, 11 Feb 2016 12:11:26 +0000 (12:11 +0000)]
Merge "Bug 5294: Fixed update issue in flowfilter and flowlist keytypes"

9 years agoBug 5286: Fixed description attribute issue in create operation. 59/34459/1
yogalakshmi.pa [Wed, 10 Feb 2016 15:41:54 +0000 (21:11 +0530)]
Bug 5286: Fixed description attribute issue in create operation.

* Addressed for vtn/vbrif/vterminal/vtermif keytpes

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

9 years agoBug 5294: Fixed update issue in flowfilter and flowlist keytypes 57/34457/1
yogalakshmi.pa [Wed, 10 Feb 2016 16:43:29 +0000 (22:13 +0530)]
Bug 5294: Fixed update issue in flowfilter and flowlist keytypes

* vBrflowfilter update fails due to redirect node destination
  error
* vTermifflowfitler update to redirect fails due to dl_src mac
  address issue
* Addressed the same issue in vtnflowfilter
* Flowlistentry update fails in srcIp and destIp with
  src_prefix and dest_preifx attributes.

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

9 years agoBug 5279: Fixed vlan-map create issue while configuring logicalportid. 52/34452/1
yogalakshmi.pa [Wed, 10 Feb 2016 14:41:19 +0000 (20:11 +0530)]
Bug 5279: Fixed vlan-map create issue while configuring logicalportid.

* When vlanmap is configured along with logicalportid
  the create operation fails.
* Resolved the same for update operation also.

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

9 years agoBug 5277: Fixed vbrifflowfilter create operation issue. 05/34405/2
yogalakshmi.pa [Wed, 10 Feb 2016 16:39:50 +0000 (22:09 +0530)]
Bug 5277: Fixed vbrifflowfilter create operation issue.

* Issue in vbrifflowiflter-redirect creation while configuring
  dl_dst mac address attribute.

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

9 years agoMerge "BUG 5204: Fixed issue with portmap delete operation"
Sarath Babu Gurujala [Tue, 9 Feb 2016 12:02:31 +0000 (12:02 +0000)]
Merge "BUG 5204: Fixed issue with portmap delete operation"

9 years agoBUG 5230: Fixed the pathinfo processing issue in dataflow 47/34247/1
yogalakshmi.pa [Thu, 4 Feb 2016 20:07:09 +0000 (01:37 +0530)]
BUG 5230: Fixed the pathinfo processing issue in dataflow

* Pathinfo information was replicated multiple times
  in KT_VTN_DATALFOW and KT_DATAFLOW.
* Provided fix for the replication issue in both the
  dataflow keytypes.

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

9 years agoBUG 5204: Fixed issue with portmap delete operation 46/34246/1
yogalakshmi.pa [Thu, 4 Feb 2016 19:58:44 +0000 (01:28 +0530)]
BUG 5204: Fixed issue with portmap delete operation

* portmap delete fails for the vbrif.
* Addressed the same for vterminalif keytpe.

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

9 years agoMerge "BUG 5189: Fix for portmap creation with vlan-id issue."
Sarath Babu Gurujala [Mon, 8 Feb 2016 10:35:13 +0000 (10:35 +0000)]
Merge "BUG 5189: Fix for portmap creation with vlan-id issue."

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 agoBug 4967: Fixed the Inet-Match attribute issue in Dataflow Key types 35/34235/1
yogalakshmi.pa [Thu, 28 Jan 2016 23:47:56 +0000 (05:17 +0530)]
Bug 4967: Fixed the Inet-Match attribute issue in Dataflow Key types

* Changes in the Auto-generated script of ODCdriver module
  for the Inet and action attributes in Dataflow keytype
* Incorrect direction set for the flowfilter key types

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

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"