ovsdb.git
22 months agoBump upstream versions 34/101534/1
Robert Varga [Wed, 8 Jun 2022 20:42:21 +0000 (22:42 +0200)]
Bump upstream versions

Adopt:
- yangtools-8.0.6
- mdsal-9.0.4
- controller-5.0.5
- aaa-0.15.5
- netconf-3.0.4

Change-Id: I8df25adf4e0b46d36ad59b509ab4d0b3d812d325
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 5c6f603bd15b51e5283d6fbdbdcde4dbcfa668a3)

22 months agoBump MRI upstreams 33/101533/1
Robert Varga [Sat, 14 May 2022 08:20:19 +0000 (10:20 +0200)]
Bump MRI upstreams

Adopt the following versions:
- odlparent-10.0.2
- infrautils-3.0.1
- yangtools-8.0.5
- mdsal-9.0.3
- controller-5.0.4
- aaa-0.15.4
- netconf-3.0.3

Change-Id: I2d6f7bb2ef0606bdab57bfd0c603b14f7e82ea8b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 9a08779e7ea0a3a24769c4c723c59f47864a6586)

22 months agoBump upstreams 32/101532/1
Robert Varga [Mon, 25 Apr 2022 12:32:53 +0000 (14:32 +0200)]
Bump upstreams

Adopt:
- controller-5.0.3
- aaa-0.15.3
- netconf-3.0.2

Change-Id: I516dfd49de3bc56390488d738653f88f4272f1d4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit a0e22410b3cf5d176e72b51615e3ead405e90607)

2 years agoBump versions by x.(y+1).z 02/100702/1
jenkins-releng [Thu, 21 Apr 2022 02:15:45 +0000 (02:15 +0000)]
Bump versions by x.(y+1).z

Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: Id865596fb804c841788fedce85df80f938b04179

2 years agoBump upstream versions 21/100621/1
Robert Varga [Thu, 14 Apr 2022 15:44:06 +0000 (17:44 +0200)]
Bump upstream versions

Adopt:
- yangtools-8.0.3
- mdsal-9.0.2
- controller-5.0.2
- aaa-0.15.2
- netconf-3.0.1

Change-Id: Ief33427f17decb196e3cdf5bc044271825f53ad4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoAllow reflective access in UT 48/100448/1
Robert Varga [Thu, 7 Apr 2022 12:09:35 +0000 (14:09 +0200)]
Allow reflective access in UT

We have mucking around with internals, make sure we open them up from
java.base. We also need to switch to VarHandles to get at
Field.modifiers.

Change-Id: I111e8bd1e64d37c454e9935adce23743ac43fdaa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoBump MRI upstreams 66/100066/13
Robert Varga [Fri, 11 Mar 2022 10:36:29 +0000 (11:36 +0100)]
Bump MRI upstreams

Adopt the following versions:
- odlparent-10.0.0
- infrautils-3.0.0
- yangtools-8.0.2
- mdsal-9.0.1
- controller-5.0.1
- aaa-0.15.1
- netconf-3.0.0

Change-Id: I7dfe7fdbf88eb787a59e031e24559a9601fde878
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoUpdate MRI upstreams 49/99749/1
Robert Varga [Mon, 14 Feb 2022 14:31:33 +0000 (15:31 +0100)]
Update MRI upstreams

Adopt:
- odlparent-9.0.13
- infrautils-2.0.13
- yangtools-7.0.14
- mdsal-8.0.11
- controller-4.0.10
- aaa-0.14.10
- netconf-2.0.14

Change-Id: I85322380ff5138362d7e554e7c6852b0a75c3f34
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit e2f0568a71243ba4c2f2775bca94c816486f809b)

2 years agoBump netconf to 2.0.11 07/98707/1
Robert Varga [Thu, 25 Nov 2021 18:01:48 +0000 (19:01 +0100)]
Bump netconf to 2.0.11

Pick up a fix for regression.

Change-Id: Icd2aa7c365a9b1a97471c3ea4390c2693e12f07c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoBump netconf to 2.0.10 61/98561/1
Robert Varga [Tue, 23 Nov 2021 11:15:22 +0000 (12:15 +0100)]
Bump netconf to 2.0.10

Pick up a fix for regression.

Change-Id: I7ee5af47247696109a2019bc83aba452c67dfa65
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoUpdate MRI upstreams 49/98549/1
Robert Varga [Mon, 15 Nov 2021 21:03:18 +0000 (22:03 +0100)]
Update MRI upstreams

Adopt:
- controller-4.0.7
- aaa-0.14.7
- netconf-2.0.9

Change-Id: Ia5fe1fdbf002c93e0f7666c1ea71f0d047576610
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoUpdate MRI upstreams 74/98074/1
Robert Varga [Mon, 8 Nov 2021 06:07:10 +0000 (07:07 +0100)]
Update MRI upstreams

Adopt:
- controller-4.0.6
- aaa-0.14.6
- netconf-2.0.8

Change-Id: Ib8e9f88fb04eb933429eb230378d61c0c41069cb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoDitch powermock from util.servicehelper 69/98269/2
Robert Varga [Tue, 2 Nov 2021 13:30:16 +0000 (14:30 +0100)]
Ditch powermock from util.servicehelper

We have static mocking here, rework it in terms of Mockito.

Change-Id: I2ee329b67fe0f4261337b009d4d36c84e77ecb71
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoDitch powermock from util.config 68/98268/1
Robert Varga [Tue, 2 Nov 2021 13:15:20 +0000 (14:15 +0100)]
Ditch powermock from util.config

