vtn.git
9 years agoUpdated dependent features of VTN Manager. 69/19869/2
Hideyuki Tai [Thu, 7 May 2015 16:29:19 +0000 (09:29 -0700)]
Updated dependent features of VTN Manager.

This patch made all necessary features for Neutron interface into
dependent features of odl-vtn-manager-neutron feature.

Change-Id: Icea3ee1274682f807ca750c67fd8c2475637a49b
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoFix JDK8 javadoc compatibility 69/19769/1
Robert Varga [Wed, 6 May 2015 17:57:35 +0000 (19:57 +0200)]
Fix JDK8 javadoc compatibility

JDK8 is more picky about javadocs, so fix them up so the project can
pass compilation.

Change-Id: I8273b9c339a10c25569abc9af16a8eb4b9cffdb3
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Fix JDK8 compatibility"
Shigeru Yasuda [Thu, 7 May 2015 04:03:01 +0000 (04:03 +0000)]
Merge "Fix JDK8 compatibility"

10 years agoFix JDK8 compatibility 05/19705/1
Robert Varga [Wed, 6 May 2015 12:12:34 +0000 (14:12 +0200)]
Fix JDK8 compatibility

Method resolution rules seem to have changed (or JDK8u45 has a bug), so
point directly to the containing class's method to ensure it's resolved
in both JDK7 and JDK8 environment.

Change-Id: I55267bed04ccc7a13c668802a69c89fd834aa418
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoChanged feature names of the VTN Manager. 60/19560/2
Hideyuki Tai [Mon, 4 May 2015 17:32:43 +0000 (10:32 -0700)]
Changed feature names of the VTN Manager.

According to the feature naming wiki, this patch changed feature names
of VTN Manager.
https://wiki.opendaylight.org/view/CrossProject:Integration_Group:About_User_Facing_Features

Change-Id: I6fa54e91527bbef55280c7904191da337d0b1559
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoFixed IT breakage. 71/19471/1
Hideyuki Tai [Fri, 1 May 2015 19:37:15 +0000 (12:37 -0700)]
Fixed IT breakage.

Load openflowplugin-common bundle explicitly on IT. It is required by
topology-manager.

Change-Id: Ib75cd148d92bc2c413bbcdcd8119fafb57298591
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoFixed IT breakage. 28/19128/1
Shigeru Yasuda [Mon, 27 Apr 2015 05:58:17 +0000 (14:58 +0900)]
Fixed IT breakage.

  * Load required bundles.
    * neutron.model
    * yangtools.model.ietf-yang-types-20130715
  * Add configuration for FRM.

Change-Id: Ica8931eaf2f0eeda2de11c9eea14669f6b09f9ec
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoChanged YANG model for data flow APIs. 07/18507/2
Shigeru Yasuda [Fri, 17 Apr 2015 06:57:02 +0000 (15:57 +0900)]
Changed YANG model for data flow APIs.

  * Renamed container for averaged data flow statistics in order to avoid
    collision with AD-SAL based API.
  * Refined description.

Change-Id: Iea01755c1781f1dbc4e501ac725144ddc6743575
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed IT breakage. 36/18736/2
Shigeru Yasuda [Tue, 21 Apr 2015 09:00:13 +0000 (18:00 +0900)]
Fixed IT breakage.

  * ofmock: Notify link explicitly when the port state is changed.
  * ofmock: Ensure that both edge ports of the inter-switch link are
    created.

Change-Id: I80278595c11fc6537dfd91ce0813858c0dc52b43
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoVterminal and Flow filter functionalities added for VTN Application. 47/17147/7
kavitha.ma [Thu, 26 Mar 2015 14:44:29 +0000 (20:14 +0530)]
Vterminal and Flow filter functionalities added for VTN Application.

Change-Id: Ic52f8cf0f9592ba553c08d624b036e393f8979a8
Signed-off-by: kavitha.ma <kavitha.ma@hcl.com>
10 years agoBug 2898 - implemented subnet handler support in VTN Manager. 30/17330/6
dhandayadhapani-b [Mon, 30 Mar 2015 13:34:01 +0000 (19:04 +0530)]
Bug 2898 - implemented subnet handler support in VTN Manager.

