openflowplugin.git
10 years agofix of BUG 480 50/5650/1
Michal Rehak [Fri, 14 Mar 2014 13:51:19 +0000 (14:51 +0100)]
fix of BUG 480

- lowered priority of flow-54 added programmatically via osgi cmd
- cleaning bound to OFLibrary upon bundle stop

Change-Id: Ibe24e730b032621a97f6dd36af8c29d4607a27ea
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agofix of BUG 434 33/5633/1
Michal Rehak [Thu, 13 Mar 2014 16:50:12 +0000 (17:50 +0100)]
fix of BUG 434

- added AutoCloseable interface to MDController, MessageCountCommandProvider, SalRegistrationManager, SessionManager
- added init/start and close/destroy logging
- added closing/destroying upon bundle stop

Change-Id: I5fe94bbcfa37225790b68d2e1ef01ffb1f6ab675
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agofix of BUG 512 02/5602/2
Michal Rehak [Tue, 11 Mar 2014 15:34:00 +0000 (16:34 +0100)]
fix of BUG 512

- sanitized NPE if no data in error message present
- added error type support for OF-1.0 error messages
- removed commented code in ActionConvertor

Change-Id: I915ad8f2645d9e641b53a5a237906a3a44aade2b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agofixed the recconect issue "Timeout waiting for task" 01/5601/1
Prasanna Huddar [Tue, 11 Mar 2014 15:15:01 +0000 (20:45 +0530)]
fixed the recconect issue "Timeout waiting for task"
Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
10 years agofix of BUG 482 52/5552/3
Michal Rehak [Thu, 6 Mar 2014 11:54:55 +0000 (12:54 +0100)]
fix of BUG 482

packetIn translation is split into OF-1.0 and OF-1.3
- OF-1.0 does not provide table and match, ingress port is directly assigned to message
- OF-1.3 provides tableId, match, ingress port is extracted from match

Change-Id: I083359041de038eca971b5453c152cad3a8fb51b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoAdding FlowRef,MeterRef and GroupRef for the Error message 87/4587/18
P Govinda Rajulu [Fri, 7 Mar 2014 12:33:40 +0000 (18:03 +0530)]
Adding FlowRef,MeterRef and GroupRef for the Error message

Signed-off-by: P Govinda Rajulu <p.govinda.rajulu@ericsson.com>
Change-Id: Ief43d18b2e45dac2bf8f38c226407247d1e3fb4b

10 years agofix BUG 391 19/5519/2
Michal Rehak [Mon, 3 Mar 2014 19:11:46 +0000 (20:11 +0100)]
fix BUG 391

added version and address based mapping of adderess reading and injecting
(ovs and cpqd do require appropriate eth-type in match in order for instructions to work)

Change-Id: I3422095f508923663736c23756390588d519fe87
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoPass additional fields to applications from plugin 38/4338/2
Srikar Rajamani [Fri, 17 Jan 2014 07:15:17 +0000 (12:45 +0530)]
Pass additional fields to applications from plugin

blocked IT tests
rebase

Signed-off-by: Srikar Rajamani <srikar.rajamani@ericsson.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Change-Id: Ibffe135690b5340b9d7744b3e871c6c071aa44c5

10 years agoMinor refactoring due to change in the library model 13/5113/2
Michal Polkorab [Tue, 4 Feb 2014 01:33:44 +0000 (17:33 -0800)]
Minor refactoring due to change in the library model
CORRESPONDING LIBRARY CHANGE: https://git.opendaylight.org/gerrit/#/c/5112

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
Change-Id: Ic08bbc22cf93c574f3ca029619e1b3b9d217c69e

10 years agoAdded cookie into flows created during learning 62/5262/1
Michal Rehak [Tue, 11 Feb 2014 16:50:31 +0000 (17:50 +0100)]
Added cookie into flows created during learning

- cookie is unique per switch

Change-Id: I7aacc889a35c2bd4a785e96ba562d8fe3f6194ff
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoClear actions instruction does not support actions. 55/5255/1
Deepthi V V [Tue, 11 Feb 2014 12:31:09 +0000 (18:01 +0530)]
Clear actions instruction does not support actions.

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
10 years agoMerge "-refactored utility code to separate modules and classes -upgraded stress...
michal rehak [Tue, 11 Feb 2014 09:49:14 +0000 (09:49 +0000)]
Merge "-refactored utility code to separate modules and classes -upgraded stress test to include cleanup after test -added test for operation data store"