We have static mocking here, rework it in terms of Mockito.

Change-Id: I66b5afd16e8fd60e8331d81cc8af8ee64922839c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoDo not depend on ODL Blueprint 27/97627/2
Robert Varga [Fri, 24 Sep 2021 16:28:51 +0000 (18:28 +0200)]
Do not depend on ODL Blueprint

Use of odl:type=default is discouraged ditch its use in southbound-impl.

Change-Id: Id7344dd7b3a71f2a8fff06967ba86411c4d1a346
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoInherit groupId/version from parent 26/97626/2
Robert Varga [Fri, 24 Sep 2021 16:11:14 +0000 (18:11 +0200)]
Inherit groupId/version from parent

Eclipse complains about no-op override, fix that.

Change-Id: I9de2332ae3f5dafe41054645eeff359ee02662f8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoAdd @NonNull annotations 24/97624/4
Robert Varga [Fri, 24 Sep 2021 15:32:01 +0000 (17:32 +0200)]
Add @NonNull annotations

There are a few spots we can propagate @NonNull to eclipse null
warnings. Sprinkle them around.

Change-Id: I6cf449879cdadd5d0edfabe5c5f43e0cbab60e51
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoRefactor SouthboundConstants 25/97625/3
Robert Varga [Fri, 24 Sep 2021 16:02:39 +0000 (18:02 +0200)]
Refactor SouthboundConstants

This is not an interface, but rather a collections of various constants.
Refactor to a proper utility class and move non-shared constants to
their sole users.

Change-Id: Ibb21174ee18f92608ea2ac14f535558d609299fb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoUpdate MRI upstreams 74/98174/2
Robert Varga [Thu, 28 Oct 2021 10:04:38 +0000 (12:04 +0200)]
Update MRI upstreams

Adopt:
- odlparent-9.0.8
- infrautils-2.0.8
- yangtools-7.0.8
- mdsal-8.0.7
- controller-4.0.5
- aaa-0.14.5
- netconf-2.0.7

Change-Id: I362f3ccaad2af949ee5071813a1cb67f6528b601
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoDo not use blueprint-maven-plugin in southbound 23/97623/2
Robert Varga [Fri, 24 Sep 2021 15:23:59 +0000 (17:23 +0200)]
Do not use blueprint-maven-plugin in southbound

blueprint-maven-plugin is unmaintained upstream. Generated wiring is
quite simple and should be converted to OSGi DS. As a first step capture
autowire.xml content so we know what we are dealing with.

Change-Id: I95c567c0907ad580a3639bc2365b1087f377db3c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoUse provided shell console 25/97825/1
Robert Varga [Sat, 23 Oct 2021 01:45:28 +0000 (03:45 +0200)]
Use provided shell console

We should not be pulling in shell console, it is provided by the
framework.

Change-Id: Ic2f6f6b16efe30c5ff9942bc7343297a6ca3f770
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 359516f6b96326589b37324f713cf1fde2e25868)

2 years agoDo not depend on ODL Blueprint 22/97622/1
Robert Varga [Fri, 24 Sep 2021 15:16:14 +0000 (17:16 +0200)]
Do not depend on ODL Blueprint

Use of odl:type=default is discouraged ditch its use in library.

Change-Id: I1b0dec76529e99da1dfd287a6d53365cfc5ca106
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoDo not use blueprint-maven-plugin in library 21/97621/1
Robert Varga [Fri, 24 Sep 2021 15:05:43 +0000 (17:05 +0200)]
Do not use blueprint-maven-plugin in library

blueprint-maven-plugin is unmaintained upstream. Generated wiring is
quite simple and should be converted to OSGi DS. As a first step capture
autowire.xml content so we know what we are dealing with.

Change-Id: I355136ee1a5475184c3f52906e4e9b9df2f92fa1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoBump versions by x.(y+1).z 55/97555/1
jenkins-releng [Tue, 21 Sep 2021 00:25:43 +0000 (00:25 +0000)]
Bump versions by x.(y+1).z

Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: Idbf1338185b46e4e5604fed64d0b25e9ae33f53e

2 years agoBump upstream versions 26/97526/3
Robert Varga [Sun, 19 Sep 2021 20:22:08 +0000 (22:22 +0200)]
Bump upstream versions

Use netconf-2.0.5 et al.

Change-Id: Ie477e17f7fd81ba4f6fb19e0db8c5ed1fb660f16
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoBump upstream versions 39/97339/3
Robert Varga [Thu, 26 Aug 2021 11:50:57 +0000 (13:50 +0200)]
Bump upstream versions

Use netconf-2.0.3 et al.

Change-Id: I5f1ae765373c61b273399626aa28c28b57da1efb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoBump upstream versions 93/97093/1
Robert Varga [Fri, 6 Aug 2021 09:03:17 +0000 (11:03 +0200)]
Bump upstream versions

Use netconf-2.0.2 et al.

Change-Id: Ifd0ea1d66f2f3205c5d05bdb51d1eb976bf822da
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoClean up unused dependencies 43/96943/1
Robert Varga [Tue, 20 Jul 2021 11:58:48 +0000 (13:58 +0200)]
Clean up unused dependencies

odlparent's infrastructure is reporting a number of unused declared
dependencies, clean them up.

Change-Id: Id00e8864e67b7ac36beed2a79184c19e88d0175f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoBump netconf to 2.0.1 26/96926/1
Robert Varga [Mon, 19 Jul 2021 14:39:30 +0000 (16:39 +0200)]
Bump netconf to 2.0.1

Pick up latest upstream fixes.

