vtn.git
11 years agoMinor fix for the previous uppl patch. 04/2204/1
Shigeru Yasuda [Mon, 28 Oct 2013 07:35:33 +0000 (16:35 +0900)]
Minor fix for the previous uppl patch.

  PhyUtil::FillDbSchema()
    Share the code for DATATYPE_IPV6 and DATATYPE_UINT8_ARRAY_16.

Change-Id: Ia84509affbbdf02efccefce63280005aab9c4463
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed bug in uppl module. 72/2172/1
Shigeru Yasuda [Fri, 25 Oct 2013 17:03:28 +0000 (02:03 +0900)]
Fixed bug in uppl module.

  * itc_kt_boundary.cc, itc_kt_controller.cc
    Eliminate access to out-of-scoped local variable.
  * phy_util.c
    Fix bug that may cause buffer overrun.

In addition, this patch refines unit tests for uppl and upll coordinator
modules:

  * Provide build environment for coodinator module unit test, and use it.
    * Don't create any file in the source directory.
  * Remove destructive tests.
  * Remove so many unused local variables and functions.
  * Eliminate access to uninitialized memory.

Change-Id: Ib88363e2002d3aa7489ace81b651f14b237219a0
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoInitial push of VTN Manager Neutron Interface 92/2092/4
Hideyuki Tai [Wed, 23 Oct 2013 14:23:53 +0000 (10:23 -0400)]
Initial push of VTN Manager Neutron Interface

It creates directories, pom.xml, Activator.java,
and prototype source files of VTN Manager Neutron Interface
for future development.

Change-Id: Ic18be1e04b9200c157d90889ee9ccd8d2e58d294
Signed-off-by: Hideyuki Tai <h-tai@cd.jp.nec.com>
11 years agoFixed unit test codes due to a change of IConnectionManager. 54/2154/1
Takayuki Kawagishi [Fri, 25 Oct 2013 01:18:19 +0000 (10:18 +0900)]
Fixed unit test codes due to a change of IConnectionManager.

Change-Id: I6c2098dcdb23eb57127e3e2819d146ccca8265dd
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoMerge "Support for controller status handling and Audit Configurations"
Sarath Babu Gurujala [Thu, 24 Oct 2013 09:45:11 +0000 (09:45 +0000)]
Merge "Support for controller status handling and Audit Configurations"

11 years agoFix build failure due to changing in IForwardingRulesManager. 22/2122/2
Taiki Kondo [Thu, 24 Oct 2013 02:53:33 +0000 (11:53 +0900)]
Fix build failure due to changing in IForwardingRulesManager.

This patch fixes following issues.

* Build failure due to changing in IForwardingRulesManager,
  posted at following URI.
  https://git.opendaylight.org/gerrit/#/c/2119/

* Test failure due to changing in pom.xml of StatisticsManager,
  posted at following URI.
  https://git.opendaylight.org/gerrit/#/c/2120/

Signed-off-by: Taiki Kondo <kondo-taiki@mxt.nes.nec.co.jp>
11 years agoSupport for controller status handling and Audit Configurations 16/2016/5
gvrangan [Sat, 19 Oct 2013 16:41:47 +0000 (22:11 +0530)]
Support for controller status handling and Audit Configurations

Change-Id: I2285e47f1465d9cc11cc6bfced27b2e8d15c6615
Signed-off-by: gvrangan <venkatrangang@hcl.com>
11 years agoMerge "Fixed bug in VTNFlowDatabase."
Takayuki Kawagishi [Mon, 21 Oct 2013 10:36:38 +0000 (10:36 +0000)]
Merge "Fixed bug in VTNFlowDatabase."

11 years agoMerge "Fixed bug in FlowAddTask."
Takayuki Kawagishi [Mon, 21 Oct 2013 10:03:28 +0000 (10:03 +0000)]
Merge "Fixed bug in FlowAddTask."

11 years agoMerge "Fixed bug in RemoteFlowRequest."
Takayuki Kawagishi [Mon, 21 Oct 2013 09:45:43 +0000 (09:45 +0000)]
Merge "Fixed bug in RemoteFlowRequest."

11 years agoFixed bug in VTNFlowDatabase. 41/2041/1
Shigeru Yasuda [Mon, 21 Oct 2013 08:55:39 +0000 (17:55 +0900)]
Fixed bug in VTNFlowDatabase.

  removeFlows(VTNManagerImpl, List<VTNFlow>):
    Do NOT create FlowRemoveTask if there is no VTN flow to be removed.
  removeIndex(VTNManagerImpl, VTNFlow):
    Return true only if the given VTN flow was actually removed.

