neutron.git
3 years agoBump MRI upstreams 14/94514/1
Robert Varga [Fri, 8 Jan 2021 20:46:29 +0000 (21:46 +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: Id152cb25416900a1be8d5e6ac9c5b0a49b32d8a1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMigrate stray Guava Optional 82/94482/1
Robert Varga [Thu, 7 Jan 2021 16:44:46 +0000 (17:44 +0100)]
Migrate stray Guava Optional

Upstream is migrating, adjust to that.

Change-Id: Ief7b7b9c363502cc2581eb4a587909fa2fb5dbf6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMigrate isFoo() callers 81/94481/1
Robert Varga [Thu, 7 Jan 2021 16:44:36 +0000 (17:44 +0100)]
Migrate isFoo() callers

Change-Id: I2752f947945ad50677ef7e110662a7cf0956f4fa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump MRI upstreams 54/94154/2
Robert Varga [Thu, 10 Dec 2020 12:44:31 +0000 (13:44 +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: I69078e47b41a2f2c67b1eb813c4f16fd003fa63e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoAlign persistence.moxy version 92/93092/2
Robert Varga [Fri, 16 Oct 2020 10:34:25 +0000 (12:34 +0200)]
Align persistence.moxy version

Parent declaration has version 2.7.5, while features are using
version 2.7.3 -- align the two.

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

Pick up mdsal fixes and improvements.

Change-Id: Ibb69f0614dbb565791423c2db1dc48bbc29a11e0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump upstreams for Silicon 70/92970/5
Robert Varga [Wed, 7 Oct 2020 17:11:00 +0000 (19:11 +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

We also resurrect the javax.validation dependency which was
removed from odlparent so that it matches our declarations.

Change-Id: I51d518cbe214754f589df4376591f798ef9a21aa
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix a few uint warnings 75/92875/1
Robert Varga [Fri, 2 Oct 2020 15:56:59 +0000 (17:56 +0200)]
Fix a few uint warnings

Fix warnings where we are explicitly converting the type between
REST API and Binding DTOs.

Change-Id: I61ab0b3e31753626b7b3bccb0070ca2fa175c3e5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoSimplify addAugmentation() invocations 74/92874/1
Robert Varga [Fri, 2 Oct 2020 15:49:33 +0000 (17:49 +0200)]
Simplify addAugmentation() invocations

Builders have a better way of populating augmentations, add that
capability.

Change-Id: I87d0012e2a5e2dbccaa45af6062677f7b105fe3f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoMigrate away from edu.umd.cs.findbugs.annotations.SuppressWarnings 73/92873/1
Robert Varga [Fri, 2 Oct 2020 15:45:57 +0000 (17:45 +0200)]
Migrate away from edu.umd.cs.findbugs.annotations.SuppressWarnings

This annotation is superseded by SuppressFBWarnings, migrate it.

Change-Id: I657024a5e5d98ae4b1a2ea6256c171456b0bd16c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix a raw type warning 72/92872/1
Robert Varga [Fri, 2 Oct 2020 15:43:28 +0000 (17:43 +0200)]
Fix a raw type warning

Use star-notation to fix a raw type warning.

Change-Id: I62500229200e27375f08e3e530b8ea992e2e8891
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump MRI projects 02/92602/1
Robert Varga [Tue, 22 Sep 2020 15:48:04 +0000 (17:48 +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: Id5de1be44852fc118e173b39b90a40e154cdbaa7
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoNEUTRON-208: BGPVPN network and router association 76/88076/19
manjunathpayala [Wed, 26 Feb 2020 13:22:02 +0000 (18:52 +0530)]
NEUTRON-208: BGPVPN network and router association

+ Currently, BGPVPN network and router associations are handled by
  BGPVPN update request.
+ Neutron model is changed to support bgpvpn network and router
  association as CREATE/DELETE calls instead of BGPVPN update.
+ The existing attributes are also retained to have back-ward
  compatibility.

Change-Id: I6de1be538ef1d1e34d8d0e7f20786b6fae7b99b0
Signed-off-by: manjunathpayala <manjupayala@gmail.com>
Signed-off-by: Somashekar Byrappa <somashekar.b@altencalsoftlabs.com>
3 years agoRemove PTL details from committer section 69/92169/1
Anil Belur [Mon, 17 Aug 2020 03:06:00 +0000 (13:06 +1000)]
Remove PTL details from committer section

The anchor `odl_neutron_ptl` already references the
PTL section, no need to redefined this again.

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: I9743b5144e4ab61fd9b30af7ae07f188566e37cf

3 years agoAdd INFO.yaml for neutron 50/91250/3
Anil Belur [Sun, 12 Jul 2020 01:05:05 +0000 (11:05 +1000)]
Add INFO.yaml for neutron

Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
Change-Id: Id351c3650beba935cd667a5868f429cbc961914b
Signed-off-by: Achuth <achuth.maniyedath@gmail.com>
3 years agoBump versions by x.(y+1).z for next dev cycle 28/91928/1
Thanh Ha [Wed, 5 Aug 2020 21:02:34 +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: I386c41ac9fc2a911cc1cd97f73e035b82cda4d36

3 years agoUse released version of infrautils 15/91715/1
Robert Varga [Tue, 28 Jul 2020 11:29:20 +0000 (13:29 +0200)]
Use released version of infrautils

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

Change-Id: I4dfd32adb3b3a50e353eb214d9d4c68571465712
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoRemove unneeded dependency on odl-infrautils-inject 57/91657/2
Robert Varga [Sun, 26 Jul 2020 14:42:05 +0000 (16:42 +0200)]
Remove unneeded dependency on odl-infrautils-inject

javax.inject should be provided by whatever runtime we work in,
hence we do not need to pull it in, nor do we need
odl-infrautils-inject.

JIRA: INFRAUTILS-65
Change-Id: I80d074c28c94e22ab75ac492bc6023e325bcf68e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoBump odlparent/yangtools/mdsal/controller 67/91667/3
Robert Varga [Mon, 27 Jul 2020 00:01:02 +0000 (02:01 +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

Also adjust for jersey wiring differences.

Change-Id: Icaf408c7b867bd5123747e644fe1d01cd1a38171
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoFix integration test compile error 91/90991/1
Achuth [Wed, 8 Jul 2020 13:06:48 +0000 (18:36 +0530)]
Fix integration test compile error

Change-Id: Iad3c0a36ade27c23f0f3b68c6c409386c89c131d
Signed-off-by: Achuth <achuth.maniyedath@gmail.com>
3 years agoFix MRI feature references 86/90586/1
Robert Varga [Mon, 22 Jun 2020 20:30:46 +0000 (22:30 +0200)]
Fix MRI feature references

Clean up references to MRI features, so as to ease their version
bumps.

Change-Id: Ie399c36c131aacb2ccef41986b0979962932a94b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoIntegrate controller-2.0.2 16/90416/1
Robert Varga [Thu, 11 Jun 2020 21:55:20 +0000 (23:55 +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: I65de98ae108de0255094a6732754d045d0abd6bc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
3 years agoIntegrate controller-2.0.1 60/90160/1
Robert Varga [Sun, 31 May 2020 09:32:31 +0000 (11:32 +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: Iae70a8284b37c366a79085064a13870ab908005a
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoUpdate MRI projects for Aluminium 75/89575/1
Robert Varga [Sun, 3 May 2020 16:21:12 +0000 (18:21 +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

Also fixes alignment of moxy with upstream and unneeded bundle
references.

Change-Id: Ie3669e92b9fa3928072282899c351f49e37a4ca0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoFix checkstyle 13/89413/2
Robert Varga [Fri, 24 Apr 2020 17:52:34 +0000 (19:52 +0200)]
Fix checkstyle

Upgraded checkstyle is finding these, fix them up.

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

4 years agoConvert to use MD-SAL APIs 60/80860/19
Robert Varga [Thu, 14 Mar 2019 16:36:59 +0000 (17:36 +0100)]
Convert to use MD-SAL APIs

This mass-converts all of neutron to use MD-SAL APIs.

JIRA: NEUTRON-206
Change-Id: I4ea16c5a4b506fd6ae4be4cfb46864604584d4f1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Achuth <achuth.maniyedath@gmail.com>
4 years agoUse Magnesium controller 82/88682/1
Robert Varga [Wed, 25 Mar 2020 21:52:19 +0000 (22:52 +0100)]
Use Magnesium controller

As part of controller transition to being MRI, downgrade the version
used to Magnesium release. This will be bumped to Aluminium proper
during the MRI window.

Change-Id: I7be920aab87a9fd7c7cb55600a9bf45297b6aefd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump versions by x.y.(z+1) 95/87995/1
jenkins-releng [Sat, 22 Feb 2020 04:30:16 +0000 (04:30 +0000)]
Bump versions by x.y.(z+1)

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

4 years agoBump to odlparent-6.0.4/yangtools-4.0.6/mdsal-5.0.9 05/87005/3
Robert Varga [Thu, 16 Jan 2020 21:14:51 +0000 (22:14 +0100)]
Bump to odlparent-6.0.4/yangtools-4.0.6/mdsal-5.0.9

Pick up latest fixes and upgrades.

Change-Id: I78fe513dd4b6ace56e59de08808cd11c72d11b23
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoRemove ARIES-1923 workaround 39/86439/1
Robert Varga [Mon, 16 Dec 2019 21:05:27 +0000 (22:05 +0100)]
Remove ARIES-1923 workaround

We now have proper monkey-patch in place and can therefore remove
this workaround.

Change-Id: Icd3b1c2713338b43c9be9a8225f359cecb2dae31
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump odlparent/yangtools/mdsal to 6.0.3/4.0.3/5.0.6 75/86375/2
Robert Varga [Thu, 12 Dec 2019 07:06:32 +0000 (08:06 +0100)]
Bump odlparent/yangtools/mdsal to 6.0.3/4.0.3/5.0.6

Pick up the latest upgrades and fixes.

Change-Id: Ifc9da1fb12a8d721990ba5b6c2bc20abf83b1d04
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump to odlparent-6.0.1/yangtools-4.0.2/mdsal-5.0.4 33/85633/1
Robert Varga [Wed, 6 Nov 2019 16:33:18 +0000 (17:33 +0100)]
Bump to odlparent-6.0.1/yangtools-4.0.2/mdsal-5.0.4

This picks up latest upgrades and fixes.

Change-Id: I8db358b0af81394a561071d98bffea168dda47cc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump mdsal to 5.0.3 70/85070/1
Robert Varga [Fri, 11 Oct 2019 14:13:53 +0000 (16:13 +0200)]
Bump mdsal to 5.0.3

This bumps mdsal to 5.0.3 to workaround issues with Blueprint
injection.

Change-Id: I848c9220ce06ec7b4af304ab64948bdc30257dbd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump mdsal to 5.0.2 82/84882/6
Robert Varga [Wed, 2 Oct 2019 15:18:40 +0000 (17:18 +0200)]
Bump mdsal to 5.0.2

This bumps mdsal to 5.0.2 as part of Magnesium MRI.

Change-Id: I93e10e95b7a241d678829afb732e2adef82c1a24
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump odlparent to 6.0.0 81/84881/4
Robert Varga [Wed, 2 Oct 2019 15:17:27 +0000 (17:17 +0200)]
Bump odlparent to 6.0.0

This bumps odlparent to 6.0.0 as part of Magnesium MRI.

Change-Id: I084c6a32c4facafd85e3b87c6d8a9a29a33848a8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump mdsal to 4.0.6 44/84444/2
Robert Varga [Sat, 14 Sep 2019 16:29:25 +0000 (18:29 +0200)]
Bump mdsal to 4.0.6

This picks up the latest fixes.

Change-Id: I3a7be8905aaad8e892d4ce73f6ca4ade2ae6abbd
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump odlparent to 5.0.2 43/84443/1
Robert Varga [Sat, 14 Sep 2019 16:28:46 +0000 (18:28 +0200)]
Bump odlparent to 5.0.2

This picks up latest third-party dependencies.

Change-Id: Iba664dafd0d5795e1b38e15e5536737087a26de2
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoMigrate to using netconf-artifacts 14/83914/2
Robert Varga [Thu, 22 Aug 2019 14:57:44 +0000 (16:57 +0200)]
Migrate to using netconf-artifacts

restconf-artifacts is going away, being integrated into
netconf-artifacts -- update the reference.

Change-Id: Ifd8e335a0ab21ef5a4a4eab87b31a5be580bff23
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump mdsal to 4.0.4 27/83727/1
Robert Varga [Thu, 15 Aug 2019 08:43:53 +0000 (10:43 +0200)]
Bump mdsal to 4.0.4

This brings in latest fixes.

Change-Id: I59f89ef4fe76ef16fcdc9b59f8d9b50aa0849847
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump versions by x.y.(z+1) 52/83552/1
jenkins-releng [Mon, 12 Aug 2019 16:14:13 +0000 (16:14 +0000)]
Bump versions by x.y.(z+1)

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

4 years agoBump mdsal to 4.0.3 43/83143/3
Robert Varga [Thu, 18 Jul 2019 16:18:56 +0000 (18:18 +0200)]
Bump mdsal to 4.0.3

This bumps mdsal to 4.0.3, bringing in latest fixes and improvements.

Change-Id: Ie8e03aab1f31edf80bc9f1d7896c334c9d83be8d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump odlparent to 5.0.1 42/83142/2
Robert Varga [Thu, 18 Jul 2019 16:14:11 +0000 (18:14 +0200)]
Bump odlparent to 5.0.1

This picks up the latest upgrades.

Change-Id: If6006a94197839a9718cd5eae16b0a025913af93
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
4 years agoBump mdsal to 4.0.2 66/82366/2
Robert Varga [Fri, 31 May 2019 14:16:51 +0000 (16:16 +0200)]
Bump mdsal to 4.0.2

This picks up latest fixes.

Change-Id: I7e3c3849d49fbe18ca26a5a998ead9b2d4606d5f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump mdsal to 4.0.1 38/81838/2
Robert Varga [Wed, 1 May 2019 11:41:09 +0000 (13:41 +0200)]
Bump mdsal to 4.0.1

This bumps mdsal to 4.0.1.

Change-Id: I624ee692e29d8c76d377879e5b8204bd42fd49f1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump mdsal to 4.0.0 28/81528/3
Faseela K [Wed, 10 Apr 2019 09:30:40 +0000 (15:00 +0530)]
Bump mdsal to 4.0.0

This also changes AbstractTranscriberInterface's
{from,to}toMdAdminAttributes() methods to only fill admin
attributes, eliminating the need to compose unrelated interfaces
(BaseAttributes and AdminAttributes) in a generic type argument.

Change-Id: I4e1222afd1b78f7b548676ff87ac54eefc54da3f
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump odlparent version to 5.0.0 64/81464/2
Faseela K [Tue, 9 Apr 2019 06:49:41 +0000 (12:19 +0530)]
Bump odlparent version to 5.0.0

Change-Id: Icce4194b1d099bd44dc8f296578591d46d88ef1e
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoSwitch to JDT annotations for NonNull 72/81472/1
Faseela K [Tue, 9 Apr 2019 09:22:49 +0000 (14:52 +0530)]
Switch to JDT annotations for NonNull

Change-Id: Id90bbd8717047f027ce9620c0f91d01033b9aa79
Signed-off-by: Faseela K <faseela.k@ericsson.com>
5 years agoConstrain BluePrint generation 90/80290/1
Stephen Kitt [Tue, 12 Feb 2019 16:03:16 +0000 (17:03 +0100)]
Constrain BluePrint generation

This fixes the WebInitializer conflict between NETCONF and Neutron, by
restricting the scan to Neutron classes.

Change-Id: I71cc31120d882c54e81f129f2e03b4268582e3d7
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoBump versions by x.y.(z+1) 92/80092/1
jenkins-releng [Fri, 1 Feb 2019 13:06:30 +0000 (13:06 +0000)]
Bump versions by x.y.(z+1)

Change-Id: Ie908bd7413966c3ceff16ef500e245d1a66257b0
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
5 years agoAdjust to the ovsdb MdsalUtils change 18/80018/1
Stephen Kitt [Wed, 30 Jan 2019 10:57:22 +0000 (11:57 +0100)]
Adjust to the ovsdb MdsalUtils change

ovsdb’s MdsalUtils switched to the mdsal DataBroker, to continue using
the controller DataBroker we need to switch to ControllerMdsalUtils.

Change-Id: I502f2a7bea412f35c84c69d991d8a91e90aee7ec
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoMerge "Bump mdsal to 3.0.6"
Stephen Kitt [Tue, 22 Jan 2019 19:32:26 +0000 (19:32 +0000)]
Merge "Bump mdsal to 3.0.6"

5 years agoBump mdsal to 3.0.6 85/79785/2
Robert Varga [Mon, 21 Jan 2019 09:20:28 +0000 (10:20 +0100)]
Bump mdsal to 3.0.6

This aligns with odlparent-4.0.9 and yangtools-2.1.8.

Change-Id: I16645d4f375df632d67ddc26cd375dd11ba604cb
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoBump to odlparent 4.0.9 73/79673/1
Stephen Kitt [Fri, 18 Jan 2019 15:33:34 +0000 (16:33 +0100)]
Bump to odlparent 4.0.9

Change-Id: I955f4b8ac971070ea29d6e48aaf377a17b393921
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoMigrate enunciate annotations 08/79608/1
Robert Varga [Thu, 17 Jan 2019 11:34:08 +0000 (12:34 +0100)]
Migrate enunciate annotations

Enunciate has moved from org.codehaus to com.webcohesion, upgrade
the annotations to their new place.

Change-Id: Ia6665da922e63a6a77ef7e1984ef20277e79a20f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoMerge "Bump mdsal to 3.0.4"
Michael Vorburger [Mon, 14 Jan 2019 16:50:10 +0000 (16:50 +0000)]
Merge "Bump mdsal to 3.0.4"

5 years agoMerge "Bump to odlparent 4.0.8"
Michael Vorburger [Mon, 14 Jan 2019 16:47:17 +0000 (16:47 +0000)]
Merge "Bump to odlparent 4.0.8"

5 years agoBump mdsal to 3.0.4 35/79435/2
Robert Varga [Thu, 10 Jan 2019 15:49:45 +0000 (16:49 +0100)]
Bump mdsal to 3.0.4

This realigns odlparent/yangtools/mdsal and brings in the latest
improvements. Also remove unneeded version declarations.

Change-Id: I166861805b5a70ca83753a2b36067d1f4d427adc
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump to odlparent 4.0.8 66/79366/3
Stephen Kitt [Wed, 9 Jan 2019 14:54:55 +0000 (15:54 +0100)]
Bump to odlparent 4.0.8

Change-Id: I6b62bee4b1d6af23960d453bd747db7b2caf6278
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoFix standalone test with JDK11 60/79260/1
Robert Varga [Mon, 7 Jan 2019 01:06:28 +0000 (02:06 +0100)]
Fix standalone test with JDK11

javax.activation is no longer part of JDK in Java9+, add it as
an explicit dependency.

Change-Id: I6ce3df30f06188958d454484c42b904e74020333
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoFix JDK11 deprecations 59/79259/1
Robert Varga [Mon, 7 Jan 2019 00:00:48 +0000 (01:00 +0100)]
Fix JDK11 deprecations

Explicit integral constructors have been deprecated, as was
Class.newInstance(). Adjust to that.

Change-Id: Ia78e6a0347c2b0264afc722f00acc716899e661f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoFix compilation with JDK11 58/79258/1
Robert Varga [Sun, 6 Jan 2019 23:52:06 +0000 (00:52 +0100)]
Fix compilation with JDK11

This adds javax.activation and JAXB dependencies as needed.

Change-Id: I466c9ee11aef7e14686bfb02da2c95e5f2640331
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump odlparent to 4.0.7 20/79120/1
Stephen Kitt [Wed, 2 Jan 2019 10:24:42 +0000 (11:24 +0100)]
Bump odlparent to 4.0.7

Change-Id: Ic41cf08373e99ee65a631ee79720d02eb9e1a3cd
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoBump mdsal to 3.0.3 20/79020/1
Robert Varga [Sun, 23 Dec 2018 23:02:37 +0000 (00:02 +0100)]
Bump mdsal to 3.0.3

This brings in latest fixes and alignes with odlparent-4.0.5.

Change-Id: Ie852cb085db8a78c7722ef45646ce950900e6926
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump to odlparent 4.0.5 18/78918/2
Stephen Kitt [Fri, 21 Dec 2018 09:11:03 +0000 (10:11 +0100)]
Bump to odlparent 4.0.5

Change-Id: If17faeb6c6378666dd0d8a0ff4e6191bb930ea45
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoAdd service-provider-feature for bgpvpn-vni 42/77242/5
Ashik Alias [Wed, 10 Oct 2018 11:04:49 +0000 (16:34 +0530)]
Add service-provider-feature for bgpvpn-vni

This feature is added to communicate to OpenDaylight driver that vni
attribute is supported in bgpvpn resource in OpenDaylight.

This review depends on the following reviews.
https://git.opendaylight.org/gerrit/#/c/63405/
https://git.opendaylight.org/gerrit/#/c/77250/
https://review.openstack.org/#/c/614428/

Change-Id: I3bfb0b7844455fb908955d3949e52b71125c7826
Signed-off-by: Ashik Alias <ashik.alias@ericsson.com>
5 years agoSupport for vni attribute in BGPVPN 05/63405/7
Deepthi V V [Thu, 21 Sep 2017 07:11:24 +0000 (12:41 +0530)]
Support for vni attribute in BGPVPN

- This change renames vnid attribute to vni
Change in openstack: https://review.openstack.org/#/c/505496/
- vni attribute was introduced during Queens release of openstack
and was not used previously. Hence this change will not impact use of ODL
with older version of networking-bgpvpn.

Change-Id: I6927b9b4a51d373d19b8a14d535611ae15c4b575
Signed-off-by: Ashik Alias <ashik.alias@ericsson.com>
Signed-off-by: Deepthi V V <deepthi.v.v@ericsson.com>
5 years agoBump to mdsal-3.0.2 50/78150/2
Robert Varga [Mon, 26 Nov 2018 09:28:25 +0000 (10:28 +0100)]
Bump to mdsal-3.0.2

This bumps mdsal to 3.0.2.

Change-Id: Ic0b2a217da235a4f532b1916ccea1253ad96a1df
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoMerge "Neutron MTU extension in network model"
Josh Hershberg [Tue, 27 Nov 2018 07:21:34 +0000 (07:21 +0000)]
Merge "Neutron MTU extension in network model"

5 years agoenable SpotBugs 30/77930/5
Michael Vorburger [Mon, 19 Nov 2018 09:44:59 +0000 (10:44 +0100)]
enable SpotBugs

incl. fixing wrong logger in NeutronObject and missing placeholders in
logs of NeutronHostconfigOvsListener and NeutronHostconfigVppListener.

Change-Id: If61b3cdfd59f92689937e219490f813e73084c3e
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agouse LOG.isInfoEnabled() in (expensive!) NeutronLogger 44/77944/3
Michael Vorburger [Mon, 19 Nov 2018 12:17:19 +0000 (13:17 +0100)]
use LOG.isInfoEnabled() in (expensive!) NeutronLogger

and add @SuppressFBWarnings("SLF4J_FORMAT_SHOULD_BE_CONST")
to prepare for enabling SpotBugs for all of Neutron.

Change-Id: Ic548ddcdfe65bc7aa40b4fd53716aef5a8d8bc7c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoNeutron MTU extension in network model 51/77851/2
Aswin Suryanarayanan [Thu, 15 Nov 2018 12:29:31 +0000 (17:59 +0530)]
Neutron MTU extension in network model

1)adds the model for Neutron MTU.
2)Populates a the MTU extension and augment it  to neutron network

Change-Id: Ib11a78eeed7cda529197164e42b3b9f94dbc4366
Signed-off-by: Aswin Suryanarayanan <asuryana@redhat.com>
5 years agoRestore odl-infrautils-inject dependency 07/77507/1
Stephen Kitt [Mon, 5 Nov 2018 15:10:46 +0000 (16:10 +0100)]
Restore odl-infrautils-inject dependency

This partially reverts 946fd9e3c7700dbd0df9924a70c0fa5477db981e

odl-neutron-northbound-api ends up pulling in javax.inject, so the
dependency on odl-infrautils-inject is warranted.

Change-Id: I8344609aacb4453e48af4290ca76c8c94c3c02fb
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoMerge "improve error logs due to IllegalArgumentException to include full input"
Michael Vorburger [Mon, 5 Nov 2018 09:19:55 +0000 (09:19 +0000)]
Merge "improve error logs due to IllegalArgumentException to include full input"

5 years agoMerge "clean up post Neon-MRI: un-ignore Test and rm blueprint-maven-plugin"
Michael Vorburger [Mon, 5 Nov 2018 09:19:02 +0000 (09:19 +0000)]
Merge "clean up post Neon-MRI: un-ignore Test and rm blueprint-maven-plugin"

5 years agominor clean-up after previous change 08/77408/1
Michael Vorburger [Thu, 1 Nov 2018 12:59:40 +0000 (13:59 +0100)]
minor clean-up after previous change

Change-Id: I524dd9b77722a9ffdef0551e85f2fdaa18b17f7b
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoWebsocket pre-registration for port status update 73/77273/10
Josh [Thu, 25 Oct 2018 08:49:35 +0000 (11:49 +0300)]
Websocket pre-registration for port status update

Due to load balancing between networking-odl
and ODL the registration REST calls do not
always hit the same ODL node as the actual
websocket connection. This causes the websocket
connection to fail. This patch pre-registers
the websockets on each ODL node during
initialization time.

Change-Id: I0b1f574c2735de0426a16c4473add99f2e512680
Signed-off-by: Josh <jhershbe@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoimprove error logs due to IllegalArgumentException to include full input 71/76771/4
Michael Vorburger [Mon, 8 Oct 2018 21:59:37 +0000 (23:59 +0200)]
improve error logs due to IllegalArgumentException to include full input

This requires, and adds, a working toString() for all *Request classes,
which is always useful for future logging of requests elsewhere.

This introduction of a NeutronRequest (an ABC instead of an interface)
could in the future also allow a follow-up change to get rid of the
reflection in INeutronRequest, by having a (generic) "singleton" and a
"bulkRequest" field in NeutronRequest instead of in each *Request class.
(The problem with that idea, and why it is how it currently is, are the
@XmlElement annotations for singleton and bulkRequest in each *Request;
those would have to be moved to new getters.)

Change-Id: I9769a3825632dd2bd2f9e2875b91d06a4f781616
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoMerge "minor simplification in INeutronRequest"
Michael Vorburger [Tue, 30 Oct 2018 18:03:45 +0000 (18:03 +0000)]
Merge "minor simplification in INeutronRequest"

5 years agoclean up post Neon-MRI: un-ignore Test and rm blueprint-maven-plugin 39/76239/5
Michael Vorburger [Wed, 19 Sep 2018 08:36:02 +0000 (10:36 +0200)]
clean up post Neon-MRI: un-ignore Test and rm blueprint-maven-plugin

xbean-finder-shaded version bump work around should no
longer be needed now that we are on odlparent 4.0.2.

JIRA: ODLPARENT-167
Change-Id: I909cff034aa996c1e4285960ddcdd30c8d0386fa
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoRestore duplicate check 27/77327/1
Stephen Kitt [Mon, 29 Oct 2018 16:03:24 +0000 (17:03 +0100)]
Restore duplicate check

With the recent odlparent and yangtools bumps in Neon, the
handling of jaxb-api and activation changed; for features, this is
dealt with by excluding the relevant artifacts from generated
features, but other tests end up with duplicates since the artifacts
include classes which are also present in the JVM’s rt.jar.

This patch excludes jaxb-api and activation, and restores the
duplicate check.

JIRA: INFRAUTILS-59
Change-Id: Ifa8f0fd86c8b65655cc50261f198d3deb2411499
Signed-off-by: Stephen Kitt <skitt@redhat.com>
(cherry picked from commit 4cfb487ceacbe9a21b845f98d4f01b59e0e94926)

5 years agominor simplification in INeutronRequest 72/76772/2
Michael Vorburger [Mon, 8 Oct 2018 22:01:35 +0000 (00:01 +0200)]
minor simplification in INeutronRequest

let isSingleton() delegate to getSingleton()

PS: Looking at this, I have an idea for a more fundamental improvement.

Change-Id: I84d87f9d687af213f08b89dd5fe6c6a3f5044e05
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoNeon MRI changes 89/76089/19
Michael Vorburger [Fri, 14 Sep 2018 13:42:47 +0000 (15:42 +0200)]
Neon MRI changes

incl. adjusting an already more outdated odlparent version
features/production/odl-neutron-model/pom.xml

based on https://wiki.opendaylight.org/view/Neon_platform_upgrade

This was a huge mess due to EclipseLink Moxy & javax.json; perhaps more
to be done about this in the future, see NEUTRON-200.

JIRA: NEUTRON-197
Change-Id: I9b00ba0badaecb299e7d79b92feedf27fabe4fb8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoAdd an exception mapper 60/76760/2
Stephen Kitt [Mon, 8 Oct 2018 15:38:51 +0000 (17:38 +0200)]
Add an exception mapper

Change-Id: I16a73b43627e09b4bbebbf6fbb467e572ad61d30
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agomake tenantID in NeutronObject a private field and use through getter() 28/75928/1
Michael Vorburger [Mon, 10 Sep 2018 14:35:20 +0000 (16:35 +0200)]
make tenantID in NeutronObject a private field and use through getter()

just... to be sure - re. the NEUTRON-159 mess.

JIRA: NEUTRON-159
Change-Id: I763016a1d535e9778d4497389f190be7227e690c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agouse an EmptyStringAsNullAdapter in NeutronObject re. null tenant_id 27/75927/1
Michael Vorburger [Mon, 10 Sep 2018 14:26:30 +0000 (16:26 +0200)]
use an EmptyStringAsNullAdapter in NeutronObject re. null tenant_id

perhaps in JAXB it's better to place such special empty/null logic in
such an adapter instead of directly into the getter.. at worst, it
shouldn't hurt.  See also some public posts re. this in general, e.g.
https://stackoverflow.com/questions/10869748/jaxb-return-null-instead-empty-string

background: https://bugs.opendaylight.org/show_bug.cgi?id=4775 (and its
old https://git.opendaylight.org/gerrit/#/c/31324 and
https://git.opendaylight.org/gerrit/#/c/31361/)

JIRA: NEUTRON-159
Change-Id: I47ec8270ba42e787d21adff51d89052c4442f2b7
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agofix JAXB usage/design bug in NeutronObject re. null tenant_id 26/75926/1
Michael Vorburger [Mon, 10 Sep 2018 14:18:11 +0000 (16:18 +0200)]
fix JAXB usage/design bug in NeutronObject re. null tenant_id

@XmlElement on a (package visible..) field and then special logic in the
getter was perhaps an unholy combination.  I can't quite explain why it
worked most of the time but not always.  One would think that the tests
going through the getter should also execute that special logic, but
alas, clearly in some of the test runs (and perhaps in production...)
they did not, see the recurring NEUTRON-159 problem.

background: https://bugs.opendaylight.org/show_bug.cgi?id=4775 (and its
old https://git.opendaylight.org/gerrit/#/c/31324 and
https://git.opendaylight.org/gerrit/#/c/31361/)

JIRA: NEUTRON-159
Change-Id: I986dc6f4bea2f08becea21936bedd831643d212e
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoReturn Set instead of Iterable in test 53/75353/1
Robert Varga [Tue, 21 Aug 2018 10:39:24 +0000 (12:39 +0200)]
Return Set instead of Iterable in test

Method signature will be changed to Set to define equality, prepare
for that.

Change-Id: I9f0bf9a40b6082de5fb7d651dafe9c3b1f32f0af
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoMerge "Remove references to mdsal-model-artifacts"
Michael Vorburger [Mon, 13 Aug 2018 15:50:13 +0000 (15:50 +0000)]
Merge "Remove references to mdsal-model-artifacts"

5 years agoMerge "add dependency check for qosPolicyId to NeutronNetworkInterface"
Michael Vorburger [Mon, 13 Aug 2018 15:29:15 +0000 (15:29 +0000)]
Merge "add dependency check for qosPolicyId to NeutronNetworkInterface"

5 years agoRemove references to mdsal-model-artifacts 24/75124/2
Robert Varga [Sat, 11 Aug 2018 07:49:24 +0000 (09:49 +0200)]
Remove references to mdsal-model-artifacts

This artifact is going away, migrate to mdsal-artifacts.

Change-Id: Ib70f055d3cfd85aacaa294789f1eb09f01fa637e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump versions by x.(y+1).z for next dev cycle 97/74997/1
Anil Belur [Thu, 9 Aug 2018 12:40:15 +0000 (18:10 +0530)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: Ic377f1c6fcdf2a131bdc679ec4b42dfc5244e27d
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoadd dependency check for qosPolicyId to NeutronNetworkInterface 67/74767/1
Michael Vorburger [Thu, 2 Aug 2018 13:50:47 +0000 (15:50 +0200)]
add dependency check for qosPolicyId to NeutronNetworkInterface

JIRA: NEUTRON-178
Change-Id: I50c668659ad87bc53f370f584408867dc0625f70
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoMerge "suppress warn log if replying 500 just for OptimisticLockFailedException"
Josh Hershberg [Tue, 31 Jul 2018 09:04:45 +0000 (09:04 +0000)]
Merge "suppress warn log if replying 500 just for OptimisticLockFailedException"

5 years agoBump to odlparent 3.1.3 02/74202/2
Stephen Kitt [Wed, 18 Jul 2018 16:06:41 +0000 (18:06 +0200)]
Bump to odlparent 3.1.3

Change-Id: I1e7e61333d8ed6c5535e98129662410761de414f
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoUse moved BindingReflections 85/74385/1
Robert Varga [Tue, 24 Jul 2018 11:06:36 +0000 (13:06 +0200)]
Use moved BindingReflections

BindingReflections are being evacuated from yang-binding, use them
from their new location.

Change-Id: Ib2d132dc43d70e46491b5043595ec77e528a570d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoMerge "Migrate to stringValue()"
Michael Vorburger [Mon, 23 Jul 2018 12:02:05 +0000 (12:02 +0000)]
Merge "Migrate to stringValue()"

5 years agosuppress warn log if replying 500 just for OptimisticLockFailedException 66/73666/3
Michael Vorburger [Mon, 2 Jul 2018 19:19:45 +0000 (21:19 +0200)]
suppress warn log if replying 500 just for OptimisticLockFailedException

Change-Id: Ia311b340e993f5210223f11616a7d1fac70c66ad
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoMigrate to stringValue() 97/74297/2
Robert Varga [Fri, 20 Jul 2018 16:33:33 +0000 (18:33 +0200)]
Migrate to stringValue()

This eliminates the use of char[]-based instantiation and conversion.

Change-Id: Ic9024531f138e52848fd0531c9a4d479b120af86
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoFactor out odl-neutron-model 26/74226/1
Robert Varga [Thu, 19 Jul 2018 10:55:24 +0000 (12:55 +0200)]
Factor out odl-neutron-model

The model is being packaged by two features, create a feature
to hold it.

Change-Id: I48fc29f823bb8f6e004cc207f6813e0e9711e83b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoDepend on minimal mdsal models 30/74130/2
Robert Varga [Tue, 17 Jul 2018 15:24:14 +0000 (17:24 +0200)]
Depend on minimal mdsal models

Rather than pulling all the models available, just pull in the
minimum required.

JIRA: MDSAL-363
Change-Id: Ifebc7fd2253faa36e0b60dbc4bdd6a99df06a50b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>