openflowplugin.git
10 years agoAdding testcase for Output Port 64/4564/2
Gaurav Bhagwani [Wed, 22 Jan 2014 10:51:14 +0000 (16:21 +0530)]
Adding testcase for Output Port
-f82 is the test-case for outputport, written for port=1
Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agoupdates in test scripts 04/4504/1
Juraj Sebin [Tue, 21 Jan 2014 14:28:19 +0000 (15:28 +0100)]
updates in test scripts
-tests scripts are running in sequence
-new validation method
-structure of xml is validated before test

Change-Id: I6931f6449370f65df9a081e3089f9f8d0c0e20e8
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoFlowStats for a particular flow using RPC service 71/4471/2
etusgoy [Tue, 21 Jan 2014 06:05:35 +0000 (11:35 +0530)]
FlowStats for a particular flow using RPC service

Signed-off-by: etusgoy <goyaltushar7@gmail.com>
10 years agoGroup and Meter desc statistics testing 73/4473/2
etusgoy [Tue, 21 Jan 2014 07:25:48 +0000 (12:55 +0530)]
Group and Meter desc statistics testing

Signed-off-by: etusgoy <goyaltushar7@gmail.com>
Change-Id: I06e0fe1af27ba32e1a2bee2a5beab525b0fe73d2

10 years agoMerge "copyright header added"
Abhijit Kumbhare [Mon, 20 Jan 2014 22:27:57 +0000 (22:27 +0000)]
Merge "copyright header added"

10 years agocopyright header added 57/4457/1
Michal Rehak [Mon, 20 Jan 2014 18:35:36 +0000 (19:35 +0100)]
copyright header added

Change-Id: I1169e1761a5505a6a79e58893837753602d26e92
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agodependdency convergence 56/4456/1
Michal Rehak [Mon, 20 Jan 2014 16:26:05 +0000 (17:26 +0100)]
dependdency convergence

downgrading slf4j-log4j to 1.7.2

Change-Id: I70f5f22e05b6ba8131f2223d97e7ed60596cc3b7
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoPortConvertor changed due to changes in yang model as per https://git.opendaylight... 34/4434/3
Deepthi V V [Mon, 20 Jan 2014 10:51:01 +0000 (16:21 +0530)]
PortConvertor changed due to changes in yang model as per https://git.opendaylight.org/gerrit/#/c/4433

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
10 years agoFixed build failures for yang module changes 36/4436/5
Prasanna Huddar [Mon, 20 Jan 2014 11:27:13 +0000 (16:57 +0530)]
Fixed build failures for yang module changes

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I4431f68ded694ae2013747f2af3a5ed7ed5c1259

10 years agoMerge "Added some debug logging to check on processing timing"
michal rehak [Mon, 20 Jan 2014 13:58:57 +0000 (13:58 +0000)]
Merge "Added some debug logging to check on processing timing"

10 years agoMerge "Fixed a typo in pom.xml s/includeArtifacIds/includeArtifactIds/"
michal rehak [Mon, 20 Jan 2014 13:57:05 +0000 (13:57 +0000)]
Merge "Fixed a typo in pom.xml s/includeArtifacIds/includeArtifactIds/"

10 years agoFixed bug : 288 14/4414/2
Anilkumar Vishnoi [Thu, 16 Jan 2014 17:58:24 +0000 (23:28 +0530)]
Fixed bug : 288
https://bugs.opendaylight.org/show_bug.cgi?id=288

Change-Id: I54350ec1bef5f8b3cad95271dcd2bd9140e8827b
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoAdded some debug logging to check on processing timing 08/4408/1
Ed Warnicke [Sun, 19 Jan 2014 19:24:02 +0000 (13:24 -0600)]
Added some debug logging to check on processing timing

Change-Id: If09f2afb572151bbefe3c21f284b478622ab5fe2
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoRemoved 100 item limit in queue 07/4407/1
Ed Warnicke [Sun, 19 Jan 2014 19:21:19 +0000 (13:21 -0600)]
Removed 100 item limit in queue

The 100 item limit in queue was causing us to drop messages with

Queue full

because pulling stats etc results in more than 100 messages suddenly,
and no matter how fast we take from the queue, its never fast enough.

Change-Id: I41e087a7e9094ee7ec5e42cf6d0a9cafa7ebdb76
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFixed a typo in pom.xml s/includeArtifacIds/includeArtifactIds/ 83/4383/1
Brent Salisbury [Sun, 19 Jan 2014 09:58:47 +0000 (04:58 -0500)]
Fixed a typo in pom.xml s/includeArtifacIds/includeArtifactIds/

