openflowjava.git
10 years agoMerge "OF1.0 fixes"
Daniel Bartos [Tue, 10 Dec 2013 07:13:52 +0000 (07:13 +0000)]
Merge "OF1.0 fixes"

10 years agoOF1.0 fixes 61/3561/3
Michal Polkorab [Tue, 3 Dec 2013 09:16:36 +0000 (10:16 +0100)]
OF1.0 fixes

Wildcards used in OF1.0 match
FeaturesReply now use list of ports
Added OF1.0 unit tests

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

10 years agoFixed MAC address length to 6 bytes for ArpSha, ArpTha, Ipv6NdSll, Ipv6NdTll match... 54/3554/2
Deepthi V V [Mon, 9 Dec 2013 10:56:59 +0000 (16:26 +0530)]
Fixed MAC address length to 6 bytes for ArpSha, ArpTha, Ipv6NdSll, Ipv6NdTll match fields.

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

10 years agoConstants introduced 27/3527/1
Michal Polkorab [Mon, 18 Nov 2013 08:14:01 +0000 (09:14 +0100)]
Constants introduced

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoMerge "MacAddress (de)serialization for OF1.0"
Daniel Bartos [Fri, 6 Dec 2013 08:58:53 +0000 (08:58 +0000)]
Merge "MacAddress (de)serialization for OF1.0"

10 years agoOF-1.0 related fixes 15/3515/1
Michal Rehak [Thu, 5 Dec 2013 21:32:59 +0000 (22:32 +0100)]
OF-1.0 related fixes

errorType typo
statRequest encoding length
match encoding macAddress, ipv4 address fixed

Change-Id: I05808f9d5426ff645ed1c727170eac2426e98284
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoMacAddress (de)serialization for OF1.0 14/3514/1
Michal Polkorab [Thu, 5 Dec 2013 19:47:20 +0000 (20:47 +0100)]
MacAddress (de)serialization for OF1.0

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoMacAddress (de)serialization fixed 04/3504/2
Michal Polkorab [Thu, 5 Dec 2013 13:27:09 +0000 (14:27 +0100)]
MacAddress (de)serialization fixed

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

10 years agoMerge "Optional fields - reverted"
Daniel Bartos [Thu, 5 Dec 2013 09:32:59 +0000 (09:32 +0000)]
Merge "Optional fields - reverted"

10 years agoOptional fields - reverted 70/3470/1
Michal Polkorab [Wed, 4 Dec 2013 18:58:26 +0000 (19:58 +0100)]
Optional fields - reverted

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoJavadoc + api documentation generation 55/3455/1
Michal Polkorab [Wed, 4 Dec 2013 15:34:58 +0000 (16:34 +0100)]
Javadoc + api documentation generation

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoAdded validation 31/3431/1
Prasanna Huddar [Wed, 4 Dec 2013 10:05:51 +0000 (15:35 +0530)]
Added validation

Signed-off-by: Prasanna Huddar <prasanna.huddar@ericsson.com>
10 years agofixed length of match entry for ethernet match (mac-address) 22/3422/1
Michal Rehak [Wed, 4 Dec 2013 01:53:51 +0000 (02:53 +0100)]
fixed length of match entry for ethernet match (mac-address)

Change-Id: I59de33431401add466d0926dc928f8709c0e02b3
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoQuickfix: MultipartReplyTableFeatures -> config is table config 91/3391/1
Michal Polkorab [Tue, 3 Dec 2013 09:31:40 +0000 (10:31 +0100)]
Quickfix: MultipartReplyTableFeatures -> config is table config

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoMerge "Ip address is now send correctly"
Adam Brcek [Mon, 2 Dec 2013 15:57:08 +0000 (15:57 +0000)]
Merge "Ip address is now send correctly"

10 years agoIp address is now send correctly 41/3341/1
Michal Polkorab [Mon, 2 Dec 2013 13:57:34 +0000 (14:57 +0100)]
Ip address is now send correctly

Fixed header length computation (including padding)
Fixed hasMask flag
Changed equals() with isAssignableFrom() (for abstract classes)

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoGroup and Port are not mandatory in Flow. 32/3332/2
Prasanna Huddar [Mon, 2 Dec 2013 11:33:54 +0000 (17:03 +0530)]
Group and Port are not mandatory in Flow.

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