Change-Id: I1714f9ccdc45cd523bf844b3aab1ea4268d69b30
Signed-off-by: dhandayadhapani-b <dhandayadhapani-b@hcl.com>
10 years agoChanged data flow API classes for MD-SAL support. 97/18197/1
Shigeru Yasuda [Mon, 13 Apr 2015 13:43:27 +0000 (22:43 +0900)]
Changed data flow API classes for MD-SAL support.

  * Moved AD-SAL flow match/action utilities to manager.implementation.
    * They will be removed when the flow management is migrated to
      MD-SAL.
  * Changed DataFlow instance methods which set packet routing and
    edge flow information.

Change-Id: I87f83fd4917b0e176fa007074a8f198f53409d51
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoAdded YANG models for retrieving data flows. 18/18118/1
Shigeru Yasuda [Fri, 10 Apr 2015 15:01:20 +0000 (00:01 +0900)]
Added YANG models for retrieving data flows.

  * Defined RPCs for retrieving data flows.
    * Note that data flow RPCs are not yet implemented.
  * All API enums were migrated to YANG model.
    * MacMapAclType was migrated to VtnAclType
    * UpdateOperation was migrated to VtnUpdateOperationType
    * VNodeState was migrated to VnodeState
    * DataFlow.Mode was migrated to DataFlowMode
  * Added APIs to convert VTenantPath into VirtualNodePath.

Change-Id: I7b292c3b45236b9c986a0d01b32bab59ec9dcc1f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoChanged APIs for retrieving averaged flow statistics. 27/18027/1
Shigeru Yasuda [Thu, 9 Apr 2015 13:31:15 +0000 (22:31 +0900)]
Changed APIs for retrieving averaged flow statistics.

  * Move averaged statistics from FlowStats to the separated class,
    AveragedFlowStats.
  * Calculate average as double.
    * Provide XML adapter for double.
  * Treat the given interval just as a hint.

Change-Id: Ief73018ddc106fc84e6572ccf03ec23a134e7f5f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "BUG 2887 : Fixed Flowlist entry attribute mismatch"
Sarath Babu Gurujala [Thu, 9 Apr 2015 11:42:32 +0000 (11:42 +0000)]
Merge "BUG 2887 : Fixed Flowlist entry attribute mismatch"

10 years agoRefactor MD-SAL listener classes. 24/17924/1
Shigeru Yasuda [Wed, 8 Apr 2015 13:51:44 +0000 (22:51 +0900)]
Refactor MD-SAL listener classes.

  * Data change listener and notificaiton listener can keep more than
    one auto-closeables.

Change-Id: Ia7100974d382fb9ac35d7257b9a50dd5fab79034
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBUG 2887 : Fixed Flowlist entry attribute mismatch 10/17110/6
yogalakshmi.pa [Wed, 25 Mar 2015 19:47:49 +0000 (01:17 +0530)]
BUG 2887 : Fixed Flowlist entry attribute mismatch

Change-Id: I064bb44e10d2770d49654c9a69c7dc5173b5fa79
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
10 years agoMerge "Migrated VNodeRoute.Reason class to YANG model."
Hideyuki Tai [Tue, 7 Apr 2015 18:02:53 +0000 (18:02 +0000)]
Merge "Migrated VNodeRoute.Reason class to YANG model."

10 years agoMigrated VNodeRoute.Reason class to YANG model. 62/17862/1
Shigeru Yasuda [Tue, 7 Apr 2015 16:44:24 +0000 (01:44 +0900)]
Migrated VNodeRoute.Reason class to YANG model.

Change-Id: Ieeeeb3b0b41fa97d86e99993dd30b8baa98442d7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoAdded utilities for conversion between IpNetwork and MD-SAL IP address. 41/17841/1
Shigeru Yasuda [Tue, 7 Apr 2015 13:35:37 +0000 (22:35 +0900)]
Added utilities for conversion between IpNetwork and MD-SAL IP address.

Other changes:

  * Fixed incorrect javadoc comments.

Change-Id: I8304909f7506f90c8908dfac7be8657cf387038c
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoRefined common dependencyManagement. 34/17834/1
Shigeru Yasuda [Tue, 7 Apr 2015 11:26:45 +0000 (20:26 +0900)]
Refined common dependencyManagement.

  * Use openflowplugin-artifacts.
  * Remove unused dependencies: openflowjava