Change-Id: Id27fed309b94b458b98746e3a5d25cecc102fb75
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed bug in FlowAddTask. 35/2035/1
Shigeru Yasuda [Mon, 21 Oct 2013 07:25:00 +0000 (16:25 +0900)]
Fixed bug in FlowAddTask.

execute(): It should return false in case there is no ingress flow.

Change-Id: Ida95f7f6ea0c4e4b8e6bbcf55a4808d2808dc6d1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed bug in RemoteFlowRequest. 34/2034/1
Shigeru Yasuda [Mon, 21 Oct 2013 06:50:23 +0000 (15:50 +0900)]
Fixed bug in RemoteFlowRequest.

updateResult(boolean) should return a non-null value if there is no
pending request.

Change-Id: I52a991042bda11f9ba2b201b19c310814da9600f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoTests for KT_VTN ,KT_VBR,KT_VBRIF,KT_CONTROLLER,KT_BOUNDARY (Messages exchanged betwe... 25/1325/4
gvrangan [Sat, 21 Sep 2013 18:07:11 +0000 (23:37 +0530)]
Tests for KT_VTN ,KT_VBR,KT_VBRIF,KT_CONTROLLER,KT_BOUNDARY (Messages exchanged between Platform (UPPL/UPLL) and Driver for VTN/VBR configurations)

Makefile modified to fix build failure

Change-Id: Iea00cc08d392a6e61a79f0cbf0759bf0e265070f
Signed-off-by: gvrangan <venkatrangang@hcl.com>
11 years agoAdded unit tests for flow mod tasks. 07/2007/1
Takayuki Kawagishi [Fri, 18 Oct 2013 10:22:36 +0000 (19:22 +0900)]
Added unit tests for flow mod tasks.

Change-Id: Ib19343fd3c00d6e48a682432ced1d23ea5173b5b
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoFixed unstable tests that may block the test process forever. 90/1990/1
Shigeru Yasuda [Fri, 18 Oct 2013 06:43:51 +0000 (15:43 +0900)]
Fixed unstable tests that may block the test process forever.

Change-Id: Ic6c8096bb2e52a73080743bace542717aab03b11
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoEliminate unnecessary files from the binary distribution package. 84/1984/1
Shigeru Yasuda [Fri, 18 Oct 2013 04:50:54 +0000 (13:50 +0900)]
Eliminate unnecessary files from the binary distribution package.

  * Add only the "opendaylight" directory to the ZIP package.
  * Remove SAL from distribution.vtn-manager dependencies.

Additional Changes:
  * manager.common: Eliminate duplicates in <dependencyManagement>.

Change-Id: Ifc40123fe080a2e81d50dbe729157b5047961e1a
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoCentralize project version management in manager.common. 98/1898/1
Shigeru Yasuda [Tue, 15 Oct 2013 08:46:24 +0000 (17:46 +0900)]
Centralize project version management in manager.common.

  * Inherit VTN Manager's project version from manager.common.
  * Declare dependent project versions in <dependencyManagement> in
    manager.common.
  * Eliminate duplicated dependencies.

Change-Id: Ic29962e6d4c9a5c35fc1a1e812e4e6b6f5260264
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoAdded Destructor and removed unwanted assignations 80/1780/3
balakrishnan [Thu, 10 Oct 2013 17:32:34 +0000 (23:02 +0530)]
Added Destructor and removed unwanted assignations
Fix for multi-controller vlink creation Failure
addressed review comments

Change-Id: Iee2b40662ba9f686bf4829310727038d86f268dc
Signed-off-by: balakrishnan <balakrishnan.ka@hcl.com>
11 years agoMerge "Fixed unstable unit tests for VTN coordinator."
Hideyuki Tai [Fri, 11 Oct 2013 00:34:16 +0000 (00:34 +0000)]
Merge "Fixed unstable unit tests for VTN coordinator."

11 years agoFixed unstable unit tests for VTN coordinator. 00/1800/1
Shigeru Yasuda [Thu, 10 Oct 2013 12:38:14 +0000 (21:38 +0900)]
Fixed unstable unit tests for VTN coordinator.

  * Signal from a child process needs to be bound to the test thread.
  * Wait for a child process with timeout in order to avoid infinite loop.

Change-Id: I53d653ef1cf3c90eec48e51c368e0c47ff6989f4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoUse NorthboundApplication for VTN Manager NB API. 97/1797/1
Shigeru Yasuda [Thu, 10 Oct 2013 11:34:20 +0000 (20:34 +0900)]
Use NorthboundApplication for VTN Manager NB API.

Note that this patch affects JSON format of VTN Manager NB API.
A '@' character is no longer prepended to attribute name.

Additional changes:

  * VTNFlowDatabase: Suppress verbose informational log.

Change-Id: I973293037fe9f8e844c5abb58152fa5d9098d9bc
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed unstable IT test. 95/1795/1
Shigeru Yasuda [Thu, 10 Oct 2013 10:57:35 +0000 (19:57 +0900)]
Fixed unstable IT test.

testICacheUpdateAware() needs to wait for a tenant ADDED event generated
by addTenant(), or succeeding test may fail.

Change-Id: Ifbb2a388d3d8ee21feb433f3bd3fd1d42e7a1060
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoAdded a dependency which was removed unintentionally to pom.xml of northboundIT. 90/1790/1
Takayuki Kawagishi [Thu, 10 Oct 2013 06:05:11 +0000 (15:05 +0900)]
Added a dependency which was removed unintentionally to pom.xml of northboundIT.

This is a additional patch for the following patch
  https://git.opendaylight.org/gerrit/#/c/1763/
and this revert a dependency which was removed by the following patch
  https://git.opendaylight.org/gerrit/#/c/1745/

Change-Id: Ie5558a4fa5c25737c4248d4dfc5d621c938bd7ba
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoAdded a dependency to pom.xml of northboundIT to avoid the build failure of northboundIT. 63/1763/1
Takayuki Kawagishi [Wed, 9 Oct 2013 08:35:47 +0000 (17:35 +0900)]
Added a dependency to pom.xml of northboundIT to avoid the build failure of northboundIT.

This is a temporary patch to avoid build failure. This should be fixed later.

Change-Id: Icc9e48d9f06e2c48aa52f48e82b9d3d41eab4268
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoMerge "Changes to UPLL, UPPL and TC to interact with new driver for ODC. Also include...
Tomohisa Yamabe [Wed, 9 Oct 2013 04:12:54 +0000 (04:12 +0000)]
Merge "Changes to UPLL, UPPL and TC to interact with new driver for ODC. Also included, the changes in WEB API to allow users to configure vtn for the new controller type (ODC)."

11 years agoMerge "Modules for ODC Driver and Daemon Makefile a) restjsonutil - Utility Module...
Tomohisa Yamabe [Wed, 9 Oct 2013 03:15:53 +0000 (03:15 +0000)]
Merge "Modules for ODC Driver and Daemon Makefile a) restjsonutil - Utility Module for JSON(Build/Parse) and REST Interface b) vtncacheutil - Utility Module for storing VTN Configuration to validate and commit c) vtndrvintf   - Modules that serves as an interface for platform to send messages to driver d) odcdriver    - Invokes VTN Manager API"

11 years agoChanges to UPLL, UPPL and TC to interact with new driver for ODC. 59/1659/3
balakrishnan [Fri, 4 Oct 2013 21:31:05 +0000 (03:01 +0530)]
Changes to UPLL, UPPL and TC to interact with new driver for ODC.
Also included, the changes in WEB API to allow users to configure vtn
for the new controller type (ODC).

Updated for daemon name Change as drvodcd

Change-Id: I09cfdf26e1a545fe1b0362a0bb955f7ef446506f
Signed-off-by: balakrishnan <balakrishnan.ka@hcl.com>
11 years agoReduce Sonar warnings. 48/1748/1
Shigeru Yasuda [Tue, 8 Oct 2013 14:15:20 +0000 (23:15 +0900)]
Reduce Sonar warnings.

  * Split large method.
  * Reduce cyclomatic complexity.

Additional changes:
  * VTNManagerImpl: Fix typo in log message.
  * MacAddressTable: Make internal API more efficient.

Change-Id: I98a6e1cdaf3d44e0bb2f8c49761d0cd422320dad
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoSeparate common settings for integration test. 45/1745/1
Shigeru Yasuda [Tue, 8 Oct 2013 09:28:46 +0000 (18:28 +0900)]
Separate common settings for integration test.

Change-Id: Id073a1eeee54546e540ffcf4f00f191413a4dee4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed test codes of VTN Manager to output detail information as error message. 37/1737/2
Takayuki Kawagishi [Tue, 8 Oct 2013 04:09:11 +0000 (13:09 +0900)]
Fixed test codes of VTN Manager to output detail information as error message.

 * Replaced assertTrue() used for a test which tests a method or a value
   return non-boolean result to assertEquals().
 * Output parameters which caused error when assertion methods of JUnit
   are failed.
 * Added some comments.
 * Deleted testPortMapInvalidCase() from VTNManagerImplWithNodesTest.java
   because same test implemented in VTNManagerTest.java.

Change-Id: Ib9464949be63fcc9f406f4fcf12932a75180729b
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoModules for ODC Driver and Daemon Makefile 19/1719/3
susant [Fri, 4 Oct 2013 21:00:27 +0000 (02:30 +0530)]
Modules for ODC Driver and Daemon Makefile
a) restjsonutil - Utility Module for JSON(Build/Parse) and REST Interface
b) vtncacheutil - Utility Module for storing VTN Configuration to validate and commit
c) vtndrvintf   - Modules that serves as an interface for platform to send messages to driver
d) odcdriver    - Invokes VTN Manager API