10 years agoErrorMessage - int values for type and code provided 58/3258/1
Michal Polkorab [Fri, 29 Nov 2013 16:31:52 +0000 (17:31 +0100)]
ErrorMessage - int values for type and code provided

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoMerge "Error code support for ErrorMessage"
Daniel Bartos [Fri, 29 Nov 2013 12:42:59 +0000 (12:42 +0000)]
Merge "Error code support for ErrorMessage"

10 years agoMerge "fixed slicing in frame processing"
Daniel Bartos [Fri, 29 Nov 2013 10:47:39 +0000 (10:47 +0000)]
Merge "fixed slicing in frame processing"

10 years agoMerge "ignore XID by pairing request - response"
Daniel Bartos [Fri, 29 Nov 2013 10:46:42 +0000 (10:46 +0000)]
Merge "ignore XID by pairing request - response"

10 years agoError code support for ErrorMessage 04/3204/2
Michal Polkorab [Thu, 28 Nov 2013 14:08:44 +0000 (15:08 +0100)]
Error code support for ErrorMessage

Removed duplicate factories
Global contants in EncodeConstants
Updated tests

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

10 years agofixed slicing in frame processing 37/3237/1
Michal Rehak [Fri, 29 Nov 2013 10:13:35 +0000 (11:13 +0100)]
fixed slicing in frame processing

detected length of next (incomplete) message was readed from wrong position

Change-Id: Iea7ec3f392c2a38e8dc6becb21914b018f878faa
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoMerge "Quickfix - TableMod message (now correct config)"
Daniel Bartos [Thu, 28 Nov 2013 08:00:47 +0000 (08:00 +0000)]
Merge "Quickfix - TableMod message (now correct config)"

10 years agoignore XID by pairing request - response 60/3160/1
Michal Rehak [Thu, 28 Nov 2013 01:10:04 +0000 (02:10 +0100)]
ignore XID by pairing request - response

Change-Id: Ia7e435c2abc77fb975d480ad70f19bfad8ec8169
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoadded ListeningStatusProvider interface for testing purposes 56/3156/1
Michal Rehak [Wed, 27 Nov 2013 23:25:42 +0000 (00:25 +0100)]
added ListeningStatusProvider interface for testing purposes

added debug logs for bundle starting
fixed comments

Change-Id: I3386446d4317f2fd1cd38ef5f85251e3e8878d73
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agoQuickfix - TableMod message (now correct config) 30/3130/1
Michal Polkorab [Wed, 27 Nov 2013 14:34:04 +0000 (15:34 +0100)]
Quickfix - TableMod message (now correct config)

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoFixed conversion of GetAsyncReply and SetAsync messages 25/3125/1
Michal Polkorab [Wed, 27 Nov 2013 13:21:03 +0000 (14:21 +0100)]
Fixed conversion of GetAsyncReply and SetAsync messages

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoBugfixed factories 04/3104/1
Michal Polkorab [Tue, 26 Nov 2013 14:16:04 +0000 (15:16 +0100)]
Bugfixed factories

Received messages are logged in debug mode

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoFixed MultipartReply MeterFeatures 91/3091/1
Michal Polkorab [Tue, 26 Nov 2013 09:41:14 +0000 (10:41 +0100)]
Fixed MultipartReply MeterFeatures

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoException catch while decoding / encoding DTOs 88/3088/1
Michal Polkorab [Tue, 26 Nov 2013 08:44:55 +0000 (09:44 +0100)]
Exception catch while decoding / encoding DTOs

