openflowplugin.git
10 years agoError/Experimenter converters 13/2913/4
Prasanna Huddar [Wed, 20 Nov 2013 15:07:54 +0000 (20:37 +0530)]
Error/Experimenter converters

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

10 years agoConvertor:MeterConverter in modeldrivenimpl corrected to MeterConvertor. 97/2897/2
usha [Wed, 20 Nov 2013 11:23:44 +0000 (16:53 +0530)]
Convertor:MeterConverter in modeldrivenimpl corrected to MeterConvertor.

added comment regarding special port numbers

Change-Id: I9096664787ad4b54fe31014331a2aa5da473b197
Signed-off-by: usha <usha.m.s@ericsson.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoThese convertors are used decoding the SAL data to OF Data 96/2896/3
usha [Wed, 20 Nov 2013 10:55:31 +0000 (16:25 +0530)]
These convertors are used decoding the SAL data to OF Data

Signed-off-by: usha <usha.m.s@ericsson.com>
Change-Id: Ic09e5554765e448e251d6d1fdf79416e2f7387b6

10 years agoAdded PopListner for PacketIn 48/2848/2
Ed Warnicke [Tue, 19 Nov 2013 00:37:17 +0000 (18:37 -0600)]
Added PopListner for PacketIn

Change-Id: I4927d1a1215e021a9a3c7eea3c26c9a37fc4af92
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agopopListener mapping 45/2845/1
Michal Rehak [Thu, 14 Nov 2013 17:52:32 +0000 (18:52 +0100)]
popListener mapping

fixed sample - rpc return types
minor code tidyup

Change-Id: I9ed2d55bb07ad4442343141bc7594924e56630cc
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoWorked Colin Dixon's PktIn into the Translator Framework 33/2833/2
Ed Warnicke [Mon, 18 Nov 2013 16:05:52 +0000 (10:05 -0600)]
Worked Colin Dixon's PktIn into the Translator Framework

Change-Id: Iadd1b847abb2bdce0336f1b55f9f9735fd0272e9
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoWired up a NotificationPopListner that will notify the MD-SAL 29/2829/2
Ed Warnicke [Mon, 18 Nov 2013 15:30:53 +0000 (09:30 -0600)]
Wired up a NotificationPopListner that will notify the MD-SAL

Any and all Notification messages get fired at the MD-SAL.

Change-Id: I646671f7f46a98362d916900ea2589e3f40f107e
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMade Notification and Data service available from SessionManager 27/2827/2
Ed Warnicke [Mon, 18 Nov 2013 14:46:34 +0000 (08:46 -0600)]
Made Notification and Data service available from SessionManager

This was so we can use them conviently throughout the plugin.

Change-Id: I878780b84c6ecb57e352a419c3ef44b524a3e26b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agofixed API change initiated by fix in library 31/2831/1
Michal Rehak [Mon, 18 Nov 2013 15:56:41 +0000 (16:56 +0100)]
fixed API change initiated by fix in library

Change-Id: Ia6e32ae7ac59e5bb3a88c732578c061efda32c17
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoSwitched to basing the local distribution on controller 01/2801/1
Ed Warnicke [Sun, 17 Nov 2013 15:05:53 +0000 (09:05 -0600)]
Switched to basing the local distribution on controller

This reduces the number of steps for a change in controller
to be pulled into openflowplugin/distribution/base

Before you'd have to build controller, then integration,
the openflowplugin.  Now you just have to build controller
then openflowplugin.