Signed-off-by: Brent Salisbury <brent.salisbury@gmail.com>
10 years agoUpdating LLDP Match TestCase 58/4358/4
Gaurav Bhagwani [Fri, 17 Jan 2014 15:51:27 +0000 (21:21 +0530)]
Updating LLDP Match TestCase

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agodividing handshake tests to controller fist and switch first scenarios 73/4373/1
Michal Rehak [Sat, 18 Jan 2014 13:37:49 +0000 (14:37 +0100)]
dividing handshake tests to controller fist and switch first scenarios

added exception catching after tests
added posthandshake stuff to tests
added negotiation moved to pure handshake testing

Change-Id: Ic9bbc095f36ec605295af0ffdeddc1902ece3e9d
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoDo not add a null ActionsList to the List of ActionsList. 35/4335/3
Moiz Raja [Fri, 17 Jan 2014 00:18:58 +0000 (16:18 -0800)]
Do not add a null ActionsList to the List of ActionsList.

Change-Id: Id474991018db99b3416d5db8767ad152dec1695c
Signed-off-by: Moiz Raja <moraja@cisco.com>
10 years agotest fix 45/4345/1
Juraj Sebin [Fri, 17 Jan 2014 09:41:24 +0000 (10:41 +0100)]
test fix
delete flow after test

Change-Id: Ia6920b25a8c22fdf843e18d6cee01cfbf3691cfb
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoTopology Notifications, seprating PortNotification 61/4261/4
Gaurav Bhagwani [Thu, 16 Jan 2014 13:29:37 +0000 (18:59 +0530)]
Topology Notifications, seprating PortNotification

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Change-Id: I41b4113b00c0c54dce2fc46652f55f762ee3c57f

10 years agoAdded dumpMsgCount osgi command 76/4276/3
Michal Rehak [Wed, 15 Jan 2014 17:54:36 +0000 (18:54 +0100)]
Added dumpMsgCount osgi command

+ fixed BigInteger constructors to prevent readig byte[] input as negative number
+ added some copyrights

Change-Id: Ie65ae84845ebbfbf77f6164e1521121471e38ab6
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agofixes in test scripts: 13/4313/1
Juraj Sebin [Thu, 16 Jan 2014 15:03:44 +0000 (16:03 +0100)]
fixes in test scripts:
-removed comparators, files in ofctl directory are used instead
-refactored code

Change-Id: Idd3a67e52a62d6c6279cb425a8e4ea8d124cfd5d
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoGroup and Meter Stats Testing 60/4260/2
etusgoy [Wed, 15 Jan 2014 12:07:53 +0000 (17:37 +0530)]
Group and Meter Stats Testing

Signed-off-by: etusgoy <goyaltushar7@gmail.com>
10 years agoTable Features Max Entries Fix 87/4287/1
HemaTG [Thu, 16 Jan 2014 04:09:06 +0000 (09:39 +0530)]
Table Features Max Entries Fix

Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
10 years agoMerge "Fixed Bug : 287 https://bugs.opendaylight.org/show_bug.cgi?id=287"
Abhijit Kumbhare [Thu, 16 Jan 2014 00:48:58 +0000 (00:48 +0000)]
Merge "Fixed Bug : 287 https://bugs.opendaylight.org/show_bug.cgi?id=287"

10 years agoRevert "Pass additional fields from OF lib to apps" 85/4285/1
Ed Warnicke [Thu, 16 Jan 2014 00:05:20 +0000 (18:05 -0600)]
Revert "Pass additional fields from OF lib to apps"
https://git.opendaylight.org/gerrit/#/c/4245/

Revert "Added null check for reason"
https://git.opendaylight.org/gerrit/#/c/4244/

These commits completely break packetIn, and thus topology.
Please revert until they can be fixed, as its also holding
up work on the adapters around arp etc.

This reverts commit c9d12e93d94189aca02073079db55e92abfed6e4.

Change-Id: I5ab801bdfa4d2c25d8563f508054391d94134df6
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFixed Bug : 287 82/4282/1
Anilkumar Vishnoi [Wed, 15 Jan 2014 22:43:19 +0000 (04:13 +0530)]
Fixed Bug : 287
https://bugs.opendaylight.org/show_bug.cgi?id=287