Change-Id: I9680509b39def0c6299c661672d8aebf33676259
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed build error due to ovsdb API changes. 79/17679/1
Hideyuki Tai [Fri, 3 Apr 2015 01:08:49 +0000 (21:08 -0400)]
Fixed build error due to ovsdb API changes.

Change-Id: I445eb7396d084c5c4f55af734b678dfd1e8621d0
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoDon't load java-concurrent-hash-trie-map on IT. 11/17611/1
Shigeru Yasuda [Thu, 2 Apr 2015 10:00:48 +0000 (19:00 +0900)]
Don't load java-concurrent-hash-trie-map on IT.

java-concurrent-hash-trie-map will be loaded by sal-binding-it.

Change-Id: I3047b07f9054b51006afba956d709b330ac9161a
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed build breakage. 83/17583/2
Hideyuki Tai [Wed, 1 Apr 2015 21:27:05 +0000 (17:27 -0400)]
Fixed build breakage.

  * Revert "Fixed manager.neutron UT build error due to ovsdb change.".
    This reverts commit 09c825f0ee5819124f4ccae2ff5be8620a7f37ec.
    Since the ovsdb change corresponding to the commit was reverted,
    the commit also needs to be reverted.

  * Load java-concurrent-hash-trie-map bundle explicitly on IT.
    It is required by yangtools.

Change-Id: I87a26155fad620383ba2a4c08423f201878718cc
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed manager.neutron UT build error due to ovsdb change. 52/17552/1
Shigeru Yasuda [Wed, 1 Apr 2015 14:53:26 +0000 (23:53 +0900)]
Fixed manager.neutron UT build error due to ovsdb change.

Change-Id: I60574a0da506d8376dc669a395d3a1c06c9d0906
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Remove extra space in <relativePath/>"
Hideyuki Tai [Tue, 31 Mar 2015 18:08:46 +0000 (18:08 +0000)]
Merge "Remove extra space in <relativePath/>"

10 years agoRemove extra space in <relativePath/> 79/17479/1
Thanh Ha [Tue, 31 Mar 2015 16:39:03 +0000 (12:39 -0400)]
Remove extra space in <relativePath/>

Needed by autorelease's find & replace script to correctly override this
value.

Change-Id: Ief14757a161b98a284408faab5fe8f4f7c5c5488
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
10 years agoFixed bug that caused IT failure. 21/17421/1
Shigeru Yasuda [Tue, 31 Mar 2015 09:49:33 +0000 (18:49 +0900)]
Fixed bug that caused IT failure.

  * VTNManagerImpl.removeTenant() needs to wait for completion of
    MD-SAL datastore modification.

Change-Id: I78247aefc9434210405235fd5b6d9bd82bf0603e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed incorrect comment in YANG file. 90/17390/1
Shigeru Yasuda [Mon, 30 Mar 2015 23:35:29 +0000 (08:35 +0900)]
Fixed incorrect comment in YANG file.

Change-Id: I4754261aa02f4c54544e9719068bd884a06cf378
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMigrate path map to MD-SAL. 12/17212/1
Shigeru Yasuda [Fri, 27 Mar 2015 07:28:50 +0000 (16:28 +0900)]
Migrate path map to MD-SAL.

  * Add new APIs to clean up flow conditions, path policies,
    and path maps.

Change-Id: I370a707be6416db05afc0cd87d7784d24eabbc57
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoRevert "Add odlparent relativepath relative to autorelease" 98/17198/2
Thanh Ha [Thu, 26 Mar 2015 19:11:54 +0000 (15:11 -0400)]
Revert "Add odlparent relativepath relative to autorelease"

Per discussion on mailing list thread we have decided to revert this
change and achieve relative path updating via scripting in autorelease.

https://lists.opendaylight.org/pipermail/release/2015-March/001754.html

This reverts commit 40fffc8aeaa7e8c9a5abeb14c99fc2f77ea3865f.

Change-Id: Iffe0a159db11c78d071078e633cb038ece47844a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
10 years agoFixed build error due to API changes. 05/17205/1
Shigeru Yasuda [Fri, 27 Mar 2015 00:37:47 +0000 (09:37 +0900)]
Fixed build error due to API changes.

  * ovsdb changed the tyoe for OpenFlow port number to integer.
  * openflowplugin changed the revision of flow-capable-transaction
    YANG module.

