openflowjava.git
10 years agoAdded synchronized to singletons 04/1904/1
Michal Polkorab [Tue, 15 Oct 2013 13:29:45 +0000 (15:29 +0200)]
Added synchronized to singletons

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoFinished yang generation for match, action, instruction and tableFeatureProperties 02/1902/1
Michal Polkorab [Tue, 15 Oct 2013 12:09:29 +0000 (14:09 +0200)]
Finished yang generation for match, action, instruction and tableFeatureProperties

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoAdded support for switch idle state 74/1874/4
Michal Polkorab [Mon, 14 Oct 2013 12:27:25 +0000 (14:27 +0200)]
Added support for switch idle state

Added jar packaging for test classes

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

10 years agonew changes incorporated in serialization/deserialization factories 67/1867/2
Timotej Kubas [Mon, 14 Oct 2013 08:48:13 +0000 (10:48 +0200)]
new changes incorporated in serialization/deserialization factories

Change-Id: Ic50718f7eac084bcde0cd49ab81e8d37cdafe447
Signed-off-by: Timotej Kubas <timotej.kubas@pantheon.sk>
10 years agoCompleted MeterMod message 22/1822/2
Michal Polkorab [Fri, 11 Oct 2013 09:18:04 +0000 (11:18 +0200)]
Completed MeterMod message

Updated pom.xml in api project -> correct yangtools versions

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

10 years agoIntegration test with hadshake 99/1799/2
Michal Polkorab [Thu, 10 Oct 2013 12:12:40 +0000 (14:12 +0200)]
Integration test with hadshake

First augment
DelegatingInboundHandler creates new Thread per message received
Publishing ChannelInitializer now asks plugin for accepting new connection
Updated SimpleClient

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

10 years agonew serialization factories and tests 38/1738/2
Timotej Kubas [Tue, 8 Oct 2013 06:31:51 +0000 (08:31 +0200)]
new serialization factories and tests

Change-Id: I85da9bc251724d0aa45254081ed3153c35a2a3f6
Signed-off-by: Timotej Kubas <timotej.kubas@pantheon.sk>
10 years agonew serialization factories and tests 63/1663/3
Timotej Kubas [Tue, 1 Oct 2013 12:24:06 +0000 (14:24 +0200)]
new serialization factories and tests

Change-Id: I33dcb69226129bafa8811c3ed1ffd4c2db590f33
Signed-off-by: Timotej Kubas <timotej.kubas@pantheon.sk>
10 years agoAdded Yang models for ofp_match 73/1573/5
michal.polkorab [Tue, 1 Oct 2013 11:53:04 +0000 (13:53 +0200)]
Added Yang models for ofp_match

Added bitmap of OFPFF_* flags for FlowMod message
Updated yangtools version dependency
Fixed new yang parser detected errors
Added ethertype to actions push pbb/mpls/vlan
Added hello-elements list
Added byte[] data field to experimenter

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
Change-Id: I4ef33b609db0db833e3c7caa298e555dc33a1a8a

10 years agoadded new serialization factories and their tests 08/1508/2
Timotej Kubas [Mon, 30 Sep 2013 12:30:32 +0000 (14:30 +0200)]
added new serialization factories and their tests

Change-Id: I04e093c52d3d22002fbc6812a512dd87e2290c2b
Signed-off-by: timotej.kubas@pantheon.sk
10 years agoadd bundle support for library 95/1495/1
Michal Rehak [Thu, 26 Sep 2013 15:10:17 +0000 (17:10 +0200)]
add bundle support for library

fixing slf4j dependency, property added

Change-Id: I6f4366eb4933494cdb4e049810b782e2916418ab
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoImproved Facade & integration test 55/1455/2
michal.polkorab [Fri, 27 Sep 2013 12:32:28 +0000 (14:32 +0200)]
Improved Facade & integration test

Added systemListener and system call funcionality
Yang - generated SystemNotification interface
Updated PublishingChannelInitializer init()
TcpHandler now has setSwitchConnectionHandler()
OF13Decoder & OF13Encoder - control checks on null + logging
Extended SimpleClient to meet testing funcionality
Improved integration test - correct communication sw-lib-plugin

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
Change-Id: Ib71d9a3a238b145fb93e32eacfb6e0254b7f6ea6

10 years agoGetAsyncReplyMessageFactory, QueueGetConfigReplyMessageFactoryTest 35/1435/4
Timotej Kubas [Tue, 24 Sep 2013 08:58:54 +0000 (10:58 +0200)]
GetAsyncReplyMessageFactory, QueueGetConfigReplyMessageFactoryTest

adding new serialization/deserialization factories

Change-Id: Ib39c1c28f4146791d16f1b56d25231ecb61ae3df
Signed-off-by: Timotej Kubas <timotej.kubas@pantheon.sk>
10 years agoAdded Yang code generation for Multipart messages 32/1432/2
michal.polkorab [Thu, 26 Sep 2013 07:25:01 +0000 (09:25 +0200)]
Added Yang code generation for Multipart messages