Change-Id: I16011ff616a74a9638061193277d0e3fa0bec4d8
Signed-off-by: susant <susantchandra.s@hcl.com>
11 years agoAdded API for getting version information of the VTN Manager. 25/1725/1
Shigeru Yasuda [Mon, 7 Oct 2013 15:13:28 +0000 (00:13 +0900)]
Added API for getting version information of the VTN Manager.

Currently below values are returned as version information:

  API version
    An integer value which determines the version of VTN Manager API.
    API version is incremented when incompatible changes are made to
    VTN Manager API.

  OSGi bundle version
    The version of the OSGi bundle which implements the VTN Manager.

Change-Id: I0001135163f2b828deb7cb31a9cabed668bd1c59
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFix unstable unit tests. 22/1722/1
Shigeru Yasuda [Mon, 7 Oct 2013 14:20:25 +0000 (23:20 +0900)]
Fix unstable unit tests.

Change-Id: Iffb67f28490b11f318f6f92d8fac794fd7123349
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoMerge "Maintain inter-switch links."
Hideyuki Tai [Mon, 7 Oct 2013 02:29:20 +0000 (02:29 +0000)]
Merge "Maintain inter-switch links."

11 years agoMaintain inter-switch links. 82/1682/1
Shigeru Yasuda [Fri, 4 Oct 2013 18:48:45 +0000 (03:48 +0900)]
Maintain inter-switch links.