Change-Id: Ibe0c42cb9639432751fa9d8e7b5e5fd7dd6e0669
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed checkstyle errors for manager.neutron. 27/17127/1
Hideyuki Tai [Wed, 25 Mar 2015 21:23:50 +0000 (17:23 -0400)]
Fixed checkstyle errors for manager.neutron.

Change-Id: I30b264323c71817a9001bd6989803218bd2b8a23
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoFixed bug of inventory management. 49/17049/2
Shigeru Yasuda [Tue, 24 Mar 2015 11:44:37 +0000 (20:44 +0900)]
Fixed bug of inventory management.

  * Fixed incorrect data change scope for inventory change listeners.
  * Fixed bug that ignored inter-swtich links affected by a removed
    node were not removed.
  * Enable integration tests again.

Change-Id: I4249cd34e985b85c0546b2381f60dd08ddfcad30
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoDisable integration tests temporarily. 15/16915/1
Shigeru Yasuda [Fri, 20 Mar 2015 12:40:54 +0000 (21:40 +0900)]
Disable integration tests temporarily.

Change-Id: Ie2dd97648e58674c7599e5310e66aca33db82e6b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMove inventory utilities to separate package. 42/16742/1
Shigeru Yasuda [Wed, 18 Mar 2015 06:49:51 +0000 (15:49 +0900)]
Move inventory utilities to separate package.

Change-Id: Ifda35e60e7d03ac97b768e84146b91ddf15cc41f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMigrate flow condition to MD-SAL. 51/16651/2
Shigeru Yasuda [Mon, 16 Mar 2015 15:43:58 +0000 (00:43 +0900)]
Migrate flow condition to MD-SAL.

Change-Id: I9dee805ae9c0de38502cab5e3032ff2bc90e55e5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed bug that path map could not specify default path policy. 36/16636/1
Shigeru Yasuda [Mon, 16 Mar 2015 13:07:47 +0000 (22:07 +0900)]
Fixed bug that path map could not specify default path policy.

  * Added northbound IT for path map and flow condition.

Change-Id: I0ffd3d132c6ab43f901f1010ab220c94c6fe58b8
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Bug 2793: Fixed default values for hardTimeout and idleTimeout attributes"
Sarath Babu Gurujala [Mon, 16 Mar 2015 06:18:18 +0000 (06:18 +0000)]
Merge "Bug 2793: Fixed default values for hardTimeout and idleTimeout attributes"

10 years agoAdd odlparent relativepath relative to autorelease 62/16462/2
Thanh Ha [Fri, 13 Mar 2015 02:41:52 +0000 (22:41 -0400)]
Add odlparent relativepath relative to autorelease

Change-Id: Ia4f274e9087f2d585cda25d651743d74ee1e9df5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
10 years agoFixed IT build error. 88/16488/1
Shigeru Yasuda [Fri, 13 Mar 2015 15:32:34 +0000 (00:32 +0900)]
Fixed IT build error.

Java class name bound to port-number model has been changed by the
following patch.

  https://git.opendaylight.org/gerrit/16481

Change-Id: Ia882927e6bfeca0086a51ebb8612066e8468f505
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed IT breakage. 94/16394/1
Shigeru Yasuda [Thu, 12 Mar 2015 13:21:38 +0000 (22:21 +0900)]
Fixed IT breakage.

  * Update MD-SAL configuration file for IT.
  * Wait for mandatory AD-SAL services before test.
  * Synchronize AD-SAL inventory information with the test environment.

Change-Id: I37f28cd938ddee84d6f2a88d34089676cf6cf92a
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 2793: Fixed default values for hardTimeout and idleTimeout attributes 32/16132/6
balakrishnan [Sat, 7 Mar 2015 11:30:54 +0000 (17:00 +0530)]
Bug 2793: Fixed default values for hardTimeout and idleTimeout attributes

Change-Id: Ia373ad0e4686dda8b40713f8e1b04884a854e8c3
Signed-off-by: balakrishnan <balakrishnan.ka@hcl.com>
10 years agoDisable integration tests temporarily. 46/16346/1
Shigeru Yasuda [Wed, 11 Mar 2015 19:40:40 +0000 (04:40 +0900)]
Disable integration tests temporarily.

This is just a tentative fix. IT breakage will be fixed later.