Change-Id: Ie7bf61069843901155d81221f993d4c1e29659c6
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoMerge "added copyright"
Abhijit Kumbhare [Wed, 15 Jan 2014 18:07:43 +0000 (18:07 +0000)]
Merge "added copyright"

10 years agoGroup Test-cases 72/4172/3
etusgoy [Wed, 15 Jan 2014 11:47:09 +0000 (17:17 +0530)]
Group Test-cases

Signed-off-by: etusgoy <goyaltushar7@gmail.com>
Change-Id: I8dc6c00fc4b1c96903b68db32b1e9babcd8459cb

10 years agoadded copyright 51/4251/2
Michal Rehak [Wed, 15 Jan 2014 10:17:23 +0000 (11:17 +0100)]
added copyright

Change-Id: I6438cce953489c0a86b0db907ca17b2fd2b33b7c
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agofixes in test scripts 52/4252/1
Juraj Sebin [Wed, 15 Jan 2014 10:11:27 +0000 (11:11 +0100)]
fixes in test scripts

-fixed connection to controller - added port argument
-updated and stored xmls are compared based on thier values, instead of strings
-deleted duplicated method masked_value_hex_comparator

Change-Id: I411eafe605bd65204806c28fbf3981ba50530483
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoMerge "Fixed for bug #301 and added test for queue stats"
michal rehak [Wed, 15 Jan 2014 08:58:29 +0000 (08:58 +0000)]
Merge "Fixed for bug #301 and added test for queue stats"

10 years agoMerge "Table Features Requests Fix and TestCases"
michal rehak [Wed, 15 Jan 2014 08:57:40 +0000 (08:57 +0000)]
Merge "Table Features Requests Fix and TestCases"

10 years agoMerge "Added null check for reason Signed-off-by: Srikar Rajamani <srikar.rajamani...
michal rehak [Wed, 15 Jan 2014 08:55:33 +0000 (08:55 +0000)]
Merge "Added null check for reason Signed-off-by: Srikar Rajamani <srikar.rajamani@ericsson.com> Change-Id: I199a201dda2963cf47a725f9264c6aaf122d1e73"

10 years agoMerge "Fixed NullPointerException"
michal rehak [Wed, 15 Jan 2014 08:45:48 +0000 (08:45 +0000)]
Merge "Fixed NullPointerException"

10 years agoFixed for bug #301 and added test for queue stats 48/4248/1
AnilGujele [Wed, 15 Jan 2014 07:59:59 +0000 (13:29 +0530)]
Fixed for bug #301 and added test for queue stats

Change-Id: I305c4b6ef5d6ab0392c3e59847dddb65b76a4e2d
Signed-off-by: AnilGujele <angujele@in.ibm.com>
10 years agoTable Features Requests Fix and TestCases 47/4247/1
HemaTG [Wed, 15 Jan 2014 07:13:53 +0000 (12:43 +0530)]
Table Features Requests Fix and TestCases

Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
10 years agoAdded null check for reason 44/4244/2
Srikar Rajamani [Wed, 15 Jan 2014 03:00:27 +0000 (08:30 +0530)]
Added null check for reason
Signed-off-by: Srikar Rajamani <srikar.rajamani@ericsson.com>
Change-Id: I199a201dda2963cf47a725f9264c6aaf122d1e73

10 years agoPass additional fields from OF lib to apps 45/4245/1
Srikar Rajamani [Wed, 15 Jan 2014 02:51:51 +0000 (08:21 +0530)]
Pass additional fields from OF lib to apps
Added a null check
Signed-off-by: Srikar Rajamani <srikar.rajamani@ericsson.com>
10 years agodependency version update 24/4224/1
Michal Rehak [Tue, 14 Jan 2014 12:54:45 +0000 (13:54 +0100)]
dependency version update

according to releaseReadiness and jenkins integration-dependencyConvergence build
tidying up dependency management

Change-Id: Ib7e0d94d570a20a5ff87909a59b6356644708a2d
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoFixed NullPointerException 78/4178/1
Deepthi V V [Mon, 13 Jan 2014 11:41:09 +0000 (17:11 +0530)]
Fixed NullPointerException

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
10 years agoSwitch from using a Long for FlowId to an Uri 59/4059/3
Ed Warnicke [Tue, 7 Jan 2014 21:50:53 +0000 (13:50 -0800)]
Switch from using a Long for FlowId to an Uri