Change-Id: I0dc70c94b38a2475773bd5fc40e2a43a1dcf0e0b
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFixed breakage from changes in openflowjava (which were my fault :( ). 96/2796/1
Ed Warnicke [Sun, 17 Nov 2013 01:44:47 +0000 (19:44 -0600)]
Fixed breakage from changes in openflowjava (which were my fault :( ).

Change-Id: Idc8a3c5acd9ba2bd40115db5308eaf28428d12f6
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agofix of BUG-146 92/2792/1
Michal Rehak [Sat, 16 Nov 2013 08:44:08 +0000 (09:44 +0100)]
fix of BUG-146

todos removed

Change-Id: Ife0ebc4784d81573a0c8d35c81239953e40a8b09
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoModelDrivenSwitch for RPC and converter 86/2786/1
HemaTG [Fri, 15 Nov 2013 15:35:49 +0000 (21:05 +0530)]
ModelDrivenSwitch for RPC and converter

Signed-off-by: HemaTG <hema.gopalkrishnan@ericsson.com>
10 years agofixing some spelling and formatting issues including a lot of trailing whitespace 49/2749/3
Colin Dixon [Thu, 14 Nov 2013 16:40:24 +0000 (10:40 -0600)]
fixing some spelling and formatting issues including a lot of trailing whitespace

Change-Id: I724dc470753a9c97db36df870645df704530ef22
Signed-off-by: Colin Dixon <ckd@us.ibm.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agopreparing QueueKeeper and message translation 10/2710/2
Michal Rehak [Sun, 10 Nov 2013 10:17:27 +0000 (11:17 +0100)]
preparing QueueKeeper and message translation

added generics to translator
fixing handshake tests
handshake separated
IT adapted to handshake modifications

Change-Id: Ia606a9fec990ca640819e888398f3b095351f38f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoInserting Xid for RPC calls FlowMod, GroupMod and MeterMod 97/2697/7
Yugandhar [Wed, 13 Nov 2013 09:15:41 +0000 (14:45 +0530)]
Inserting Xid for RPC calls FlowMod, GroupMod and MeterMod

fixed rpc return types

Change-Id: I1c7b9b302d38fba3ed7bafee47b0188acacb13c2
Signed-off-by: Yugandhar <ysarraju@in.ibm.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoOutput of flow parameter made in sync with MD-SAL models 46/2746/1
Prasanna Huddar [Thu, 14 Nov 2013 16:25:28 +0000 (21:55 +0530)]
Output of flow parameter made in sync with MD-SAL models

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
10 years agoInitial onSessionRemove work to remove Inventory Node when the session is removed. 62/2662/2
Ed Warnicke [Tue, 12 Nov 2013 12:10:26 +0000 (06:10 -0600)]
Initial onSessionRemove work to remove Inventory Node when the session is removed.

Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFixed openflow uri to be openflow:# instead of openflow://# 14/2614/2
Ed Warnicke [Mon, 11 Nov 2013 15:56:51 +0000 (09:56 -0600)]
Fixed openflow uri to be openflow:# instead of openflow://#

The reason for this is a bug in the JAXRS spec where it
doesn't correctly handle escaped / characters:

https://java.net/jira/browse/JAX_RS_SPEC-70

Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoAdded NodeRef to UpdatedNode to allow correct catching of notification 08/2608/2
Ed Warnicke [Mon, 11 Nov 2013 12:05:07 +0000 (06:05 -0600)]
Added NodeRef to UpdatedNode to allow correct catching of notification
by inventory-manager.

changed IT paxexam container into forked

Change-Id: Ib9ce7aa1a4407da4d0d4ff83c10fca4e0fce4fbc
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoadapting to OFLibrary change 03/2603/1
Michal Rehak [Mon, 11 Nov 2013 11:26:37 +0000 (12:26 +0100)]
adapting to OFLibrary change

Change-Id: I77de3e01d7d5005e6d09f8acdb8f7171d198458c
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agosite improvement, warnings removal, applied queueKeeper, fixed tests, errorHandler... 73/2573/1
Michal Rehak [Thu, 7 Nov 2013 16:04:35 +0000 (17:04 +0100)]
site improvement, warnings removal, applied queueKeeper, fixed tests, errorHandler in separate class

Change-Id: I44071a4bb381150679e15cc15ea2ee4d8683317f
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoAdded out put variable to Group/Meter 71/2571/1
Prasanna Huddar [Sat, 9 Nov 2013 14:06:21 +0000 (19:36 +0530)]
Added out put variable to Group/Meter

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
10 years agoMerge "Added a distribution directory that excludes old OF plugin and includes new...
Prasanna Huddar [Fri, 8 Nov 2013 11:00:39 +0000 (11:00 +0000)]
Merge "Added a distribution directory that excludes old OF plugin and includes new one"

10 years agoAdded a distribution directory that excludes old OF plugin and includes new one 43/2543/1
Ed Warnicke [Thu, 7 Nov 2013 22:29:53 +0000 (16:29 -0600)]
Added a distribution directory that excludes old OF plugin and includes new one

Change-Id: Id65a7b146877335b884c00c4861bc63c3a9c10d2
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoAdding support and unit-test for ErrorMessage 81/2481/2
Yugandhar [Thu, 7 Nov 2013 09:55:14 +0000 (15:25 +0530)]
Adding support and unit-test for ErrorMessage

Change-Id: I571fb08a21d2b1235b3722168ec005ece2bc995a
Signed-off-by: Yugandhar <ysarraju@in.ibm.com>
11 years agoproposal of queueKeeper and default implementation preserving message order 58/2458/1
Michal Rehak [Wed, 6 Nov 2013 16:39:00 +0000 (17:39 +0100)]
proposal of queueKeeper and default implementation preserving message order

Change-Id: Iba334b48a4909bdfcbecba3113f7c70d296a5964
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agosending hello upon connection established 57/2457/1
Michal Rehak [Thu, 31 Oct 2013 16:15:59 +0000 (17:15 +0100)]
sending hello upon connection established

hello with versionBitmap
update tests regarding handshake

Change-Id: If75c944fbb3f7a180c4e2d292042e59db52b6273
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agofixed it-test (added bundles) 83/2383/2
Michal Rehak [Tue, 5 Nov 2013 12:37:27 +0000 (13:37 +0100)]
fixed it-test (added bundles)

ConnectionConductorImpl.onHelloMessage now delegates it's previous content to new thread

Change-Id: Ib88560515f80a01ab8ab70157df34adcecaaa915
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoextended integration tests with OFLibrary, improved error handling for threads 85/2285/1
Michal Rehak [Wed, 30 Oct 2013 15:47:36 +0000 (16:47 +0100)]
extended integration tests with OFLibrary, improved error handling for threads

Change-Id: I7bc1f752ec0a97f69401b7a2f3612dd370189a98
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoHooking up SessionManager to Conductor for ListenerMap 81/2281/1
Yugandhar [Thu, 31 Oct 2013 09:01:55 +0000 (14:31 +0530)]
Hooking up SessionManager to Conductor for ListenerMap

Change-Id: Ie644ff4a0c937da1635aeab60686129b57ec952e
Signed-off-by: Yugandhar <ysarraju@in.ibm.com>
11 years agoMerge "changed pom structure, removed dependency on controller parent pom"
Abhijit Kumbhare [Wed, 30 Oct 2013 15:24:25 +0000 (15:24 +0000)]
Merge "changed pom structure, removed dependency on controller parent pom"

11 years agochanged pom structure, removed dependency on controller parent pom 63/2163/4
Michal Rehak [Fri, 25 Oct 2013 12:49:17 +0000 (14:49 +0200)]
changed pom structure, removed dependency on controller parent pom

Change-Id: I13a084328291cb32e698a84a378b3d1c22e16cf3
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoProcessing of OF Messages PacketIn, FlowRemoved, PortStatus, Experimenter 03/2203/2
Yugandhar [Mon, 28 Oct 2013 07:05:38 +0000 (12:35 +0530)]
Processing of OF Messages PacketIn, FlowRemoved, PortStatus, Experimenter

Change-Id: I493ad22b5964ec3632ae111a313c3e5850a8a079
Signed-off-by: Yugandhar <ysarraju@in.ibm.com>
11 years agofixed model-flow-base impacts 38/2238/1
Michal Rehak [Tue, 29 Oct 2013 10:51:21 +0000 (11:51 +0100)]
fixed model-flow-base impacts

added shutdown to MDController to enable multiple it-test run

Change-Id: Idc65e7d95989e5851e39655d30c53b944f025118
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoMerge "handled review comments (sending rpc message to library and version negotiation )"
Abhijit Kumbhare [Tue, 29 Oct 2013 01:32:42 +0000 (01:32 +0000)]
Merge "handled review comments (sending rpc message to library and version negotiation )"

11 years agohandled review comments (sending rpc message to library and version 02/2202/1
AnilGujele [Mon, 28 Oct 2013 06:57:39 +0000 (12:27 +0530)]
handled review comments (sending rpc message to library and version
negotiation )

Change-Id: I7c6162aacb6bcf985ef7993575302e3608dcc380
Signed-off-by: AnilGujele <angujele@in.ibm.com>
11 years agoInitial integration with MD-SAL 93/2193/1
Tony Tkacik [Sun, 27 Oct 2013 15:56:01 +0000 (16:56 +0100)]
Initial integration with MD-SAL

  - Added SessionListener support to SessionManager implementation
  - Implemented OpenflowPluginProvider which get's Provider Context
    and delegates it to SalRegistrationManager
  - Added SALRegistrationManager - SAL Registration Manager is
    responsible to update node and service registrations in MD-SAL
    based on Session Events.
  - Implemented skeleton of ModelDrivenSwitch - unified class
    which serves as Session/Switch-specific instance of Openflow
    Services to MD-SAL. This removes need to lookup of session
    inside a plugin.

  - Added Integration test which test incoming nodeUpdated notification
    in simple scenario.

Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
11 years agoChanging interface for message listener 60/2160/1
Yugandhar [Fri, 25 Oct 2013 10:55:39 +0000 (16:25 +0530)]
Changing interface for message listener

Change-Id: I44d6762d6bb03552b118c639626a746c48b78871
Signed-off-by: Yugandhar <ysarraju@in.ibm.com>
11 years agoAdding Listener Registration for OF Messages in plugin 24/2124/1
Yugandhar [Tue, 22 Oct 2013 11:19:06 +0000 (16:49 +0530)]
Adding Listener Registration for OF Messages in plugin

Incorporated comment to return Map

Included cookie in Message notifications

Signed-off-by: Yugandhar <ysarraju@in.ibm.com>
11 years agoAdded initial skeleton of sample MD-SAL Flow application 28/1828/3
Tony Tkacik [Fri, 11 Oct 2013 11:15:40 +0000 (13:15 +0200)]
Added initial skeleton of sample MD-SAL Flow application

retrigger jenkins

Change-Id: I76fe3e1d9e9e79d6f5c64f1ec7025b52ac441e8c
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoadded parent pom for all plugin projects 81/2081/1
Michal Rehak [Tue, 22 Oct 2013 16:18:13 +0000 (18:18 +0200)]
added parent pom for all plugin projects

Change-Id: Ie9866da412a86fe683cd7a4c54d6d81e99e864d9
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoadded integration test: OFPlugin-OFLibrary-SimpleClient 50/2050/1
Michal Rehak [Mon, 21 Oct 2013 14:19:13 +0000 (16:19 +0200)]
added integration test: OFPlugin-OFLibrary-SimpleClient

Change-Id: I36e8b5d83d80e973a2c4cd20f2e7f362f7201fa4
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoprovisioning of messageListener - messageType - conductor mapping 68/1968/2
Michal Rehak [Thu, 17 Oct 2013 14:08:29 +0000 (16:08 +0200)]
provisioning of messageListener - messageType - conductor mapping

Change-Id: Ic1f33894fc27f741131c66734af96414f1d0f671
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoadded disconnect delegator to conductor, session invalidation 34/1934/1
Michal Rehak [Mon, 14 Oct 2013 11:14:14 +0000 (13:14 +0200)]
added disconnect delegator to conductor, session invalidation

added findbugs report profile
added switchIdleEvent handling
added handling of disconnect caused by switch

Change-Id: Iee9a3cfdd5514da6ad877e48a6407140ad02f4d4
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agosessionManager proposal 38/1838/1
Michal Rehak [Fri, 11 Oct 2013 15:54:43 +0000 (17:54 +0200)]
sessionManager proposal

parent version update
yangtools version update
logging added
idle state added into conductor states enum

Change-Id: I5d849e44bd799e3127b6dafe2ab5df56fe774e38
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agofirst proposal of integration plugin - library 11/1611/1
Michal Rehak [Wed, 2 Oct 2013 16:14:56 +0000 (18:14 +0200)]
first proposal of integration plugin - library

changed java source/target to 1.7
added MDController as the base for communication with library
lightweight implementation of handshake

Change-Id: I433c55b69f320dce4c2d44ef52f246b9fc2c60e8
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agotriggering jenkins merge job 68/1268/1
Michal Rehak [Wed, 18 Sep 2013 15:12:52 +0000 (17:12 +0200)]
triggering jenkins merge job

Change-Id: I0e8863d707dec57896baee30f34af9271e981b06
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoUpdated dependencies, added skeleton for MD-SAL services 29/1229/4
Tony Tkacik [Tue, 17 Sep 2013 15:45:54 +0000 (17:45 +0200)]
Updated dependencies, added skeleton for MD-SAL services

Change-Id: I84df2bbe2811513366f5e5c7b32c2e1e360670f2
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agoRemoved openflow-codec and openflowj_netty to openflowjava 58/1058/1
Ed Warnicke [Fri, 30 Aug 2013 15:26:56 +0000 (08:26 -0700)]
Removed openflow-codec and openflowj_netty to openflowjava

openflow-codec and openflowj_netty have been moved to
openflowjava:
https://git.opendaylight.org/gerrit/#/c/1047/
This commit:
1)  Removes them from openflowplugin
2)  Fixed openflow_netty to depend on openflowj_netty correctly
3)  Leaves behind some READMEs (which we should eventually delete
    as well) to help folks figure out where they went :)

