vtn.git
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"

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>