Change-Id: I162d9ebf4b2580103934a68ded8364fbf92a7e5c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoBump MRI upstreams 45/96445/9
Robert Varga [Tue, 8 Jun 2021 06:22:39 +0000 (08:22 +0200)]
Bump MRI upstreams

Adopt:
- odlparent-9.0.2
- infrautils-2.0.2
- mdsal-8.0.0
- controller-4.0.0
- aaa-0.14.0
- netconf-2.0.0

Change-Id: Ic3d73565a34717e2d03e19b5b892bae9c130eea5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoUse GuicedEE javax.inject 46/96446/1
Robert Varga [Tue, 8 Jun 2021 06:26:40 +0000 (08:26 +0200)]
Use GuicedEE javax.inject

This artifact is a proper jar and a JPMS module, use it instead
of the ancient javax.inject zip.

Change-Id: I8996c1a7c02180786b14e9b0d395e4e104fb98b9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
2 years agoUse osgi-core R7 44/96444/1
Robert Varga [Tue, 8 Jun 2021 06:24:20 +0000 (08:24 +0200)]
Use osgi-core R7

Release 7 has changed the name of the artifact, update our references
to pick up R7 instead of R6.

Change-Id: I39d93e71e074c01a7d702d08b4d4b4d736dceebd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove ShardStatusMonitor 86/95786/2
Robert Varga [Wed, 14 Apr 2021 08:06:10 +0000 (10:06 +0200)]
Remove ShardStatusMonitor

This class is not used anywhere. It used to be needed when DataBroker
was injected early, but nowdays it is brought up only after initial
convergence has been achieved.

Change-Id: I65424f782d6cf45afdbdf0ec020399cab648e014
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump MRI upstreams 50/95650/2
Robert Varga [Fri, 2 Apr 2021 05:40:31 +0000 (07:40 +0200)]
Bump MRI upstreams

Adopt following versions:
- odlparent-8.1.1
- infrautils-1.9.6
- yangtools-6.0.5
- mdsal-7.0.6
- controller-3.0.7
- aaa-0.13.2
- netconf-1.13.1

Change-Id: I9b80b389033399bc06f2ddc8ff911fcf000629ac
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump versions by x.(y+1).z 92/95292/1
jenkins-releng [Mon, 22 Feb 2021 23:02:56 +0000 (23:02 +0000)]
Bump versions by x.(y+1).z

Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
Change-Id: I4f009fb6ad1befdf1e2c18e6cb76bc3c4de668b7

3 years agoBump netconf to 1.13.0 48/95248/2
Robert Varga [Sun, 21 Feb 2021 17:55:35 +0000 (18:55 +0100)]
Bump netconf to 1.13.0

Adjust version for MRI-integrated NETCONF.

Change-Id: Ic1b7f1ffa8589ee1ded02c80482674ab00cdd46a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdopt akka-2.6.x 75/94975/3
Oleksii Mozghovyi [Tue, 2 Feb 2021 21:01:27 +0000 (23:01 +0200)]
Adopt akka-2.6.x

Adopt following upstreams to enable akka-2.6.x:
- controller-3.0.6
- aaa-0.13.1

Change-Id: Ib57352cbd28389513ee607382a86a5f84b7e4964
Signed-off-by: Oleksii Mozghovyi <oleksii.mozghovyi@pantheon.tech>
3 years agoUse a version range for aaa/infrautils dependency 41/94941/2
Robert Varga [Mon, 1 Feb 2021 15:11:32 +0000 (16:11 +0100)]
Use a version range for aaa/infrautils dependency

AAA is an MRI project, do not depend on a specific version of its
feature, but rather require a proper range. The same is true for
infrautils, hence fix those as well.

Change-Id: I907e4fde584597d8379a69e532955fb02e1bc43d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoDepend on AAA 0.13.0 release 02/94902/1
Robert Varga [Sat, 30 Jan 2021 19:17:02 +0000 (20:17 +0100)]
Depend on AAA 0.13.0 release

Reflect the fact upstream has a release, dropping the -SNAPSHOT
suffix.

Change-Id: I92382b328cda7dd7fb0cca6e71c15f0242695263
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump upstream versions 13/94713/5
Robert Varga [Thu, 21 Jan 2021 17:44:12 +0000 (18:44 +0100)]
Bump upstream versions

Adopt following upstreams:
- odlparent-8.1.0
- infrautils-1.9.5
- yangtools-6.0.4
- mdsal-7.0.5
- controller-3.0.5

Change-Id: I2712230c96d5c6320defddece50625d02505abf1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoReduce powermock use in OvsdbManagersUpdateCommandTest 85/94585/2
Robert Varga [Sun, 10 Jan 2021 11:38:10 +0000 (12:38 +0100)]
Reduce powermock use in OvsdbManagersUpdateCommandTest

Do not overmock unrelated classes and use a @VisibleForTesting
method do ditch some of the powermock use.

Change-Id: I90c47897f9057a2a81d0016ce47d27d1f6ac2181
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoCleanup SouthboundIT 84/94584/1
Robert Varga [Sun, 10 Jan 2021 11:23:30 +0000 (12:23 +0100)]
Cleanup SouthboundIT

Use BindingMap to clean up use of deprecated methods.

Change-Id: Ib257c097a6d0e7e7a2888af4dcf7f14a06aaed1e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFixup warnings in southbound-utils 73/94573/7
Robert Varga [Sat, 9 Jan 2021 17:01:29 +0000 (18:01 +0100)]
Fixup warnings in southbound-utils