This patch will build only after http://git.opendaylight.org/gerrit/4058 is merged

Change-Id: Ia2348c24bf53d91c11922badcd288575e0175aac
Signed-off-by: Moiz Raja <moraja@cisco.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoProperly extract the port number from an MD-SAL NodeConnectorId 07/4007/7
Ed Warnicke [Fri, 3 Jan 2014 01:52:20 +0000 (17:52 -0800)]
Properly extract the port number from an MD-SAL NodeConnectorId

MD-SAL NodeConnectorId's are not numbers. They are a URI of the form
openflow:<switchid>:<portno>. Changed logic to extract it but only for OF1.3.

Change-Id: I79b2c5736576910ae80836655eb6b8abb064ec18
Signed-off-by: Moiz Raja <moraja@cisco.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoUpdate to test scripts to handle all remaining matches 44/4144/1
Ed Warnicke [Fri, 10 Jan 2014 18:22:08 +0000 (12:22 -0600)]
Update to test scripts to handle all remaining matches

Change-Id: Iaecb7ea51681e50734eadda1af9a1223e3bc42c1
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoUpdated to test-scripts 24/4124/2
Ed Warnicke [Thu, 9 Jan 2014 21:02:19 +0000 (15:02 -0600)]
Updated to test-scripts

Change-Id: Ic9ce81133ab00048de5c607c26d469395308703c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoadded test classes for stats 32/4132/1
AnilGujele [Fri, 10 Jan 2014 11:00:38 +0000 (16:30 +0530)]
added test classes for stats

Change-Id: Ibcc234fe4ca72e2f4121f9a93a705830fee88409
Signed-off-by: AnilGujele <angujele@in.ibm.com>
10 years agoremoving thirdparty repository 82/4082/1
Michal Rehak [Wed, 8 Jan 2014 15:58:46 +0000 (16:58 +0100)]
removing thirdparty repository

because of optimizing artifact downloading jobs (from nexus)

Change-Id: I93d056d69cd40f2b6c9cd1781429851aeb066396
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoupdated to fix the Desc Stats issue in OF1.0 64/4064/1
AnilGujele [Wed, 8 Jan 2014 11:24:56 +0000 (16:54 +0530)]
updated to fix the Desc Stats issue in OF1.0

Change-Id: Id30bbfcf87cb5d8686d2eab4bcb15d2c6a4881b7
Signed-off-by: AnilGujele <angujele@in.ibm.com>
10 years agoFix Bug 271 30/4030/5
Ed Warnicke [Sat, 4 Jan 2014 22:01:44 +0000 (14:01 -0800)]
Fix Bug 271

Due to order of merging for controller, I have had
to merge three commits to get it all to verify in Jenkins.

https://git.opendaylight.org/gerrit/#/c/4017/3
https://git.opendaylight.org/gerrit/#/c/4007/6
https://git.opendaylight.org/gerrit/#/c/4030/

I have preserved all three log messages below.

Fixed port discovery for OF 1.0

1)  Consolodated translation from Port to NodeConnectorUpdated into
PortTranslatorUtils.java
2)  Updated PortTranslatorUtils.translatePort to correctly handle
OF 1.0
3)  Switched MultiPartReplyPortToNodeConnectorUpdatedTranslator.java
to using PortTranslatorUtils.translatePort
4)  Switched PortStatusMessageToNodeConnectorUpdatedTranslator.java
to using PortTranslatorUtils.translatePort
5)  Write FeaturesV10ToNodeConnectorUpdatedTranslator.java to
translate OF 1.0 GetFeaturesOutput to a NodeConnectorUpdated
as thats where in OF 1.0 we learn about ports
6)  Changed MDController.java to register the new translator for OF 1.0
7)  Changed ConnectionConductorImpl.java to queue up the
GetFeaturesOutput for OF 1.0 so we can process it like any other
message.

Properly extract the port number from an MD-SAL NodeConnectorId

MD-SAL NodeConnectorId's are not numbers. They are a URI of the form
openflow:<switchid>:<portno>. Changed logic to extract it but only for OF1.3.

Fix for Bug 271

Change-Id: Iafd21693313e79f25ad16a24a4e3a2baec59a403
Signed-off-by: Moiz Raja <moraja@cisco.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "Initial commit of the test-scripts"
Abhijit Kumbhare [Wed, 8 Jan 2014 07:02:28 +0000 (07:02 +0000)]
Merge "Initial commit of the test-scripts"

