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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Shigeru Yasuda [Tue, 24 Nov 2015 04:02:57 +0000 (13:02 +0900)]
Moved config file from manager.config to manager.implementation.
Change-Id: Ibbb0d25ee386bafa231f3144cf884f0e02612c89
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Robert Varga [Mon, 23 Nov 2015 23:45:30 +0000 (00:45 +0100)]
Switch to enunciate-2.1.1
Enunciate2 supports JDK8, switch to using it.
Change-Id: I05e0ce9787e45fa4a419aeac832758b2f944d301
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
Shigeru Yasuda [Sat, 21 Nov 2015 00:56:16 +0000 (09:56 +0900)]
Migrated VTN Manager to MD-SAL.
Legacy AD-SAL APIs will be removed by Berrylium release.
Change-Id: I38511f239c1f2d92c0b58dca0d1b5e170ed607ad
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 20 Nov 2015 10:29:56 +0000 (19:29 +0900)]
Fixed unstable unit test for VTNThreadPool.
Change-Id: I581a9b268f4ab634d1b9ca61220bcaa111a87a19
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Thu, 19 Nov 2015 03:05:02 +0000 (12:05 +0900)]
Fixed IT breakage.
* it.core: (SwitchLink): VtnLink.isStaticLink() will return default
value if its value is not specified.
Change-Id: I360471df0c430ec7abb267447a2e610269fccacc
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 13 Nov 2015 08:51:12 +0000 (17:51 +0900)]
Fixed IT breakage.
* ownermock: Implemented a new interface of EntityOwnershipService.
Change-Id: I2351b55312fbca84e8a5127d11ab5bb9978605a0
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
gvrangan [Wed, 4 Nov 2015 18:31:05 +0000 (10:31 -0800)]
Support VTN Neutron User Configurable Properties
* Earlier vtn.ini file was used
* Values can now be modified in 90-vtn.xml
Change-Id: I426c55b492a6fb53a3170b0e5d68824beef77cab
Signed-off-by: gvrangan <venkatrangang@hcl.com>
Hideyuki Tai [Thu, 12 Nov 2015 16:39:17 +0000 (16:39 +0000)]
Merge "Update YANG models for VTN Manager API."
Hideyuki Tai [Thu, 12 Nov 2015 16:24:25 +0000 (16:24 +0000)]
Merge "Added static method for conversion from ipv4-address to Ip4Network."
Shigeru Yasuda [Thu, 12 Nov 2015 12:09:47 +0000 (21:09 +0900)]
Update YANG models for VTN Manager API.
vtn-mac-map.yang
* Use the singular word as the list name.
* Added switch port information to the MAC mapped host information.
vtn-vlan-map-yang
* Added more description about remove-vlan-map RPC.
Change-Id: I9586e961b1497776c5353193145db127bd4e2377
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Hideyuki Tai [Thu, 12 Nov 2015 02:09:53 +0000 (02:09 +0000)]
Merge "Added a tunable parameter for host tracking."
Shigeru Yasuda [Wed, 11 Nov 2015 16:04:29 +0000 (01:04 +0900)]
Added static method for conversion from ipv4-address to Ip4Network.
Change-Id: I60fb14f26f348aff3124ce2281e1da7d8272f936
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Wed, 11 Nov 2015 11:57:16 +0000 (20:57 +0900)]
Added a tunable parameter for host tracking.
host-tracking field in vtn-config keeps a boolean value that determines
whether to enable host tracking for hosts learned in the vBridge.
Change-Id: I3c4a6a2b6a43ce077f367456e00c89c8063e2232
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Tue, 10 Nov 2015 21:39:31 +0000 (06:39 +0900)]
Use entity ownership service to implement global task in a cluster.
This patch defines the following global entities in a cluster.
* VTN configuration
* Periodic timer task that collects flow statistics.
Change-Id: Ic35f29fc5a2efcb4902cc487865dec0b57170e6b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 6 Nov 2015 10:26:46 +0000 (19:26 +0900)]
Refine POM hierarchy for sonar build.
* Import common module from the root POM.
* Build applications on sonar build.
Change-Id: If5a1da6e900d607c55265fab8a9fcbb4583d8cfd
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Wed, 4 Nov 2015 09:16:00 +0000 (18:16 +0900)]
Fixed build error due to upgrade of spring framework.
This patch downgrades spring framework locally, and downgrades AD-SAL
to Lithium release. This is just a temporary fix and will be removed
when VTN is fully migrated to MD-SAL.
Change-Id: Ib87d32dddcc48c04118ad3553b20e84160aca331
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Hideyuki Tai [Fri, 30 Oct 2015 17:01:19 +0000 (10:01 -0700)]
Fixed typo in comment.
Parameter "logicalDatastoreType" was documented more than once.
Change-Id: Ia133e71d4d4cdf556892218599eceb856419ea61
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
Shigeru Yasuda [Mon, 2 Nov 2015 02:55:42 +0000 (11:55 +0900)]
Fixed unstable JUnit test for VTN Coordinator.
Change-Id: I36c36a28bfeba261d6916ce435632a6335327319
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Hideyuki Tai [Fri, 30 Oct 2015 20:56:36 +0000 (20:56 +0000)]
Merge "Disable verbose logging in upll UT."
Shigeru Yasuda [Fri, 30 Oct 2015 17:35:53 +0000 (02:35 +0900)]
Disable verbose logging in upll UT.
upll UT may break the terminal by printing uninitialized string
if verbose logging is enabled.
Change-Id: Ia22113deef937cd16e2e40ca79eba655fe94d11e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 30 Oct 2015 17:30:05 +0000 (02:30 +0900)]
Fixed makefile for odcdriver.
* Don't modify any file under core directory.
* Don't define local rules before including common rules.
* Don't create python byte code (parser.pyc).
Change-Id: Ic92bf881dad2f2b6d58670b17796e8d4496bacb5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 30 Oct 2015 16:21:01 +0000 (01:21 +0900)]
Update YANG models for VTN Manager API.
remove-vlan-map
Added missing vBridge path to input.
set-mac-map-acl
Added missing output.
get-mac-mapped-host
Added "configured" field to output.
Change-Id: I01b95c8892f7739e2ef64d79871650ab8b433ae4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Sarath Babu Gurujala [Thu, 29 Oct 2015 06:29:58 +0000 (06:29 +0000)]
Merge "Refactor switches/ports data collection"
bharathi.m [Fri, 16 Oct 2015 17:38:05 +0000 (23:08 +0530)]
Refactor switches/ports data collection
* Spec files created based on restconf yang file (nodes.rest,port.rest)
* Code_gen.py script will convert .rest files into .hh files.
* The generated util classes will be used in source to use the RESTCONF url
and fetch the information.
Change-Id: Ic58ac80e3775e1e470572f3d9228dd3e54cf7566
Signed-off-by: bharathi.m <bharathi.m@hcl.com>
ananthip [Thu, 22 Oct 2015 18:52:55 +0000 (00:22 +0530)]
VTN Manager - Neutron Feature
* Implementation of the Neutron Networks and Ports Data Listeners
* Implementation of the ovsdb ports listener
* Completes the support for Openstack Integration
Change-Id: I2f10394732d785c9763ed563334243111fe2e2b4
Signed-off-by: ananthip <ananthip@hcl.com>
Hideyuki Tai [Mon, 19 Oct 2015 21:56:58 +0000 (21:56 +0000)]
Merge "Import AD-SAL packet parser/generator."
Shigeru Yasuda [Fri, 16 Oct 2015 17:12:02 +0000 (02:12 +0900)]
Import AD-SAL packet parser/generator.
Although packet parser is located in manager bundle, it is only for
VTN internal use.
Change-Id: I31d239d032fdc04d73e3288ca1e22f96c588dc8b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 16 Oct 2015 12:48:29 +0000 (21:48 +0900)]
Fixed problems in manager.neutron module.
* Use manager.common.yang as a parent.
* Don't define version of required modules in manager.neutron POM.
It should be centralized in manager.common POM.
* Current ovsdb version is 1.2.1-SNAPSHOT, not 1.2.0-SNAPSHOT.
* Added missing source file for vtn-neutron module factory.
* Suppress checkstyle warnings.
* Added vtn-provider to vtn-neutron's capability.
* Don't create maven meta data in the source directory.
Change-Id: I3714903187c1fbdb7f4bdf85ea38baf7f88c72c1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Hideyuki Tai [Tue, 13 Oct 2015 23:38:52 +0000 (23:38 +0000)]
Merge "Update YANG models for VTN Manager API."
Hideyuki Tai [Tue, 13 Oct 2015 23:34:05 +0000 (23:34 +0000)]
Merge "Added utilities for migrating to MD-SAL."
Shigeru Yasuda [Fri, 9 Oct 2015 08:07:22 +0000 (17:07 +0900)]
Update YANG models for VTN Manager API.
vtn.yang
* Renamed remove-tenant RPC to remove-vtn.
vtn-mac-map.yang
* Added vlan-id field to mapped-hosts that indicates VLAN ID where
the host is detected.
vtn-mac-table.yang
* Added an internal field for MAC address aging.
* Added an internal field for IP address probing.
* Added more description for remove-mac-entry RPC.
vtn-flow-filter.yang
* Added more description for remove-flow-filter RPC.
Change-Id: Id0962ae14cdc1ae8b5fda230e77450661e070646
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
kavitha.ma [Wed, 30 Sep 2015 05:57:35 +0000 (11:27 +0530)]
Integrate VTN MAnager to OVSDB Southbound Impl
* Handle new OVS node addition to the network
Change-Id: Ib349b8aa08835d8eb96d21c26419ad0dfe0e2c26
Signed-off-by: kavitha.ma <kavitha.ma@hcl.com>
Shigeru Yasuda [Tue, 13 Oct 2015 08:47:00 +0000 (17:47 +0900)]
Added utilities for migrating to MD-SAL.
* Added conversion between IpNetwork and ip-address.
* Added XML adapter for vlan-id.
* Removed use of AD-SAL enums, EtherTypes and IPProtocols.
Change-Id: Ie878990b4374afeec907c2b3775f809b27a9c0e8
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Wed, 7 Oct 2015 14:25:23 +0000 (23:25 +0900)]
Bug 4427: Clear cached flow conditions on transaction cancel.
Change-Id: I69600756a7a2538c088cb35775a4bc5aff254f9f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
(cherry picked from commit
87df4ae0c7f5c80cd743f934f9b5ee765d1d8cdd)
Shigeru Yasuda [Fri, 9 Oct 2015 18:37:44 +0000 (03:37 +0900)]
Fixed build error with JDK8.
* Fixed unit test failure with JDK8.
JDK8 JAXB seems not to call setter method on unmarshalling if
@XmlElement is set on property method and its type is collection
(e.g. List).
* Don't run enunciate with JDK8.
Change-Id: I0df9727b7a7e7298b8ec30925ef1a1cd7214bd32
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Hideyuki Tai [Thu, 8 Oct 2015 10:47:15 +0000 (03:47 -0700)]
Updated UT code for VTN Manager Neutron.
This change fixes the compilation failure which is introduced by the
recent change in Neutron project.
https://git.opendaylight.org/gerrit/#/c/25500/
In the above patch, the Neutron project added public new methods to
NeutronObject class in the org.opendaylight.neutron.spi package, and
this caused the compilation failure.
Change-Id: I2214ccef8d21b6ec9b25ac4f82956417b449f47f
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
Hideyuki Tai [Fri, 2 Oct 2015 21:51:14 +0000 (21:51 +0000)]
Merge "Set presence statement to config and status containers."
Shigeru Yasuda [Fri, 2 Oct 2015 19:24:41 +0000 (04:24 +0900)]
Set presence statement to config and status containers.
Config and status containers should be visible even if empty.
Change-Id: If926d745c9e732ff4fb1d5646cc105aec4f30a93
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 2 Oct 2015 18:48:32 +0000 (03:48 +0900)]
Use new version of InstanceIdentifier.firstKeyOf().
Change-Id: If2de0bf3efb07eb2405a3c9ea28ba56e6d379dd2
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 2 Oct 2015 17:51:51 +0000 (02:51 +0900)]
Use SLF4J log message format as possible in internal logging API.
Change-Id: Ic8da5a0b0b7627c4c037cd35d8ff3fb89243b848
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 2 Oct 2015 14:40:49 +0000 (23:40 +0900)]
Changed internal logging API.
Change-Id: Ia42396ea659b0e821dad3194d7336fa95ce5b205
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 2 Oct 2015 11:47:43 +0000 (20:47 +0900)]
Fixed IT breakage.
* Extend OSGi bundle load timeout to 10 minutes.
* Added missing capabilities.
* Don't use AD-SAL northbound bundlescanner.
* AD-SAL bundlescanner is no longer available because of asm-all
version up.
* Extend heap size for test VM.
* Kill test VM after 20 minutes.
Change-Id: I95851181ad05f2e57c60714464877bba40977ba6
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Wed, 9 Sep 2015 10:53:31 +0000 (19:53 +0900)]
Define public YANG models for all the VTN functionalities.
Note that this patch includes only YANG models. Implementations for those
models will be added later.
Change-Id: I4f03539044205851345f5023bc872105fdab821d
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Tue, 29 Sep 2015 07:26:16 +0000 (16:26 +0900)]
Remove use of AD-SAL I/F in vtn-port-desc check.
Change-Id: Id9e36e47ab09d202191eb6bc35eebc3594b491a3
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
ananthip [Wed, 23 Sep 2015 14:15:37 +0000 (19:45 +0530)]
FIX for VTN Manager Neutron build fail due to Neutron Patch - 27003
* Added implementation for INeutronCRUD in NeutronPortCRUDStub.java.
Change-Id: Ia192fc19e1ddb9f79f1620914e49c4f344e89f35
Signed-off-by: ananthip <ananthip@hcl.com>
Sarath Babu Gurujala [Wed, 23 Sep 2015 09:49:16 +0000 (09:49 +0000)]
Merge "Bug 4286: Fix for VTN FlowFilter delete issue in UPLL module"
Shigeru Yasuda [Fri, 18 Sep 2015 13:47:31 +0000 (22:47 +0900)]
Fixed incorrect unit test for JAXB unmarshalling.
Change-Id: I99402f301deb3f91315b88d64f7cf88d7700331b
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 18 Sep 2015 09:35:13 +0000 (18:35 +0900)]
Uses vtn-flow-action-list in vtn-data-flow-info.
data-flow-action list, which indicates flow actions to be applied to
packets, was renamed to vtn-flow-action.
Change-Id: I26edc4d4a091b3384e6bee00c5008dcf9bdb665c
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Thu, 17 Sep 2015 19:28:06 +0000 (04:28 +0900)]
Prepare to clean up AD-SAL Status and StatusCode.
Change-Id: Ic10263d6fbbbce5bb23e1995b5469ca6cd5ca141
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Thu, 17 Sep 2015 12:13:34 +0000 (21:13 +0900)]
Removed MiscUtils.HASH_PRIME.
Use NumberUtils.HASH_PRIME instead.
Change-Id: I9c2c5f71e21e0fa4a33f873cd5a33e302b685aef
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Thu, 17 Sep 2015 08:14:40 +0000 (17:14 +0900)]
Removed dependencies on obsolete ovsdb artifacts.
Note that this patch removes ovsdb support temporarily.
MD-SAL based ovsdb support will be added later.
Change-Id: Id570351dabb7bf5dfe03e5e2ccc8f75013429b1e
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Hideyuki Tai [Thu, 17 Sep 2015 02:08:43 +0000 (02:08 +0000)]
Merge "Removed obsolete AD-SAL APIs."
Hideyuki Tai [Tue, 15 Sep 2015 15:40:49 +0000 (15:40 +0000)]
Merge "Fixed VTN coordinator build error using JDK8."
Shigeru Yasuda [Tue, 15 Sep 2015 15:36:57 +0000 (00:36 +0900)]
Removed obsolete AD-SAL APIs.
* IVTNModeListener is specified to AD-SAL and no longer supported by
MD-SAL based VTN Manager.
* IVTNFlowDebugger is an obsolete debugging interface.
Change-Id: Id7064fc7b62c871534bd51feea140fc115c5d8e4
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Tue, 15 Sep 2015 13:11:10 +0000 (22:11 +0900)]
Added test cases for XML marshalling.
Change-Id: I2c0d19a3cdfdf279e721d5f6f95cdf46921addff
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 11 Sep 2015 17:00:20 +0000 (02:00 +0900)]
Use MD-SAL YANG models in IT.
Change-Id: I6a9690c644d86af4a125342e65652621817eb568
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 11 Sep 2015 11:41:04 +0000 (20:41 +0900)]
Use vnode-name XML binding to save flow condition configuration.
Change-Id: Ib69dbed05bfc7fee59601c06b63190d0b8cc339a
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Hideyuki Tai [Fri, 11 Sep 2015 00:37:03 +0000 (00:37 +0000)]
Merge "Added XML bindings for path map and path policy configuration."
Hideyuki Tai [Fri, 11 Sep 2015 00:33:37 +0000 (00:33 +0000)]
Merge "Wait for completion of network topology detection on port link-up."
Karthik.S [Thu, 10 Sep 2015 17:14:39 +0000 (22:44 +0530)]
Bug 4286: Fix for VTN FlowFilter delete issue in UPLL module
* Fix for bug in vtn_flowfilter_entry_momgr.cc in UPLL module
* Added one more test case for all FT of flowfilter related keytypes
Change-Id: Iab5e4e191f62c3121a49dff83ae8b75b3b3c6442
Signed-off-by: Karthik.S <siva-karthik@hcl.com>
Shigeru Yasuda [Thu, 10 Sep 2015 15:01:16 +0000 (00:01 +0900)]
Fixed VTN coordinator build error using JDK8.
JDK8 javac warns a class which overrides equals(Object) without
overriding hashCode().
Change-Id: Ieb510ed9927aea9777ca48bf55b5666a1ed7c896
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Thu, 10 Sep 2015 13:03:42 +0000 (22:03 +0900)]
Added XML bindings for path map and path policy configuration.
Path map and path policy configuration were converted into XML string
by AD-SAL interface classes (PathMap, PathPolicy). But those classes
will be removed in Beryllium release.
Other changes:
* Added unit tests for XML adapters.
Change-Id: I4c2b819a5ed0d92fc2e112b9e9f23bffcf6e17fa
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Tony Tkacik [Wed, 2 Sep 2015 14:13:30 +0000 (16:13 +0200)]
Migration to use MD-SAL Project
Change-Id: I9041924275eccf57f1476aaaa9c658b7de0bd96e
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Hideyuki Tai [Wed, 9 Sep 2015 02:44:37 +0000 (02:44 +0000)]
Merge "Added RPC which returns the version information about the VTN Manager."
Hideyuki Tai [Tue, 8 Sep 2015 22:34:21 +0000 (22:34 +0000)]
Merge "Bump ovsdb version to 1.2.1-SNAPSHOT."
Shigeru Yasuda [Tue, 8 Sep 2015 14:35:05 +0000 (23:35 +0900)]
Bump ovsdb version to 1.2.1-SNAPSHOT.
Other changes:
* Set test scope to opendaylight-karaf-empty dependency because it is
used only for test.
Change-Id: I773285e2c270d4f952808d041dc2dd01aeaea617
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Tue, 8 Sep 2015 14:24:08 +0000 (23:24 +0900)]
Removed sal-compatibility dependency from IT environment.
Change-Id: I39bb6fa8d142cfe93a648e8fdcf940011eef2781
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Tue, 8 Sep 2015 13:10:05 +0000 (22:10 +0900)]
Removed use of sal-compatibility in openflowplugin.
VTN Manager does not depend on AD-SAL services yet.
So this patch should not affect VTN Manager.
Change-Id: I849d0ac3ed801d491a1f71a489d13e54bc3d9a50
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Mon, 7 Sep 2015 12:15:35 +0000 (21:15 +0900)]
Migrate restconf dependency.
Change-Id: Iaf95def20b6beb192415dc77bcb9dcb48a256f5f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 4 Sep 2015 22:08:37 +0000 (07:08 +0900)]
Wait for completion of network topology detection on port link-up.
Network topology detection by LLDP will be initiated when link-up is
detected on a switch port. In that case the VTN Manager should not process
PACKET_IN and PACKET_OUT on that port until the topology detection
completes.
* vtn-config: node-edge-wait was renamed to topology-wait.
Other changes:
* Refined JUnit test for VtnNodeEvent and VtnPortEvent.
Change-Id: Ie3319e2ab84bb2bc7267b9288d6cc55f468f9802
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 4 Sep 2015 20:48:20 +0000 (05:48 +0900)]
Bug 3818: Restore switch link from network-topology on link-up.
Topology-manager does not remove link information when link-down is
detected on a port. So a data change event may not be raised if link state
is changed twice or more in a very short term.
So the VTN manager needs to restore inter-switch link information from
network-topology when link-up is detected on a port.
Change-Id: I93a8a8080f27a514c542b705e57649eeca72196f
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Thu, 3 Sep 2015 07:27:37 +0000 (16:27 +0900)]
Added RPC which returns the version information about the VTN Manager.
Change-Id: I8fd4343c588f596e3c6f44a104777298e565f5c3
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Fri, 4 Sep 2015 10:13:53 +0000 (19:13 +0900)]
Removed obsolete parameters from vtn-config.
* remote-flow-mod-timeout
* cache-transaction-timeout
Other changes:
* Reduce sonar warnings.
Change-Id: Ia2dcb5af0ce08984a042ea2fd6fd6698d0d028c1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Shigeru Yasuda [Tue, 1 Sep 2015 04:46:04 +0000 (13:46 +0900)]
Bug 4225: Choose MAC address suitable for identifier.
* Choose network interface indexed by lower number.
* Fixed bug that MAC address of inactive interface might be chosen.
Change-Id: I6201b1d6c206893c84bb8550b5fe635d86cbfe94
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
(cherry picked from commit
9c80c8e146913e02d456caecc6f4bc70bb14175c)
Shigeru Yasuda [Fri, 28 Aug 2015 20:55:36 +0000 (05:55 +0900)]
Bug 3818: Added static network topology configuration.
Static network topology can be configured via config DS:
vtn-static-topology:vtn-static-topology/static-switch-links::
Inter-switch links in this container will be established even if
they are not detected by topology-manager.
vtn-static-topology:vtn-static-topology/static-edge-ports::
Switch ports in this container will be treated as edge ports even if
topology-manager detects inter-switch link.
Change-Id: Ibe4c3973f0581da643488c5c114a701e8d149ba1
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
(cherry picked from commit
4a3af060dcd7cf94b1ce9026993c195f8e46d896)
Thanh Ha [Tue, 1 Sep 2015 16:54:08 +0000 (12:54 -0400)]
Remove sonar.branch property
Change-Id: I63a1c6909a9b4c6fd2f947866b72af01237c9853
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Sarath Babu Gurujala [Thu, 27 Aug 2015 06:57:07 +0000 (06:57 +0000)]
Merge "Remove deprecated code from neutron NetworkHandler."
Shigeru Yasuda [Mon, 24 Aug 2015 06:41:41 +0000 (15:41 +0900)]
Upgrade Apache Tomcat for VTN coordinator to 7.0.63.
Other changes:
* Fixed incorrect configuration for Tomcat access logging.
Change-Id: Ib2e38e3b6e2d95dca8ec2359a23379ffee4ab072
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
ananthip [Wed, 12 Aug 2015 05:24:51 +0000 (10:54 +0530)]
Remove deprecated code from neutron NetworkHandler.
- Removed vlan map creation code and the related tests
Change-Id: Ibbe3e09192aa16a874cb9568c05ce70178a0bdd7
Signed-off-by: ananthip <ananthip@hcl.com>
Hideyuki Tai [Fri, 21 Aug 2015 16:16:28 +0000 (09:16 -0700)]
Bug 2831: Switch to three-number version numbers.
Change-Id: I31c58e4abfde7c836bdd79f62ee83b9ca53a23c0
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
Shigeru Yasuda [Fri, 21 Aug 2015 08:35:35 +0000 (17:35 +0900)]
Accept coordinator version which consists of 3 numbers.
Change-Id: I110693bf33676145f81dcbc815cfe468ee92a3c5
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Hideyuki Tai [Tue, 18 Aug 2015 22:51:28 +0000 (22:51 +0000)]
Merge "Fix license header violations in manager/it"
Hideyuki Tai [Tue, 18 Aug 2015 22:50:21 +0000 (22:50 +0000)]
Merge "Fix license header violations in manager/northbound"
Hideyuki Tai [Tue, 18 Aug 2015 22:49:04 +0000 (22:49 +0000)]
Merge "Fix license header violations in manager/neutron"
Hideyuki Tai [Tue, 18 Aug 2015 22:48:23 +0000 (22:48 +0000)]
Merge "Fix license header violations in manager/implementation test internal/util"
Hideyuki Tai [Tue, 18 Aug 2015 22:46:33 +0000 (22:46 +0000)]
Merge "Fix license header violations in manager/implementation test internal/routing"
Hideyuki Tai [Tue, 18 Aug 2015 22:46:05 +0000 (22:46 +0000)]
Merge "Fix license header violations in manager/implementation test internal/packet"
Hideyuki Tai [Tue, 18 Aug 2015 22:45:38 +0000 (22:45 +0000)]
Merge "Fix license header violations in manager/implementation test internal/inventory"
Hideyuki Tai [Tue, 18 Aug 2015 22:45:12 +0000 (22:45 +0000)]
Merge "Fix license header violations in manager/implementation test internal/config"