Change-Id: I7bbf3a0f375af4fcb942f6739bdfdaa76778b133
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 2758: Fixed bug in VbrIf for Update adminstatus check 15/15715/5
yogalakshmi.pa [Wed, 25 Feb 2015 16:29:10 +0000 (21:59 +0530)]
Bug 2758: Fixed bug in VbrIf for Update adminstatus check

Change-Id: I7fd390ff4368d6354cb03085db26b42e69fae425
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
10 years agoSimplify unit tests for XML validation. 85/16185/1
Shigeru Yasuda [Mon, 9 Mar 2015 08:50:22 +0000 (17:50 +0900)]
Simplify unit tests for XML validation.

Change-Id: I049f679eceda8715c6b75344a655e892991dcb17
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoChanges for OpenStack Neutron support (cont.) 58/16158/1
Flavio Fernandes [Fri, 6 Mar 2015 22:17:06 +0000 (17:17 -0500)]
Changes for OpenStack Neutron support (cont.)

* Use nsf feature that excludes the deprecated (in controller) neutron.
* Use neutron service from new repository.

Change-Id: Ib573a385c812d10b8472052b9d47f805f6615d62
Ref: https://git.opendaylight.org/gerrit/#/c/15887/
Signed-off-by: Flavio Fernandes <ffernand@redhat.com>
10 years agoMerge "Install odl-ovsdb-compatibility-layer explicitly."
Hideyuki Tai [Thu, 5 Mar 2015 20:37:44 +0000 (20:37 +0000)]
Merge "Install odl-ovsdb-compatibility-layer explicitly."

10 years agoInstall odl-ovsdb-compatibility-layer explicitly. 92/16092/1
Shigeru Yasuda [Thu, 5 Mar 2015 19:13:08 +0000 (04:13 +0900)]
Install odl-ovsdb-compatibility-layer explicitly.

Change-Id: I4bc718a5fdd0469f7dd293203a52dee394e5e59f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "Fix Interaction Port as 8282 to keep up changes in ODL ADSAL Port"
Sarath Babu Gurujala [Thu, 5 Mar 2015 12:37:33 +0000 (12:37 +0000)]
Merge "Fix Interaction Port as 8282 to keep up changes in ODL ADSAL Port"

10 years agoDetect arithmetic overflow on XML unmarshalling. 37/16037/1
Shigeru Yasuda [Wed, 4 Mar 2015 19:02:44 +0000 (04:02 +0900)]
Detect arithmetic overflow on XML unmarshalling.

JAXB reference implementation bundled in OpenJDK always ignores
arithmetic overflow. This patch makes JAXB raise a validation event
when it detects arithmetic overflow. So XML unmarshalling will fail
if the XML text contains too large (or small) number.

Change-Id: I38560bdd49a6fa7695d19f7a11a7578c81da1b56
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoAPI class changes for MD-SAL migration. 94/15894/3
Shigeru Yasuda [Mon, 2 Mar 2015 10:55:26 +0000 (19:55 +0900)]
API class changes for MD-SAL migration.

  * util.EtherAddress: Don't cache EthernetAddress instance because
    it is vulnerable to internal byte array corruption.
  * Added some utility methods to util.IpNetwork and util.Ip4Network.
  * Use EtherAddress and IpNetwork in flow condition/action API classes.
  * util.VTNIdentifiable: Added new interface for generic comparator.
    VTNIdentifiable instances can be compared using
    VTNIdentifiableComparator.

Change-Id: I7ef8e6db4ade9aeb182a1cdfab97eb4f0dd52b07
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoChanges for OpenStack Neutron support. 87/15887/1
Shigeru Yasuda [Mon, 2 Mar 2015 08:34:44 +0000 (17:34 +0900)]
Changes for OpenStack Neutron support.

  * Use neutron subproject.
  * Use ovsdb-plugin-compatibility-layer.

Change-Id: I207d97437798475bb99ce295f15f9af58d2fa59e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMigration to MD-SAL phase 1. 12/15712/1
Shigeru Yasuda [Wed, 25 Feb 2015 10:24:06 +0000 (19:24 +0900)]
Migration to MD-SAL phase 1.

  * Inventory and network topology information is derived from the
    MD-SAL datastore.
  * VTN Manager owns packet routing table.
  * The following functionalities have been migrated to MD-SAL.
    * Path policy
    * VTN Manager's configuration
    * PACKET_IN listening
    * Packet transmission (PACKET_OUT)
  * Added some utilities to manager bundle.
    VTN Manager no longer uses the following AD-SAL utilities.
    * NetUtils
    * HexEncode