10 years agoInitial commit of the test-scripts 54/4054/1
Ed Warnicke [Tue, 7 Jan 2014 16:39:39 +0000 (08:39 -0800)]
Initial commit of the test-scripts

Change-Id: I4601bf41748bbd1947993f54be755bea221ef45f
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoadded flowRemoved async message translator for OF1.0 86/3986/2
AnilGujele [Tue, 31 Dec 2013 07:19:17 +0000 (12:49 +0530)]
added flowRemoved async message translator for OF1.0

Change-Id: I7819ea6ce8dcc8fda43caa56dc5275d8e5d5a4b9
Signed-off-by: AnilGujele <angujele@in.ibm.com>
10 years agoFix to convert BigInteger to 64 bit data when MSB is 1. 47/4047/1
Deepthi V V [Tue, 7 Jan 2014 11:29:56 +0000 (16:59 +0530)]
Fix to convert BigInteger to 64 bit data when MSB is 1.
When MSB is 1, BigInteger toByteArray resulted in 9 element byte array, which lead to ArrayIndexOutOfBoundsException.

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
10 years agoMerge "Fix for Bug 262 - goes with controller Gerrit3929"
Abhijit Kumbhare [Fri, 3 Jan 2014 21:09:21 +0000 (21:09 +0000)]
Merge "Fix for Bug 262 - goes with controller Gerrit3929"

10 years agoAdding negative testcase scenario for flows 99/3999/2
Govind [Fri, 3 Jan 2014 09:45:37 +0000 (15:15 +0530)]
Adding negative testcase scenario for flows

Signed-off-by: Govind <p.govinda.rajulu@ericsson.com>
Change-Id: I8f6abf29b2a4e91153012a180f1e24ca5044bb3a

10 years agoChanges for InstructionKey in f18 test-case and setField-Arp and IPv6 85/3985/1
etusgoy [Tue, 31 Dec 2013 06:46:00 +0000 (12:16 +0530)]
Changes for InstructionKey in f18 test-case and setField-Arp and IPv6

Signed-off-by: etusgoy <goyaltushar7@gmail.com>
10 years agoAdding support for the git-review command line tool 72/3972/2
Colin McNamara [Mon, 30 Dec 2013 03:27:08 +0000 (19:27 -0800)]
Adding support for the git-review command line tool

The OpenStack doc workflow (and entire gerrit workflow) has the
option of using a tool called git-review that automates ChangeID:
creation and management,automates rebasing of local commits
as well as simplifies submiting to gerrit and pulling and
pushing reviews.

Usage of the tool is entirely optional, however it does require
a pointer file named .gitreview in the root of the repository
that is referenced.

I am totally new to this project, if you guys don't want to merge
this then no big deal. However I think this will help with dev's
coming over from OpenStack as it will provide a optional workflow
that is closer to the OpenStack workflow.

It is necessary to run git review -s to append the change-id into
git-hooks the first time you use the tool

Change-Id: Ie8b1a015673390a8d0b0b93cdf3bb8c4b55ca2d8
Signed-off-by: Colin McNamara <colin@2cups.com>
10 years agoupdated to fix the OF1.0 flow stats issue caused by IP match comparison 76/3976/1
AnilGujele [Mon, 30 Dec 2013 10:49:46 +0000 (16:19 +0530)]
updated to fix the OF1.0 flow stats issue caused by IP match comparison

Change-Id: I8b1a635dfbb1fbf405bb0341c98f1a03993fd039
Signed-off-by: AnilGujele <angujele@in.ibm.com>
10 years agoFixed TicketFinisher to catch *all* exceptions. 45/3945/2
Ed Warnicke [Fri, 27 Dec 2013 17:15:19 +0000 (09:15 -0800)]
Fixed TicketFinisher to catch *all* exceptions.

Change-Id: I2a708eba8a5e8e8ed1c9def9b7293ac85bd3d972
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFix double translation of messages. 37/3937/2
Ed Warnicke [Thu, 26 Dec 2013 18:21:56 +0000 (10:21 -0800)]
Fix double translation of messages.

Also, return Collections.emptyList() if we do not have a
result from translation rather than null.