10 years agoPlugin changes:handling List<actions> to PacketOut 72/5072/5
Gaurav Bhagwani [Fri, 31 Jan 2014 16:31:15 +0000 (22:01 +0530)]
Plugin changes:handling List<actions> to PacketOut
-Done Plugin Changes to handle List<Action> added to PacketOut Controller Yang
-Added TestCase for configuring actions through PacketOut Message from Controller
- Dependent on Controller Code review : https://git.opendaylight.org/gerrit/#/c/5071/

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Change-Id: Ie3d1d3ac432af464b9d0096cc732896ae3036dae

10 years agoPick the updated jars from the controller,Library 31/5031/8
Gaurav Bhagwani [Wed, 5 Feb 2014 06:47:09 +0000 (12:17 +0530)]
Pick the updated jars from the controller,Library

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Change-Id: I36bfb5afa910ae7caa8eaefabb4285e6d3cb5d60

10 years agoAdding multipart learning switch 69/5069/6
Tony Tkacik [Tue, 4 Feb 2014 00:54:47 +0000 (01:54 +0100)]
Adding multipart learning switch

- improved logging
- wrapped simple implementation
- tidying up names
- fixed stop
- limited to IPv4 traffic
- fixed expire times (=0) for flow forwarding packets to controller
- Introduced InstanceIdentifier utility class.
- Separated utility functions to thematic classes.

Change-Id: I20bfb99797294767fbb0e290089cb2c701876ff4
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoinitial: learning switch example 05/5005/9
Tony Tkacik [Tue, 4 Feb 2014 02:30:21 +0000 (03:30 +0100)]
initial: learning switch example

example code for learning switch / hub
added as module into parent pom
added into distribution/base pom
handler + listener divided to atomic methods
initial flow written + sent to switch
bridge flows written to switch
storing covered mac-paths

Change-Id: I016055ed0920fb08c1923fa337c3e5b8880aba56
Signed-off-by: Michal Rehak <mirehak@cisco.com>
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
10 years agoTest XMLs for flow-instructions, set-field, apply-actions 95/5095/1
mcsl [Mon, 3 Feb 2014 07:39:12 +0000 (13:09 +0530)]
Test XMLs for flow-instructions, set-field, apply-actions

Signed-off-by: mcsl <mcsl@cisco.com>
10 years ago-refactored utility code to separate modules and classes 67/5067/1
Juraj Sebin [Fri, 31 Jan 2014 09:08:10 +0000 (10:08 +0100)]
-refactored utility code to separate modules and classes
-upgraded stress test to include cleanup after test
-added test for operation data store

Change-Id: Ifc7329cefb02a544025d2c547ad2806b6f875c0d
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoOF1.3 action unit testing XML's using REST 24/5024/1
Praveen Darshanam [Tue, 28 Jan 2014 20:01:48 +0000 (01:31 +0530)]
OF1.3 action unit testing XML's using REST
Signed-off-by: Praveen Darshanam <praveen_recker@sify.com>
10 years agoAdding actions testing XML files in test-scripts/xml 94/4994/1
Krishnan [Wed, 29 Jan 2014 10:46:01 +0000 (02:46 -0800)]
Adding actions testing XML files in test-scripts/xml
Signed-off-by: Krishnan <krishnan.k.iyer@gmail.com>
10 years agoREST Actions testing 30/4430/3
Krishnan Iyer [Tue, 28 Jan 2014 09:23:57 +0000 (14:53 +0530)]
REST Actions testing
Signed-off-by: Krishnan Iyer <krishnan.k.iyer@gmail.com>
Change-Id: I3b9cad70460a00b51801c246fffcd99ac415f811

10 years ago[maven-release-plugin] prepare for next development iteration
jenkins-openflowplugin [Tue, 28 Jan 2014 00:48:53 +0000 (00:48 +0000)]
[maven-release-plugin] prepare for next development iteration

10 years ago[maven-release-plugin] prepare release openflowplugin-parent-0.0.2 openflowplugin-parent-0.0.2
jenkins-openflowplugin [Tue, 28 Jan 2014 00:48:52 +0000 (00:48 +0000)]
[maven-release-plugin] prepare release openflowplugin-parent-0.0.2

10 years ago[maven-release-plugin] prepare for next development iteration
jenkins-openflowplugin [Tue, 28 Jan 2014 00:39:54 +0000 (00:39 +0000)]
[maven-release-plugin] prepare for next development iteration