Change-Id: I86956644984b2b8a25b5f7cad0f2b1f284ecc16c
Signed-off-by: Ed Warnicke <eaw@cisco.com>
11 years agoFixed build failure in openflow_netty project 92/992/1
Anilkumar Vishnoi [Mon, 26 Aug 2013 11:27:55 +0000 (16:57 +0530)]
Fixed build failure in openflow_netty project

Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
11 years agoMerge "Adding broken version of netty-fied openflowj and openflow protocol plugin"
Prasanna Huddar [Wed, 21 Aug 2013 16:07:08 +0000 (16:07 +0000)]
Merge "Adding broken version of netty-fied openflowj and openflow protocol plugin"

11 years agoOpenflow 1.3+ protocol driver library source code 13/913/4
Anilkumar Vishnoi [Mon, 19 Aug 2013 14:19:31 +0000 (19:49 +0530)]
Openflow 1.3+ protocol driver library source code

Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
Change-Id: Iad3fb958e37d76afeea8fe5bf6954f4b613474ad

11 years agoAdding broken version of netty-fied openflowj and openflow protocol plugin 77/877/3
Colin Dixon [Wed, 14 Aug 2013 18:40:50 +0000 (13:40 -0500)]
Adding broken version of netty-fied openflowj and openflow protocol plugin