Change-Id: I64e014c8cdbe794570e5f9f525574789fd53a5da
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agocorrecting notification msgs for listener 44/3944/1
Gaurav Bhagwani [Fri, 27 Dec 2013 15:05:34 +0000 (20:35 +0530)]
correcting notification msgs for listener

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agoUpdating TestProvider with PortStatus Listener 42/3942/1
Gaurav Bhagwani [Fri, 27 Dec 2013 14:06:57 +0000 (19:36 +0530)]
Updating TestProvider with PortStatus Listener

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agoAdding default max Length for output Action 38/3938/2
Govind [Fri, 27 Dec 2013 10:18:10 +0000 (15:48 +0530)]
Adding default max Length for output Action

Signed-off-by: Govind <p.govinda.rajulu@ericsson.com>
10 years agoFix for Bug 262 - goes with controller Gerrit3929 30/3930/1
Ed Warnicke [Thu, 26 Dec 2013 01:48:22 +0000 (17:48 -0800)]
Fix for Bug 262 - goes with controller Gerrit3929

Needed to fix from http://git.opendaylight.org/gerrit/3929

Change-Id: Ibd5873f79482d6e23b9733f4a67b01db71ec9077
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMinor fixes to lldp speaker and packet out 25/3925/1
Ed Warnicke [Wed, 25 Dec 2013 22:15:25 +0000 (14:15 -0800)]
Minor fixes to lldp speaker and packet out

Change-Id: Ide87f078a26a83e60468047e03c6e8543d34a9b2
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFixed minor issue in openflow 1.0 flow stats translator. 17/3917/1
Anilkumar Vishnoi [Tue, 24 Dec 2013 20:12:11 +0000 (01:42 +0530)]
Fixed minor issue in openflow 1.0 flow stats translator.
Openflow 1.0 flow stats don't have flag, so setting flag only in case of openflow 1.3 flow stats

Change-Id: Icb4d14c4fea1f3e40590736b87e3c506afa8f7f5
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoAdded notification for Flow add/delete/update 96/3896/10
Prasanna Huddar [Sun, 22 Dec 2013 16:01:34 +0000 (21:31 +0530)]
Added notification for Flow add/delete/update

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: Iaf44c7ab25bfe00797b675db87fdb7b3b4a53231

10 years agoActions 1.0 : Fix for SetNwSrc and SetNwDst 81/3881/5
Gaurav Bhagwani [Fri, 20 Dec 2013 21:26:17 +0000 (02:56 +0530)]
Actions 1.0 : Fix for SetNwSrc and SetNwDst
Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agoFixed NPE - Driver library was throwing NPE while encoding MatchV10 07/3907/2
Anilkumar Vishnoi [Mon, 23 Dec 2013 12:49:01 +0000 (18:19 +0530)]
Fixed NPE - Driver library was throwing NPE while encoding MatchV10

Change-Id: I82b7ec530506fb300b4ac9d77f7203b0fff3f448
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoUpdated Ipv6ExtHdr match field 63/3863/2
Michal Polkorab [Fri, 20 Dec 2013 10:07:28 +0000 (11:07 +0100)]
Updated Ipv6ExtHdr match field
DO NOT MERGE: until https://git.opendaylight.org/gerrit/#/c/3862/ is merged

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoAdding Action testCases to GroupTestProvider 92/3892/3
etusgoy [Mon, 23 Dec 2013 08:39:42 +0000 (14:09 +0530)]
Adding Action testCases to GroupTestProvider

Signed-off-by: etusgoy <goyaltushar7@gmail.com>
Change-Id: I36fb607b4e99f6c7a4bc2831751667bf8a48c3bf

10 years ago1) Fixed minor issue caused by change in port statistics models 98/3898/1
Anilkumar Vishnoi [Sat, 21 Dec 2013 20:07:56 +0000 (01:37 +0530)]
1) Fixed minor issue caused by change in port statistics models
2) Added converter to convert OF actions to MD-SAL actions
3) Added check to avoid sending group/meter feature request to openflow 1.0 switch

Change-Id: Ib1995f53c7cdb1e092fffa8418ac5520291c97fb
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoUpdating Test Cases for SetField Action 80/3880/2
Gaurav Bhagwani [Fri, 20 Dec 2013 19:26:06 +0000 (00:56 +0530)]
Updating Test Cases for SetField Action
-Adding the TestCases for the SetField Action in OpenflowPluginTestCommandProvider
Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agoMerge "Fix OuputPackage Test"
michal rehak [Fri, 20 Dec 2013 15:56:19 +0000 (15:56 +0000)]
Merge "Fix OuputPackage Test"

