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