VTN Manager supports Openflow network only. So a switch port linked to
non-Openflow switch should not be treated as internal port.

Change-Id: Ica359bb52483ece2bef3c162679353f0e2990acb
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoMacAddressTable: Remove unused local variable. 74/1674/1
Shigeru Yasuda [Fri, 4 Oct 2013 13:17:03 +0000 (22:17 +0900)]
MacAddressTable: Remove unused local variable.

Change-Id: I37af086a862ea0b058259c517acd25c2483290b7
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoShare learnt MAC addresses with controllers in the cluster. 54/1654/1
Shigeru Yasuda [Thu, 3 Oct 2013 17:17:11 +0000 (02:17 +0900)]
Share learnt MAC addresses with controllers in the cluster.

This patch enables the VTN Manager to install flow entries across switches
connected to different controllers.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed bogus vBridge changed event. 33/1633/1
Shigeru Yasuda [Thu, 3 Oct 2013 08:00:03 +0000 (17:00 +0900)]
Fixed bogus vBridge changed event.

This patch fixes a bug that vBridgeChanged() of IVTNManagerAware may
be called even though the bridge state is not changed.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoAdded test case for Unit test of VTN Manager and fixed some comments. 24/1624/1
Takayuki Kawagishi [Thu, 3 Oct 2013 01:15:50 +0000 (10:15 +0900)]
Added test case for Unit test of VTN Manager and fixed some comments.

Change-Id: If4ba826eee1b28309ad5091050dbacfdc7a2c94d
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoDeploy parent pom.xml files. 92/1592/2
Shigeru Yasuda [Wed, 2 Oct 2013 02:53:50 +0000 (11:53 +0900)]
Deploy parent pom.xml files.

Change-Id: I2311238d81f512b47b42a2690ea86bd8caf94ce6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed TestStub due to change of ISwitchManager. 67/1567/1
Takayuki Kawagishi [Tue, 1 Oct 2013 00:26:30 +0000 (09:26 +0900)]
Fixed TestStub due to change of ISwitchManager.