Fixed MultipartReply MeterConfig
Added BinContext class for handling signed int / unsigned long conversions
Renamed OFDecoder and OFEncoder (deleted version in name classes' names)

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoMake some small checks in case a MultipartRequestTableFeatures body is provided but 46/3046/1
Ed Warnicke [Sun, 24 Nov 2013 22:55:13 +0000 (14:55 -0800)]
Make some small checks in case a MultipartRequestTableFeatures body is provided but
not initialized (which is not unreaonable).

Change-Id: I77f568575ac061261a6d77e8ba70d7da1c2a99df
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoPortNumber fixed + enums provided 85/2985/1
Michal Polkorab [Fri, 22 Nov 2013 08:33:24 +0000 (09:33 +0100)]
PortNumber fixed + enums provided

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoAdded yang models for ofp_group and ofp_meter enums 26/2926/2
Anilkumar Vishnoi [Thu, 21 Nov 2013 06:15:55 +0000 (11:45 +0530)]
Added yang models for ofp_group and ofp_meter enums

Change-Id: Id63bd137966b87b7ba0fbf13cbfb7519a4d15b8c
Signed-off-by: Anilkumar Vishnoi <avishnoi@in.ibm.com>
10 years agoFixed onConnectionReady event firing 30/2830/1
Michal Polkorab [Mon, 18 Nov 2013 15:48:32 +0000 (16:48 +0100)]
Fixed onConnectionReady event firing

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoTlsDetector pipeline engaging parameterizable 26/2826/2
Michal Polkorab [Mon, 18 Nov 2013 14:19:33 +0000 (15:19 +0100)]
TlsDetector pipeline engaging parameterizable

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

10 years agoMerge "Updated Multipart message code"
Daniel Bartos [Mon, 18 Nov 2013 12:40:31 +0000 (12:40 +0000)]
Merge "Updated Multipart message code"

10 years agoUpdated Multipart message code 18/2818/3
Michal Polkorab [Mon, 18 Nov 2013 10:44:28 +0000 (11:44 +0100)]
Updated Multipart message code

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

10 years agoReleasing ByteBuf in DecoderTable 19/2819/1
Michal Polkorab [Mon, 18 Nov 2013 11:09:28 +0000 (12:09 +0100)]
Releasing ByteBuf in DecoderTable

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoFixed the encoding of SendMultipartRequestMessageInput 04/2804/1
Ed Warnicke [Sun, 17 Nov 2013 21:33:55 +0000 (15:33 -0600)]
Fixed the encoding of SendMultipartRequestMessageInput

Change-Id: Iefc7cfdefae00bd244018714d420b4f4a7587373
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoMerge "Fixing OF Multipart messages 1) So we have a MultipartRequestDesc message...
Adam Brcek [Sat, 16 Nov 2013 21:44:21 +0000 (21:44 +0000)]
Merge "Fixing OF Multipart messages 1)  So we have a MultipartRequestDesc message 2)  So we can send MultipartRequestDesc messages"

10 years agoFixing OF Multipart messages 95/2795/5
Ed Warnicke [Sat, 16 Nov 2013 20:45:26 +0000 (14:45 -0600)]
Fixing OF Multipart messages
1)  So we have a MultipartRequestDesc message
2)  So we can send MultipartRequestDesc messages

Change-Id: I678e2bbfd6c4271dd57e73948ef2edfd3a9262bc
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoQuickfix - fixed missing output ByteBuf in MatchSerializer 73/2773/1
Michal Polkorab [Fri, 15 Nov 2013 12:48:37 +0000 (13:48 +0100)]
Quickfix - fixed missing output ByteBuf in MatchSerializer

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoMerge "Quickfix - ActionsSerializer encodeSetFieldAction()"
Daniel Bartos [Fri, 15 Nov 2013 08:32:58 +0000 (08:32 +0000)]
Merge "Quickfix - ActionsSerializer encodeSetFieldAction()"

10 years agoMerge "Javadoc update"
Daniel Bartos [Fri, 15 Nov 2013 07:41:24 +0000 (07:41 +0000)]
Merge "Javadoc update"

