openflowplugin.git
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)"

10 years agoNEW:Infrastructure for match 29/3729/1
Michal Rehak [Sat, 14 Dec 2013 09:32:37 +0000 (10:32 +0100)]
NEW:Infrastructure for match

added MatchReactor
moved ByteUtil, created match conversion infrastructure basics
added OFP-version constants, updated existing match convertor usage
added MatchReactor test, added missing masks for ipv4
generalized convert+inject operation
extended reactor strategy to flowFlags
unite OFConstants
rebased, adopted matchV10 made by anil
fixed drop test - flow fields

Change-Id: I65f5fbc7cc2b741bbaf4fcda892680015ced6697
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoupdated to handle OF1.0 flow test (tableId as argument and new test 96/3696/2
Ed Warnicke [Fri, 13 Dec 2013 11:39:11 +0000 (17:09 +0530)]
updated to handle OF1.0 flow test (tableId as argument and new test
cases)

Change-Id: I7591db48857904544031e7174e8045d0157ff25b
Signed-off-by: AnilGujele <angujele@in.ibm.com>
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFixed timeouts to be 0 so that we can test more easily 98/3698/2
Ed Warnicke [Fri, 13 Dec 2013 13:22:16 +0000 (05:22 -0800)]
Fixed timeouts to be 0 so that we can test more easily

Set idle and hard timeouts in OpenflowTestCommandProvider to
0 so that we aren't always racing flow timeouts for testing.

Change-Id: Id3450a61eda72b7dd1dcfe50e3d6eb8f0dac9e39
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agomerged and rebased with 3717 10/3710/3
Prasanna Huddar [Sat, 14 Dec 2013 16:13:19 +0000 (21:43 +0530)]
merged and rebased with 3717

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

10 years agoMerge "model of switch features in md-sal"
michal rehak [Sat, 14 Dec 2013 14:45:36 +0000 (14:45 +0000)]
Merge "model of switch features in md-sal"

10 years agomodel of switch features in md-sal 82/3682/6
Juraj Sebin [Thu, 12 Dec 2013 13:59:40 +0000 (14:59 +0100)]
model of switch features in md-sal

updated method nodeAdded in SalRegistrationManager to store switch features in NodeUpdated

do not merge before: http://git.opendaylight.org/gerrit/3681

Change-Id: I4ddf9097185914abe1575bf54e3c3d7d72ccdec6
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
10 years agoMD-SAL Statistics Manager - Implemented rpc/notifications for individual flow statistics 28/3728/1
Anilkumar Vishnoi [Wed, 11 Dec 2013 14:02:56 +0000 (19:32 +0530)]
MD-SAL Statistics Manager - Implemented rpc/notifications for individual flow statistics
and aggregate flow statistics collection
This gerrit is dependent on another gerrit pushed to controller project
http://git.opendaylight.org/gerrit/3708

Change-Id: Ic0dd18aabb74faa2d1b9fcf9b596a1f363c971e4
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoYang model updated according to changes in the OF library 93/3693/1
Michal Polkorab [Tue, 3 Dec 2013 13:55:54 +0000 (14:55 +0100)]
Yang model updated according to changes in the OF library
DO NOT MERGE: until https://git.opendaylight.org/gerrit/#/c/3336/ is merged

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoAdded 1.0 Actions in ActionConverters 73/3673/3
Gaurav Bhagwani [Thu, 12 Dec 2013 18:23:26 +0000 (23:53 +0530)]
Added 1.0 Actions in ActionConverters

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

10 years agoanother modifyFlow fix 88/3688/2
Michal Rehak [Thu, 12 Dec 2013 23:50:31 +0000 (00:50 +0100)]
another modifyFlow fix

added missing order by instructions

Change-Id: I6f657d1c7d93e9a8aa320f17edc439779f502666
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agogrouptype : fast failover:OFPGT_FF,null check for wieght, watch port and watch group... 40/3440/2
usha [Wed, 4 Dec 2013 12:33:44 +0000 (18:03 +0530)]
grouptype : fast failover:OFPGT_FF,null check for wieght, watch port and watch group added.

rebased

Change-Id: I76467d3f85a2bdae315ffa52975e77355bccca14
Signed-off-by: usha <usha.m.s@ericsson.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agofix missing key, NPE 80/3680/1
Michal Rehak [Mon, 9 Dec 2013 10:01:10 +0000 (11:01 +0100)]
fix missing key, NPE

added order to action

Change-Id: I62a3d3fa6b3a032f0002ee4eeb78d03f02fc455a
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoEthernetType in PushVlaAction was not proper 30/3630/2
Gaurav Bhagwani [Wed, 11 Dec 2013 07:05:40 +0000 (12:35 +0530)]
EthernetType in PushVlaAction was not proper

Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agoChanging FlowConvertor dueto yangmodel Case Change 07/3607/3
Gaurav Bhagwani [Tue, 10 Dec 2013 13:48:13 +0000 (19:18 +0530)]
Changing FlowConvertor dueto yangmodel Case Change

-Changing the Instruction Object as per the Yang-Model Changes
Signed-off-by: Gaurav Bhagwani <gaurav.bhagwani@ericsson.com>
10 years agofix port update - honor message version 80/3580/3
Juraj Sebin [Mon, 2 Dec 2013 11:29:08 +0000 (12:29 +0100)]
fix port update - honor message version

rebased

Change-Id: If0337c03de70d5788385095c2eaa26b54d8669b7
Signed-off-by: Juraj Sebin <jsebin@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoModified as per gerrit 3314 09/3609/4
Prasanna Huddar [Tue, 10 Dec 2013 14:21:30 +0000 (19:51 +0530)]
Modified as per gerrit 3314

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

10 years agoPortNumber :NORMAL ,anding added 99/3599/1
usha [Tue, 10 Dec 2013 07:14:12 +0000 (12:44 +0530)]
PortNumber :NORMAL ,anding added
Signed-off-by: usha <usha.m.s@ericsson.com>
10 years agoFixed changes caused by modification of flow-types and action-types. 97/3597/1
Ed Warnicke [Sun, 1 Dec 2013 18:06:31 +0000 (19:06 +0100)]
Fixed changes caused by modification of flow-types and action-types.

This is workable after merge of https://git.opendaylight.org/gerrit/3304/
in the controller.

Patch2: Something odd is happening in a single case check.  Commented
it out to fix later. - eaw

Patch3: Added groups.

Patch$: Added Meters

Originally: https://git.opendaylight.org/gerrit/#/c/3451/

Also quashing in  https://git.opendaylight.org/gerrit/#/c/3511/

Simple Provider that simply programs the switch to drop all packetins.

If you type

dropAllPackets on

At the osgi command line, a flow will be pushed for any packet ins
that asks the swtich to drop all traffic for their mac address.
If you type

dropAllPackets off

It will stop doing so.
Currently tested with OF 1.3 and mininet-2.1.0 with
OVS 2.0

Please be certain to merge only after:
https://git.opendaylight.org/gerrit/#/c/3314/14
has gone into controller

Change-Id: Id4c8764aabc1ab8f297da1bc43eacc936047615b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agogroup_mod_command:null check for bucket added 12/3312/2
usha [Mon, 2 Dec 2013 08:34:49 +0000 (14:04 +0530)]
group_mod_command:null check for bucket added

Change-Id: I96f880cac871eb8bde03dc198c9a8d0e710b64fa
Signed-off-by: usha <usha.m.s@ericsson.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoUpdating TestCommand Provider with testcases 82/3582/3
Gaurav Bhagwani [Mon, 9 Dec 2013 15:56:56 +0000 (21:26 +0530)]
Updating TestCommand Provider with testcases

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

10 years agoFixed ICMPv6 Code augmentation key. 67/3567/1
Deepthi V V [Mon, 9 Dec 2013 11:45:48 +0000 (17:15 +0530)]
Fixed ICMPv6 Code augmentation key.

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
10 years agoFixed some null checks and defaults values 55/3555/1
Prasanna Huddar [Sun, 8 Dec 2013 16:20:56 +0000 (21:50 +0530)]
Fixed some null checks and defaults values

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
10 years agoMeterConvertor:Not NULL Check and logging added when Flag and band data are null 53/3553/1
usha [Sun, 8 Dec 2013 11:44:22 +0000 (17:14 +0530)]
MeterConvertor:Not NULL Check and logging added  when Flag and band data are null
Signed-off-by: usha <usha.m.s@ericsson.com>
10 years agoImplemented Table Feature Multipart RPC 48/3548/3
HemaTG [Sat, 7 Dec 2013 12:01:31 +0000 (17:31 +0530)]
Implemented Table Feature Multipart RPC

Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
10 years agoFix to convert Tunnel Id and Metadata BigInteger value to 64 bits (8 element byte... 52/3552/1
Deepthi V V [Sun, 8 Dec 2013 06:25:59 +0000 (11:55 +0530)]
Fix to convert Tunnel Id and Metadata BigInteger value to 64 bits (8 element byte array) as expected by the OF library.

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
10 years agoFixed add/modify/remove rpc for group/meter/flow to reach plugin 50/3550/1
Prasanna Huddar [Sat, 7 Dec 2013 16:08:29 +0000 (21:38 +0530)]
Fixed add/modify/remove rpc for group/meter/flow to reach plugin

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
10 years agoGroupConvertor:GroupType Check Added,Logging message no return. 45/3545/1
usha [Sat, 7 Dec 2013 10:58:32 +0000 (16:28 +0530)]
GroupConvertor:GroupType Check Added,Logging message no return.
Signed-off-by: usha <usha.m.s@ericsson.com>
10 years agoActionConvertor:ActionBuilder one instance is now removed,locally object are created... 44/3544/1
usha [Sat, 7 Dec 2013 10:26:36 +0000 (15:56 +0530)]
ActionConvertor:ActionBuilder one instance is now removed,locally object are created add into actionList
Signed-off-by: usha <usha.m.s@ericsson.com>
10 years agoSeparated macth conversion to MatchConvertor.java 34/3534/4
Deepthi V V [Fri, 6 Dec 2013 14:25:56 +0000 (19:55 +0530)]
Separated macth conversion to MatchConvertor.java

Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
Change-Id: I0c9c41e25d119f6e2e055ff0a69236c90c9987c1

10 years agoUpdated OpenflowpluginTestCommandProvider 35/3535/3
Gaurav Bhagwani [Fri, 6 Dec 2013 17:01:06 +0000 (22:31 +0530)]
Updated OpenflowpluginTestCommandProvider
-Command Line Option f4 has all set of matches
-Command Line Option f5,f6,f7 has InstructionSet , f5 includes all set of Actions

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

10 years agoAdded a Vagrant directory for building a mininet VM 26/3526/2
Ed Warnicke [Fri, 6 Dec 2013 11:57:13 +0000 (05:57 -0600)]
Added a Vagrant directory for building a mininet VM

See the README file for details.

Change-Id: I993cb54cd7ce60e67829925c505cef90ec42acfb
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMD-SAL Statistics Manager - Did the code changes that is needed to work with commit... 29/3529/2
Anilkumar Vishnoi [Tue, 3 Dec 2013 18:05:28 +0000 (23:35 +0530)]
MD-SAL Statistics Manager - Did the code changes that is needed to work with commit 3413

Change-Id: I1659422be29993ad9f3b669cdb81f32af9c684dd
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoGroup ADD had some fixes. 13/3513/3
Prasanna Huddar [Thu, 5 Dec 2013 19:43:07 +0000 (01:13 +0530)]
Group ADD had some fixes.
Fixed default values for watch * and also type in Actionconverter.java

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
10 years agoflow fix 16/3516/2
Michal Rehak [Thu, 5 Dec 2013 21:45:46 +0000 (22:45 +0100)]
flow fix

updated macAddress form
changed flow name to pass validation
xml-apis version

Change-Id: I43b5546a4a107c64b4b33477b9a60fe6a9341055
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoadded another flows 21/3421/1
Michal Rehak [Wed, 4 Dec 2013 01:43:49 +0000 (02:43 +0100)]
added another flows

drop+ipv4Src
drop+ethernetSrc

Change-Id: I15c29fd6ec6774e9f162c2b3f616d9b0e52dc8e3
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoAdded action bucket into group and Band types to Meter 99/3399/1
Prasanna Huddar [Tue, 3 Dec 2013 14:49:12 +0000 (20:19 +0530)]
Added action bucket into group and Band types to Meter

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
10 years agoAdded node input parameter to addMeter RPC 92/3392/3
Prasanna Huddar [Tue, 3 Dec 2013 09:54:52 +0000 (15:24 +0530)]
Added node input parameter to addMeter RPC

added node creation for new meter

Change-Id: Ieb877191c4a85828b32b8876b09ea894e5e1f272
Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoMerge "fixed ActionType mismatch, FlowConvertor - flow.isStrict() NPE"
Prasanna Huddar [Mon, 2 Dec 2013 19:29:50 +0000 (19:29 +0000)]
Merge "fixed ActionType mismatch, FlowConvertor - flow.isStrict() NPE"

10 years agoMD-SAL Statistics Manager - Fixed bug to show actions of the bucket 51/3351/3
Anilkumar Vishnoi [Mon, 2 Dec 2013 16:28:19 +0000 (21:58 +0530)]
MD-SAL Statistics Manager - Fixed bug to show actions of the bucket
send by switch in response to group description multipart request

Change-Id: Ie7e469ab1f744453137b2c0a19869d5e3832aa4c
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agofixed ActionType mismatch, FlowConvertor - flow.isStrict() NPE 47/3347/2
Michal Rehak [Wed, 20 Nov 2013 13:05:36 +0000 (14:05 +0100)]
fixed ActionType mismatch, FlowConvertor - flow.isStrict() NPE

log change
guava duplicity removed
improve logging
flow add experimenting

Change-Id: If5ec274baa488b98548e72e5ad611c0afdc6b9f8
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoMerge "updated to use new constructor to create a copy of object instead of setting...
michal rehak [Mon, 2 Dec 2013 17:20:26 +0000 (17:20 +0000)]
Merge "updated to use new constructor to create a copy of object instead of setting individually each field."

10 years agoupdated to use new constructor to create a copy of object instead of 18/3318/1
AnilGujele [Mon, 2 Dec 2013 09:35:47 +0000 (15:05 +0530)]
updated to use new constructor to create a copy of object instead of
setting individually each field.

Change-Id: Ia813352333c7c0b01393e909a055acb596401741
Signed-off-by: AnilGujele <angujele@in.ibm.com>
10 years agoFor OutputAction:PortNumber size is different for OF versions. 11/3311/1
usha [Mon, 2 Dec 2013 06:59:53 +0000 (12:29 +0530)]
For OutputAction:PortNumber size is different for OF versions.
PortNumberVersionCheck Added

Signed-off-by: usha <usha.m.s@ericsson.com>
10 years agoFixed the NPE that was preventing us from binding to port 6633 10/3310/1
Ed Warnicke [Sun, 1 Dec 2013 23:12:42 +0000 (15:12 -0800)]
Fixed the NPE that was preventing us from binding to port 6633

Failed to exclude the legacay plugin. Now we are.

Change-Id: I4ff5baa3e4700eebb824d9e4f947e92ca947d652
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMD-SAL Statistics Manager - Fetching Group/Meter feature details will be done by... 09/3309/1
Anilkumar Vishnoi [Sun, 1 Dec 2013 13:40:38 +0000 (19:10 +0530)]
MD-SAL Statistics Manager - Fetching Group/Meter feature details will be done by plugin now

Change-Id: I173d1b3ad3e0bc841a1f3a0e2fb66441e0ea1385
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoFix the Openflowplugin{Meter,Group}TestServiceProviders 00/3300/1
Ed Warnicke [Sun, 1 Dec 2013 14:36:56 +0000 (06:36 -0800)]
Fix the Openflowplugin{Meter,Group}TestServiceProviders

Change-Id: I672fd9df6983bac97cb711d13ec2683903824548
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoSwitched to using constuctor to populate all fields by xid. 91/3291/1
Ed Warnicke [Sun, 1 Dec 2013 12:24:22 +0000 (04:24 -0800)]
Switched to using constuctor to populate all fields by xid.

Change-Id: I6e00db9d510672e77abd5301ef0dc84debcf9f23
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoReplace OpenflowplugintestCommandProvider with previous version. 88/3288/1
Ed Warnicke [Sun, 1 Dec 2013 11:55:49 +0000 (03:55 -0800)]
Replace OpenflowplugintestCommandProvider with previous version.

The current version is broken, and is incapable of actually pushing
a flow to a non-dummy node.  Because its critical today that we
actually can test and debug through to a real switch, I am restoring
the version that is capable of that.

Change-Id: Icf9f652acdf7fad4524de87d1a492b2b3bddad71
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoAdded group and meter test methods. 44/3244/11
Anilkumar Vishnoi [Sat, 30 Nov 2013 10:50:53 +0000 (16:20 +0530)]
Added group and meter test methods.

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
Change-Id: If90067d8aa69b54c0b4b1eaf7b95213e8eb21d4e
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>