This changes SoutboundUtils.addBridge(), requiring proper maps
to be passed in. Internals are reworked to allow for more efficient
operation when no configs are passed in.

Change-Id: Ib80b682c7c4b5d0fd922376ec6a0989a8b5cff96
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoEncapsulate HwvtepSouthboundUtil's executor 83/94583/1
Robert Varga [Sat, 9 Jan 2021 23:08:17 +0000 (00:08 +0100)]
Encapsulate HwvtepSouthboundUtil's executor

We do not want to leak this executor to prevent shenanigans. We really
just need a schedule() method.

Change-Id: Ida4004c82d1d99f51439ebbdf908f62d36bb6a25
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoDitch blueplrint-maven-plugin from southbound-impl 82/94582/1
Robert Varga [Sat, 9 Jan 2021 22:46:08 +0000 (23:46 +0100)]
Ditch blueplrint-maven-plugin from southbound-impl

The use of this plugin was a mis-step, we really want do deal with
OSGi using Declarative Services. As a first step, freeze all wiring
in the explicit blueprint.xml and put in FIXMES for near future.

Change-Id: Ib2cd99d1b0c4b1057adb6531a7005546be468a5c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoIntegrate CLI on a proper management interface 81/94581/1
Robert Varga [Sat, 9 Jan 2021 21:56:17 +0000 (22:56 +0100)]
Integrate CLI on a proper management interface

We are currently wiring these through blueprint, which allows class
injection -- but this needs to be a proper interface.

Change-Id: I704f329bc6c8b75f01f5d7cd29471648c028f922
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoDo not check DataBroker shards 80/94580/1
Robert Varga [Sat, 9 Jan 2021 21:47:01 +0000 (22:47 +0100)]
Do not check DataBroker shards

Startup checks are not necessary, as DataBroker is only injected
once initial convergence has been reached.

Remove the checks and all their configuration binding, leaving only
manual Karaf commands. These will be refactored at a later point
in time.

Change-Id: I1ec8fbf47847c024e7a4e2bdceb867e0491f35c2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoCleanup invalid constants 79/94579/1
Robert Varga [Sat, 9 Jan 2021 20:47:33 +0000 (21:47 +0100)]
Cleanup invalid constants

Constants should really be constant, make sure that is the case.

Change-Id: Idbaee1ff9ba0856bfab7a802e044897e57cd9bfc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoDo not use powermock in hwvtepsouthbound-impl 78/94578/1
Robert Varga [Sat, 9 Jan 2021 20:32:12 +0000 (21:32 +0100)]
Do not use powermock in hwvtepsouthbound-impl

Replace reflection access with package @VisibleForTesting fields.

Change-Id: Ic900de4ae5efa8123e1c2ca377b442d39ab011ea
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoCleanup warnings in hwvtepsouthbound-impl 75/94575/4
Robert Varga [Sat, 9 Jan 2021 17:54:54 +0000 (18:54 +0100)]
Cleanup warnings in hwvtepsouthbound-impl

Use BindingMap to reduce warnings about deprecated use of lists.

Change-Id: Ib47f8b3de614aae8e56af35533eb4934ba047c0b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix deprecation warnings is southbound-impl 72/94572/4
Robert Varga [Sat, 9 Jan 2021 16:37:42 +0000 (17:37 +0100)]
Fix deprecation warnings is southbound-impl

Use BindingMap.Builder to replace ArrayList, which maintains
is almost a drop-in replacement. While we are in the area, also
fix duplicate invocations of SouthboundMapper.

Since the interactions take advantage of what builders provide,
also ditch a ton of mocking in favor of using provided builder
implementation.

Change-Id: I4bd4a86039b8ef3159091565be2581b9fe23aefc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMigrate bridge constructor users 74/94574/1
Robert Varga [Sat, 9 Jan 2021 17:07:04 +0000 (18:07 +0100)]
Migrate bridge constructor users

Add explicit conversion between XML and builders, so that we do not
get a legacy conversion warning.

Change-Id: I18b62c9af57e8af7680daf36ba16238b7af93400
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMigrate isFoo() callers 71/94571/2
Robert Varga [Sat, 9 Jan 2021 15:01:07 +0000 (16:01 +0100)]
Migrate isFoo() callers

isFoo() is changing to getFoo(), remove use of deprecated methods.

Change-Id: I8c5f115bf9d01e286dc1a98831f21005870411b9
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix type safety hazards in TransactUtils 70/94570/1
Robert Varga [Sat, 9 Jan 2021 14:49:40 +0000 (15:49 +0100)]
Fix type safety hazards in TransactUtils

There quite a bit of casting going on here, make sure we express
ourselves more clearly.

Change-Id: I77e136fce7c517b6d7b632067e5e330f54a0b38d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump MRI upstreams 41/94541/1
Robert Varga [Sat, 9 Jan 2021 09:24:09 +0000 (10:24 +0100)]
Bump MRI upstreams

Adopt following versions:
- odlparent-8.0.3
- infrautils-1.9.4
- yangtools-6.0.3
- mdsal-7.0.4
- controller-3.0.4

Change-Id: If314c4a19aad8d9d10c0619c8444c2d27d34ac8d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump MRI upstreams 52/94152/3
Robert Varga [Thu, 10 Dec 2020 12:43:52 +0000 (13:43 +0100)]
Bump MRI upstreams

Adopt following versions:
- odlparent-8.0.2
- infrautils-1.9.3
- yangtools-6.0.2
- mdsal-7.0.3
- controller-3.0.3