Updated comments
Removed gitignore

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
Change-Id: Ic31c58db37a9dfe072b53eeb64209c5a2d9c9a41

10 years ago"Added more deserialization factories & their unit tests" 56/1356/4
michal.polkorab [Mon, 23 Sep 2013 15:17:35 +0000 (17:17 +0200)]
"Added more deserialization factories & their unit tests"

Renamed factory dependent local variables (builders) in deserialization factories
Added control check in SwitchConnectionProviderImpl startup()
Removed setChannel method from MessageConsumer interface
Quickfixed - correct usage of enums in deserialization factories
Updated logging and javadoc

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
Change-Id: I1a71c1d0aef03f8052c9d4e1b256a1fdf6b0d438

10 years agoFixed YANG - GetAsyncReply 43/1343/2
michal.polkorab [Mon, 23 Sep 2013 12:24:05 +0000 (14:24 +0200)]
Fixed YANG - GetAsyncReply

Added creation of source artifact to pom.xml in api project
Implemented shutdown method in SwitchConnectionProvider
Renamed CommunicationFacade interface to ConnectionFacade
Removed version field from ConnectionAdapter

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
Change-Id: I44e411a3253f7bc0ed6be19945436efeb4ba20a1

10 years agoDraft implementation of integration tests 11/1311/2
michal.polkorab [Thu, 19 Sep 2013 14:19:44 +0000 (16:19 +0200)]
Draft implementation of integration tests

(Re)implemented funcionality in components used for lib <-> plugin communication

Unit tests now uses mock objects instead of EmbeddedChannel

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
Change-Id: Ic4932bd0d6d73066ce2f51b5a9ef2966af095f4c

10 years agoadd lib-plugin interaction implementations on library side 24/1224/1
Michal Rehak [Thu, 12 Sep 2013 20:37:27 +0000 (22:37 +0200)]
add lib-plugin interaction implementations on library side

- startup, shutdown of multiple servers creates chained future result
- update yangtool version to 0.5.8-SNAPSHOT

Change-Id: Id8f2fe0f5a4050592d62af2c5b416574150b6f9d
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoMerge "Added more (de)serialization factories + ByteBufUtils methods"
Daniel Bartos [Tue, 17 Sep 2013 10:41:08 +0000 (10:41 +0000)]
Merge "Added more (de)serialization factories + ByteBufUtils methods"

10 years agoAdded more (de)serialization factories + ByteBufUtils methods 96/1196/3
michal.polkorab [Mon, 16 Sep 2013 11:36:22 +0000 (13:36 +0200)]
Added more (de)serialization factories + ByteBufUtils methods

Mantaining code - extracting methods in tests

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
Change-Id: I07fdf59fa2602bc78630b8b0946381c3f3e146fe

10 years agoMerge "Added more serialization factories"
Daniel Bartos [Mon, 16 Sep 2013 11:53:25 +0000 (11:53 +0000)]
Merge "Added more serialization factories"

10 years agoAdded more serialization factories 72/1172/1
michal.polkorab [Thu, 12 Sep 2013 19:51:54 +0000 (12:51 -0700)]
Added more serialization factories

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
10 years agofix yang: get-async-*, changed from notification to rpc calls 71/1171/2
Michal Rehak [Thu, 12 Sep 2013 19:43:30 +0000 (21:43 +0200)]
fix yang: get-async-*, changed from notification to rpc calls

Change-Id: I192989f8960e062350cb29f68de4a57f9fc08356
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoRenamed packages to org.opendaylight.openflowjava.protocol.impl.* 69/1169/1
michal.polkorab [Thu, 12 Sep 2013 16:56:31 +0000 (09:56 -0700)]
Renamed packages to org.opendaylight.openflowjava.protocol.impl.*

Renamed class names to match cammelCase

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
10 years agoMerge "add basic lib - plugin communication"
Daniel Bartos [Thu, 12 Sep 2013 05:54:23 +0000 (05:54 +0000)]
Merge "add basic lib - plugin communication"

10 years agoadd basic lib - plugin communication 63/1163/2
Michal Rehak [Sat, 7 Sep 2013 05:01:17 +0000 (07:01 +0200)]
add basic lib - plugin communication

api, spi interfaces
sal-common-util dependency
lib-side implementations draft

Change-Id: I661689487feee50f966ba56d30e8d7615c94fbf0
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoImplemented basic deserialization 10/1110/4
michal.polkorab [Fri, 6 Sep 2013 07:31:22 +0000 (00:31 -0700)]
Implemented basic deserialization

Implemented basic serialization

Added encoder / decoder factory table

Updated netty version from 4.0.4 to 4.0.8 final

Fixed m2 plugin extensions to ignore generate-source phase

Fixed tests - not getting stuck after input files are not found

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
Change-Id: I259e19bb6a98e352c23ee94859fe61e90056ee16

