l2switch.git
8 years agoMerge "BUG-2865 Partial fix"
Evan Zeller [Tue, 8 Sep 2015 16:06:32 +0000 (16:06 +0000)]
Merge "BUG-2865 Partial fix"

8 years agoBUG-3958 Fix flooding source port 88/26588/1
Anton Ivanov [Mon, 7 Sep 2015 08:42:24 +0000 (08:42 +0000)]
BUG-3958 Fix flooding source port

Use original ingress port when flooding.

This is not just openflow (as stated in the bug report). It
is general switch behavior - flooding should preserve the
original port.

Change-Id: I56044d274ffa69ae0d0c989e020c8381522ba830
Signed-off-by: Anton Ivanov <aivanov@brocade.com>
8 years agoMerge changes from topic 'license'
Evan Zeller [Wed, 19 Aug 2015 06:20:59 +0000 (06:20 +0000)]
Merge changes from topic 'license'

* changes:
  Fix license header violations in hosttracker
  Fix license header violations in arphandler

8 years agoFix license header violations in hosttracker 21/25021/2
Thanh Ha [Sun, 9 Aug 2015 15:14:42 +0000 (11:14 -0400)]
Fix license header violations in hosttracker

Change-Id: I6765f62661aad833844e0978cf806f39f0fc7521
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in arphandler 20/25020/2
Thanh Ha [Sun, 9 Aug 2015 15:12:21 +0000 (11:12 -0400)]
Fix license header violations in arphandler

Change-Id: I6282a11cadfbc473977fe5e2eedc1b56444e4958
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in packethandler 19/25019/1
Thanh Ha [Sun, 9 Aug 2015 15:10:20 +0000 (11:10 -0400)]
Fix license header violations in packethandler

Change-Id: I9fdc0d9ce05085020b7f64e01696b0ca5b3c034f
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBUG 4050: Add required capabiliy for stp-status-aware-node-connector model 28/24528/2
Colin Dixon [Fri, 24 Jul 2015 15:37:26 +0000 (11:37 -0400)]
BUG 4050: Add required capabiliy for stp-status-aware-node-connector model

Change-Id: I17e1217fde61bfcdb2d941245e97da0e6a747ea1
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoBUG-2865 Partial fix 19/23519/3
Anton Ivanov [Mon, 29 Jun 2015 15:43:41 +0000 (15:43 +0000)]
BUG-2865 Partial fix

This adds the 802.1ad provider bridging type to the q-n-q
header fields.

It does not fix other issues needed to implement fully
q-n-q and provider bridging - lack of ordering enforcement, etc.

Change-Id: I36b3ef1b92c39215d15dee9bd5147ee5fe03c518
Signed-off-by: Anton Ivanov <aivanov@brocade.com>
9 years agoMigrate to features-parent 62/23262/3
Robert Varga [Thu, 25 Jun 2015 10:26:34 +0000 (12:26 +0200)]
Migrate to features-parent

Change-Id: I6cd822b8297f023d8143e8fb4653df7d13011aae
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoIntroduce artifacts artifact 61/23261/3
Robert Varga [Thu, 25 Jun 2015 09:16:59 +0000 (11:16 +0200)]
Introduce artifacts artifact

Change-Id: Ied7a38f007111e788d0cb98de09bd85d56d368a6
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove repositories section 60/23260/2
Robert Varga [Mon, 29 Jun 2015 21:54:01 +0000 (23:54 +0200)]
Remove repositories section

This section should be pulled in from settings.xml, let's not override
it here.

Change-Id: I8a3942bbcb2a167bae33a9e7956c1ce3a5bed864
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Implement transaction chain for hosttracker in an attempt to alleviate BUG2640."
Amit Mandke [Fri, 19 Jun 2015 07:14:52 +0000 (07:14 +0000)]
Merge "Implement transaction chain for hosttracker in an attempt to alleviate BUG2640."

9 years agoImplement transaction chain for hosttracker in an attempt to alleviate BUG2640. 86/18786/6
Evan Zeller [Tue, 21 Apr 2015 22:50:47 +0000 (15:50 -0700)]
Implement transaction chain for hosttracker in an attempt to alleviate BUG2640.

Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
Change-Id: I91ca717cafa96fe25693d05fc6947f08d9c7e4df

9 years agoAdd hybrid option for sending ARP to Controller & OF Normal 37/22137/1
Evan Zeller [Tue, 9 Jun 2015 00:11:48 +0000 (17:11 -0700)]
Add hybrid option for sending ARP to Controller & OF Normal