Change-Id: I052a9db42bb16ae96a997a24c47083d9ffcc74aa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump infrautils to 1.9.1 07/93207/1
Robert Varga [Mon, 19 Oct 2020 23:33:00 +0000 (01:33 +0200)]
Bump infrautils to 1.9.1

Pick up mbean fixes from upstream.

Change-Id: Iba5ef562fbc0f8737162a8b04384a573b12a0152
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump to mdsal-7.0.1/controller-3.0.1 97/93197/1
Robert Varga [Mon, 19 Oct 2020 19:37:20 +0000 (21:37 +0200)]
Bump to mdsal-7.0.1/controller-3.0.1

Pick up mdsal fixes and improvements.

Change-Id: I8881f00992eb910293c8ee50724b1bbfd9512077
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMigrate to Objects.requireNonNull() 91/93091/1
Robert Varga [Fri, 16 Oct 2020 09:02:19 +0000 (11:02 +0200)]
Migrate to Objects.requireNonNull()

Fix up final violations reported by modernizer and flip it on. Also
turn a few obvious uses to the proper guards -- i.e. use the return
value of requireNonNull().

Change-Id: I7e3e814219a08357c5f4bc87e7b125173743379a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix use of raw Collections.EMPTY_{LIST,SET} 90/93090/1
Robert Varga [Fri, 16 Oct 2020 08:50:29 +0000 (10:50 +0200)]
Fix use of raw Collections.EMPTY_{LIST,SET}

Modernizer is rightly pointing out this use of constant, which also
causes some raw type warnings. Fix that up.

Change-Id: I5749db43f6d3fa21821180409d83109a43ab34a6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump upstreams for Silicon 65/92965/4
Robert Varga [Wed, 7 Oct 2020 15:40:34 +0000 (17:40 +0200)]
Bump upstreams for Silicon

Adopt the following upstream versions:
- odlparent-8.0.0
- yangtools-6.0.0
- mdsal-7.0.0
- controller-3.0.0
- infrautils-1.9.0

Change-Id: Ibb020c42971e25aaf651bf00fd970e77b3fea142
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix a few raw type warnings 31/92731/1
Robert Varga [Sat, 26 Sep 2020 22:08:13 +0000 (00:08 +0200)]
Fix a few raw type warnings

InstanceIdentifier should not be used raw, this fixes trivial
offenders.

Change-Id: I9eff9e23a2f95e40dde757d5980da26e3dd5bd81
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoUse uint types in SouthboundIT 29/92729/1
Robert Varga [Sat, 26 Sep 2020 21:56:11 +0000 (23:56 +0200)]
Use uint types in SouthboundIT

There are a number of warnings here, use proper uint types, which
cleans up some of the funky dance we have had here.

Change-Id: I3474593e5d75769a9d2f92fa0552d499cf64277a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMigrate to use Objects.requireNonNull 28/92728/1
Robert Varga [Sat, 26 Sep 2020 21:39:44 +0000 (23:39 +0200)]
Migrate to use Objects.requireNonNull

These users of Preconditions.checkNotNull() are pointer out by
modernizer, migrate them.

Change-Id: I198384e8fc62ed32dc7c2fbba63fb16789bfc993
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoUse uint types in southbound-impl 27/92727/1
Robert Varga [Sat, 26 Sep 2020 21:28:17 +0000 (23:28 +0200)]
Use uint types in southbound-impl

This is a mostly-straightforward migration to use proper unsigned
types. We also fix some use of lists where it is convenient.

Change-Id: I6d4199431ec6ba45a2958573e07e956b4697ad88
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix migration warnings 26/92726/1
Robert Varga [Sat, 26 Sep 2020 21:05:24 +0000 (23:05 +0200)]
Fix migration warnings

Remove use of deprecated methods by switch port to Uint16 and using
maps for arguments.

Change-Id: I8545d85b6842837993d357e584f3b95315bfb6a7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoDo not override javax.inject version 25/92725/1
Robert Varga [Sat, 26 Sep 2020 21:04:04 +0000 (23:04 +0200)]
Do not override javax.inject version

The version is managed in parent pom, no need to specify it again.

Change-Id: I699d2fa48c4fd2da607b779de057de05a704a3a4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMigrate users of addAugmentation() 65/92665/1
Robert Varga [Thu, 24 Sep 2020 11:05:07 +0000 (13:05 +0200)]
Migrate users of addAugmentation()

Builders have a simplified addAugmentation() method, migrate last
two users to it.

Change-Id: I71d3efeb15b8df4a9eb47bf0236447903fb640cd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix warnings in MdsalUtilsAsyncTest 64/92664/1
Robert Varga [Thu, 24 Sep 2020 11:00:19 +0000 (13:00 +0200)]
Fix warnings in MdsalUtilsAsyncTest

We have unused suppressions and unnecessary use of Lists, fix those
up.

Change-Id: I52a1e4d66b4197e9e5efffb4dcf0abc90116fdd4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMigrate SouthboundUtils to use Uint types 63/92663/2
Robert Varga [Thu, 24 Sep 2020 10:53:37 +0000 (12:53 +0200)]
Migrate SouthboundUtils to use Uint types

This is a leftover migration from Magnesium, propagate the change
into public API.

Change-Id: I22348dabd81e7ac74ca66a71f66349b96fe1713e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix a few warnings in SouthboundUtils 62/92662/2
Robert Varga [Thu, 24 Sep 2020 10:50:14 +0000 (12:50 +0200)]
Fix a few warnings in SouthboundUtils

First pass on deprecation warnings, fixing most obvious/limited
cases.