10 years agoFix OuputPackage Test 73/3873/1
Vaclav Demcak [Fri, 20 Dec 2013 15:44:15 +0000 (16:44 +0100)]
Fix OuputPackage Test

Fix TransmitPackage and refactoring adapter

Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
10 years agoupdated to set barrier for verifying barrier message of OF1.0 66/3866/1
AnilGujele [Fri, 20 Dec 2013 10:55:54 +0000 (16:25 +0530)]
updated to set barrier for verifying barrier message of OF1.0

Change-Id: I0d90304ea1edf5c48619c8b3292733fb3e5ea3b8
Signed-off-by: AnilGujele <angujele@in.ibm.com>
10 years agosanitize Boolean autoboxing NPE 57/3857/1
Michal Rehak [Thu, 19 Dec 2013 19:48:41 +0000 (20:48 +0100)]
sanitize Boolean autoboxing NPE

added mockito dependency
added smoke test for NPE in flow operations

Change-Id: I285685de135596cfee29cbe15862f0945bf1ed72
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoOutputPackage Test impl 02/3802/4
Vaclav Demcak [Thu, 12 Dec 2013 10:13:43 +0000 (11:13 +0100)]
OutputPackage Test impl

OutputPacket basic test + ping flow implementation (not finished yet)
Fix Port_Nr conversion
Fix transmit packet method from ModelDrivenSwitchImpl

Change-Id: Ief1be2e2279be6636e5c257ef38d4e04de8482ad
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
10 years agoLLDPSpeaker - Periodically sends out LLDP packets on interfaces 23/3823/3
Ed Warnicke [Sat, 14 Dec 2013 23:04:16 +0000 (15:04 -0800)]
LLDPSpeaker - Periodically sends out LLDP packets on interfaces

Change-Id: I8ce84e7db45edd1b8b4708831765bb48b3944b40
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFixed to remove flow for OF1.0, added test, and updated for missing action 48/3848/1
AnilGujele [Thu, 19 Dec 2013 12:35:11 +0000 (18:05 +0530)]
Fixed to remove flow for OF1.0, added test, and updated for missing action
nw_tos

Change-Id: I7ef809c93395d7d4b7833935e6bbe9f050e5b693
Signed-off-by: AnilGujele <angujele@in.ibm.com>
10 years agoMerge "FlowWildCardsV10 - removed .ALL value DO NOT MERGE until https://git.opendayli...
michal rehak [Thu, 19 Dec 2013 10:22:56 +0000 (10:22 +0000)]
Merge "FlowWildCardsV10 - removed .ALL value DO NOT MERGE until https://git.opendaylight.org/gerrit/#/c/3816/ is merged"

10 years agoMerge "Table update rpc added as provider"
michal rehak [Thu, 19 Dec 2013 10:02:22 +0000 (10:02 +0000)]
Merge "Table update rpc added as provider"

10 years agoFlowWildCardsV10 - removed .ALL value 19/3819/2
Michal Polkorab [Wed, 18 Dec 2013 13:44:45 +0000 (14:44 +0100)]
FlowWildCardsV10 - removed .ALL value
DO NOT MERGE until https://git.opendaylight.org/gerrit/#/c/3816/ is merged

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoupdated to tp_src, nw_tos match issue and setting actionslist for OF1.0, 09/3809/2
AnilGujele [Wed, 18 Dec 2013 05:39:33 +0000 (11:09 +0530)]
updated to tp_src, nw_tos match issue and setting actionslist for OF1.0,
updated test cases also.

Change-Id: I29d4f7d6a3d7d49219fbe8ea07cc75462fb95c1c
Signed-off-by: AnilGujele <angujele@in.ibm.com>
10 years agoadded message counter 37/3837/1
Michal Rehak [Mon, 16 Dec 2013 15:13:00 +0000 (16:13 +0100)]
added message counter

fix flow switch-case values (typo)
changed sysout to log in test-provider
extended to cumulated and per interval counting

Change-Id: Ia8ff8424811ba45646b6623375e133e88c11ea3b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agobarrier message added for addflow 25/3825/5
Prasanna Huddar [Wed, 18 Dec 2013 15:54:08 +0000 (21:24 +0530)]
barrier message added for addflow

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: I8ddc822e86a084b4f9b61b55c6233dfabf203b61

10 years agoSmall fix. We need to let the converters handle defaults for null values 05/3805/1
Ed Warnicke [Tue, 17 Dec 2013 22:22:19 +0000 (14:22 -0800)]
Small fix.  We need to let the converters handle defaults for null values