Change-Id: I9e240e4b41e4123234dabc875baa4fa9404cc65d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoRemove unused dependency. (yangtools:features-test) 05/15705/1
Shigeru Yasuda [Wed, 25 Feb 2015 07:53:41 +0000 (16:53 +0900)]
Remove unused dependency. (yangtools:features-test)

Change-Id: I66b856d5030edc3c37960bfc93f89b685a1b063a
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoAveraged statistics was added 03/15603/2
Liubov Efremova [Sun, 14 Dec 2014 17:23:20 +0000 (20:23 +0300)]
Averaged statistics was added

Signed-off-by: Liubov Efremova <Liubov.Efremova@pacnet.com>
10 years agoUse OpenFlow services provided by openflowplugin. 61/15661/1
Shigeru Yasuda [Tue, 24 Feb 2015 13:21:49 +0000 (22:21 +0900)]
Use OpenFlow services provided by openflowplugin.

Change-Id: I19d41793d36e18f2826012234b1ad4b72fbb0bf3
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoRevert "Use features-ovsdb 1.1.1-SNAPSHOT.". 48/15648/1
Shigeru Yasuda [Tue, 24 Feb 2015 07:13:33 +0000 (16:13 +0900)]
Revert "Use features-ovsdb 1.1.1-SNAPSHOT.".

Change-Id: I2c7e72ddc1ecd6eae7faa145e600b74e4282f276
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoUse features-ovsdb 1.1.1-SNAPSHOT. 15/15615/1
Shigeru Yasuda [Mon, 23 Feb 2015 09:04:34 +0000 (18:04 +0900)]
Use features-ovsdb 1.1.1-SNAPSHOT.

Change-Id: I16fa01176cf86bf14dd4584422a1b6713782b490
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoUse odlparent:features-test instead of yangtools:features-test. 13/15613/1
Shigeru Yasuda [Mon, 23 Feb 2015 08:10:46 +0000 (17:10 +0900)]
Use odlparent:features-test instead of yangtools:features-test.

Change-Id: I7bdd7aba01791f952e47ceca42b2dd3789de981d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFix Interaction Port as 8282 to keep up changes in ODL ADSAL Port 97/15497/2
yogalakshmi.pa [Thu, 19 Feb 2015 19:23:39 +0000 (00:53 +0530)]
Fix Interaction Port as 8282 to keep up changes in ODL ADSAL Port

Change-Id: Ie17b3c59785593749b29453279c8e3fe2deb1a37
Signed-off-by: yogalakshmi.pa <yogalakshmi.pa@hcl.com>
10 years agoSuppress lint:unchecked warnings. 09/15409/1
Shigeru Yasuda [Tue, 17 Feb 2015 12:24:02 +0000 (21:24 +0900)]
Suppress lint:unchecked warnings.

  * manager
  * manager.northbound

Change-Id: I830a5b52e6d0e0897d68b97bd65d54b68d1dd9a7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoUse OSGi framework provided by org.osgi instead of equinoxSDK381. 03/15403/1
Shigeru Yasuda [Tue, 17 Feb 2015 10:26:04 +0000 (19:26 +0900)]
Use OSGi framework provided by org.osgi instead of equinoxSDK381.

Change-Id: Idcb15b5e0ee858eb7731a0ddd724c8d53e2b9cdf
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoRemove <repositories> and <pluginRepositories> sections 76/15176/1
Thanh Ha [Wed, 11 Feb 2015 23:19:43 +0000 (18:19 -0500)]
Remove <repositories> and <pluginRepositories> sections

It is recommended that developers and servers configure this locally via
settings.xml.

https://lists.opendaylight.org/pipermail/discuss/2015-January/004482.html

Change-Id: I69e18e2041350fae6fa747e674086d8973d8747a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
10 years agoFixed incorrect javadoc link. 81/15081/1
Shigeru Yasuda [Mon, 9 Feb 2015 17:42:43 +0000 (02:42 +0900)]
Fixed incorrect javadoc link.