Change-Id: I70a97b3b917a55fb680b44d7bceb93293902443e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMake methods static 55/92255/6
Robert Varga [Mon, 24 Aug 2020 09:20:28 +0000 (11:20 +0200)]
Make methods static

There is a number of methods which do not touch object state, hence
can be made static. Eliminate eclipse warnings by making them static.

Change-Id: I6a714df82867c2e0bc303affba6be47fa7da999a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump MRI projects 98/92598/1
Robert Varga [Tue, 22 Sep 2020 15:46:25 +0000 (17:46 +0200)]
Bump MRI projects

This patch adopts:
- odlparent-7.0.6
- infrautils-1.8.1
- yangtools-5.0.6
- mdsal-6.0.5
- controller-2.0.4

Change-Id: I2ed5d7eb9b4bb4c8d500f7001924c586b1d3fda7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump conf.yaml versions to Silicon 66/92066/2
Thanh Ha [Tue, 11 Aug 2020 19:29:09 +0000 (15:29 -0400)]
Bump conf.yaml versions to Silicon

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Ib0c12fe82d53aa042ea3f3d22e7847e4aa08a3fa

3 years agohwvtep disconnect command support 19/91819/6
Chetan Arakere Gowdru [Mon, 3 Aug 2020 07:14:01 +0000 (12:44 +0530)]
hwvtep disconnect command support

Description:
when the command is fired it flaps the connection to the tor. The usage
is as below ex:

hwvtep:disconnect -nodeid hwvtep://uuid/19277da8-f85c-4ac8-af1b-9cffda7ef73d

Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Change-Id: I6e51d4858eb8887ea91659e0171268be50e64f90
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
3 years agoFix deprecation warnings around addAugmentation() 54/92254/1
Robert Varga [Mon, 24 Aug 2020 08:39:59 +0000 (10:39 +0200)]
Fix deprecation warnings around addAugmentation()

These are mostly trivial fixes to eliminate warnings reported around
addAugmentation() method.

Change-Id: Ie17450891ed2c75861249a6ccb3f178ca3a8890f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoLocal-ucast-macs not cleared from oper-topo DS. 80/92180/2
Chetan Arakere Gowdru [Tue, 18 Aug 2020 11:53:55 +0000 (17:23 +0530)]
Local-ucast-macs not cleared from oper-topo DS.

Description:
Due to deviceInfo cache not populated during add, during local-ucast-mac
removal, this mac entry is missing causing not to delete from optopo on mac removal
from switch.

The onSuccess() which populate the cache is not called properly during
add resulting in this issue.

Change-Id: I9db66caee024daf254cba5b696ef697e6309f1bb
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
3 years agoBump versions by x.(y+1).z for next dev cycle 30/91930/1
Thanh Ha [Wed, 5 Aug 2020 21:02:36 +0000 (17:02 -0400)]
Bump versions by x.(y+1).z for next dev cycle

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: I9c511d75109bdbaac30702fa39d8aae3a3935361

3 years agoUse released version of infrautils 17/91717/1
Robert Varga [Tue, 28 Jul 2020 11:33:28 +0000 (13:33 +0200)]
Use released version of infrautils

infrautils-1.8.0 has been released, use released version instead
of snapshots.

Change-Id: I2cdb4fa9052850621411571695c9f103c76b422a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump odlparent/yangtools/mdsal/controller 63/91663/3
Robert Varga [Sun, 26 Jul 2020 23:59:30 +0000 (01:59 +0200)]
Bump odlparent/yangtools/mdsal/controller

Adopt upstream versions:
- odlparent-7.0.5
- yangtools-5.0.5
- mdsal-6.0.4
- controller-2.0.3

Change-Id: I8c8be3249f6170b0c215f4fe06cd22fc327da2d8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAdd INFO.yaml for ovsdb 59/91259/3
Anil Belur [Sun, 12 Jul 2020 01:36:17 +0000 (11:36 +1000)]
Add INFO.yaml for ovsdb

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I89d483ef4c5b9c669fb8a971e438085a79c635d4
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
3 years agoChange log level from ERROR to warn. 23/90923/3
Chetan Arakere Gowdru [Mon, 6 Jul 2020 05:13:14 +0000 (10:43 +0530)]
Change log level from ERROR to warn.

Description:
When a connection is termination by Peer, following log is logged at
error level causing to get captured in teardown making TC as failure.

Exception occurred while processing connection pipeline
io.netty.channel.unix.Errors$NativeIoException: readAddress(..) failed: Connection reset by peer

Change the log level from ERROR to warn as this exception is expected
during connection teardown and not making TC to mark as fail for this.

JIRA : OVSDB-496

Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Change-Id: I82a585d4478f07e29f8b04600b7df95bb98c6d08
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
3 years agoUsing MD-SAL .exists() API 61/89661/9
Chetan Arakere Gowdru [Mon, 11 May 2020 10:05:22 +0000 (15:35 +0530)]
Using MD-SAL .exists() API

Description:
Whenever we are performing read operations just to
check it's presence in DS, instead of doing such read,
we can make use of MD-SAL exist() API which provides better performance.

Enhanced INFO level Logging statements.

Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Change-Id: Ie81f1be19e60af5081780bf0d43419ab433b9d4e
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
3 years agoEliminate Duplicate Controller MD-SAL code 77/89577/7
Chetan Arakere Gowdru [Mon, 4 May 2020 07:27:33 +0000 (12:57 +0530)]
Eliminate Duplicate Controller MD-SAL code