10 years agoQuickfix - ActionsSerializer encodeSetFieldAction() 63/2763/1
Michal Polkorab [Fri, 15 Nov 2013 07:37:57 +0000 (08:37 +0100)]
Quickfix - ActionsSerializer encodeSetFieldAction()

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoJavadoc update 50/2750/1
Michal Polkorab [Thu, 14 Nov 2013 16:48:31 +0000 (17:48 +0100)]
Javadoc update

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoSimpleClient secure mode fixed 39/2739/1
Michal Polkorab [Thu, 14 Nov 2013 15:13:11 +0000 (16:13 +0100)]
SimpleClient secure mode fixed

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoFactory tests back to stable 33/2733/1
Michal Polkorab [Thu, 14 Nov 2013 11:53:13 +0000 (12:53 +0100)]
Factory tests back to stable

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoBugfix - match, actions, instructions 45/2645/1
Michal Polkorab [Tue, 12 Nov 2013 08:24:12 +0000 (09:24 +0100)]
Bugfix - match, actions, instructions

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoOpenFlow 1.0 support completed 06/2606/1
Michal Polkorab [Mon, 11 Nov 2013 12:57:52 +0000 (13:57 +0100)]
OpenFlow 1.0 support completed

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoAdded support for OF 1.0 99/2599/1
Michal Polkorab [Mon, 11 Nov 2013 10:32:50 +0000 (11:32 +0100)]
Added support for OF 1.0

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoofp_packet_queue structure - implemented missing fields 98/2598/1
Michal Polkorab [Fri, 8 Nov 2013 15:42:17 +0000 (16:42 +0100)]
ofp_packet_queue structure - implemented missing fields

VlanVidMatchEntry contains cfiBit field
Minor generated classes unification & rename
Changed logging in handler constructors to debug

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoFinished actions + match + instructions (de)serialization 14/2514/1
Michal Polkorab [Thu, 7 Nov 2013 09:45:50 +0000 (10:45 +0100)]
Finished actions + match + instructions (de)serialization

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoQuickfix - Hello versionBitmap 90/2490/1
Michal Polkorab [Thu, 7 Nov 2013 12:19:32 +0000 (13:19 +0100)]
Quickfix - Hello versionBitmap

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoQuickfix - MeterModInputMessageFactory computelength() 94/2394/1
Michal Polkorab [Tue, 5 Nov 2013 15:44:55 +0000 (16:44 +0100)]
Quickfix - MeterModInputMessageFactory computelength()

Changed logging in HelloInputMessageFactoryTest

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
10 years agoMatch and actions (de)serialization + fix 91/2391/2
Michal Polkorab [Mon, 4 Nov 2013 08:07:34 +0000 (09:07 +0100)]
Match and actions (de)serialization + fix

YANG files - added missing instructions in some messages
YANG files - unified bucketslist, actionslist

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

10 years agoOrdered message execution ensured 66/2166/4
Michal Rehak [Fri, 25 Oct 2013 13:49:35 +0000 (15:49 +0200)]
Ordered message execution ensured

Removed threadpool
IdleStateHandler - added javadoc
IntegrationTest - sleepEvents' sleep time reduced
SendEvent no longer uses threads to send message

Added notification of connection ready status
Fixed SimpleClient (msg length)

Change-Id: If517c0e31123b5609511dc3ed90b44d8427b08d6
Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
Signed-off-by: Michal Rehak <mirehak@cisco.com>
10 years agohello-VersionBitmap fixed 64/2364/2
Michal Polkorab [Mon, 4 Nov 2013 15:28:38 +0000 (16:28 +0100)]
hello-VersionBitmap fixed

added generic type to OFSerializer.computeLength()

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

10 years agoCentralized pipeline creation 48/2348/2
Michal Polkorab [Mon, 4 Nov 2013 08:53:57 +0000 (09:53 +0100)]
Centralized pipeline creation

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

11 years agobundle limited to own package 78/2278/1
Michal Rehak [Wed, 30 Oct 2013 16:26:11 +0000 (17:26 +0100)]
bundle limited to own package

Change-Id: I6d32e55d1bfea517f16a1af25b002da799ae7246
Signed-off-by: Michal Rehak <mirehak@cisco.com>
11 years agomultipart reply message updated 06/2206/2
Timotej Kubas [Mon, 28 Oct 2013 08:00:41 +0000 (09:00 +0100)]
multipart reply message updated
added actions
added match entries
fixed names for augmentation

Change-Id: I4d663eabb8ad0ac883c470ca0577b9c853e50805
Signed-off-by: Timotej Kubas <timotej.kubas@pantheon.sk>
11 years agoMerge "Quickfix - removed join in SimpleClient"
Daniel Bartos [Fri, 25 Oct 2013 09:42:25 +0000 (09:42 +0000)]
Merge "Quickfix - removed join in SimpleClient"