10 years ago[maven-release-plugin] prepare release master-tagforprepareonly-openflowplugin-bulk... master-tagforprepareonly-openflowplugin-bulk-release-prepare-only-8
jenkins-openflowplugin [Tue, 28 Jan 2014 00:39:53 +0000 (00:39 +0000)]
[maven-release-plugin] prepare release master-tagforprepareonly-openflowplugin-bulk-release-prepare-only-8

10 years agoupdated to release versions 60/4960/1
Michal Rehak [Mon, 27 Jan 2014 21:53:56 +0000 (22:53 +0100)]
updated to release versions
 - yangtools-0.6.1
 - controller
 - openflowjava-0.4

Change-Id: Ia17f6c5e35781ba3ebd34009114a62be0de6c77b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoupdated yangtools to 0.6.1-SNAPSHOT 13/4913/1
Michal Rehak [Mon, 27 Jan 2014 17:51:19 +0000 (18:51 +0100)]
updated yangtools to 0.6.1-SNAPSHOT

Change-Id: I95a8ef5226e0c95eda7cf5d7f0a3c10505b99dbc
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoFix for bug 290/291 72/4872/1 openflowplugin-bulk-release-prepare-only-7 jenkins-openflowplugin-bulk-release-prepare-only-6 jenkins-openflowplugin-bulk-release-prepare-only-7
Anilkumar Vishnoi [Mon, 27 Jan 2014 12:50:44 +0000 (18:20 +0530)]
Fix for bug 290/291

Change-Id: I6cb31435031868757ac2dc8dce42abc9b8120f94
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoTest scripts modified for Meter and Group 58/4858/1
etusgoy [Mon, 27 Jan 2014 11:48:37 +0000 (17:18 +0530)]
Test scripts modified for Meter and Group

Signed-off-by: etusgoy <goyaltushar7@gmail.com>
10 years agoTurned down logging in ErrorTranslator from ERROR to DEBUG 39/4739/2
Ed Warnicke [Sun, 26 Jan 2014 03:33:22 +0000 (21:33 -0600)]
Turned down logging in ErrorTranslator from ERROR to DEBUG

Change-Id: I296451951e41320def91234b67671211948f5908
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agofix for BUG 365 69/4769/1
Michal Rehak [Sat, 25 Jan 2014 18:50:57 +0000 (19:50 +0100)]
fix for BUG 365
 - by adding and removing all context of datastore were touched
 - now we use only the config context and by remove we do not clean flow itself

Change-Id: Id7131c5073cfe1a6f89d24afc02158f849f4318b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoMinor fix in Ip address decoding from flow stats. 65/4765/2
Anilkumar Vishnoi [Sat, 25 Jan 2014 12:12:55 +0000 (17:42 +0530)]
Minor fix in Ip address decoding from flow stats.
If user specify 32 as a mask, as per specs switch ignores it. And when you fetch the flow stats switch, it returns
null as a mask value. I added a check for it and now I am explicitly adding 32 as a mask if ip mask value in flow
statistics is null"
Added code to send group/meter statistics request only to openflow 1.3+ switches.

Change-Id: I10b23f058f42d60338d51319c0f5545501e22838
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoFix for Bug 269 36/4736/2
Gaurav Bhagwani [Fri, 24 Jan 2014 19:54:31 +0000 (01:24 +0530)]
Fix for Bug 269

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agoMinor fix in instruction building -Explicitely setting instruction key 46/4746/1
Anilkumar Vishnoi [Fri, 24 Jan 2014 23:11:24 +0000 (04:41 +0530)]
Minor fix in instruction building -Explicitely setting instruction key

Change-Id: I9409b7c847655425743fe111a5572f25fef6bc98
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agofix for BUG 346, BUG 347 23/4723/4
Michal Rehak [Fri, 24 Jan 2014 13:16:45 +0000 (14:16 +0100)]
fix for BUG 346, BUG 347

- added more descriptive exception text
- fixed NPE for tableId for flows added by dropTest
- removed binary dump of payload hooked to errorMessage (appearing in log)