Contributes two bundles:
1.) openflowj_netty: openflowj which is designed to use the netty
    asynchronous i/o library
2.) openflow_netty: an openflow protocol plugin that is designed to use
    the netty version of openflowj

There is still work that needs to be done on at least two fronts:
1.) The bundles are designed work in the context of being directly in
    the main controller repo and so their pom.xml files need to be
    reworked and there probably needs to be a distribution directory
    which pulls things together.
2.) Even when they are combined, currently they have some bugs which
    cause a long series of exceptions to be thrown when a mininet
    pingall is done. I assume that this should be easy to hunt down,
    but I'm not certain.

Signed-off-by: Colin Dixon <ckd@us.ibm.com>
Change-Id: Ifdc8a6c065bc2cdda62114d4356bb91a1b6b3b2c

11 years agoFix build to use SNAPSHOT repo to get checkstyle jar 88/888/1
Ed Warnicke [Fri, 16 Aug 2013 03:02:55 +0000 (22:02 -0500)]
Fix build to use SNAPSHOT repo to get checkstyle jar

Signed-off-by: Ed Warnicke <eaw@cisco.com>
11 years agoInitial clone of OF plugin 1.0 into the openflowplugin repository with small amendment 62/762/2
Christopher Price [Wed, 31 Jul 2013 19:31:06 +0000 (12:31 -0700)]
Initial clone of OF plugin 1.0 into the openflowplugin repository with small amendment

Change-Id: I8bb86a604d9dcfd46dd7ec9b5f50a10c29e4fca8
Signed-off-by: Christopher Price <christopher.price@ericsson.com>
11 years agoInitial empty repository
Andrew Grimberg [Sat, 20 Jul 2013 03:41:47 +0000 (03:41 +0000)]
Initial empty repository