11 years agoMerge "Added scenario with settable auxiliaryId in featuresReply message"
Daniel Bartos [Fri, 25 Oct 2013 09:41:39 +0000 (09:41 +0000)]
Merge "Added scenario with settable auxiliaryId in featuresReply message"

11 years agoQuickfix - removed join in SimpleClient 56/2156/1
Michal Polkorab [Fri, 25 Oct 2013 09:13:25 +0000 (11:13 +0200)]
Quickfix - removed join in SimpleClient

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
11 years agoAdded scenario with settable auxiliaryId in featuresReply message 39/2139/1
Michal Polkorab [Thu, 24 Oct 2013 13:24:27 +0000 (15:24 +0200)]
Added scenario with settable auxiliaryId in featuresReply message

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
11 years agoRemoved unused groupings in YANG files 38/2138/1
Michal Polkorab [Thu, 24 Oct 2013 13:11:40 +0000 (15:11 +0200)]
Removed unused groupings in YANG files

YANG files formatted

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
11 years agoQuickfix - removed unused groupings in openflow-extesible-match 37/2137/1
Michal Polkorab [Thu, 24 Oct 2013 11:49:08 +0000 (13:49 +0200)]
Quickfix - removed unused groupings in openflow-extesible-match

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
11 years agoQuickfix: FeaturesReply - wrong auxiliaryId in default handshakeScenario 04/2104/1
Michal Polkorab [Wed, 23 Oct 2013 13:48:44 +0000 (15:48 +0200)]
Quickfix: FeaturesReply - wrong auxiliaryId in default handshakeScenario

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
11 years agoImproved logging in ScenarioHandler 03/2103/1
Michal Polkorab [Wed, 23 Oct 2013 13:32:27 +0000 (15:32 +0200)]
Improved logging in ScenarioHandler

Removed warnings from SimpleClient and IntegrationTest bundles

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
11 years agoAdded cachedThreadPool in ConnectionAdapter 75/2075/2
Michal Polkorab [Tue, 22 Oct 2013 13:46:55 +0000 (15:46 +0200)]
Added cachedThreadPool in ConnectionAdapter

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

11 years agomultipart request message updated 69/2069/1
Timotej Kubas [Tue, 22 Oct 2013 08:11:30 +0000 (10:11 +0200)]
multipart request message updated

added meter features, meter config, experimenter, meter description in multipart
reply message
changes in YANG (buckets changed to bucket list, added field data in experimenter
multipart reply message)

Change-Id: I67c219c5b069da482092e2206eb038217e192809
Signed-off-by: Timotej Kubas <timotej.kubas@pantheon.sk>
11 years agoAugmented nodes wrapped 49/2049/1
Michal Polkorab [Mon, 21 Oct 2013 11:34:23 +0000 (13:34 +0200)]
Augmented nodes wrapped

Signed-off-by: Michal Polkorab <michal.polkorab@pantheon.sk>
11 years agoIntegration test, SimpleClient bundle 12/2012/3
Michal Polkorab [Fri, 18 Oct 2013 14:03:43 +0000 (16:03 +0200)]
Integration test, SimpleClient bundle

SimpleClient scenario handling support
Dependency cleanup
Removed warnings
Updated YANG action augments
Added ScenarioFactory, fixed copyright

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

11 years agomultipart request message updated 56/1956/1
Timotej Kubas [Thu, 17 Oct 2013 09:20:50 +0000 (11:20 +0200)]
multipart request message updated

multipart request message flags updated in YANG
experimenter input message compute length fixed

Change-Id: I609b24cca8ad9887921d818304e95bc17b206b30
Signed-off-by: Timotej Kubas <timotej.kubas@pantheon.sk>
11 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>
11 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>
11 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

11 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>
11 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

11 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

11 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>
11 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>
11 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

11 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
11 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>
11 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

11 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>
11 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

11 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

11 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

11 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

11 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>
11 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"

11 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

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

11 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>
11 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>
11 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>
11 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"