Change-Id: Ic18b0e1d0891d7b7473a940038c5b491f430d27e
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoFixed VTN flow clean-up on startup. 00/1500/1
Shigeru Yasuda [Mon, 30 Sep 2013 08:26:31 +0000 (17:26 +0900)]
Fixed VTN flow clean-up on startup.

VTNManagerImpl.initFlowDatabase() should remove VTN flows only relevant
to nodes connected to the local controller.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed incorrect vBridge state change. 96/1496/1
Shigeru Yasuda [Mon, 30 Sep 2013 07:52:31 +0000 (16:52 +0900)]
Fixed incorrect vBridge state change.

VBridgeImpl.setPortMap() should not change the vBridge state if the
target virtual interface is disabled.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoVTNException: Use string representation of SAL status as exception's message. 94/1494/1
Shigeru Yasuda [Mon, 30 Sep 2013 06:47:30 +0000 (15:47 +0900)]
VTNException: Use string representation of SAL status as exception's message.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed vBridge state corruption. 93/1493/1
Shigeru Yasuda [Mon, 30 Sep 2013 06:15:48 +0000 (15:15 +0900)]
Fixed vBridge state corruption.

VBridgeIfImpl.mapPort() expects that the given node connector is not yet
mapped to the virtual interface. But VBridgeIfImpl.resume() will call it
if a node connector is mapped by another controller in the cluster.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFollow changes to the latest base controller. 92/1492/1
Shigeru Yasuda [Mon, 30 Sep 2013 02:50:24 +0000 (11:50 +0900)]
Follow changes to the latest base controller.

  * ConnectionLocality was moved to sal.connection package.
  * isHostRefreshEnabled() and getHostRetryCount() were removed from
    ISwitchManager.
  * Change version number of controller bundles.
  * Define scm element in every pom.xml.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFix unstable test that depends on kernel thread scheduling. 30/1430/1
Shigeru Yasuda [Thu, 26 Sep 2013 00:34:00 +0000 (09:34 +0900)]
Fix unstable test that depends on kernel thread scheduling.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoReduce Sonar warnings. 93/1393/1
Shigeru Yasuda [Tue, 24 Sep 2013 09:50:33 +0000 (18:50 +0900)]
Reduce Sonar warnings.

  * Eliminate assignment of parameter.
  * Eliminate duplicated string literals.
  * Eliminate magic number in Java code.
  * Eliminate trailing comments.
  * Combine nested "if" statements.
  * Set @SuppressWarnings("unused") to private methods for JAXB.
  * Add javadoc comment for serialVersionUID.
  * Add configuration for checkstyle plugin.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoMerge "Reduce Sonar warnings."
Tomohisa Yamabe [Tue, 24 Sep 2013 02:12:37 +0000 (02:12 +0000)]
Merge "Reduce Sonar warnings."

11 years agoFix wrong test that may fail when the system is low on memory. 87/1387/1
Shigeru Yasuda [Tue, 24 Sep 2013 01:23:25 +0000 (10:23 +0900)]
Fix wrong test that may fail when the system is low on memory.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFix Stub codes of VTN Manager due to change of IClusterGlobalServices. 85/1385/1
Takayuki Kawagishi [Tue, 24 Sep 2013 00:38:37 +0000 (09:38 +0900)]
Fix Stub codes of VTN Manager due to change of IClusterGlobalServices.

Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoReduce Sonar warnings. 17/1317/1
Shigeru Yasuda [Fri, 20 Sep 2013 17:00:11 +0000 (02:00 +0900)]
Reduce Sonar warnings.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoAdd support for flow entry and connection manager. 13/1313/1
Shigeru Yasuda [Fri, 20 Sep 2013 10:56:13 +0000 (19:56 +0900)]
Add support for flow entry and connection manager.

VTN Manager installs flow entries for unicast packets as per VTN
configuration. Multicast packets are always forwarded by VTN Manager
using PACKET_OUT message.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoDownload artifacts from maven.org central repository instead of nexus proxy. 87/1287/1
Shigeru Yasuda [Thu, 19 Sep 2013 10:17:39 +0000 (19:17 +0900)]
Download artifacts from maven.org central repository instead of nexus proxy.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agonorthboundIT: Load bundles required by the latest controller. 34/1234/1
Shigeru Yasuda [Tue, 17 Sep 2013 18:58:58 +0000 (03:58 +0900)]
northboundIT: Load bundles required by the latest controller.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agofix UT codes of VTN Manager due to change of SubnetConfig and ISWitchManager APIs... 77/1177/1
Takayuki Kawagishi [Fri, 13 Sep 2013 04:27:18 +0000 (13:27 +0900)]
fix UT codes of VTN Manager due to change of SubnetConfig and ISWitchManager APIs in controller repository.