Change-Id: I0cd9adc936ac199dcb76432b85030daab36bc793
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 2688: Fixed bug in flow timeout setting specified by path map. 84/14984/1
Shigeru Yasuda [Fri, 6 Feb 2015 18:05:38 +0000 (03:05 +0900)]
Bug 2688: Fixed bug in flow timeout setting specified by path map.

If a flow is mapped by path map and flow timeout is not specified in
the path map configuration, flow timeout setting should be inherited
from the virtual tenant configuration.

Change-Id: Icf72cf8e7af2ce628a449ca80d4c350416eda4ae
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed build error due to ovsdb change. 78/14978/1
Shigeru Yasuda [Fri, 6 Feb 2015 15:17:35 +0000 (00:17 +0900)]
Fixed build error due to ovsdb change.

Change-Id: I49e95a3f1db923e7710ba4827af61d079eec2b67
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed a copyright header. 40/14940/1
Hideyuki Tai [Thu, 5 Feb 2015 21:56:09 +0000 (16:56 -0500)]
Fixed a copyright header.

Change-Id: I8ad8de2c70ca6aaa568a235a3ead0510c8baeb13
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoDon't build REST API document unless "docs" profile is activated. 19/14819/1
Shigeru Yasuda [Wed, 4 Feb 2015 07:22:50 +0000 (16:22 +0900)]
Don't build REST API document unless "docs" profile is activated.

Change-Id: I312854d18ec88c47bf2e9fb65db6f00b0e7657aa
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoFixed build error due to ovsdb change. 14/14814/1
Shigeru Yasuda [Wed, 4 Feb 2015 06:25:10 +0000 (15:25 +0900)]
Fixed build error due to ovsdb change.

VTNManagerIT.testOvsdbNodes() never invokes any functionality provided
by the VTN Manager. So it can be simply removed.

Change-Id: I2267aa315e34bd03775939b5f875b9784a079d3b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoRename vtn.build.sonar to sonar 95/14795/2
Thanh Ha [Tue, 3 Feb 2015 23:03:20 +0000 (18:03 -0500)]
Rename vtn.build.sonar to sonar

With moving to JJB in mind this more general property should allow any
project to enable additional build options inside their build by
activating profiles if the property -Dsonar is passed.

JJB will pass -Dsonar for the Sonar job.

Also renames -Dvtn.doc.skip to "!sonar" since it seems this is only used
for the sonar job.

Change-Id: I81fc8f92eacd62c733c2cae931ae987f60cf7323
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
10 years agoVTN Client App for getting the running configuration of VTN. 78/13678/10
kavitha.ma [Tue, 16 Dec 2014 17:14:06 +0000 (22:44 +0530)]
VTN Client App for getting the running configuration of VTN.

Change-Id: I0ca2815f1d3f53ed4d507aec5dfc9e973b4bef12
Signed-off-by: kavitha.ma <kavitha.ma@hcl.com>
10 years agoBug 2618: Fixed potential bugs in flow entry management. 71/14371/1
Shigeru Yasuda [Thu, 22 Jan 2015 08:38:06 +0000 (17:38 +0900)]
Bug 2618: Fixed potential bugs in flow entry management.

  * VTNFlow.isOutgoingNetwork() may return true unexpectedly
    if the egress flow contains action that changes VLAN ID.
    This may cause the VTN Manager to uninstall unexpected flow entries.
  * When MAC mapping is activated, VTN Manager needs to purge flow entries
    originated by VLAN mapping that overlaps the MAC mapping.

Change-Id: Ie4aee034a06e401e81120d570eaa92d5a0225b9d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoSet root pom.xml <name> for Sonar 23/14023/1
Thanh Ha [Fri, 9 Jan 2015 19:19:07 +0000 (14:19 -0500)]
Set root pom.xml <name> for Sonar

As mentioned on the mailing list Sonar uses the <name> field of the
pom.xml that is passed to the mvn command as the name of the project in
Sonar. In most cases this is the root pom.xml file in a project. This
patch sets the name to the project shortname.

https://lists.opendaylight.org/pipermail/discuss/2014-November/004024.html

Change-Id: I843bf5246e2e39dee2c83b350fd7b5398fd62a69
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
10 years agoChange README.txt for VTN Coordinator 53/13953/4
gvrangan [Wed, 7 Jan 2015 02:08:15 +0000 (11:08 +0900)]
Change README.txt for VTN Coordinator