Change-Id: I708fd57ad12752c3ba8e9dc70a933df74721b0e1
Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
9 years agoIncrementing versions by 0.1.0 for post-lithium master branch 59/19559/2
Alex Fan [Mon, 4 May 2015 23:44:06 +0000 (16:44 -0700)]
Incrementing versions by 0.1.0 for post-lithium master branch

Change-Id: I1230c592e960fb6e96e59a890e2f819703d25ed9
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoBUG-3398: Remove deprecated base distribution. 66/21266/1
Evan Zeller [Wed, 27 May 2015 21:18:33 +0000 (14:18 -0700)]
BUG-3398: Remove deprecated base distribution.

Change-Id: If19fa5ee9ac2781911c49546e44b5e9cda049bc3
Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
9 years agoBUG2629: Clear added non-directional links when clearing network graph. 18/18218/2
Evan Zeller [Mon, 13 Apr 2015 20:59:01 +0000 (20:59 +0000)]
BUG2629: Clear added non-directional links when clearing network graph.

Allows StpStatusAwareNodeConnectors to properly receive their StpStatus if they've been part of a previous topology.

Change-Id: Ic965ad7ea3595c6dddec3a5e223bcf8c3ce40234
Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
9 years agoBoot l2switch distribution with restconf and dlux. 85/18785/4
Evan Zeller [Wed, 22 Apr 2015 00:31:15 +0000 (17:31 -0700)]
Boot l2switch distribution with restconf and dlux.

Change-Id: Ia5bd14f77e45bc4c779eee20f201c75bd7e49280
Signed-off-by: Evan Zeller <evanrzeller@gmail.com>
9 years agoFix JDK8 javadoc errors 06/18806/1
Robert Varga [Wed, 22 Apr 2015 08:29:25 +0000 (10:29 +0200)]
Fix JDK8 javadoc errors

JDK8 is picky about javadocs -- fix them up so compilation passes.

Change-Id: Ib123d8b92b76538f561dd08a9f81b081929a1908
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix maven warnings about duplicate declarations 05/18805/1
Robert Varga [Wed, 22 Apr 2015 08:28:54 +0000 (10:28 +0200)]
Fix maven warnings about duplicate declarations

These dependecies and plugin declarations are duplicate, so fix them up.

Change-Id: I19f83eaa35dc42c30d534dcd0a5ee185d32ce553
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Bug 2971: tp-id format is incorrect for host switch pair"
Evan Zeller [Sat, 11 Apr 2015 00:12:32 +0000 (00:12 +0000)]
Merge "Bug 2971: tp-id format is incorrect for host switch pair"

9 years agoBug 2971: tp-id format is incorrect for host switch pair 64/18064/1
Ryan Goulding [Thu, 9 Apr 2015 23:23:47 +0000 (19:23 -0400)]
Bug 2971: tp-id format is incorrect for host switch pair

This patch provides a clearer and more consumable format for the host tp-id.
The current convention is similar to “host:<MAC>:openflow:<port>”.  This is
particularly confusing since the "openflow:<port>" part is derived from the
attached switch, and doesn't have anything to do with the host's properties.
This proposal is to use "host:MAC" instead.  This field is propogated to the
DLUX Topology UI, and this patch was verified visually by inspecting that the
new format propagates.

Change-Id: Ia16cad2986257e1dec9ef7d596af23a658d511ec
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
9 years agoUse artifacts to import dependencyManagement 13/17413/2
Robert Varga [Tue, 31 Mar 2015 09:34:37 +0000 (11:34 +0200)]
Use artifacts to import dependencyManagement

For mdsal, yangtools and config we can use the artifacts pom to import
all artifacts in that group. This simplifies version management, so
let's use it.

Change-Id: Ic5a784314f79d774edfd05d48cb09836fba4b085
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove reference to enunciate 12/17412/1
Robert Varga [Tue, 31 Mar 2015 09:28:02 +0000 (11:28 +0200)]
Remove reference to enunciate

The plugin is not used anywhere in the project, so remove references to
it.

Change-Id: I586557635d4ed5d68bb017c2a7d86bf565cd0aca
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove version overrides 11/17411/1
Robert Varga [Tue, 31 Mar 2015 09:29:36 +0000 (11:29 +0200)]
Remove version overrides

odlparent already defines versions for both karaf and maven bundle
plugin, so there is no need to override.

Change-Id: I01edb22c13bd28ff3c16f3822f151e96ec491a40
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMerge "Removed unused argument 'payload'"
Amit Mandke [Tue, 24 Mar 2015 00:06:46 +0000 (00:06 +0000)]
Merge "Removed unused argument 'payload'"

9 years agoDo not force Integer creation 55/16955/1
Robert Varga [Sun, 22 Mar 2015 14:23:45 +0000 (15:23 +0100)]
Do not force Integer creation