Change-Id: I4a0c0077e39ede2c5f46f5e090387e8a7f60fb29
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoChange containermanager version to 0.5.0-SNAPSHOT. 66/1166/1
Shigeru Yasuda [Thu, 12 Sep 2013 11:16:25 +0000 (20:16 +0900)]
Change containermanager version to 0.5.0-SNAPSHOT.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoUpdate VTN Coordinator sources to the latest version. 04/1104/2
Shigeru Yasuda [Thu, 5 Sep 2013 11:35:37 +0000 (20:35 +0900)]
Update VTN Coordinator sources to the latest version.

Change-Id: I9277a21952187836a14d48a7cded886ee4641c8d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoPorting CORS support to VTN project. 67/1067/2
Madhu Venugopal [Fri, 30 Aug 2013 22:11:41 +0000 (15:11 -0700)]
Porting CORS support to VTN project.

Please refer to https://git.opendaylight.org/gerrit/#/c/945/ for more information on CORS support in the controller.

Change-Id: I6014831f8312f4e221110d7f8a8320e6a0740724
Signed-off-by: Madhu Venugopal <vmadhu@cisco.com>
11 years agoAdded some useful things to .gitignore 53/953/3
Ed Warnicke [Thu, 22 Aug 2013 05:42:12 +0000 (00:42 -0500)]
Added some useful things to .gitignore

Change-Id: Ie05f20cfbad1cb3b9b28bcb78eec94383c2fe746
Signed-off-by: Ed Warnicke <eaw@cisco.com>
11 years agoModifed manager/dist to build a runnable controller 52/952/4
Ed Warnicke [Thu, 22 Aug 2013 05:36:36 +0000 (00:36 -0500)]
Modifed manager/dist to build a runnable controller

manager/dist now:
- Pulls down the latest
org.opendaylight.controller:distribution.opendaylight
- Includes the vtn manager modules

So you can just cd into
   target/distribution.vtn-manager-0.1.0-SNAPSHOT-osgipackage/opendaylight
   and run
   ./run.sh

Change-Id: I5f9e5abf60e843e2e1c5defbe799b516f9dc6e49
Signed-off-by: Ed Warnicke <eaw@cisco.com>
11 years agoFix northbound IT of VTN manager to remove @ from id and type parameter of node and... 72/1072/1
Taiki Kondo [Mon, 2 Sep 2013 10:33:20 +0000 (19:33 +0900)]
Fix northbound IT of VTN manager to remove @ from id and type parameter of node and nodeconnector to fit for controller.

Signed-off-by: Taiki Kondo <kondo-taiki@mxt.nes.nec.co.jp>
11 years agofixed sonar settings for VTN Manager in pom.xml. 57/1057/1
Takayuki Kawagishi [Fri, 30 Aug 2013 13:07:54 +0000 (22:07 +0900)]
fixed sonar settings for VTN Manager in pom.xml.

Change-Id: I00d1adc37758ee2c92c71730e72d38a709514b5a
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agofixed unit test code for VTN Manager 56/1056/1
Takayuki Kawagishi [Fri, 30 Aug 2013 12:38:03 +0000 (21:38 +0900)]
fixed unit test code for VTN Manager

* integrationtest, northboundIT : add dependency for connectionmanager, because forwardingrulemanager need it.
* PortMapTest.java,VTNManagerImplTest.java,VTNManagerImplTestCommon.java,VTNManagerImplWithNodesTest.java, VBridgeConfigTest.java, VTenantConfigTest.java, MacAddressTableTest.java, MacEntryTest.java, ArpHandlerTest.java, PacketContext.java, IpAddressTest.java, TestBase.java, TestStub.java : add test cases not implemented before.
* GlobalResourceManagerTest.java, VTNConfigTest.java: add new test code for it.