Signed-off-by: gvrangan <venkatrangang@hcl.com>
Change-Id: If529742e6de9cdb3973e4c3d6782526b06a3da32

10 years agoBUG 2481-Fixed Memory leak issues in ODC Driver module 33/13933/4
Karthik.S [Mon, 8 Dec 2014 11:48:51 +0000 (17:18 +0530)]
BUG 2481-Fixed Memory leak issues in ODC Driver module

Change-Id: Ia03f6504c882561881c622732ef950351cc89c45
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
10 years agoBUG 2537-Fix Problems in computing the links from ODL topology 09/13909/2
balakrishnan [Mon, 5 Jan 2015 15:40:42 +0000 (21:10 +0530)]
BUG 2537-Fix Problems in computing the links from ODL topology

Change-Id: Ibb8b87aa30f0b0596d1ef2bf6038862f54ce8cdb
Signed-off-by: balakrishnan <balakrishnan.ka@hcl.com>
10 years agoUse mvn URL settings in opendaylight-karaf-resources. 67/13867/1
Shigeru Yasuda [Fri, 26 Dec 2014 01:53:26 +0000 (10:53 +0900)]
Use mvn URL settings in opendaylight-karaf-resources.

Change-Id: I567c626a411545d8d54f3dcf06e9e6b7d3af68e1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoMerge "BUG 2387-Fixed bug Fails to Set Actions for FlowFilter"
Sarath Babu Gurujala [Thu, 25 Dec 2014 11:17:59 +0000 (11:17 +0000)]
Merge "BUG 2387-Fixed bug Fails to Set Actions for FlowFilter"

10 years agoBug 2536: Fixed bug that path policy APIs never remove flow entries. 43/13843/1
Shigeru Yasuda [Wed, 24 Dec 2014 10:32:58 +0000 (19:32 +0900)]
Bug 2536: Fixed bug that path policy APIs never remove flow entries.

When a path policy is created, modified, or removed, the VTN Manager
should remove flow entries affected by the target path policy.

Change-Id: I98f79869c37ede42fcaddfb2c45bd02873bb89c7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 2533: Fixed unexpected 500 error on path policy REST API. 26/13826/1
Shigeru Yasuda [Mon, 22 Dec 2014 23:29:03 +0000 (08:29 +0900)]
Bug 2533: Fixed unexpected 500 error on path policy REST API.

  * Return 400 (Bad Request) error if link cost is not configured in
    PathCost element.
  * Added integration tests for path policy REST APIs.

Change-Id: I7ef5e5b144b2eb8456ba51840ec2c067320b0f9e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBug 1836: Updated README. 02/13602/1
Hideyuki Tai [Tue, 28 Oct 2014 23:43:25 +0000 (19:43 -0400)]
Bug 1836: Updated README.

Change-Id: Iac1e3db1305d7dd59af13b1ade73c59f2b710e64
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
10 years agoAdditional UT coverage on VTN Manager-Implementation.internal.cluster. 74/13474/1
dhandayadhapani-b [Tue, 9 Dec 2014 15:09:00 +0000 (20:39 +0530)]
Additional UT coverage on VTN Manager-Implementation.internal.cluster.

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

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

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

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

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

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

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

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

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

VTN Manager does nothing unless VTN is present.

Change-Id: Id9ebf0f90b285c0dde78cf9cbdd843deb09d4a3d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
10 years agoBUG 2387-Fixed bug Fails to Set Actions for FlowFilter 67/13367/1
balakrishnan [Thu, 4 Dec 2014 18:06:01 +0000 (23:36 +0530)]
BUG 2387-Fixed bug Fails to Set Actions for FlowFilter

Change-Id: Ied28d7e3450b2c47c98c52a446b06b5fbbef2cd0
Signed-off-by: balakrishnan <balakrishnan.ka@hcl.com>
10 years agoUT files for VTN Manager Implementation.Internal.Cluster package. 40/13340/1
kavitha.ma [Thu, 4 Dec 2014 02:36:22 +0000 (18:36 -0800)]
UT files for VTN Manager Implementation.Internal.Cluster package.

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

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

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

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

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

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

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

Karaf distribution is still provided locally.

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

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

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

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

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

Change-Id: I9b1d8f86b1172e58984d8572d3e8c52406fb925d
Signed-off-by: ananthip <ananthip@hcl.com>