With the MD-SAL migration done, there are now two almost identical
classes. Remove duplicate classes.

JIRA: OVSDB-495

Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Change-Id: Idc6dd7198fb99d5f97f056c84f20659734dd8094
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
3 years agoClean up MRI feature references 95/90595/1
Robert Varga [Tue, 23 Jun 2020 06:57:18 +0000 (08:57 +0200)]
Clean up MRI feature references

We should be referring to MRI features through ranges, fix that up.

Change-Id: Idede2bd4ebfa6bc8cb06e966adb68d662d2033d4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix NPE in disconnect path 60/90460/3
Robert Varga [Tue, 16 Jun 2020 16:23:04 +0000 (18:23 +0200)]
Fix NPE in disconnect path

We should not be touching instance identifier if the node does
not exist in connection manager. Fixes the following splat:

java.lang.NullPointerException: null
at org.opendaylight.ovsdb.southbound.OvsdbDataTreeChangeListener.disconnect(OvsdbDataTreeChangeListener.java:151) ~[bundleFile:?]
at org.opendaylight.ovsdb.southbound.OvsdbDataTreeChangeListener.onDataTreeChanged(OvsdbDataTreeChangeListener.java:103) ~[bundleFile:?]
at org.opendaylight.mdsal.binding.dom.adapter.BindingDOMDataTreeChangeListenerAdapter.onDataTreeChanged(BindingDOMDataTreeChangeListenerAdapter.java:37) ~[bundleFile:?]
at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.dataTreeChanged(DataTreeChangeListenerActor.java:83) [bundleFile:?]
at org.opendaylight.controller.cluster.datastore.DataTreeChangeListenerActor.handleReceive(DataTreeChangeListenerActor.java:44) [bundleFile:?]

Change-Id: Ibabc7f5324742fce04bc6f02b54a1ead945b15cb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAvoid excessive ovsdb log statements 70/87370/2
Chetan Arakere Gowdru [Mon, 3 Feb 2020 08:31:11 +0000 (14:01 +0530)]
Avoid excessive ovsdb log statements

Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Change-Id: Ifd12522cc4891fb01cde5cb2de5b5333e690f841

3 years agoIntegrate controller-2.0.2 09/90409/1
Robert Varga [Thu, 11 Jun 2020 21:45:28 +0000 (23:45 +0200)]
Integrate controller-2.0.2

This bumps versions to the following:
- odlparent-7.0.3
- yangtools-5.0.3
- mdsal-6.0.2
- controller-2.0.2

Change-Id: Ic9021658c58aaa3d0d40a858a6272f5e5b1fcbe1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoIntegrate controller-2.0.1 59/90159/1
Robert Varga [Sun, 31 May 2020 09:29:07 +0000 (11:29 +0200)]
Integrate controller-2.0.1

This bumps versions to the following:
- odlparent-7.0.2
- yangtools-5.0.2
- mdsal-6.0.1
- controller-2.0.1

Change-Id: I60bd9f78cde3f35e3b3c1d8a399e73c847b82f14
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoSet version to Aluminium 35/88735/2
Thanh Ha [Thu, 26 Mar 2020 19:54:56 +0000 (15:54 -0400)]
Set version to Aluminium

Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Iab07ad88b9a8bb114d50d28f263d71749be06e17

4 years agoUpdate MRI projects for Aluminium 41/89541/2
Robert Varga [Fri, 1 May 2020 07:37:10 +0000 (09:37 +0200)]
Update MRI projects for Aluminium

This bumps versions to the following:
- odlparent-7.0.1
- yangtools-5.0.1
- mdsal-6.0.0
- controller-2.0.0

These updates imply that an unkeyed list cannot be deleted by
setting it to empty its parent node and issuing a merge() of that
parent node. This is used only in two places -- hence we update
them.

We also get access to proper Map view of keyed lists, which makes
a number of operations faster, as we can just defer to a lookup
instead of iterating of the entire list.

Finally features and build system is updated to not leak
javax.annotation and upstream bundles into runtime.

Change-Id: I78207959d9f62d79af83f57c859f5fbd393077aa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoMD-SAL API integration 02/87802/21
xcheara [Fri, 14 Feb 2020 13:07:01 +0000 (18:37 +0530)]
MD-SAL API integration

Migrate all code to use MD-SAL APIs from the mdsal project, not controller.
Also remove dependencies on org.opendaylight.controller where not appropriate.

JIRA: OVSDB-487

Change-Id: I5ed9e800420887bc6b453f23eb77bcd54d9c27a9
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
4 years agoEnhance the McastMacsRemoteUpdateCommand to get the uuid from the device if not prese... 42/89042/5
Chandra Shekar S [Mon, 13 Apr 2020 10:57:47 +0000 (16:27 +0530)]
Enhance the McastMacsRemoteUpdateCommand to get the uuid from the device if not present in cache

This review is to :
1. Enhance the McastMacsRemoteUpdateCommand to get the uuid from the device if not present in cache
2. Minor refactors on the MacsCommands

Signed-off-by: Chandra Shekar S <chandra.shekar.s@ericsson.com>
Change-Id: I73f6114cacfd86c59301f098f4338125c32dc65d

4 years agomake sure ovsdb connected node appears in operds 58/88958/4
Chetan Arakere Gowdru [Wed, 8 Apr 2020 05:37:56 +0000 (11:07 +0530)]
make sure ovsdb connected node appears in operds