Instead of using explicit instantiation, let JVM's autoboxing take care
of using the right object.

Change-Id: Ia271b8c25ca11230b9cca5c630e0704f5a621209
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoMigrate away from yangtools features-test 37/16237/4
Robert Varga [Tue, 10 Mar 2015 08:17:06 +0000 (09:17 +0100)]
Migrate away from yangtools features-test

The replacement comes from odlparent, so migrate to the new (and
working) one.

Change-Id: Ic0fee09f5d80a3864da3bc18531d072dff84fdcf
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoFix odlparent reference 44/16244/1
Robert Varga [Tue, 10 Mar 2015 09:09:01 +0000 (10:09 +0100)]
Fix odlparent reference

odlparent is not in this project, so when it is referred to in a
<parent> declaration, it has to have an empty relativePath.

Change-Id: Ia4d341e722576c0cbb2a41e6180ab94bfac112c7
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoBUG-2647: model+nsf.app migration proposal 18/14518/3
Michal Rehak [Mon, 26 Jan 2015 18:34:04 +0000 (19:34 +0100)]
BUG-2647: model+nsf.app migration proposal

 - requires:
    controller https://git.opendaylight.org/gerrit/#/c/14464/
    ofplugin   https://git.opendaylight.org/gerrit/#/c/14463/

Change-Id: Ie2372781bd398819f83902c14e38e44fb25a4794
Signed-off-by: Michal Rehak <mirehak@cisco.com>
9 years agoRemoved unused argument 'payload' 74/15074/3
Mario Willems [Mon, 9 Feb 2015 16:38:36 +0000 (17:38 +0100)]
Removed unused argument 'payload'

The argument 'payload' was used in an earlier version, as the
ReactiveFlowWriter handled ARP by its own and dispatched the
payload of the ARP requests.The ARP handling is now done by the
arphandler. The leftover argument 'payload' in the ReactiveFlowWriter
is usless and should be removed.

Change-Id: I53762d12d550d523de38e7dad5839c22b51dc591
Signed-off-by: Mario Willems <ma.willems@googlemail.com>
9 years agoBUG2607: Now using the right constant for no buffer 52/14252/3
Colin Dixon [Mon, 19 Jan 2015 15:10:32 +0000 (09:10 -0600)]
BUG2607: Now using the right constant for no buffer

Uses OFConstants.OFP_NO_BUFFER instead of 0L. Also, this patch organizes
the imports in the modified java files.

Change-Id: I71f8cceda7a0cc657f2f5ce03cc0af7bf757171c
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoMerge "adding .DS_Store to .gitignore"
Raghurama Bhat [Tue, 20 Jan 2015 06:09:58 +0000 (06:09 +0000)]
Merge "adding .DS_Store to .gitignore"

9 years agoMerge "Eclipse improvement: Adds src/main/yang-gen-config as a source folder in proje...
Raghurama Bhat [Tue, 20 Jan 2015 06:03:37 +0000 (06:03 +0000)]
Merge "Eclipse improvement: Adds src/main/yang-gen-config as a source folder in projects using build-helper-maven-plugin to resolve errors in Eclipse."

9 years agoMerge "Set root pom.xml <name> for Sonar"
Raghurama Bhat [Tue, 20 Jan 2015 05:59:21 +0000 (05:59 +0000)]
Merge "Set root pom.xml <name> for Sonar"

9 years agoadding .DS_Store to .gitignore 51/14251/1
Colin Dixon [Mon, 19 Jan 2015 15:07:13 +0000 (09:07 -0600)]
adding .DS_Store to .gitignore

Change-Id: If4be131bfc27b49e8e9a6b650249ca6b13db37d1
Signed-off-by: Colin Dixon <colin@colindixon.com>
9 years agoBug 868: Replaced use of toInstance() for build(). 87/14187/1
Tony Tkacik [Fri, 16 Jan 2015 09:25:29 +0000 (10:25 +0100)]
Bug 868: Replaced use of toInstance() for build().

