miroslav.macko [Wed, 22 Jun 2016 06:55:25 +0000 (08:55 +0200)]
Bug-5543 - Bo: Update JUnit tests part 2
- Added topology-lldp-discovery tests
Change-Id: I4d98f6d71e9984a083874f3cde7fedb97e41404f
Signed-off-by: miroslav.macko <miroslav.macko@pantheon.tech>
miroslav.macko [Tue, 21 Jun 2016 14:28:36 +0000 (16:28 +0200)]
Bug-5543 - Bo: Update JUnit tests part 1
- Added bulk-o-matic tests
Change-Id: I9476fb86ada187b8ff31f00ef57dfb491c8facde
Signed-off-by: miroslav.macko <miroslav.macko@pantheon.tech>
Anil Vishnoi [Thu, 23 Jun 2016 17:36:08 +0000 (17:36 +0000)]
Merge "Remove bulk-o-matic config yang and XML"
Abhijit Kumbhare [Thu, 23 Jun 2016 15:37:51 +0000 (15:37 +0000)]
Merge "Removed duplicate sal-binding-config dependency."
Abhijit Kumbhare [Thu, 23 Jun 2016 15:30:55 +0000 (15:30 +0000)]
Merge "Bug 6085 - Modifying config flow does not work if first flow creation failed"
Abhijit Kumbhare [Thu, 23 Jun 2016 15:22:03 +0000 (15:22 +0000)]
Merge "Fixed the log level."
Abhijit Kumbhare [Thu, 23 Jun 2016 15:17:56 +0000 (15:17 +0000)]
Merge "Bug 5916: He plugin: Wake up statistics collector thread if RPC fails."
Jozef Bacigal [Thu, 23 Jun 2016 15:12:20 +0000 (15:12 +0000)]
Merge "Bug 5602: Fixed FlowRemoved notification"
Abhijit Kumbhare [Thu, 23 Jun 2016 07:56:18 +0000 (07:56 +0000)]
Merge "Suppressed WARN log of forwardingrules-manager"
Abhijit Kumbhare [Thu, 23 Jun 2016 07:47:53 +0000 (07:47 +0000)]
Merge "Bug 5974: He plugin: Don't invalidate session context that is not valid."
Jozef Bacigal [Thu, 23 Jun 2016 07:10:56 +0000 (07:10 +0000)]
Merge "Bug 5925: Don't shut down thread pool in HandshakeContextImpl."
Tom Pantelis [Thu, 23 Jun 2016 05:05:55 +0000 (01:05 -0400)]
Remove bulk-o-matic config yang and XML
Change-Id: I724dc28dabb9a72e0d940d44577d9f547351c580
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
Anil Vishnoi [Sat, 18 Jun 2016 08:26:55 +0000 (01:26 -0700)]
Bug 6085 - Modifying config flow does not work if first flow creation failed
Change-Id: I1f8176daffb97f0b3a4eb1ffc018f625f3afd65b
Signed-off-by: Anil Vishnoi <vishnoianil@gmail.com>
Abhijit Kumbhare [Wed, 22 Jun 2016 15:48:15 +0000 (15:48 +0000)]
Merge "Swap OFP features"
Hideyuki Tai [Fri, 10 Jun 2016 13:43:56 +0000 (06:43 -0700)]
Suppressed WARN log of forwardingrules-manager
This patch changes the log level for some messages from WARN to DEBUG,
since logging node status changes is not the main role of the
forwardingrules-manager. But the messages would help debugging.
Change-Id: I1b0453d11921cefa7dadb25483bb38be26ff2353
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
Hideyuki Tai [Mon, 6 Jun 2016 15:38:41 +0000 (08:38 -0700)]
Bug 5602: Fixed FlowRemoved notification
This patch fixed the condition on which FlowRemoved notification was
made. The FlowRemoved notification needs to be made even when an
instance of ItemLifecycleListener is not available. Therefore, this
patch changed the location to publish the notification in the code. This
change made the OF plugin publish the FlowRemoved notification to its
listeners even when the statistics manager is running.
Change-Id: I279643a118537d0e3bca43358520be15efba24e8
Signed-off-by: Hideyuki Tai <Hideyuki.Tai@necam.com>
Jozef Bacigal [Wed, 22 Jun 2016 10:43:22 +0000 (10:43 +0000)]
Merge "Bug 5987 - Operational Inventory data persists in datastore"
Shigeru Yasuda [Wed, 22 Jun 2016 09:10:32 +0000 (18:10 +0900)]
Bug 5925: Don't shut down thread pool in HandshakeContextImpl.
Change-Id: I1e37283b5afff7fbac7a13d3167443ec1a71bc70
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Luis Gomez [Wed, 20 Jan 2016 21:46:00 +0000 (13:46 -0800)]
Swap OFP features
Change-Id: I75f8ff622753af4107796be3ed40c564dcfb357a
Signed-off-by: Luis Gomez <ecelgp@gmail.com>
Tomas Slusny [Tue, 14 Jun 2016 06:31:25 +0000 (08:31 +0200)]
Bug 5987 - Operational Inventory data persists in datastore
- Added retry logic after receiving error when trying
to clean the datastore
Change-Id: I109eaf41ceef81cd2d90f6b2b6895a494417ec10
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
Jozef Bacigal [Tue, 21 Jun 2016 12:34:17 +0000 (12:34 +0000)]
Merge "Line delimiters converted"
Andrej Leitner [Tue, 21 Jun 2016 09:43:30 +0000 (11:43 +0200)]
Line delimiters converted
- files with Windows line delimiter converted with dos2unix
to fix checkstyle warnings
Change-Id: I8202f6afdb465854601de4401636febbeb919eca
Signed-off-by: Andrej Leitner <anleitne@cisco.com>
Jozef Bacigal [Tue, 21 Jun 2016 11:30:14 +0000 (11:30 +0000)]
Merge "Bug 6075 - Missing unregistration for Nshc1 codec in NiciraExtensionsRegistrator"
miroslav.macko [Thu, 16 Jun 2016 12:34:03 +0000 (14:34 +0200)]
Bug 6075 - Missing unregistration for Nshc1 codec
in NiciraExtensionsRegistrator
- Fixed missing unregistration for Nshc1 codec
in NiciraExtensionsRegistrator
Change-Id: I2edba1acb83454f90e125ee1b9cee6c8fba3585d
Signed-off-by: miroslav.macko <miroslav.macko@pantheon.tech>
Andrej Leitner [Fri, 10 Jun 2016 12:50:53 +0000 (14:50 +0200)]
FR-sync cleaning
- improved logging and comments
- edited access level modifiers
- removed unused dependency
- removed unused method paramters
- decreased test timeout
Change-Id: Id0edd87292dc946b6b2699dc027555fa7255c917
Signed-off-by: Andrej Leitner <anleitne@cisco.com>
Jozef Bacigal [Tue, 21 Jun 2016 09:19:13 +0000 (09:19 +0000)]
Merge "Bug 6050 - TcpSrcCodec is not maskable"
michal rehak [Tue, 21 Jun 2016 09:15:59 +0000 (09:15 +0000)]
Merge "Bug 6088 - Threads problem on gathering statistics"
Jozef Bacigal [Tue, 21 Jun 2016 09:12:08 +0000 (09:12 +0000)]
Merge "Bug 5577 Retry mechanism"
Jozef Bacigal [Tue, 21 Jun 2016 09:05:43 +0000 (09:05 +0000)]
Merge "Bug 5924 - Reuse Threads using ThreadPool in SystemNotificationListenerImpl"
Jozef Bacigal [Tue, 21 Jun 2016 09:05:22 +0000 (09:05 +0000)]
Merge "Bug 5925 - Reuse Threads using ThreadPool in ConnectionManagerImpl"
michal rehak [Tue, 21 Jun 2016 09:02:46 +0000 (09:02 +0000)]
Merge "Second set of after review changes"
michal rehak [Tue, 21 Jun 2016 09:02:26 +0000 (09:02 +0000)]
Merge "After review updates"
michal rehak [Tue, 21 Jun 2016 09:02:13 +0000 (09:02 +0000)]
Merge "Added context state to all contexts"
michal rehak [Tue, 21 Jun 2016 09:01:59 +0000 (09:01 +0000)]
Merge "Optimized imports"
michal rehak [Tue, 21 Jun 2016 09:01:55 +0000 (09:01 +0000)]
Merge "Device state"
michal rehak [Tue, 21 Jun 2016 09:01:48 +0000 (09:01 +0000)]
Merge "Abstract service NodeId remove"
michal rehak [Tue, 21 Jun 2016 09:01:43 +0000 (09:01 +0000)]
Merge "Abstract service"
michal rehak [Tue, 21 Jun 2016 09:01:40 +0000 (09:01 +0000)]
Merge "DevManager functionality add"
michal rehak [Tue, 21 Jun 2016 09:01:35 +0000 (09:01 +0000)]
Merge "DevCtx to DevMng"
michal rehak [Tue, 21 Jun 2016 09:01:30 +0000 (09:01 +0000)]
Merge "Dependency devCtx removed from StatCtx"
michal rehak [Tue, 21 Jun 2016 09:01:23 +0000 (09:01 +0000)]
Merge "DeviceRegistry facade"
michal rehak [Tue, 21 Jun 2016 09:01:14 +0000 (09:01 +0000)]
Merge "RPCContext dependency from DevCtx removed"
michal rehak [Tue, 21 Jun 2016 09:01:00 +0000 (09:01 +0000)]
Merge "RPCEnabled flag moved from DeviceCtx"
michal rehak [Tue, 21 Jun 2016 09:00:56 +0000 (09:00 +0000)]
Merge "Conductor RPC registration moved"
michal rehak [Tue, 21 Jun 2016 09:00:52 +0000 (09:00 +0000)]
Merge "Conductor to OFPManager dependency"
michal rehak [Tue, 21 Jun 2016 09:00:48 +0000 (09:00 +0000)]
Merge "Generify Managers"
michal rehak [Tue, 21 Jun 2016 09:00:43 +0000 (09:00 +0000)]
Merge "Generic API for contexts"
michal rehak [Tue, 21 Jun 2016 09:00:39 +0000 (09:00 +0000)]
Merge "Statistics gathering"
michal rehak [Tue, 21 Jun 2016 09:00:35 +0000 (09:00 +0000)]
Merge "LifeCycle conductor changes"
michal rehak [Tue, 21 Jun 2016 09:00:31 +0000 (09:00 +0000)]
Merge "RoleManager changes"
michal rehak [Tue, 21 Jun 2016 09:00:25 +0000 (09:00 +0000)]
Merge "DeviceState changes"
michal rehak [Tue, 21 Jun 2016 09:00:21 +0000 (09:00 +0000)]
Merge "deviceContext changes"
michal rehak [Tue, 21 Jun 2016 09:00:16 +0000 (09:00 +0000)]
Merge "Statistics context and manager changes"
michal rehak [Tue, 21 Jun 2016 09:00:12 +0000 (09:00 +0000)]
Merge "rpcContext small changes"
michal rehak [Tue, 21 Jun 2016 09:00:07 +0000 (09:00 +0000)]
Merge "roleContext NodeId change"
michal rehak [Tue, 21 Jun 2016 09:00:02 +0000 (09:00 +0000)]
Merge "Statistics manager context map holder change"
michal rehak [Tue, 21 Jun 2016 08:59:57 +0000 (08:59 +0000)]
Merge "DeviceManager map key change"
michal rehak [Tue, 21 Jun 2016 08:59:53 +0000 (08:59 +0000)]
Merge "RPC Manager Context Map holder change"
michal rehak [Tue, 21 Jun 2016 08:59:48 +0000 (08:59 +0000)]
Merge "Context close handler changed"
michal rehak [Tue, 21 Jun 2016 08:59:43 +0000 (08:59 +0000)]
Merge "Connection context create device info"
michal rehak [Tue, 21 Jun 2016 08:59:37 +0000 (08:59 +0000)]
Merge "Device Info"
michal rehak [Tue, 21 Jun 2016 08:59:33 +0000 (08:59 +0000)]
Merge "Device Info API"
Jozef Bacigal [Tue, 21 Jun 2016 08:03:02 +0000 (10:03 +0200)]
Second set of after review changes
Change-Id: I34769d9c7423b5cc2eceaf0ff8814c86bdd48e78
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Andrej Leitner [Mon, 23 May 2016 08:02:01 +0000 (10:02 +0200)]
Bug 5577 Retry mechanism
- added RetryDecorator
- added RetryRegistry for fresh operational registration
- added successor of operational listener for retry
- updated FutureZipDecorator compression
- changed wiring in provider and using now only one reactor
- added and updated unit tests
Change-Id: I29d34ab1ce2cc3181cab73066f9ca1078e2df0a1
Signed-off-by: Andrej Leitner <anleitne@cisco.com>
Jozef Bacigal [Mon, 20 Jun 2016 13:10:04 +0000 (15:10 +0200)]
After review updates
Change-Id: I11f49d9469bd55ba8922506ebb9692d832290f3a
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Mon, 20 Jun 2016 08:41:05 +0000 (10:41 +0200)]
Bug 6088 - Threads problem on gathering statistics
Change-Id: I5490f737bda540e6af238c4d4d9bf2a6f4306aae
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Mon, 20 Jun 2016 07:17:38 +0000 (09:17 +0200)]
Added context state to all contexts
Change-Id: Ib2330821f71571c1dc6bcd81bec81fe288c2d83d
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Shigeru Yasuda [Thu, 16 Jun 2016 08:38:23 +0000 (17:38 +0900)]
Removed duplicate sal-binding-config dependency.
Change-Id: I2a50a87f687a4a237cf518bfe90c7c25c8223718
Signed-off-by: Shigeru Yasuda <s-yasuda@da.jp.nec.com>
Anil Vishnoi [Sat, 18 Jun 2016 07:35:21 +0000 (07:35 +0000)]
Merge "BUG-6064: switching updates off as on a node updated we need not trigger reconciliation"
Tomas Slusny [Tue, 24 May 2016 08:14:52 +0000 (10:14 +0200)]
Bug 5924 - Reuse Threads using ThreadPool in SystemNotificationListenerImpl
- Removed creating new thread every time switch was connected
- Instead, used thread pool created in Bug 5925 and passed it
from ConnectionManagerImpl to SystemNotificationListenerImpl
Change-Id: I02f50a9720b659b910250feab08553e142acaf44
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
Tomas Slusny [Tue, 24 May 2016 08:10:58 +0000 (10:10 +0200)]
Bug 5925 - Reuse Threads using ThreadPool in ConnectionManagerImpl
- Removed thread pool instantiating from ConnectionManagerImpl
- Instantiated new cached thread pool with 60 seconds timeout in
OpenflowPluginProviderImpl and passed it to ConnectionManagerImpl
- Added "thread-pool-min-threads", "thread-pool-max-threads" and
"thread-pool-timeout" configuration parameters to "openflow-provider-config"
Change-Id: I5f8aa0ee820d240413b1041e6af495d7172f2aa3
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
Jozef Bacigal [Fri, 17 Jun 2016 12:53:06 +0000 (14:53 +0200)]
Optimized imports
Change-Id: I7268bdb2342408240747560ffebfa866f4e4a82e
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Vratko Polak [Fri, 17 Jun 2016 11:35:33 +0000 (13:35 +0200)]
Remove references to statistics-manager-config
as it was removed in https://git.opendaylight.org/gerrit/#/c/39133
so features cannot depend on that.
Also, forwardingrules-manager-config is removed from artifacts.
Change-Id: I6d0d9b8e03cde16361230cbdec8a3e18a55530d2
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Jozef Bacigal [Wed, 15 Jun 2016 09:35:17 +0000 (11:35 +0200)]
Device state
- removed setters for sychnronized and valid
- created listeners for valid and synchronized changes
- all valid and synchronize changes moved to manager
Change-Id: I6f0757ddb6a5f8b6b615e382c61e53052a2a75c6
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Mon, 13 Jun 2016 10:42:12 +0000 (12:42 +0200)]
Abstract service NodeId remove
Change-Id: I2f7ec3f2ee40e7ef41e725e4b214afa1dd478a14
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Fri, 10 Jun 2016 13:32:30 +0000 (15:32 +0200)]
Abstract service
- preparations for device remove from services
Change-Id: Ib7b8b6bd5532fe54483d7ea8eb254287829ebc95
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Fri, 10 Jun 2016 11:38:22 +0000 (13:38 +0200)]
DevManager functionality add
- Moved mothods from context to manager
Change-Id: Ie8abe3ec95756ff633b4b1d9a7242c251fbd93c3
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Fri, 10 Jun 2016 11:09:01 +0000 (13:09 +0200)]
DevCtx to DevMng
onClusterRoleChange moved to manager
Change-Id: I520e81adff9382127c29cd9b1902f402eb0bb4ac
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Fri, 10 Jun 2016 10:26:33 +0000 (12:26 +0200)]
Dependency devCtx removed from StatCtx
Change-Id: Id79e3ad8e3f69a7562a7b773dc9d06890ed2bc3f
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Fri, 10 Jun 2016 08:10:57 +0000 (10:10 +0200)]
DeviceRegistry facade
Change-Id: Ie5f3238896b09e719eafdd307048d061ea680abc
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Thu, 9 Jun 2016 14:30:36 +0000 (16:30 +0200)]
RPCContext dependency from DevCtx removed
Change-Id: Ic7cc6f9cf4e15f6999e19c7f1ef8fc77e404442b
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Thu, 9 Jun 2016 14:25:37 +0000 (16:25 +0200)]
RPCEnabled flag moved from DeviceCtx
Change-Id: I00003764f524a550858d85226da7cacd95ded5f1
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Thu, 9 Jun 2016 13:11:46 +0000 (15:11 +0200)]
Conductor RPC registration moved
Change-Id: I5448991aa0f56fa8f4f802df0265ac457edfe75b
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Thu, 9 Jun 2016 10:53:18 +0000 (12:53 +0200)]
Conductor to OFPManager dependency
Change-Id: I5ea32dcd1b1ac2ed583f98f103d7f20b70d2bf6f
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Thu, 9 Jun 2016 10:39:21 +0000 (12:39 +0200)]
Generify Managers
-gainContex for each manager
Change-Id: Ifa4a60e8a529bbf194a82a0d7622faa9bbb427ec
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Thu, 9 Jun 2016 10:34:33 +0000 (12:34 +0200)]
Generic API for contexts
Change-Id: I1f919b99007dbc310830a43941162947fad32987
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Thu, 9 Jun 2016 08:43:12 +0000 (10:43 +0200)]
Statistics gathering
-device context split
Change-Id: Ib0276ff78281bbc56d085e5c46fd8cd30833e351
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Thu, 9 Jun 2016 07:39:46 +0000 (09:39 +0200)]
LifeCycle conductor changes
Change-Id: I02509e60dc168e55ad4146f25ae9b32e7f919011
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Thu, 9 Jun 2016 07:33:18 +0000 (09:33 +0200)]
RoleManager changes
- changed key of contexts map from node to device info
Change-Id: I57809460950d7e5aa72b5ca37baa79a410034101
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 12:01:50 +0000 (14:01 +0200)]
DeviceState changes
- basic device info removed from device state
- in device context added method to return device info
- jeopardy flag added to tests
Change-Id: I466f87c595033c72cb588ca3f00d2c222b46070d
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 10:45:05 +0000 (12:45 +0200)]
deviceContext changes
Change-Id: I8b0e7c98b61e5453cb683c4cb96c2ce7d83ddf87
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 10:37:55 +0000 (12:37 +0200)]
Statistics context and manager changes
Change-Id: Ifb9b27f5a6419f959d3faac4a6de4fff60cff3b4
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 10:25:21 +0000 (12:25 +0200)]
rpcContext small changes
Change-Id: I8e545fa6e2fdfb86da310a7307e511e378fc18e3
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 10:22:15 +0000 (12:22 +0200)]
roleContext NodeId change
- roleContext returning now DeviceInfo instead od nodeId
Change-Id: I957b869d0bde82898809eac922e8f9f1512693db
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 08:37:24 +0000 (10:37 +0200)]
Statistics manager context map holder change
Change-Id: I8346d74296b677850f689f5b9419156b9f2056f1
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 08:32:22 +0000 (10:32 +0200)]
DeviceManager map key change
Change-Id: I94f2488a7152472e728cc5123d905183a999030f
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 08:29:22 +0000 (10:29 +0200)]
RPC Manager Context Map holder change
Change-Id: Idda280f8c8296361a964736a71fc3f73938d4f97
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 07:21:40 +0000 (09:21 +0200)]
Context close handler changed
Change-Id: I14c3c6b0168313dd84bff22525b42ce634a1e75c
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Wed, 8 Jun 2016 07:11:50 +0000 (09:11 +0200)]
Connection context create device info
Change-Id: I2aa02133fe7b182e0e74ee5c13d48004c102c18c
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>
Jozef Bacigal [Tue, 7 Jun 2016 14:27:07 +0000 (16:27 +0200)]
Device Info
- deviceContextLevelUp changed from NodeId to DeviceInfo class
Change-Id: I37689518eace32aaf4bdb46a9a23fbbf4cd686c7
Signed-off-by: Jozef Bacigal <jbacigal@cisco.com>