Change-Id: I78c85ef98ecbe595069a9d245d38b5d96d678ae2
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoEliminate unnecessary broadcast packet sent to VLAN mapping. 20/1020/1
Shigeru Yasuda [Tue, 27 Aug 2013 10:20:42 +0000 (19:20 +0900)]
Eliminate unnecessary broadcast packet sent to VLAN mapping.

  * IVTNResourceManager.isPortMapped(PortVlan): New internal API.
  * Eliminate unnecessary synchronization in GlobalResourceManager.
  * VlanMapImpl.transmit(VTNManagerImpl,PacketContext,Set<PortVlan>):
    Don't send packet to the switch port mapped by port mapping.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agomvn clean: Remove files generated by integration tests. 18/1018/2
Shigeru Yasuda [Tue, 27 Aug 2013 09:55:18 +0000 (18:55 +0900)]
mvn clean: Remove files generated by integration tests.

Change-Id: I3eaddc394cabab8765897b4b948f47c53b27ef31
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoChange the name of file which keeps valid VTN names. 16/1016/3
Shigeru Yasuda [Tue, 27 Aug 2013 07:51:50 +0000 (16:51 +0900)]
Change the name of file which keeps valid VTN names.

The name of container should be embedded in the name of VTN name file.
In addition, this changeset appends .gitignore files to ignore files
generated by integration tests.

Change-Id: Ib1f65a7f4a169be328a0bc04eda9b0ac3b5344e1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFix bug of VBridgeIfImpl.resume(VTNManagerImpl, VNodeState). 13/1013/1
Shigeru Yasuda [Tue, 27 Aug 2013 07:00:26 +0000 (16:00 +0900)]
Fix bug of VBridgeIfImpl.resume(VTNManagerImpl, VNodeState).

It should call getBridgeState(VNodeState, VNodeState) to determine new
bridge state.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agofixed unit test modules of VTN Manager. 77/977/1
Takeshige Kasumi [Fri, 23 Aug 2013 10:32:18 +0000 (19:32 +0900)]
fixed unit test modules of VTN Manager.

 * add test for the getter class for VBridgeLitTest.java, VInterfaceListTest.java, VlanMapListTest?.java and VTenantListTest.java.
 * add test path for port of equals() of MacEntry.java.

Change-Id: I4939cca0e19c46a78cd16539f20916a7f105ad84
Signed-off-by: Takeshige Kasumi <takeshige-kasumi@mxk.nes.nec.co.jp>
11 years agoMerge "add a method to TestStub due to change of IForwardingRulesManager"
Kasumi Takeshige [Tue, 20 Aug 2013 00:28:16 +0000 (00:28 +0000)]
Merge "add a method to TestStub due to change of IForwardingRulesManager"

11 years agoadd a method to TestStub due to change of IForwardingRulesManager 17/917/1
Takayuki Kawagishi [Tue, 20 Aug 2013 00:06:01 +0000 (09:06 +0900)]
add a method to TestStub due to change of IForwardingRulesManager

Change-Id: I534b57de95635b1a2ce953804188b8a52dc495fc
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoDefine encoding for reporting to suppress warnings. 05/905/1
Shigeru Yasuda [Mon, 19 Aug 2013 13:08:12 +0000 (22:08 +0900)]
Define encoding for reporting to suppress warnings.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoVTN Manager must forget VTN resource manager service when it is unregistered. 04/904/1
Shigeru Yasuda [Mon, 19 Aug 2013 13:07:33 +0000 (22:07 +0900)]
VTN Manager must forget VTN resource manager service when it is unregistered.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoNotify a new IVTNManagerAware of existing port mappings. 03/903/1
Shigeru Yasuda [Mon, 19 Aug 2013 12:34:20 +0000 (21:34 +0900)]
Notify a new IVTNManagerAware of existing port mappings.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoSync up to the latest code. 02/902/1
Shigeru Yasuda [Mon, 19 Aug 2013 11:39:09 +0000 (20:39 +0900)]
Sync up to the latest code.

  * Try to detect IP address if learned MAC address table entry has no
    IP address.
  * Use NetUtils to detect unicast MAC address.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoAdd settings to use coverage tool for VTN Manager and a property file for manager... 90/890/1
Takayuki Kawagishi [Fri, 16 Aug 2013 08:02:24 +0000 (17:02 +0900)]
Add settings to use coverage tool for VTN Manager and a property file for manager.integration test.

Change-Id: I0a81509982be3ddbfc749b4cfbdaf42188fa3717
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoAdd manager.integration modules for VTN Manager. 81/881/1
Takayuki Kawagishi [Thu, 15 Aug 2013 10:41:11 +0000 (19:41 +0900)]
Add manager.integration modules for VTN Manager.