Change-Id: I9a4ca67c449c035dfe93c1692c779660ec910a00
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
9 years agoSet root pom.xml <name> for Sonar 56/14056/1
Thanh Ha [Fri, 9 Jan 2015 21:31:13 +0000 (16:31 -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: I48552988c06e856136a4bdfc068f40e7e2f352a5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoFixing broken unit tests. 52/13352/2
Alex Fan [Wed, 3 Dec 2014 19:44:45 +0000 (11:44 -0800)]
Fixing broken unit tests.

Change-Id: I99e7e1ef47e80ae20c273360af103e59ab27c488
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoEclipse improvement: Adds src/main/yang-gen-config as a source folder in 86/11986/1
Charalampos Kaidos [Wed, 15 Oct 2014 21:19:35 +0000 (00:19 +0300)]
Eclipse improvement: Adds src/main/yang-gen-config as a source folder in
projects using build-helper-maven-plugin to resolve errors in Eclipse.

Change-Id: I4799ad991eb8c55c685aa11d1fe31b2e3abc045c
Signed-off-by: Charalampos Kaidos <ckaidos@intracom-telecom.com>
9 years agoIncrementing versions by 0.1.0 for post-Helium master branch 02/11902/1
Amit Mandke [Fri, 10 Oct 2014 22:31:52 +0000 (15:31 -0700)]
Incrementing versions by 0.1.0 for post-Helium master branch

Change-Id: Iac5cda1dda80d1e860ae3a55743b07fc8abfd3ac
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoBug 2129 fixed 06/11706/1
Amit Mandke [Wed, 1 Oct 2014 19:57:20 +0000 (01:27 +0530)]
Bug 2129 fixed
loop removal now considers parallel links/edges.

Change-Id: I35e28bd7115b6e698910a9d1b3209421dbb40e1c
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoBug2121 -- Make TopologyId configurable in HostTracker. 77/11677/2
André Martins [Tue, 30 Sep 2014 20:49:18 +0000 (13:49 -0700)]
Bug2121 -- Make TopologyId configurable in HostTracker.

Change-Id: Ib621267f361ecb33884f51436da6eadd3e3c6e63
Signed-off-by: Alex Fan <railor33@gmail.com>
Signed-off-by: André Martins <aanm90@gmail.com>
9 years agoBug2121 -- Add configuration parameter for TopologyId. 74/11674/1
Alex Fan [Tue, 30 Sep 2014 19:06:27 +0000 (12:06 -0700)]
Bug2121 -- Add configuration parameter for TopologyId.

Change-Id: I3a5f486c7fa32f10451098fcfdf6fff0d87d104d
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoBug 2104 Fixed, creating threadpool only once. 29/11629/1
Amit Mandke [Sat, 27 Sep 2014 17:30:38 +0000 (23:00 +0530)]
Bug 2104 Fixed, creating threadpool only once.

Change-Id: Ic978c1008f2fedd02e7e837a785e74705c6242e5
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoBUG-2097 hosts not seen in topology. 02/11602/1
André Martins [Fri, 26 Sep 2014 01:32:22 +0000 (02:32 +0100)]
BUG-2097 hosts not seen in topology.

Fixed NPE when a topology with a null list of links was checked.

Change-Id: If3b6a8f0aeb623c4bd78d41e2d812a2d3720a6d5
Signed-off-by: André Martins <aanm90@gmail.com>
9 years agoBug 2040: Reschedule flow thread in case of error. 55/11555/1
Alex Fan [Thu, 25 Sep 2014 01:47:18 +0000 (18:47 -0700)]
Bug 2040: Reschedule flow thread in case of error.

Change-Id: I83a42d67e37a2d792dbaa85743d91c103093aa0e
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoBug 2040: Reduce delays. 50/11550/1
Alex Fan [Wed, 24 Sep 2014 23:32:55 +0000 (16:32 -0700)]
Bug 2040: Reduce delays.

Change-Id: I7b722f3a2c9bd9a458cdc0296d2eab04feda9d49
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoAdding callbacks for errors, bug 1707. 41/11541/2
Alex Fan [Wed, 24 Sep 2014 16:36:06 +0000 (09:36 -0700)]
Adding callbacks for errors, bug 1707.

Change-Id: Ia7078faef392517f6028a9ddd3c1aea5d4e0a799
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoMerge "Bug 2040: Install flood flows after data has been fully written to datastore."
Alex Fan [Wed, 24 Sep 2014 06:49:15 +0000 (06:49 +0000)]
Merge "Bug 2040: Install flood flows after data has been fully written to datastore."

9 years agoBug 2040: Install flood flows after data has been fully written to datastore. 78/11478/5
Alex Fan [Tue, 23 Sep 2014 07:59:05 +0000 (00:59 -0700)]
Bug 2040: Install flood flows after data has been fully written to datastore.

Change-Id: I075cd5e66b5a7bf35b9b6d76603b75f366462759
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoMerge "Bug 1948: Separate out restconf features"
Alexander Fan [Wed, 24 Sep 2014 05:47:15 +0000 (05:47 +0000)]
Merge "Bug 1948: Separate out restconf features"

9 years agoBug 1757, Integration with Sonar. 07/11507/3
Alex Fan [Wed, 24 Sep 2014 02:17:20 +0000 (19:17 -0700)]
Bug 1757, Integration with Sonar.

Change-Id: Iad8097e3b0a420ed49ebcd91b1673d9ab015ad50
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoBUG-2059: Hosttracker doesn't close readTransaction. 02/11502/2
André Martins [Tue, 23 Sep 2014 20:31:56 +0000 (21:31 +0100)]
BUG-2059: Hosttracker doesn't close readTransaction.

Change-Id: Ife998eee724b256182726eb622dd1730384380d8
Signed-off-by: André Martins <aanm90@gmail.com>
9 years agoBug 1948: Separate out restconf features 73/11473/3
Ed Warnicke [Tue, 23 Sep 2014 02:10:29 +0000 (21:10 -0500)]
Bug 1948: Separate out restconf features

In order to avoid a maven project cycle in solving
Bug 1948, we need to separate restconf features.
Note, this is a first step, suffixing everything
with -new.  Subsquently, after everywhere using
odl-restconf has been fixed to use this new repo,
we will deprecate the ones in the mdsal features.xml
and rename these to not have the -new.

This patch just adds the dependency to features/pom.xml

Change-Id: I11c7170b60a5d993c2ee7f60ad81fba8d0b965bb
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoMerge "BUG-2043: Hosttracker gives a NPE."
Alexander Fan [Tue, 23 Sep 2014 18:27:02 +0000 (18:27 +0000)]
Merge "BUG-2043: Hosttracker gives a NPE."

9 years agoBUG-2043: Hosttracker gives a NPE. 82/11482/1
André Martins [Tue, 23 Sep 2014 10:55:13 +0000 (11:55 +0100)]
BUG-2043: Hosttracker gives a NPE.

Change-Id: Iecb04ffb18fe77d2d13a0b1299f195649fabc367
Signed-off-by: André Martins <aanm90@gmail.com>
9 years agoMerge "Bug 1757 Negative test cases for addresstracker"
Alexander Fan [Tue, 23 Sep 2014 00:41:17 +0000 (00:41 +0000)]
Merge "Bug 1757 Negative test cases for addresstracker"

9 years agoBug 1757 Negative test cases for addresstracker 52/11452/2
Aarti Lolage [Mon, 22 Sep 2014 19:29:26 +0000 (12:29 -0700)]
Bug 1757 Negative test cases for addresstracker

Change-Id: I4c68af786a9ad43c21363ae1ae071580341cca34
Signed-off-by: Aarti Lolage <aalolage@cisco.com>
9 years agoBug 2032: Integrating HostTracker with config subsystem. 36/11436/4
Alex Fan [Mon, 22 Sep 2014 10:40:27 +0000 (03:40 -0700)]
Bug 2032: Integrating HostTracker with config subsystem.

Change-Id: I30362f7428e6e9e9d46b0ec6a7d202e643a278ee
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoBUG fixes. 77/11177/4
André Martins [Sat, 20 Sep 2014 01:46:21 +0000 (02:46 +0100)]
BUG fixes.

BUG-1627: Hosts are cleaned by hosttracker.
BUG-1754: Implemented a clusterAware mechanism for hosttracker.

Change-Id: I56a7b1fada563aaf9d423c2cfed7c8dff0c9dac3
Signed-off-by: André Martins <aanm90@gmail.com>
9 years ago Bug 1757 UT for Inventory Reader 86/11386/1
Aarti Lolage [Fri, 19 Sep 2014 21:49:15 +0000 (14:49 -0700)]
 Bug 1757 UT for Inventory Reader

Change-Id: I6a3dc4833d03e4b997c5bf3dff4604d52a606ab6
Signed-off-by: Aarti Lolage <aalolage@cisco.com>
9 years agoAdding L2SwitchMain Unit Tests, bug 1757. 48/11348/2
Alex Fan [Fri, 19 Sep 2014 00:37:51 +0000 (17:37 -0700)]
Adding L2SwitchMain Unit Tests, bug 1757.

Change-Id: I033f19f39a624d5d889d8d218367b403ac716f40
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoBug 1757 UT for Flow Writer module 42/11342/2
Aarti Lolage [Thu, 18 Sep 2014 21:48:29 +0000 (14:48 -0700)]
Bug 1757 UT for Flow Writer module

Change-Id: Ic5b467e7a1602f78ca42cf12ec333e0f0513e403
Signed-off-by: Aarti Lolage <aalolage@cisco.com>
9 years agoAdding InstanceIdentifier UnitTests, fixing bug in previous unit tests, bug 1757. 39/11339/1
Alex Fan [Thu, 18 Sep 2014 21:28:42 +0000 (14:28 -0700)]
Adding InstanceIdentifier UnitTests, fixing bug in previous unit tests, bug 1757.

Change-Id: I155672aae57a423f075aa3faebdfb3b504a02d1d
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoMerge "Add -rest and -ui features to make it easier for folks to get the collection...
Alexander Fan [Thu, 18 Sep 2014 19:34:06 +0000 (19:34 +0000)]
Merge "Add -rest and -ui features to make it easier for folks to get the collection they want."

9 years agoAdd -rest and -ui features to make it easier for folks 17/11317/1
Ed Warnicke [Thu, 18 Sep 2014 12:14:26 +0000 (07:14 -0500)]
Add -rest and -ui features to make it easier for folks
to get the collection they want.

Change-Id: I4c3570be7bedfd92d8d4a67814e7349e2f4e99e9
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoAdding java docs, bug 1757. 99/11299/1
Alex Fan [Thu, 18 Sep 2014 01:41:47 +0000 (18:41 -0700)]
Adding java docs, bug 1757.

Change-Id: Ief6a410a1fe61cfadc466d1f984e10669172bed2
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoL2Switch now works with a single switch, bug 1916. 98/11298/2
Alex Fan [Thu, 18 Sep 2014 00:22:45 +0000 (17:22 -0700)]
L2Switch now works with a single switch, bug 1916.

Change-Id: I36a1c99252ed551fafbe0ca0f4cf650e89a7c2e2
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoUnit Tests for ArpHandler module. Bug 1757 73/11273/1
Alex Fan [Wed, 17 Sep 2014 07:11:11 +0000 (00:11 -0700)]
Unit Tests for ArpHandler module.  Bug 1757

Change-Id: I2e7572013cc58d340c119571f5af375061251ff8
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoFix for bug 1814 - where the AddressTracker records the same address twice. 59/11259/1
Alex Fan [Wed, 17 Sep 2014 01:04:35 +0000 (18:04 -0700)]
Fix for bug 1814 - where the AddressTracker records the same address twice.

Change-Id: I79b824e81605097060ba37f51370480f1ef81fae
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoBug 1873 - Replace Hardcoded URLs and add Missing Parent sections to poms to get... 45/10945/5
Devin Avery [Tue, 9 Sep 2014 13:45:20 +0000 (09:45 -0400)]
Bug 1873 - Replace Hardcoded URLs and add Missing Parent sections to poms to get distributionManagement section

Change-Id: I01c1e7447df398204b92b23bbc71405e16cb4ede
Signed-off-by: Devin Avery <devin.avery@brocade.com>
9 years agoBug 1757 UT for addresstracker 04/11204/1
Aarti Lolage [Mon, 15 Sep 2014 18:55:33 +0000 (11:55 -0700)]
Bug 1757 UT for addresstracker

Change-Id: Iadbdc515feb18aef35720db1ca5e9dc1928a7fcc
Signed-off-by: Aarti Lolage <aalolage@cisco.com>
9 years agoUnit Tests for LoopRemover module. Bug 1757 79/11079/2
Alex Fan [Fri, 12 Sep 2014 01:32:28 +0000 (18:32 -0700)]
Unit Tests for LoopRemover module.  Bug 1757

Change-Id: I2b388894684d6e0fddafd689ffe447641f8bab65
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoFix for bug 1834. 76/11076/1
Alex Fan [Fri, 12 Sep 2014 00:30:36 +0000 (17:30 -0700)]
Fix for bug 1834.

Change-Id: Idf4b8698d23adc9368d98469f7cbcdb3d46637e1
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoBug 1707: Changed data updates to use merge 70/10870/2
Amit Mandke [Thu, 4 Sep 2014 00:52:19 +0000 (17:52 -0700)]
Bug 1707: Changed data updates to use merge
Now these data store updates use merge api. Also changed the
instance identifier to use augmentation so that data base can
mange it efficiently.

Change-Id: I2d05f0bd04f1b6f39a7a24dee52568ac4f26c88b
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoAdd another configuration item to L2SwitchMain. Refactor pom.xml to use appropriate... 27/10827/1
Alex Fan [Fri, 5 Sep 2014 01:14:12 +0000 (18:14 -0700)]
Add another configuration item to L2SwitchMain.  Refactor pom.xml to use appropriate output directories.

Change-Id: I26d2d0e692856503303237891c640881eb82a82a
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoMerge "Adding config param to choose packet types for address tracking"
Alexander Fan [Fri, 5 Sep 2014 01:19:59 +0000 (01:19 +0000)]
Merge "Adding config param to choose packet types for address tracking"

9 years agoAdding config param to choose packet types for address tracking 25/10825/1
Amit Mandke [Fri, 5 Sep 2014 00:55:52 +0000 (17:55 -0700)]
Adding config param to choose packet types for address tracking

Change-Id: I6f5f4bccf31d28310a4bc1e680496b015b079a08
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoIntegrate L2SwitchMain with config subsystem. 19/10819/1
Alex Fan [Thu, 4 Sep 2014 23:26:50 +0000 (16:26 -0700)]
Integrate L2SwitchMain with config subsystem.

Change-Id: I572de5580194ac6f693a66fdd9e90ed8da55b837
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoIntegrate address tracker with config subsystem. 05/10805/1
Alex Fan [Thu, 4 Sep 2014 20:57:06 +0000 (13:57 -0700)]
Integrate address tracker with config subsystem.

Change-Id: Icf3e011fe21067c69d54c8a8a15e08e222ed8dbc
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoIntegrate LoopRemover module with config subsystem. 38/10738/5
Alex Fan [Wed, 3 Sep 2014 22:08:47 +0000 (15:08 -0700)]
Integrate LoopRemover module with config subsystem.

Change-Id: Icfbd3fdd2e9e87d47983264e07b77301e1966ef3
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoURGENT Fix for missing dependency in features. 43/10743/1
Amit Mandke [Thu, 4 Sep 2014 00:58:16 +0000 (17:58 -0700)]
URGENT Fix for missing dependency in features.

Change-Id: I9c541301f9db80bbb04c6cb7ed83700d21a26a5b
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoIntegrate packethandler & arphandler with config subsystem. 00/10400/10
Alex Fan [Wed, 27 Aug 2014 22:59:54 +0000 (15:59 -0700)]
Integrate packethandler & arphandler with config subsystem.

Change-Id: Ia43c2b349c47e07d97a36dd45373b1a2d8c0823a
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoURGENT Fix feature for arphandler dependency. 77/10377/1
Ed Warnicke [Wed, 27 Aug 2014 13:34:30 +0000 (08:34 -0500)]
URGENT Fix feature for arphandler dependency.

Integration is broken until this is fixed.

Change-Id: I47cf046b340cc297a166129844ca69c810e29883
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoRefactoring code seperating arp handler from main 44/10344/1
Amit Mandke [Tue, 26 Aug 2014 19:22:54 +0000 (12:22 -0700)]
Refactoring code seperating arp handler from main
Currently address tracker needs l2switch main to work to its full potential.
So this refactoring would seprate out a module that can go as only dependency
of address tracker. This would leave only reactive flow writing in main module.

Change-Id: Ic36ba57dd69e429453f0593cbd9a935842fa8ae6
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoAdding Karaf features for L2switch 15/10115/5
Ed Warnicke [Tue, 19 Aug 2014 00:08:53 +0000 (17:08 -0700)]
Adding Karaf features for L2switch

Also added a local karaf distributions.

cd distribution/karaf/target/assembly/bin
./karaf

And it will come up running l2switch and restconf.

Point mininet at it, pingall, and look at the host tracking
in topology:

GET http://localhost:8181/restconf/operational/network-topology:network-topology/

Had to force maven bundle plugin to 2.4.0 as 2.5.0 is incompatible
with karaf

Change-Id: I0ff09b6d330d3fc7e741cfdc8d652637fdea8ff3
Signed-off-by: Amit Mandke <ammandke@cisco.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
9 years agoAdded util classes for packet decoding instead of depending on controller 99/10199/2
Amit Mandke [Sat, 23 Aug 2014 00:48:37 +0000 (17:48 -0700)]
Added util classes for packet decoding instead of depending on controller

Change-Id: I61f6e4cfb561ac3816b2c209c7c0cccceb70c572
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoAdding interval in address obsrvation writes. 97/10197/3
Amit Mandke [Fri, 22 Aug 2014 22:19:35 +0000 (15:19 -0700)]
Adding interval in address obsrvation writes.
Currently address observation writer updates same observation too
frequently. This change would update it only after some interval.

Change-Id: Ib329de930829438f2d10a29f0377ca299636710f
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoCreating separate proactive flows for internal and external ports. 56/10156/1
Amit Mandke [Fri, 22 Aug 2014 07:47:25 +0000 (00:47 -0700)]
Creating separate proactive flows for internal and external ports.
1. this helps writting less address observation to store.
2. due to point 1. no conclicting commits are observed for test upto
64 switches 10 hosts each.
3. this affects mac to mac flow writer as flows are not written on
each switch. Improved solution is required for this.

Change-Id: I70024f2a300b74f65b8e16e231114a9bd1b17ba7
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoAdding back single flood flow. 24/10124/2
Amit Mandke [Thu, 21 Aug 2014 07:51:29 +0000 (00:51 -0700)]
Adding back single flood flow.
Openflow specification confirms that oputput action would not
send a packet out of ingress port unless reserved port is used.
So it is safe to use single flood flow that only discards 'discarding'
ports.

Change-Id: Ic82013ad0ea3915b217884582c0fd9552bd21c7c
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoAdded logic to ignore host link events. 21/10121/3
Amit Mandke [Thu, 21 Aug 2014 03:25:34 +0000 (20:25 -0700)]
Added logic to ignore host link events.
Network graph or mst doesnt need referesh if host links are
added or removed.

Change-Id: I3cbdfa836943c45bab9b2d84b49ed8451cc90a3b
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoImplemented a small AddressObserver for HostTracker. 23/9923/7
André Martins [Wed, 13 Aug 2014 17:05:53 +0000 (18:05 +0100)]
Implemented a small AddressObserver for HostTracker.

Host tracker with new methods and implementations.
Fix a bug and hosttracker checks datacreated.
Created documentations for Host.

Change-Id: I9c83287c3ed7541ac6b7af05f2a04275ab19ac00
Signed-off-by: André Martins <aanm@ua.pt>
9 years agoApplied Karaf features to l2switch. 70/9970/5
André Martins [Fri, 15 Aug 2014 03:07:01 +0000 (23:07 -0400)]
Applied Karaf features to l2switch.

Change-Id: I55831747a4ed6b9650ab107c5e36183272406f44
Signed-off-by: André Martins <aanm@ua.pt>
Signed-off-by: Mathieu Lemay <mlemay@inocybe.com>
Signed-off-by: André Martins <aanm@ua.pt>
9 years agoMaking further changes to proactive flood, with additional performance improvements. 86/10086/3
Amit Mandke [Wed, 20 Aug 2014 07:27:16 +0000 (00:27 -0700)]
Making further changes to proactive flood, with additional performance improvements.
1. initial flood flows are changed to handle pingall failure.
2. removed some redundant calls to inventory reader and made some further code optimization.
3. code restructuring moved logical classes in respective packages.(arphandler & flow)
4. made pending change to address observer to generate unique key for each address observation.

Change-Id: I501f2a0082e9623c91336a445f135dc41abd1408
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoAdding proactive mode for L2Switch, which installs flood flows. 46/10046/3
Alex Fan [Mon, 18 Aug 2014 21:23:01 +0000 (14:23 -0700)]
Adding proactive mode for L2Switch, which installs flood flows.

Change-Id: I779a49fe9e7fd4ba69dfe934fd4a742b0f77b2bc
Signed-off-by: Alex Fan <railor33@gmail.com>
9 years agoSplitting Flow writing and packet dispatch(reactive flood). 42/10042/1
Amit Mandke [Mon, 18 Aug 2014 19:21:15 +0000 (12:21 -0700)]
Splitting Flow writing and packet dispatch(reactive flood).
This would allow either to be enabled or disabled easily based on need.

Change-Id: I271a1f58ff8df916413aa1e20154c60fa2860784
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoMaking changes to loop remover so that it doesnt rely on in memory graph. 61/9961/1
Amit Mandke [Tue, 12 Aug 2014 20:43:51 +0000 (13:43 -0700)]
Making changes to loop remover so that it doesnt rely on in memory graph.
This would help the loopremover to behave same across cluster(in a clustered env)
and it will not reply on any in memory local state.

Change-Id: I639ce0cd87a3e61c67a69a611ded4bea050682cb
Signed-off-by: Amit Mandke <ammandke@cisco.com>
9 years agoMerge "Fixed ClassCastException during decode. There was possibility of single decode...
Alexander Fan [Wed, 13 Aug 2014 22:44:21 +0000 (22:44 +0000)]
Merge "Fixed ClassCastException during decode. There was possibility of single decoder instance being registered twice as notification listner. This synchronized method would eliminate that. This was resulting in ClassCastException/ unpredictable behaviour."

9 years agoFixed ClassCastException during decode. 32/9932/1
Amit Mandke [Wed, 13 Aug 2014 21:10:35 +0000 (14:10 -0700)]
Fixed ClassCastException during decode.
There was possibility of single decoder instance being registered
twice as notification listner. This synchronized method would eliminate that.
This was resulting in ClassCastException/ unpredictable behaviour.

Change-Id: I52e57b8e1568520c6742c20ea60e5b28610df68f
Signed-off-by: Amit Mandke <ammandke@cisco.com>