Change-Id: Idb282a483f75b1521a59307fb848e2fcda9fe409
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "MS-SAL Statistics Manager - Minor bug fixing in group/meter notifications"
Abhijit Kumbhare [Tue, 17 Dec 2013 17:18:43 +0000 (17:18 +0000)]
Merge "MS-SAL Statistics Manager - Minor bug fixing in group/meter notifications"

10 years agoMS-SAL Statistics Manager - Minor bug fixing in group/meter notifications 96/3796/1
Anilkumar Vishnoi [Tue, 17 Dec 2013 16:20:32 +0000 (21:50 +0530)]
MS-SAL Statistics Manager - Minor bug fixing in group/meter notifications

Change-Id: Ie821d04c82bbcc962166150d8f63f6bd405161ae
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoTable update rpc added as provider 91/3791/1
Prasanna Huddar [Tue, 17 Dec 2013 14:00:32 +0000 (19:30 +0530)]
Table update rpc added as provider

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
10 years agoUpdating OutputAction TestCase, Converter 50/3750/4
Gaurav Bhagwani [Mon, 16 Dec 2013 18:01:16 +0000 (23:31 +0530)]
Updating OutputAction TestCase, Converter

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Change-Id: I62a87ee87bce074590ec3ebd86c51f613de29cb8

10 years agoMD-SAL Statistics Manager - Implemented rpc/notification for queue stats collection 66/3766/1
Anilkumar Vishnoi [Mon, 16 Dec 2013 20:40:19 +0000 (02:10 +0530)]
MD-SAL Statistics Manager - Implemented rpc/notification for queue stats collection

Change-Id: I9dab93c94068edd7b19064d71f5bfb848aea1876
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoAdded an UNORDERED option to QueueKeeper 36/3736/3
Ed Warnicke [Sun, 15 Dec 2013 17:29:21 +0000 (09:29 -0800)]
Added an UNORDERED option to QueueKeeper

Not all packets require order be preserved, in particular
its actively harmful as a way to deal with PacketIn.

So... I added a QueueType enum {DEFAULT, UNORDERED} (so
we could in principle decide we need different queues in the future)

Kept the existing queueKeeper beahvior for existing invocations
Changed over PacketIn to using UNORDERED

Made PacketInTranslator a bit more robust.

Change-Id: Id835e9840ed26f9ed10e9090ce49ffaa429a002c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoAdding Test functionality for TableFeaturesRequest 39/3739/2
HemaTG [Mon, 16 Dec 2013 04:58:50 +0000 (10:28 +0530)]
Adding Test functionality for TableFeaturesRequest

Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
10 years agoSetQueueId SetGroupId not proper: ActionConverter 37/3737/1
Gaurav Bhagwani [Sun, 15 Dec 2013 18:24:34 +0000 (23:54 +0530)]
SetQueueId SetGroupId not proper: ActionConverter

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agoMerge "enabling drop-test on cpqd"
Abhijit Kumbhare [Sat, 14 Dec 2013 23:29:55 +0000 (23:29 +0000)]
Merge "enabling drop-test on cpqd"

10 years agoenabling drop-test on cpqd 30/3730/2
Ed Warnicke [Sat, 14 Dec 2013 21:37:04 +0000 (22:37 +0100)]
enabling drop-test on cpqd

Change-Id: I4a049007df2b8bb9a27280bec30467e47381cf2f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMD-SAL Statistics Manager - Implemented rpc/notification for 32/3732/1
Anilkumar Vishnoi [Sat, 14 Dec 2013 14:29:45 +0000 (19:59 +0530)]
MD-SAL Statistics Manager - Implemented rpc/notification for
port statistics and flow table statistics
This gerrit is dependent on following controller gerrit
http://git.opendaylight.org/gerrit/3731

Change-Id: Idd175add3bbdb289b61ac7689b5a366e8adbd166
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoMerge "NEW:Infrastructure for match"
Abhijit Kumbhare [Sat, 14 Dec 2013 22:11:33 +0000 (22:11 +0000)]
Merge "NEW:Infrastructure for match"

10 years agoMerge "updated to handle OF1.0 flow test (tableId as argument and new test cases)"
Abhijit Kumbhare [Sat, 14 Dec 2013 20:22:09 +0000 (20:22 +0000)]
Merge "updated to handle OF1.0 flow test (tableId as argument and new test cases)"