10 years agoquickfix of list generation 07/1107/3
Michal Rehak [Thu, 5 Sep 2013 21:23:14 +0000 (23:23 +0200)]
quickfix of list generation

removed TODOs regarding using grouping from different context (ofaction)
changed lists with items of one-leaf-type to leaf-list

Change-Id: I8a2dd5756c112bce1015d66c8c330152ee807ea4
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoMerge "added content of grouping in of-protocol"
Daniel Bartos [Thu, 5 Sep 2013 18:02:11 +0000 (18:02 +0000)]
Merge "added content of grouping in of-protocol"

10 years agoadded content of grouping in of-protocol 90/1090/2
Michal Rehak [Wed, 4 Sep 2013 09:03:58 +0000 (11:03 +0200)]
added content of grouping in of-protocol

replaced tabs with spaces

Change-Id: Id093f4a31bf1382b6ad58dee4ca38f85714cfa0c
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoAdded tests and merged clients together 88/1088/5
michal.polkorab [Wed, 4 Sep 2013 05:51:50 +0000 (22:51 -0700)]
Added tests and merged clients together

Change-Id: I68931100ac6e98550c1dc5537e5d1000c0b15316
Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
10 years agoMerge "Fixed duplicates of RPC statements"
Daniel Bartos [Tue, 3 Sep 2013 22:44:28 +0000 (22:44 +0000)]
Merge "Fixed duplicates of RPC statements"

10 years agoMerge "Added couple of codec classes for table feature property,group feature and...
Daniel Bartos [Tue, 3 Sep 2013 22:43:47 +0000 (22:43 +0000)]
Merge "Added couple of codec classes for table feature property,group feature and group descriptions. Minor changes in some of the classes with some bug fixes. Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>"

10 years agoFixed duplicates of RPC statements 26/926/3
Adam Brcek [Tue, 20 Aug 2013 17:06:18 +0000 (19:06 +0200)]
Fixed duplicates of RPC statements

Change-Id: Iec7e527c3f1b49823d4389a83d39a59b466dcf08
Signed-off-by: Adam Brcek <adam.brcek@pantheon.sk>
10 years agoAdded more openflow models 25/925/2
Adam Brcek [Tue, 20 Aug 2013 13:28:25 +0000 (15:28 +0200)]
Added more openflow models

  - openflow-action defines Openflow Actions
  - openflow-instruction defines Openflow Instructions
  - openflow-extensible-match defines Openflow Extensible Match
  - openflow-protocol defines Openflow Protocol messages and structures

Change-Id: Ifcaa196a673e83525a6a14d2c46603263cedbdd7
Signed-off-by: Adam Brcek <adam.brcek@pantheon.sk>
10 years agoAdded couple of codec classes for table feature property,group feature and group... 84/1084/1
Anilkumar Vishnoi [Tue, 3 Sep 2013 18:15:11 +0000 (23:45 +0530)]
Added couple of codec classes for table feature property,group feature and group descriptions.
Minor changes in some of the classes with some bug fixes.
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoChanging group id according to jenkins merge rules. 49/1049/5
Michal Rehak [Thu, 29 Aug 2013 20:13:04 +0000 (22:13 +0200)]
Changing group id according to jenkins merge rules.

Change-Id: I24147d7dbc938f11dfd7abd1052a1adb532b96f9
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agofirst draft implementation of openflowjava-core 95/895/3
michal.polkorab [Fri, 16 Aug 2013 14:16:15 +0000 (16:16 +0200)]
first draft implementation of openflowjava-core

fix change packaging from pom to jar

adding targets to ignore list

improved logging, response support, comments resolved

Signed-off-by: michal.polkorab <michal.polkorab@pantheon.sk>
Change-Id: Ibada27dbc9de8028e6eee044ed08e1c699e32e2f

10 years agoAdded openflow-codec and openflowj_netty from openflowplugin 47/1047/1
Ed Warnicke [Thu, 29 Aug 2013 19:49:54 +0000 (12:49 -0700)]
Added openflow-codec and openflowj_netty from openflowplugin

Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoAdded YANG model of Openflow Types 83/783/3
Adam Brcek [Sun, 4 Aug 2013 17:15:07 +0000 (19:15 +0200)]
Added YANG model of Openflow Types

Change-Id: Id5b25a47aabfbd1449f9536b81de4ab7f28dce5b
Signed-off-by: Adam Brcek <adam.brcek@pantheon.sk>
10 years agoAdded initial Maven pom structures 39/639/1
Adam Brcek [Wed, 24 Jul 2013 10:51:06 +0000 (12:51 +0200)]
Added initial Maven pom structures

Signed-off-by: Adam Brcek <adam.brcek@pantheon.sk>
10 years agoInitial empty repository
Andrew Grimberg [Thu, 18 Jul 2013 22:27:32 +0000 (22:27 +0000)]
Initial empty repository