summary |
shortlog | log |
commit |
commitdiff |
review |
tree
first ⋅ prev ⋅ next
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tomohisa Yamabe [Tue, 24 Sep 2013 02:12:37 +0000 (02:12 +0000)]
Merge "Reduce Sonar warnings."
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Kasumi Takeshige [Tue, 20 Aug 2013 00:28:16 +0000 (00:28 +0000)]
Merge "add a method to TestStub due to change of IForwardingRulesManager"
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Tomohisa Yamabe [Wed, 17 Jul 2013 23:55:07 +0000 (23:55 +0000)]
Merge "Added .gitignore"
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>
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>
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>
Andrew Grimberg [Fri, 14 Jun 2013 15:54:14 +0000 (15:54 +0000)]
Initial empty repository