David Suarez [Sat, 23 Sep 2017 19:47:03 +0000 (21:47 +0200)]
Improve the Genius Listeners Framework
Improve the Listeners Framework created in [1] to ease registration
and un-registration processes for entities.
[1] https://git.opendaylight.org/gerrit/#/c/59177/
Change-Id: I497903950026dd30037ca19fb0928ff455b07682
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Michael Vorburger [Fri, 22 Sep 2017 11:22:42 +0000 (13:22 +0200)]
Remove un-used InterfaceManagerRpcService IMdsalApiManager & methods
* buildInstructions()
* makeTerminatingServiceFlow()
* makeLFIBFlow()
* getFlowRef()
and instance field IMdsalApiManager mdsalMgr.
Change-Id: Icdce7e31f69510208c6171f77ec415c12d175281
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
David Suarez [Fri, 22 Sep 2017 08:20:56 +0000 (10:20 +0200)]
Enforce findbugs maven plugin for module arputil-api
Change-Id: I0a0e3137468cb1509e905bb6a5f7134cd016fb3e
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Sam Hague [Wed, 20 Sep 2017 21:44:55 +0000 (17:44 -0400)]
Lower log level for non errors
Change-Id: Ie44e27fa23bc454a85385b22e2024aa2ba80897d
Signed-off-by: Sam Hague <shague@redhat.com>
Michael Vorburger [Thu, 21 Sep 2017 15:07:19 +0000 (17:07 +0200)]
Mechanical: ItmTunnelAggregationHelper Eclipse Auto-Save clean-up
just so that this won't clutter
https://git.opendaylight.org/gerrit/#/c/63372/5/itm/itm-impl/src/main/java/org/opendaylight/genius/itm/confighelpers/ItmTunnelAggregationHelper.java@306
Change-Id: I377acd21f1c8e17e74c50450905c5aedf44a8cc8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
David Suarez [Tue, 19 Sep 2017 21:13:07 +0000 (23:13 +0200)]
Fix problems detected by the FindBugs plugin
- FindBugs enforcement.
Change-Id: Ibfb739a1e74c64a85bafc49b0b1d0d61e5005b04
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Michael Vorburger [Tue, 28 Mar 2017 17:01:28 +0000 (19:01 +0200)]
InterfaceManagerRpcService include exception cause in RPC result
and LOG.error SOME (but not all) of such problems (logging is as before)
Change-Id: Ib32d6707c41e5a5ea8f22a8eb05717eff17f0c9f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
David Suarez [Mon, 19 Jun 2017 14:03:27 +0000 (16:03 +0200)]
Add a basic framework to create DataTreeChangeListeners
Add a basic framework to create DataTreeChangeListeners.
Change-Id: Iaf9ddea9bf312ba7659a57f1d63d5d93fa949938
Signed-off-by: David Suarez <david.suarez.fuentes@ericsson.com>
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Michael Vorburger [Thu, 17 Aug 2017 13:40:48 +0000 (15:40 +0200)]
InterfaceManagerConfigurationTest using TestableQueues awaitEmpty
Change-Id: I560080569be4d772acd6c041735e2511e7e178e9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Stephen Kitt [Wed, 6 Sep 2017 13:41:18 +0000 (15:41 +0200)]
Clean up MDSALManager.removeGroup()
Removing a group only needs a DPN and group identifier; deprecate the
other forms, add a simple variant of removeGroup() and remove
duplicates.
This patch also moves the test package so that we avoid needing to
make methods public.
Change-Id: I70491f96890f2d3d0c1b82d23b298fd18fc40ce7
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Vishal Thapar [Wed, 20 Sep 2017 16:46:49 +0000 (22:16 +0530)]
Cleanup config-parent usage
Change-Id: Ic51def71c73210ed21969238538449b90e45b005
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Kency Kurian [Thu, 17 Aug 2017 18:26:12 +0000 (23:56 +0530)]
Migrating IDManager test cases to use GuiceRules
Change-Id: I9a88d7e832537ce32cd6e0362e293f07f6adb1cd
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
Tom Pantelis [Fri, 15 Sep 2017 15:27:24 +0000 (11:27 -0400)]
Removed unnecessary/unused CSS config yang remnants
Removed unnecessary/unused config yang imports and service type
identities.
Change-Id: I0d1c72bdc9ffef96495dcee81d1a6eeb8220c6a4
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
David Suarez [Mon, 18 Sep 2017 14:11:34 +0000 (16:11 +0200)]
Remove redundant dependencies in pom
These dependencies are already declared in parent pom.
Change-Id: Ibc5c1b14f95b000caac208a788e2a344f2584933
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
David Suarez [Fri, 15 Sep 2017 10:53:21 +0000 (12:53 +0200)]
Minor cleanup in pom
- Remove redundant dependencies already defined in parent pom.
Change-Id: Id4f05a454a17847995a5d0d2596038e3a537711b
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Signed-off-by: David Suárez <david.suarez.fuentes@gmail.com>
David Suárez [Fri, 15 Sep 2017 11:25:09 +0000 (13:25 +0200)]
Remove redundant dependencies in pom
These dependencies are already declared in parent pom.
Signed-off-by: David Suárez <david.suarez.fuentes@gmail.com>
Change-Id: Id532fca6e8c97a9f54c55f9252eeec7b49a3402b
Stephen Kitt [Fri, 8 Sep 2017 10:40:54 +0000 (12:40 +0200)]
Remove unused parameters
This patch removes unused parameters (except where they’re obviously
WIP). Where necessary, deprecated variants of affected methods are
provided so downstreams don’t break straight away.
Change-Id: Ia3fcb07ca03074d2f2e85c50d827865e9f125d3b
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Tue, 12 Sep 2017 10:13:02 +0000 (12:13 +0200)]
Optional clean-up
More whack-a-mole:
* method reference in IdManager;
* Optional-creation-instead-of-null-check in
OvsInterfaceConfigAddHelper.
Change-Id: Ic48f90eede791c66430916ca6875972d48fb3c19
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Vishal Thapar [Thu, 27 Jul 2017 21:41:05 +0000 (03:11 +0530)]
Initial bundle setup for SRM
This adds following:
1. Initial api, impl and shell bundles for ServiceRecoveryManager (SRM)
2. Adds them to genius features
3. Skeletal code for CLI and RPCs
Change-Id: Idcc7266ba0ba8680a23f50261ab4b9aae19f2ed7
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Stephen Kitt [Fri, 8 Sep 2017 08:42:57 +0000 (10:42 +0200)]
Clean up collections of Futures
This patch replaces lists of Futures with singleton lists where
possible, and cleans up some transaction initialisations so we don’t
end up creating a transaction and leaving it dangling following an
early return.
Change-Id: I6b48a02fe9883175ed09cbe184792cef519030b3
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Michael Vorburger [Thu, 14 Sep 2017 01:53:04 +0000 (03:53 +0200)]
Minor: LockManager "Failed to get lock" incl. number of retries
Change-Id: I2ff5426b420169656836b175380b995eb0813c27
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Sam Hague [Mon, 11 Sep 2017 23:35:43 +0000 (19:35 -0400)]
bug 7380: Add getIfaceInfoFromConfigDataStore
Add getInterfaceInfoFromConfigDataStore to
TestInterfaceManager
Change-Id: I4b28882cf79594a3cf0684682e4d32e98f529553
Signed-off-by: Sam Hague <shague@redhat.com>
David Suarez [Thu, 7 Sep 2017 19:52:23 +0000 (21:52 +0200)]
Remove deprecated CheckedFuture
Remove deprecated CheckedFuture.
Change-Id: Ide74b976dcf4868f7dc9b4734e1cc468dac0ee37
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Michael Vorburger [Wed, 13 Sep 2017 16:28:55 +0000 (18:28 +0200)]
Remove un-used MDSALUtil buildAction()
This has come up in https://git.opendaylight.org/gerrit/#/c/62921/
I've done a grep like search using this:
findx.sh "buildAction(" | grep -v "buildAction()" | grep ","
and found that this method appears to be un-used in genius and netvirt.
It's very weird anyway - why is it hard-coded to a PopVlanAction, but
called buildAction() like a general utility? This probably shouldn't be
in this API.
Change-Id: I196d54882a71ec849169303c4ab78c191fd86f79
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Josh [Mon, 3 Jul 2017 13:56:19 +0000 (16:56 +0300)]
Fix decl for ItmInternalTunnelAddWorker.updateOperationalDatastore
Function name stated write was to operational when it
is actually written to config. Plus, three out of four
params were not used in the function.
Change-Id: I1e1205ba297b39b13f9aaea52537d00f86f053df
Signed-off-by: Josh <jhershbe@redhat.com>
David Suarez [Thu, 7 Sep 2017 16:10:20 +0000 (18:10 +0200)]
Make some classes final and not instantiables
Make some classes final and not instantiables.
Change-Id: Ie1183b54effc2ad85a70fbe2a43cdd2f42b203b6
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Stephen Kitt [Fri, 8 Sep 2017 09:54:38 +0000 (11:54 +0200)]
Avoid nullable Optional references
Optional variables must never be null.
Change-Id: I1998283cb12db44a6428d0e885a5aafc14f2a2f3
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Fri, 8 Sep 2017 09:50:08 +0000 (11:50 +0200)]
Remove deleteInterfaceChildEntry
This method is deprecated, obsolete and no longer used anywhere
(including NetVirt), let’s remove it.
Change-Id: I1ad51f5d86b000075c2d581541b3890ec6f27c72
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Stephen Kitt [Fri, 8 Sep 2017 12:39:41 +0000 (14:39 +0200)]
Store original iface correctly in ISL worker
Presumably originalIface should store the originalIface parameter, not
the updatedIface.
Change-Id: I26675e972ae0f81e219176054763927b139ad6ba
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Michael Vorburger [Tue, 8 Aug 2017 10:27:45 +0000 (15:57 +0530)]
idmanager now waits for Daexim's import-on-boot
This requires https://git.opendaylight.org/gerrit/#/c/55035/ and
https://git.opendaylight.org/gerrit/#/c/56686/ and
https://git.opendaylight.org/gerrit/#/c/61486/ to go into Daexim,
first.
read also JavaDoc on https://git.opendaylight.org/gerrit/#/c/61480/ (BUT
this change does NOT require that c/61480; that's just a generalization
of this approach)
Change-Id: I7b7cd054298414919315f529bc041ec381a831ad
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Michael Vorburger [Tue, 5 Sep 2017 12:01:08 +0000 (14:01 +0200)]
ITM JMX MBean un-registeration
This is required for https://git.opendaylight.org/gerrit/#/c/62656/
(because otherwise there are ERROR logs in the test for JMX name dupes.)
Change-Id: I38a517a156ed983bfbe00fda71dedba49f6c4de0
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Vishal Thapar [Thu, 10 Aug 2017 13:11:43 +0000 (18:41 +0530)]
Add support for mpls-gre tunnels
OVS 2.8 supports mpls-gre as type=gr with option packet_type=legacy_l3.
With this change it will be possible to use MPLS-gre tunnels for DCGW
connectivity on switches that support it.
Change-Id: If34f29a0e2e20a8300e3c6b24e9f8793bba07e31
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Michael Vorburger [Mon, 4 Sep 2017 22:00:52 +0000 (00:00 +0200)]
Add LogCaptureRule to some component tests, to fail if any errors logged
which is useful as is already to see test failure causes more clearly,
but will provide even more useful full information together with
https://git.opendaylight.org/gerrit/#/c/62654/
Change-Id: I24fb17cbac3b814d7e00e12ac7650d4d589a705d
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Michael Vorburger [Tue, 5 Sep 2017 11:59:01 +0000 (13:59 +0200)]
Minor: ItmProvider Eclipse auto-save code clean-up (mechanical)
Change-Id: I769e21936dae8fdf28c12cc0e5235f7a885d7d20
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Faseela K [Mon, 4 Sep 2017 16:43:04 +0000 (22:13 +0530)]
Bug 9099 - Suspected WriteOnlyTransaction leak in interfacemanager
Change-Id: I37260ff709dd3661955cd8eb6598db24a7e7bd5e
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Edwin Anthony [Tue, 1 Aug 2017 07:33:45 +0000 (13:03 +0530)]
Service Binding on Tunnels - Basic Framework
Adding the basic constants and utilities and the base structure
of code flow for service binding on interface-type
Change-Id: Ice78b993459d3e0aae4e164289523266fc265ee9
Signed-off-by: Edwin Anthony <n.edwin.anthony@ericsson.com>
Tom Pantelis [Wed, 30 Aug 2017 00:48:22 +0000 (20:48 -0400)]
Remove unused references to DataChangeListener
Change-Id: Icb444f8293de7681a959456fe6ded6d7008b7c8b
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Michael Vorburger [Thu, 6 Apr 2017 11:54:33 +0000 (13:54 +0200)]
LockManager unlock should not pretend its successful when it was not
or was this intentionally done as-is, for some reason I'm missing?
It's seems strange to "hide" error during unlock (currently it logs an
INFO not even an ERROR, and returns sucess, when if there was a
problem).
If so, then it should be documented with an in-line comment...
Change-Id: I977d1cba241c735ba97325fece4ec09964a5355f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Tom Pantelis [Wed, 30 Aug 2017 00:58:41 +0000 (20:58 -0400)]
Remove TestableDataChangeListener
This class is deprecated and implements DataChangeListener so
remove it, although I don't know if there are any downstream users.
Change-Id: I483ae7d72b454f335659a689b73180dc41bf7d7c
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Michael Vorburger [Thu, 17 Aug 2017 15:46:03 +0000 (17:46 +0200)]
LockManagerTest without (unused) TestableDataTreeChangeListenerModule
It didn't do any harm, but it's not required or used (because this test
nowhere waits for a data store listener), so simpler.
Change-Id: I1d924001f7162a5b7f606d511f427a67a3d08188
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
David Suarez [Wed, 2 Aug 2017 15:01:56 +0000 (17:01 +0200)]
Cleanup
- Add private constructor to this utility class
- Fix log
- Move private method to the inner class
Change-Id: I87672f466e851f860c2bbcfbbcdef9388dfffa6b
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Michael Vorburger [Wed, 30 Aug 2017 10:53:14 +0000 (12:53 +0200)]
Fix failing LockManagerTest (NoClassDefFoundError)
The LockManagerTest is currently failing on clean master with:
java.lang.NoClassDefFoundError:
org/opendaylight/controller/md/sal/binding/impl/BindingToNormalizedNodeCodec
The cause of this problem is that genius.testutils has a dependency to
sal-binding-broker-impl's attached <type>test-jar, only - but not the
main artifact (where BindingToNormalizedNodeCodec is).
It's easy to fix like this - but I don't really understand, and don't
have time to further investigate, how this could have suddenly broken...
presumably someone changed a dependency in some POM in controller or
somewhere which had this as a side effect. Be that as it may - it works
again now with this change.
Change-Id: Ic46d0f78cb89b0a704f1e603f8dd115f46987cb1
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
David Suarez [Wed, 2 Aug 2017 12:06:52 +0000 (14:06 +0200)]
Cleanup
- Private constructor for utility class
- Replace .size() by .empty()
- Change method names to comply with Java style
Change-Id: I92038ae360f3d1f614546ef4806cad8fd171e546
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
David Suarez [Fri, 18 Aug 2017 07:53:33 +0000 (09:53 +0200)]
Remove start() method
- Remove start() method to avoid the use of a
useless PostConstruct method, following the recommendations in [1].
- Replace info by debug
- Replace magic number by constant
[1] https://wiki.opendaylight.org/view/BestPractices/DI_Guidelines
Change-Id: If28fc67742e9107d6129ddca6816b1dc2fd58652
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Michael Vorburger [Wed, 12 Jul 2017 21:37:26 +0000 (03:07 +0530)]
Remove DataStoreJobCoordinator enqueueJob(AbstractDataStoreJob job)
because when we moved genius.DJC to infrautils.JC we had concluded that
this method does not need to be exposes publicly, and (at the time) was
only used in 1 place (netvirt vpnmanager), which was adjusted in
https://git.opendaylight.org/gerrit/#/c/60264/.
Removing this method now makes it a bit easier to in the future either
try making genius.DJC delegate to infrautils.JC to avoid having this
code twice in the code base (which would require both of their API's to
be identical, o proposing to remove this method) or directly removing
it.
Change-Id: I689d8ead013262b78b9469d4b74f3272b3dd28a9
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Michael Vorburger [Wed, 23 Aug 2017 11:41:04 +0000 (13:41 +0200)]
Bug 9034: LockManager cancel() ReadWriteTransaction if it's not submit()
Based on Robert's analysis, this change will not fix Bug 9034, because
that's due to a leaked TransactionChain (not the ReadWriteTransaction
being fixed here) - but this could well introduce ANOTHER memory leak
in mdsal, so we should get this in nevertheless ASAP.
Change-Id: I2f27c6bfe7428d864cfe9c3e3f07a390145ac98f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Faseela K [Sat, 19 Aug 2017 10:35:48 +0000 (16:05 +0530)]
Genius CSIT Failure : Missing Mandatory Node Error
Due to a recent commit in yangtools, Genius CSIT has broken
as the code was missing to populate one of the mandatory nodes in
interface-state
https://git.opendaylight.org/gerrit/#/c/48672/
Change-Id: I3d65303c849cfbdba06563f4d4160c468b3ee3e5
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Sam Hague [Sun, 20 Aug 2017 01:30:36 +0000 (21:30 -0400)]
Use INFO for logging null DPID
OVS does not assign a DPID until later in the bridge reporting cycle so it isn't an error if the DPID is not set.
Change-Id: Ief39e213d0169d033c3eadb31cb5e6de3a242b38
Signed-off-by: Sam Hague <shague@redhat.com>
eaksahu [Mon, 7 Aug 2017 10:09:39 +0000 (15:39 +0530)]
Bug 8938 - Resource-batch manager enhancement
Adding capabilities to return Futures in Resource batch manager calls.
This fetures helps the caller to know whether the submitted tx job has
been successful or not.
And upon success or failure , the caller can take more corrective
action.
Change-Id: Iec5a08721979cfa15a34617fb1ccea0065853c84
Signed-off-by: eaksahu <a.k.sahu@ericsson.com>
David Suarez [Fri, 18 Aug 2017 08:11:58 +0000 (10:11 +0200)]
Move start() method into the constructor
Move start() method into the constructor to avoid the use of a
PostConstruct method, following the recommendations in [1].
[1] https://wiki.opendaylight.org/view/BestPractices/DI_Guidelines
Change-Id: Ie18c5ca5f578dc5b6f5f0b4bb872e246b202b336
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Faseela K [Sun, 20 Aug 2017 16:32:24 +0000 (22:02 +0530)]
Enable checkstyle at common-parent
Remove the checkstyle plugin per pom and enable it at the common level
Change-Id: I5397f90565bdba540929632b675f0f7641a2c1d8
Signed-off-by: Faseela K <faseela.k@ericsson.com>
David Suarez [Thu, 17 Aug 2017 07:32:54 +0000 (09:32 +0200)]
Replace *Index(" by *Index('
Replace lastIndex("") and indexOf("") by their character counterparts.
This improve performance.
Change-Id: I02dd7893b29c1e45fe5b435084dc88e535713710
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Faseela K [Sun, 20 Aug 2017 17:20:58 +0000 (22:50 +0530)]
Fix initialization logs in service-binding helpers
Change-Id: I36c5cd87381842ba0203eb77178be08dc44a6b5e
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Jaime Caamaño Ruiz [Wed, 16 Aug 2017 13:05:39 +0000 (15:05 +0200)]
BUG 9000 - Fix ITM config file not installed
Change-Id: Id20ed77d3e7564eaef064a3bc9881e1f472560c0
Signed-off-by: Jaime Caamaño Ruiz <jaime.caamano.ruiz@ericsson.com>
Jaime Caamaño Ruiz [Wed, 9 Aug 2017 17:06:30 +0000 (19:06 +0200)]
BUG 9001 - Fix race condition on OpenFlow based tunnels
This change ensures for openflow based tunnels that the child interface
entry is created before both the parent and child interface states are
added. Otherwise the entry might be added after the inventory listener
is triggered so that child interface state is never added.
This is achieved creating the child interface entry within the ongoing
job, which key is changed yo the parent interface name in case of
openflow tunnels, so that it is synchronized with the interface state
operations.
Additionally, fix a problem when adding the child interface state if
it is not the first tunnel interface on the node and the parent
interface already exists for the openflow based tunnel.
InterfaceManagerCommonUtils#addStateEntry would fail to do so, using
OvsInterfaceStateAddHelper instead.
Change-Id: I212514b3fcedd588f6b59be3f02aae930bc74e16
Signed-off-by: Jaime Caamaño Ruiz <jaime.caamano.ruiz@ericsson.com>
Vishal Thapar [Thu, 17 Aug 2017 13:55:01 +0000 (19:25 +0530)]
Fix namespace violations in lockmanager-impl
Change-Id: I4a6c2ca693261d4b73ab9df155a9ab9c52fccf4c
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Michael Vorburger [Thu, 13 Jul 2017 23:11:30 +0000 (04:41 +0530)]
Fixed YANG key'ed list order probs in InterfaceManagerConfigurationTest
YANG keyed lists are backed by maps, and re-created whenever they're
de-serialised (which happens e.g. when getAugmentation() is called,
apparently). This patch rebuilds TerminationPoints before comparing
them, sorting a couple of keyed lists.
See
https://lists.opendaylight.org/pipermail/genius-dev/2017-July/001713.html
Change-Id: Iab6189ca8e02c2b48a8b2b7516a1fc66b11363e7
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Faseela K [Thu, 17 Aug 2017 08:05:31 +0000 (13:35 +0530)]
Ignore newTunnelInterface tests in interafcemanager
As it is not working consistent, and hitting timing issues in master
Change-Id: I6ec36d522817e3abbca9c31e128f86029591afac
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Michael Vorburger [Tue, 15 Aug 2017 15:44:13 +0000 (15:44 +0000)]
Merge "Logging enchancements for genius"
Thanh Ha [Mon, 14 Aug 2017 17:22:04 +0000 (13:22 -0400)]
Bump versions by x.(y+1).z for next dev cycle
Change-Id: If2a8b480b686cfe6cc28d6e512f6f53b2ed8ebe6
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Edwin Anthony [Wed, 9 Aug 2017 08:53:28 +0000 (14:23 +0530)]
Logging enchancements for genius
Change-Id: Ic4fccb25f03fc9fe5eaa0b05e89e33f335c39422
Signed-off-by: Edwin Anthony <n.edwin.anthony@ericsson.com>
Faseela K [Fri, 11 Aug 2017 16:31:26 +0000 (16:31 +0000)]
Merge "Log enhancements for better debuggability"
Michael Vorburger [Thu, 10 Aug 2017 09:33:11 +0000 (09:33 +0000)]
Merge "Bump odlparent 2.0.2 to 2.0.4"
Sam Hague [Wed, 9 Aug 2017 18:34:34 +0000 (18:34 +0000)]
Merge "Spec for ServiceRecovery Framework"
Stephen Kitt [Tue, 8 Aug 2017 16:21:05 +0000 (18:21 +0200)]
Bump odlparent 2.0.2 to 2.0.4
Change-Id: Ia01850eadff84cf8ca3fa698bbef1446cdde7349
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Sam Hague [Wed, 9 Aug 2017 12:31:45 +0000 (12:31 +0000)]
Merge "Bug 8882 - With conntrack SNAT communication with PNF fails "
Faseela K [Wed, 9 Aug 2017 09:27:19 +0000 (14:57 +0530)]
Log enhancements for better debuggability
Change-Id: I94b93304906e3d6cc8326056c64f9843f42f3261
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Faseela K [Wed, 9 Aug 2017 07:16:51 +0000 (07:16 +0000)]
Merge "Add private constructor to this utility class"
Faseela K [Wed, 9 Aug 2017 07:11:45 +0000 (07:11 +0000)]
Merge "Cleanup"
Faseela K [Wed, 9 Aug 2017 06:57:34 +0000 (06:57 +0000)]
Merge "Changing the default value of Interfacemanager statistics polling interval to 15 Minutes"
Sam Hague [Tue, 8 Aug 2017 18:39:26 +0000 (18:39 +0000)]
Merge "BUG 8876 - Fix to remove ELAN interface flows when external network deleted"
Aswin Suryanarayanan [Tue, 8 Aug 2017 17:18:21 +0000 (22:48 +0530)]
Bug 8882 - With conntrack SNAT communication with PNF fails
Make the load metadata start and end bit configurable.
Change-Id: If4ed5e311b249dbff942a936caaa5556d6c933fd
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
Faseela K [Tue, 8 Aug 2017 10:45:36 +0000 (10:45 +0000)]
Merge "Add GPE option to ITM config"
Akash Kumar Sahu [Fri, 17 Mar 2017 06:48:54 +0000 (12:18 +0530)]
Bug 7599 -hwvtep ucast mac consumption improvement
Caching ITM External Tunnels so that it would be faster to get from cache
then to read from Data store.
Change-Id: Iac67eb65ac546cf1c197cedd5e039b06d54ab2af
Signed-off-by: Akash Kumar Sahu <a.k.sahu@ericsson.com>
Faseela K [Mon, 7 Aug 2017 17:35:26 +0000 (17:35 +0000)]
Merge "Bug 8859 : Table 220 programmed with wrong service-index"
Faseela K [Mon, 7 Aug 2017 10:10:13 +0000 (10:10 +0000)]
Merge "IdManager: Use lock only when required"
Gowri R [Mon, 7 Aug 2017 08:47:17 +0000 (14:17 +0530)]
Changing the default value of Interfacemanager statistics polling interval to 15 Minutes
Change-Id: Ia7dbc21971e60fd788956876b8457cbdc989a88a
Signed-off-by: Gowri R <gowri.r@ericsson.com>
Faseela K [Mon, 7 Aug 2017 08:48:15 +0000 (08:48 +0000)]
Merge "Make DJC to be more concurrent and fixing signal issue b/w enqueue jobs"
Faseela K [Fri, 4 Aug 2017 18:34:21 +0000 (00:04 +0530)]
Bug 8859 : Table 220 programmed with wrong service-index
Fix synchronization issues with service binding transaction submissions
Change-Id: I1cab1590b7333513f079f062c07de483895c316c
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Vinh Nguyen [Thu, 3 Aug 2017 19:28:26 +0000 (12:28 -0700)]
BUG 8876 - Fix to remove ELAN interface flows when external network deleted
Add check for null when getting Interface object from Config DS.
This changeset is related to the patch:
https://git.opendaylight.org/gerrit/#/c/61131/
Change-Id: I57bb96081afcc114346dfea08521ab0df7f9b8e8
Signed-off-by: Vinh Nguyen <vinh.nguyen@hcl.com>
Aswin Suryanarayanan [Fri, 28 Jul 2017 12:16:48 +0000 (17:46 +0530)]
Bug 8882 - With conntrack SNAT communication with PNF fails
Added support for load metadata action.
depends on https://git.opendaylight.org/gerrit/#/c/60869
Change-Id: Iafa22368dbeea9e76b3d5f5f43ae5f615f476bcc
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
epgoraj [Tue, 4 Jul 2017 05:14:12 +0000 (10:44 +0530)]
Make DJC to be more concurrent and fixing signal issue b/w enqueue jobs
and job queue handler
Change-Id: I7bfbd15f7a8fa1b80555a0a99689a536a4896c8e
Signed-off-by: epgoraj <p.govinda.rajulu@ericsson.com>
Kency Kurian [Mon, 10 Jul 2017 11:03:48 +0000 (16:33 +0530)]
IdManager: Use lock only when required
It was observed that there were more than one thread waiting to acquire
lock for the uniqueKey. This can be avoided since there is a local map
which tracks the idValue allocated for every request until the idValue
is persisted in the DS.
During testing, there were some conflictModificationExceptions thrown.
This was because the arrayList for delayedIdEntries were not set as
CopyOnArrayList at certain places.
Also have done some refactoring for allocateIdFromLocalPool()
Change-Id: I5b24b2a5d4ebe809d7217a509c74750b0d399f9c
Signed-off-by: Kency Kurian <kency.kurian@ericsson.com>
Faseela K [Thu, 3 Aug 2017 08:33:34 +0000 (14:03 +0530)]
Fix Service-binding flowRef
Change-Id: Ica70eaeafde21531d8b77fe3a8911af9adffe017
Signed-off-by: Faseela K <faseela.k@ericsson.com>
David Suarez [Wed, 2 Aug 2017 10:50:08 +0000 (12:50 +0200)]
Cleanup
- Add private constructor to utility class
- Remove useless code
- Replace size() == 0 by is empty.
Change-Id: I6bf50f41f3a018c6dbc92ab825de5b82be94366a
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
David Suarez [Wed, 2 Aug 2017 08:36:16 +0000 (10:36 +0200)]
Add private constructor to this utility class
Add private constructor to this utility class.
Change-Id: I6e769e388156db70db42841d5f58e68a5e81377d
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
Faseela K [Mon, 31 Jul 2017 19:28:09 +0000 (00:58 +0530)]
Fix IfmClusterUtils logs
Change-Id: I93d84a162ffcf61847b1ccb2a0a69aa803462963
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Michael Vorburger [Fri, 28 Jul 2017 07:19:47 +0000 (07:19 +0000)]
Merge "Enqueued Job not getting cleaned up in some cases"
Vishal Thapar [Thu, 27 Jul 2017 21:40:34 +0000 (21:40 +0000)]
Merge "Remove derivation from controller config-parent"
Vishal Thapar [Fri, 12 May 2017 09:21:37 +0000 (14:51 +0530)]
Spec for ServiceRecovery Framework
Change-Id: I11e9867a4a5ab35a2c0b42eccdd7bd3b5349a5ff
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
Michael Vorburger [Thu, 27 Jul 2017 18:12:54 +0000 (18:12 +0000)]
Merge "Avoid .transform() NPEs"
Michael Vorburger [Thu, 27 Jul 2017 14:53:48 +0000 (14:53 +0000)]
Merge "hwvtep transaction batching separation across shards"
Vishal Thapar [Thu, 27 Jul 2017 14:45:29 +0000 (14:45 +0000)]
Merge "Bug 8476 Add support for logical switch replication mode"
Michael Vorburger [Thu, 27 Jul 2017 14:39:28 +0000 (14:39 +0000)]
Merge "Change method names to comply with naming conventions"
Vishal Thapar [Thu, 27 Jul 2017 14:35:19 +0000 (14:35 +0000)]
Merge "Guard some TRACE logs in DJC"
Vishal Thapar [Thu, 27 Jul 2017 14:34:10 +0000 (14:34 +0000)]
Merge "Add a private constructor to avoid instantiation"
Vivek Srivastava [Thu, 27 Jul 2017 14:30:35 +0000 (14:30 +0000)]
Merge "Remove un-used TestDataStoreJobCoordinator"
Vishal Thapar [Thu, 27 Jul 2017 14:29:20 +0000 (14:29 +0000)]
Merge "Remove un-used newWriteOnlyTransaction() in removeTerminationEndPoint()"
Jaime Caamaño Ruiz [Thu, 1 Jun 2017 10:20:54 +0000 (12:20 +0200)]
Add GPE option to ITM config
Add a GPE option on ITM config as a straight forward way to enable the
VXLAN GPE extension system wide.
Change-Id: I3cf5ce42cddef15c071a0b80ab0cc95a83e2b4d1
Signed-off-by: Jaime Caamaño Ruiz <jaime.caamano.ruiz@ericsson.com>
Victor Pickard [Tue, 16 May 2017 20:32:07 +0000 (16:32 -0400)]
Bug 8476 Add support for logical switch replication mode
With OVS 2.6, the Logical Switch table, in the hardware_vtep schema, has
a new field, replication_mode. This bug will be used to add support to
netvirt, ovsdb, and genius for setting the replication_mode of logical
switches. The default will be for ODL to set the replication_mode
to "source_node" when creating logical switches.
Refer to [1] for more details on replication_mode.
[1] http://openvswitch.org/support/dist-docs/vtep.5.html
This patch depends on ovsdb patch:
https://git.opendaylight.org/gerrit/#/c/57209/
Change-Id: I538634a791f73d60b5a9c7cc479f4c42847889bd
Signed-off-by: Victor Pickard <vpickard@redhat.com>