if the conected node does not appear in oper ds
disconnect the node, upon reconnection it may succeed in getting into
operds.

Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Change-Id: I1091e0a1a644141467e6d4bda5a058af60110a62
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
4 years agoFix delete of Logical_Switch for the "referential integrity violation" failure. 68/88968/4
Chandra Shekar S [Wed, 8 Apr 2020 08:50:31 +0000 (14:20 +0530)]
Fix delete of Logical_Switch for the "referential integrity violation" failure.

Currently the Logical_Switch delete is failing with "referential integrity violation" error as listed below
2020-04-13T05:27:36,854 | ERROR | hwvtep-waiting-job-0 | TransactInvokerImpl              | 403 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.11.0.SNAPSHOT | HWVTEP transaction operation failed referential integrity violation cannot delete Logical_Switch row 7392ce5a-1bf6-4951-a22e-740ac78aaa60 because of 9 remaining reference(s)
2020-04-13T05:27:36,855 | ERROR | hwvtep-waiting-job-0 | TransactInvokerImpl              | 403 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.11.0.SNAPSHOT | Failed transaction delete from Logical_Switchdelete from Ucast_Macs_Remotedelete from Ucast_Macs_Localdelete from Mcast_Macs_Remotedelete from Mcast_Macs_Local
2020-04-13T05:27:36,856 | ERROR | hwvtep-waiting-job-0 | TransactInvokerImpl              | 403 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.11.0.SNAPSHOT | Failed on second attempt too aborting the transaction org.opendaylight.ovsdb.hwvtepsouthbound.transact.LogicalSwitchRemoveCommand$1@575aaf7c
2020-04-13T05:27:36,857 | ERROR | hwvtep-waiting-job-0 | TransactInvokerImpl              | 403 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.11.0.SNAPSHOT | HWVTEP transaction operation failed referential integrity violation cannot delete Logical_Switch row 064cc69b-cce8-4f08-9478-9b82c6059cac because of 9 remaining reference(s)
2020-04-13T05:27:36,858 | ERROR | hwvtep-waiting-job-0 | TransactInvokerImpl              | 403 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.11.0.SNAPSHOT | Failed transaction delete from Logical_Switchdelete from Ucast_Macs_Remotedelete from Ucast_Macs_Localdelete from Mcast_Macs_Remotedelete from Mcast_Macs_Local
2020-04-13T05:27:36,858 | ERROR | hwvtep-waiting-job-0 | TransactInvokerImpl              | 403 - org.opendaylight.ovsdb.hwvtepsouthbound-impl - 1.11.0.SNAPSHOT | Failed on second attempt too aborting the transaction org.opendaylight.ovsdb.hwvtepsouthbound.transact.LogicalSwitchRemoveCommand$1@569e133b

The Logical_Switch reference will be present in other tables like Ucast_Macs_Remote, Pysical_Port and Ucast_Macs_Remote etc.
These should be deleted first when the Logical_Switch is going to be deleted.

Signed-off-by: Chandra Shekar S <chandra.shekar.s@ericsson.com>
Change-Id: Ic2b101368bd50f6494e357fa49ccf53e641a09a3

4 years agoNPE Exception while processing Interfaces 49/88449/8
Chetan Arakere Gowdru [Tue, 17 Mar 2020 02:38:50 +0000 (08:08 +0530)]
NPE Exception while processing Interfaces

Description: Its been observed that if the port is created first
followed by setting the external-ids, the termination points are
not updated properly with is external-ids.

Changes are done to cache the bridge Identifier and refer this cache
during interface-update is obtained for the port.

Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
Change-Id: I8e55733bccfa8dae013dda985678514e1ceb98d5
Signed-off-by: Chetan Arakere Gowdru <chetan.arakere@altencalsoftlabs.com>
4 years agoEnhance the use of cache in HwvtepDeviceInfo 27/88927/3
Chandra Shekar S [Tue, 7 Apr 2020 07:44:40 +0000 (13:14 +0530)]
Enhance the use of cache in HwvtepDeviceInfo

This review is to enhace the HwvtepDeviceInfo to use the Cache.
It has the following changes.
1. Enhanced to include the incoming update objects in the cache.
2. Check in the cache before deleting.
3. Update the cache when the updates are successfully submitted to db.

Signed-off-by: Chandra Shekar S <chandra.shekar.s@ericsson.com>
Change-Id: I70a923f2b58077e780b53c457b05bb2545a87d4f

4 years agoHwvtep minor refactor to getPhysicalLocator 01/88801/2
Chandra Shekar S [Mon, 30 Mar 2020 08:50:32 +0000 (14:20 +0530)]
Hwvtep minor refactor to getPhysicalLocator

Signed-off-by: Chandra Shekar S <chandra.shekar.s@ericsson.com>
Change-Id: I41147c1e6549c430572390cf0eee5d2a975de63c

4 years agoRetry mechanism for Hwvtep failed Transaction commands 41/88741/2
Chandra Shekar S [Fri, 27 Mar 2020 04:43:49 +0000 (10:13 +0530)]
Retry mechanism for Hwvtep failed Transaction commands

Signed-off-by: Chandra Shekar S <chandra.shekar.s@ericsson.com>
Change-Id: Ic15829836a316e1f21a0481089ae119cb38e60d1

4 years agoAvoid push the stale vlan to tor. 67/88767/3
Chandra Shekar S [Sun, 29 Mar 2020 07:31:16 +0000 (13:01 +0530)]
Avoid push the stale vlan to tor.

If the ls is not present on the tor, don't push the vlan for that ls

Signed-off-by: Chandra Shekar S <chandra.shekar.s@ericsson.com>
Change-Id: I2362f33eacac3a8cf39fe8d9f1668ce7477f31ad