Change-Id: I49dc4aeb3b7b8444b2cc198c08e7ea393cd2febe
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoMapping OF1.0 Actions to OF1.3 SetField Action 97/4697/3
Gaurav Bhagwani [Fri, 24 Jan 2014 12:01:09 +0000 (17:31 +0530)]
Mapping OF1.0 Actions to OF1.3 SetField Action
- Fix for Bug - 268
- Actions: StripVlan, SetNwTos were not mapped to any oxm-field of setFieldAction of OF1.3
-Actions: SetTpSrc, SetTpDst : Not able to differentiate to tcp/udp ports in OF1.3, as 1.0 do not differentiate for the ports being tcp or udp
Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agoFix for bug #357- Set log levels on all log statements to appropriate level 93/4693/2
goyal [Fri, 24 Jan 2014 10:36:08 +0000 (16:06 +0530)]
Fix for bug #357- Set log levels on all log statements to appropriate level

Change-Id: I53390b29e42c66082c239da4cc80422aeaccb2f1
Signed-off-by: goyal <sheena.goyal@tcs.com>
10 years agoadded stress test script 21/4721/1
Juraj Sebin [Fri, 24 Jan 2014 15:35:22 +0000 (16:35 +0100)]
added stress test script

Change-Id: I951d776dece9757c2d52a42f166b9df4fd3587ae
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoMerge "updated version of switch restart test" jenkins-openflowplugin-bulk-release-prepare-only-5
michal rehak [Fri, 24 Jan 2014 08:31:06 +0000 (08:31 +0000)]
Merge "updated version of switch restart test"

10 years agoFixed minor issue in decoding instruction from flow statistics response 73/4673/1
Anilkumar Vishnoi [Fri, 24 Jan 2014 06:12:09 +0000 (11:42 +0530)]
Fixed minor issue in decoding instruction from flow statistics response

Change-Id: I6db047b8a04afcff90ba859c63420e9471502d05
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoOpenflow plugin code changes due to match yang model change: https://git.opendaylight... 38/4638/2
Ed Warnicke [Thu, 23 Jan 2014 12:45:41 +0000 (18:15 +0530)]
Openflow plugin code changes due to match yang model change: https://git.opendaylight.org/gerrit/#/c/4635/1

Change-Id: I193be03b8aea075939bada818ba4983de2a5a365
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agostress test related improvement 28/4628/2 jenkins-openflowplugin-bulk-release-prepare-only-4
Michal Rehak [Thu, 23 Jan 2014 08:20:48 +0000 (09:20 +0100)]
stress test related improvement

- propagate close upon bundle stop
- enriched logging upon echo timeout disconnect
- increased echo timeout from 5 to 15 sec
- fix memory leak in OpenflowpluginTestCommandProvider.FlowEventListener

Change-Id: I13c9bd319438f883271bd3ddc71e5952f45a351f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoupdated version of switch restart test 56/4656/1
Juraj Sebin [Thu, 23 Jan 2014 15:57:43 +0000 (16:57 +0100)]
updated version of switch restart test

Change-Id: Ieb957079d7f9a15f5847e026d2da5d270a393e90
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoadded new script for testing switch restart 54/4654/1
Juraj Sebin [Thu, 23 Jan 2014 12:18:08 +0000 (13:18 +0100)]
added new script for testing switch restart
added new test xml files

Change-Id: Iece37149cbf7561c486ea38cb0c22c94bf47b106
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoadded new validation for ipv6 addresses 53/4653/1
Juraj Sebin [Thu, 23 Jan 2014 15:17:19 +0000 (16:17 +0100)]
added new validation for ipv6 addresses
refactored validation for ipv6 addresses

Change-Id: I53dcc76821744fcc2fa958627b2aa888801acb8e
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoTests: fix ip mask 32/4632/3
Vaclav Demcak [Thu, 23 Jan 2014 10:40:37 +0000 (11:40 +0100)]
Tests: fix ip mask

Change-Id: I3be6d7d3b63f400ddda1804b956ee4657c344561
Signed-off-by: Vaclav Demcak <vdemcak@cisco.com>
10 years agoadded dropAllPackets provider bypassing datastore 68/4568/2
Michal Rehak [Wed, 22 Jan 2014 09:15:38 +0000 (10:15 +0100)]
added dropAllPackets provider bypassing datastore

required for cbench load tests:
  time consuming operations (datastore + transaction) are bypassed
  and flow is added by calling flow service rpc (directly routed back to plugin)
  so flow created this way is not visible though rest

Change-Id: I40608e6321517494f8eef2dd8d2637bb503b010b
Signed-off-by: Michal Rehak <mirehak@cisco.com>
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>