Change-Id: I1ed9a68c63eb9b5f1b8e791400c2196750df982d
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoAdd Northbound integration module for VTN Manager. 80/880/1
Kasumi Takeshige [Thu, 15 Aug 2013 02:14:18 +0000 (11:14 +0900)]
Add Northbound integration module for VTN Manager.

Change-Id: Ie02f278888aca156cdf0906b7a82533354a9531f
Signed-off-by: Kasumi Takeshige <takeshige-kasumi@mxk.nes.nec.co.jp>
11 years agoadd unit test modules for VTN Manager. 70/870/4
Takayuki Kawagishi [Wed, 14 Aug 2013 06:45:34 +0000 (15:45 +0900)]
add unit test modules for VTN Manager.

Change-Id: I0ae22822baf939afa889eb62699affa32474cafe
Signed-off-by: Takayuki Kawagishi <kawagishi-takayuki@mxj.nes.nec.co.jp>
11 years agoUpdated README. 39/839/2
Hideyuki Tai [Sat, 10 Aug 2013 02:13:49 +0000 (22:13 -0400)]
Updated README.

- Added Overview section.
- Updated VTN Coordinator Installation Guide section.
- Added VTN Manager Installation Guide section.

Change-Id: Ie976ccaff6e04ed6bb431ea2171e664f52307a47
Signed-off-by: Hideyuki Tai <h-tai@cd.jp.nec.com>
11 years agoPACKET_IN handling should be terminated if a packet is forwarded to 13/813/1
Shigeru Yasuda [Wed, 7 Aug 2013 08:03:36 +0000 (17:03 +0900)]
PACKET_IN handling should be terminated if a packet is forwarded to
a virtual interface.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoFixed bugs of MAC address table. 00/800/1
Shigeru Yasuda [Tue, 6 Aug 2013 07:40:48 +0000 (16:40 +0900)]
Fixed bugs of MAC address table.

  * MAC address table entry should keep a set of InetAddress, not an array.
  * IVTNManager: getMacEntry() and removeMacEntry() should throw VTNException
    if null is passed as MAC address.
  * MacTableEntry: toString(): Fixed malformed string.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoChanged version of switchmanager to 0.5.0-SNAPSHOT. 88/788/1
Shigeru Yasuda [Mon, 5 Aug 2013 10:23:57 +0000 (19:23 +0900)]
Changed version of switchmanager to 0.5.0-SNAPSHOT.

Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoInitial commit of VTN Manager. 75/775/2
Shigeru Yasuda [Fri, 2 Aug 2013 16:37:29 +0000 (01:37 +0900)]
Initial commit of VTN Manager.

Although this version of VTN Manager never installs flow entry to switch,
packets in vBridge will be forwarded by VTN Manager using PACKET_OUT.

Change-Id: Icdca3c980550919bfe2c6025c741d265ee2396a6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
11 years agoAvoid test failure due to test environment. 15/615/1
Hideyuki Tai [Fri, 19 Jul 2013 04:54:33 +0000 (21:54 -0700)]
Avoid test failure due to test environment.

Signed-off-by: Hideyuki Tai <h-tai@cd.jp.nec.com>
11 years agoMerge "Added .gitignore"
Tomohisa Yamabe [Wed, 17 Jul 2013 23:55:07 +0000 (23:55 +0000)]
Merge "Added .gitignore"

11 years agoAdded unit tests, and enabled to deploy binary artifacts to the Nexus repository... 98/598/1
Hideyuki Tai [Tue, 16 Jul 2013 07:17:02 +0000 (00:17 -0700)]
Added unit tests, and enabled to deploy binary artifacts to the Nexus repository using Maven.

Signed-off-by: Hideyuki Tai <h-tai@cd.jp.nec.com>
11 years agoAdded .gitignore 00/500/1
Hideyuki Tai [Tue, 18 Jun 2013 22:19:56 +0000 (07:19 +0900)]
Added .gitignore

Signed-off-by: Hideyuki Tai <h-tai@cd.jp.nec.com>
11 years agoInitial checkin for the OpenDaylight project. 98/498/1
Hideyuki Tai [Tue, 18 Jun 2013 15:41:31 +0000 (00:41 +0900)]
Initial checkin for the OpenDaylight project.

Signed-off-by: Hideyuki Tai <h-tai@cd.jp.nec.com>
11 years agoInitial empty repository
Andrew Grimberg [Fri, 14 Jun 2013 15:54:14 +0000 (15:54 +0000)]
Initial empty repository