serviceutils.git
5 years agoBump versions by x.y.(z+1) 02/80202/1
jenkins-releng [Thu, 7 Feb 2019 09:45:05 +0000 (09:45 +0000)]
Bump versions by x.y.(z+1)

Change-Id: Ibd9793d1cb8b408e570f8eb1caa57b319560a8ad
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
5 years agoBump to yangtools-2.0.16 32/79732/1
Robert Varga [Sat, 19 Jan 2019 12:27:20 +0000 (13:27 +0100)]
Bump to yangtools-2.0.16

This aligns with odlparent-3.1.6.

Change-Id: I3f854c59a820de1a8a60c31c6da0b77da0dcd592
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump to odlparent 3.1.6 48/79648/1
Stephen Kitt [Fri, 18 Jan 2019 09:19:23 +0000 (10:19 +0100)]
Bump to odlparent 3.1.6

Change-Id: I9d90e753cd5c4b54ca0267ac98b08d51b6f0c96c
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoBump yangtools to 2.0.15 48/78648/2
Robert Varga [Tue, 11 Dec 2018 13:38:13 +0000 (14:38 +0100)]
Bump yangtools to 2.0.15

This brings in latest fixes.

Change-Id: Ic70bfc4c5c4031bdb68aa587dca7ee64ead096d6
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump to odlparent 3.1.5 47/78947/1
Stephen Kitt [Fri, 21 Dec 2018 10:49:15 +0000 (11:49 +0100)]
Bump to odlparent 3.1.5

Change-Id: I22e3c4720c14e7bef9311403e93f1812f9c47a62
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoBump yangtools to 2.0.13 37/78137/1
Robert Varga [Mon, 26 Nov 2018 08:59:20 +0000 (09:59 +0100)]
Bump yangtools to 2.0.13

This bumps yantools to latest 2.0.x release.

Change-Id: I7afa3399cb698bb0084f88f0ad519d077007e6d8
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump versions by x.y.(z+1) 08/78008/1
jenkins-releng [Tue, 20 Nov 2018 23:48:14 +0000 (23:48 +0000)]
Bump versions by x.y.(z+1)

Change-Id: Ieb1b821c08e9daf47634850b7ccf375811d1905c
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
5 years agoBump to odlparent 3.1.4 and yangtools 2.0.12 63/76863/3
Stephen Kitt [Thu, 11 Oct 2018 09:51:22 +0000 (11:51 +0200)]
Bump to odlparent 3.1.4 and yangtools 2.0.12

Change-Id: Ib4ee3b3b8215672d7353da66ae792d4787b11ee5
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agoBump yangtools-2.0.11 38/76138/1
Robert Varga [Mon, 17 Sep 2018 09:00:17 +0000 (11:00 +0200)]
Bump yangtools-2.0.11

This brinsg in the latest fixes.

Change-Id: Ie4743a0e23747d808d8539b84577c9aad5f6605d
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump versions by x.y.(z+1) 89/75589/1
jenkins-releng [Thu, 30 Aug 2018 16:51:20 +0000 (16:51 +0000)]
Bump versions by x.y.(z+1)

Change-Id: I569298cc235234dfebd37cc70362092006ddd5ac
Signed-off-by: jenkins-releng <jenkins-releng@opendaylight.org>
5 years agoUpdate .gitreview to stable/fluorine 82/74982/1
Anil Belur [Thu, 9 Aug 2018 12:12:25 +0000 (17:42 +0530)]
Update .gitreview to stable/fluorine

Change-Id: Ia3ea4787d4ea6e8b4a1c004fc49b88be1c42fc23
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
5 years agoBump yangtools to 2.0.10 83/74883/1
Robert Varga [Mon, 6 Aug 2018 15:48:00 +0000 (17:48 +0200)]
Bump yangtools to 2.0.10

This fixes an issue with actions, hence we need it in Fluorine.

Change-Id: I33bca3f543a5121f2167198bde1ba82353828ad4
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump yangtools to 2.0.9 72/74572/1
Robert Varga [Fri, 27 Jul 2018 12:07:54 +0000 (14:07 +0200)]
Bump yangtools to 2.0.9

This patch bumps yangtools to latest release.

Change-Id: I443490fb54abc70a54b0fa14c0dbb522cc7d2b01
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoBump to odlparent 3.1.3 05/74205/2
Stephen Kitt [Wed, 18 Jul 2018 16:06:43 +0000 (18:06 +0200)]
Bump to odlparent 3.1.3

Change-Id: Ic91fb87ff8250268a57c5a4c5048170fbebfd902
Signed-off-by: Stephen Kitt <skitt@redhat.com>
5 years agofix minor JavaDoc typos in UpgradeState 02/74402/2
Michael Vorburger [Tue, 24 Jul 2018 14:56:45 +0000 (16:56 +0200)]
fix minor JavaDoc typos in UpgradeState

Change-Id: I3446f02546c62ff2ffce3ca18bd9abdf3ad302ad
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agofix BP gen. XML related issue in projects dep. on serviceutils.upgrade 00/74400/1
Michael Vorburger [Tue, 24 Jul 2018 14:54:11 +0000 (16:54 +0200)]
fix BP gen. XML related issue in projects dep. on serviceutils.upgrade

see genius change I91466c31c0526ff227700f23b48b9db0dfb15f5a
<https://git.opendaylight.org/gerrit/#/c/73678/> comments for full
background.

Change-Id: Icacba88d577a4fc5da61fd490a3c9fee13f7034f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoFix a model typo 17/74217/1
Robert Varga [Wed, 18 Jul 2018 22:26:41 +0000 (00:26 +0200)]
Fix a model typo

Change-Id: I830f39fcde9984b6bd6933360e13bc7422c8809e
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoFix missing upgrade config file 19/73719/1
Vishal Thapar [Wed, 4 Jul 2018 03:32:40 +0000 (09:02 +0530)]
Fix missing upgrade config file

Upgrade config file is not getting published
with srviceutils feautures.

JIRA: SRVUTILS-2
Change-Id: I4beed48ac41a37c52532105489173cd66b75cdd3
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoMove upgrade out of tools 77/73677/3
Vishal Thapar [Tue, 3 Jul 2018 02:27:00 +0000 (07:57 +0530)]
Move upgrade out of tools

Change-Id: Idd3690f23ba6c048689f0d93f767eb62aad40b9e
JIRA: SRVUTILS-2
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoFix yangtools versions 48/73648/1
Robert Varga [Mon, 2 Jul 2018 12:21:03 +0000 (14:21 +0200)]
Fix yangtools versions

This fixes up versions of yangtools.

Change-Id: I9349fe479351bf2c48b0772cc6b973571bebb665
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
5 years agoMigrate UpgradeState information 28/73528/4
Vishal Thapar [Thu, 28 Jun 2018 14:48:06 +0000 (20:18 +0530)]
Migrate UpgradeState information

JIRA: SRVUTILS-2
Change-Id: I22802fbef75d07e984e4fc412cbef31d6b22fbbb
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
5 years agoBump odlparent to 3.1.2 71/73471/1
Michael Vorburger [Wed, 27 Jun 2018 11:03:35 +0000 (13:03 +0200)]
Bump odlparent to 3.1.2

Change-Id: I965bf8d4e60026d40b3b63b06d1345acd2f921dd
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agoremove org.osgi.core dependency from binding-parent 08/73308/4
Michael Vorburger [Thu, 21 Jun 2018 12:28:26 +0000 (14:28 +0200)]
remove org.osgi.core dependency from binding-parent

We should typically avoid for our ODL code to directly us OSGi APIs; we
normally don't need that - therefore it should not be a default
dependency in a parent.

Change-Id: Ie215a3619755b53f85fdad39c5cdb76588f53b8b
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
5 years agorename YANG modules for SRM in serviceutils 53/73453/3
Faseela K [Tue, 26 Jun 2018 16:26:27 +0000 (21:56 +0530)]
rename YANG modules for SRM in serviceutils

rename YANG modules for SRM in serviceutils
which are forked from genius to avoid packaging modules with conflicting names
JIRA: SRVUTILS-1

Change-Id: I395aeea3daac2137641e09dbc595dd5862972388
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoswitch srm/shell from binding to quality parent 07/73307/2
Michael Vorburger [Thu, 21 Jun 2018 12:09:31 +0000 (14:09 +0200)]
switch srm/shell from binding to quality parent

because the YANG models are in srm/api, the shell doesn't need binding.
The (infrautils) quality parent enforces checkstyle, findbugs and
error-prone.

This change also deals with the impacts of these enforced additional
quality controls in the existing code.

Change-Id: I3e9b0692c138f79a6f1d6f5184c34475c6920e25
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoswitch srm/impl from binding to quality parent 06/73306/2
Michael Vorburger [Thu, 21 Jun 2018 11:58:23 +0000 (13:58 +0200)]
switch srm/impl from binding to quality parent

because the YANG models are in srm/api, the impl doesn't need binding.
The (infrautils) quality parent enforces checkstyle, findbugs and
error-prone.

This change also deals with the impacts of these enforced additional
quality controls in the existing code.

Change-Id: Iab2113138e4f80ebf60985e6ab8aee76c58ad525
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoRemove odl-serviceutils-rest feature 17/73317/1
Faseela K [Thu, 21 Jun 2018 15:31:16 +0000 (21:01 +0530)]
Remove odl-serviceutils-rest feature

Change-Id: I3ab1ba46e58079a805ae51b10dd8ac388c4c9a3e
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoMerge "rm un-used xtend-maven-plugin from srm/impl POM"
Faseela K [Thu, 21 Jun 2018 11:45:11 +0000 (11:45 +0000)]
Merge "rm un-used xtend-maven-plugin from srm/impl POM"

6 years agoMerge "add .apt_generated_tests to .gitignore"
Michael Vorburger [Thu, 21 Jun 2018 11:16:58 +0000 (11:16 +0000)]
Merge "add .apt_generated_tests to .gitignore"

6 years agorm un-used xtend-maven-plugin from srm/impl POM 99/73299/1
Michael Vorburger [Thu, 21 Jun 2018 10:54:27 +0000 (12:54 +0200)]
rm un-used xtend-maven-plugin from srm/impl POM

Change-Id: I7f12a1472f588aa6389f5db2266e0ccbc4b7a61c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoadd * <exclusions> to srm-shell POM 98/73298/1
Michael Vorburger [Thu, 21 Jun 2018 10:27:14 +0000 (12:27 +0200)]
add * <exclusions> to srm-shell POM

This avoids the following in target/feature/feature.xml :

  <bundle>mvn:org.fusesource.jansi/jansi/1.17</bundle>
  <bundle>mvn:org.apache.karaf.jaas/org.apache.karaf.jaas.boot/4.1.5</bundle>

The idea being that perhaps this causes some timing issues duirng
feature resolution related to the failing distribution.. just a
suspicion, not proven, as that problem does not locally reproduce.

Change-Id: I71deaffac703266bcb870cf55c8f8c72e73987b8
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoadd .apt_generated_tests to .gitignore 97/73297/1
Michael Vorburger [Thu, 21 Jun 2018 10:17:34 +0000 (12:17 +0200)]
add .apt_generated_tests to .gitignore

This file is generated by the latest Eclipse version.

Change-Id: Ib457587ecffeceaaddbed5dc24f05b1bf6270308
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoFix serviceutils aggregator version 60/73260/4
Faseela K [Wed, 20 Jun 2018 14:01:34 +0000 (19:31 +0530)]
Fix serviceutils aggregator version

Change-Id: I2803f35136e9f19727f6057a30ce5064f33fd8e4
Signed-off-by: Faseela K <faseela.k@ericsson.com>
Signed-off-by: Vishal Thapar <vthapar@redhat.com>
6 years agoSetting up new serviceutils features 98/73198/5
Faseela K [Tue, 19 Jun 2018 15:17:36 +0000 (20:47 +0530)]
Setting up new serviceutils features

- Added new features for use by applications
- Refactored the migrated code to include the new package name

Change-Id: I27728f1ec6d30f0b8ce412028eccb59fd0e38284
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoAdd .gitreview 88/73188/1
Thanh Ha [Tue, 19 Jun 2018 13:44:58 +0000 (09:44 -0400)]
Add .gitreview

Change-Id: I2bc7328c9dfda6fbe32947c980e8b991267740d7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoMerge remote-tracking branch 'genius/master'
Thanh Ha [Tue, 19 Jun 2018 13:39:44 +0000 (09:39 -0400)]
Merge remote-tracking branch 'genius/master'

Change-Id: If0d0fc38f472b584a82d3e47220275c041e39773
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoMove to srm
Thanh Ha [Tue, 19 Jun 2018 13:39:11 +0000 (09:39 -0400)]
Move to srm

Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoMove to tools
Thanh Ha [Tue, 19 Jun 2018 13:37:04 +0000 (09:37 -0400)]
Move to tools

Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoRemove Genius version properties
Stephen Kitt [Thu, 7 Jun 2018 11:38:05 +0000 (13:38 +0200)]
Remove Genius version properties

This avoids the temptation of using them for parents.

Change-Id: I1753fa760a46fd14da5c907a7aa0bfbb2f08d19a
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoFixup Augmentable and Identifiable methods changing
Stephen Kitt [Thu, 31 May 2018 13:59:16 +0000 (15:59 +0200)]
Fixup Augmentable and Identifiable methods changing

This is a fixup of the change in binding codegen, adjusting:
- getKey() -> key()
- setKey() -> withKey()
- getAugmentation() -> augmentation()

Change-Id: I8e384b6d0f6c6bd81e96d71d3cbb81c89e4954a1
JIRA: TSC-101
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
6 years agoremove <version>${genius.version} from GAV
Michael Vorburger [Thu, 24 May 2018 12:26:52 +0000 (14:26 +0200)]
remove <version>${genius.version} from GAV

because this is inherited from <parent> and avoid this:

[WARNING] Some problems were encountered while building the effective model for org.opendaylight.genius:interfacemanager-shell:bundle:0.4.2-SNAPSHOT
[WARNING] 'version' contains an expression but should be a constant. @ org.opendaylight.genius:interfacemanager-shell:${genius.version}, /w/workspace/integration-multipatch-test-fluorine/patch_tester/genius/interfacemanager/interfacemanager-shell/pom.xml, line 22, column 14

Change-Id: Ibb8b91b06ef63fb8292e02503b4c711069650e1b
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoTSC-99 Adjust to RPC method signature update
Faseela K [Mon, 30 Apr 2018 07:27:41 +0000 (12:57 +0530)]
TSC-99 Adjust to RPC method signature update

Change-Id: I1307120c6400e225a3e5e3e2344648ea5c7c5396
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoTSC-99 Adjust to RPC method signature update
Faseela K [Mon, 30 Apr 2018 07:27:41 +0000 (12:57 +0530)]
TSC-99 Adjust to RPC method signature update

Change-Id: I1307120c6400e225a3e5e3e2344648ea5c7c5396
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoremove un-used pax-cdi-api from tools-api
Michael Vorburger [Thu, 12 Apr 2018 17:05:39 +0000 (19:05 +0200)]
remove un-used pax-cdi-api from tools-api

Change-Id: I72799ecfbf8cfca2e394abf4030df1f6fdbeec10
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoreplace findbugs' @SuppressWarnings by @SuppressFBWarnings
Michael Vorburger [Thu, 19 Apr 2018 12:59:20 +0000 (14:59 +0200)]
replace findbugs' @SuppressWarnings by @SuppressFBWarnings

Change-Id: Iebe8b04c1409a769e91ea545abcbc97e987b7794
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoMake new Genius' listeners testable
David Suarez [Sat, 21 Apr 2018 08:17:44 +0000 (10:17 +0200)]
Make new Genius' listeners testable

Make new Genius' listeners testable old ones by implementing the
ChainableDataTreeChangeListener interface.

Change-Id: Ia321ad95956eba717afb3de56c4ef4afb14e771a
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
6 years agoMove ChainableDataTreeListener to tools-api
David Suarez [Thu, 19 Apr 2018 19:17:02 +0000 (21:17 +0200)]
Move ChainableDataTreeListener to tools-api

Change-Id: I9401d9a623a0ac141d0f6d03bbf9ce2810da1462
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
6 years agoincrease code quality in tools api/testutils by using infrautils' parent
Michael Vorburger [Fri, 6 Apr 2018 19:28:51 +0000 (21:28 +0200)]
increase code quality in tools api/testutils by using infrautils' parent

Change-Id: I7485ce352b452cec2db19c5e726c9bb51438846c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoadd l2gw and dhcp for service recovery
K.V Suneelu Verma [Wed, 11 Apr 2018 12:07:49 +0000 (17:37 +0530)]
add l2gw and dhcp for service recovery

Change-Id: Ia01f6c99016573802efce726396856dda2326138
Signed-off-by: K.V Suneelu Verma <k.v.suneelu.verma@ericsson.com>
6 years agoBump to odlparent 3.1.0 and yangtools 2.0.3
Stephen Kitt [Thu, 22 Mar 2018 17:24:32 +0000 (18:24 +0100)]
Bump to odlparent 3.1.0 and yangtools 2.0.3

Change-Id: If99df255661c177c6424ee7eb7f77fdb00522d63
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump to odlparent 3.1.0 and yangtools 2.0.3
Stephen Kitt [Thu, 22 Mar 2018 17:24:32 +0000 (18:24 +0100)]
Bump to odlparent 3.1.0 and yangtools 2.0.3

Change-Id: If99df255661c177c6424ee7eb7f77fdb00522d63
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoremove un-used org.osgi.core from tools-api
Michael Vorburger [Thu, 12 Apr 2018 17:00:16 +0000 (19:00 +0200)]
remove un-used org.osgi.core from tools-api

Change-Id: I34b353fedafe908baacd536c58a26670e2f09a4f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agowrong feature dependencies in newly added features.
Faseela K [Thu, 12 Apr 2018 15:23:30 +0000 (20:53 +0530)]
wrong feature dependencies in newly added features.

Change-Id: Ie592de3ee8f6ba01c86e7d411dad8d5c411cf59c
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agowrong feature dependencies in newly added features.
Faseela K [Thu, 12 Apr 2018 15:23:30 +0000 (20:53 +0530)]
wrong feature dependencies in newly added features.

Change-Id: Ie592de3ee8f6ba01c86e7d411dad8d5c411cf59c
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agomake DataStoreMetrics package local instead of a publicly supported API
Michael Vorburger [Fri, 6 Apr 2018 17:22:11 +0000 (19:22 +0200)]
make DataStoreMetrics package local instead of a publicly supported API

and, exceptionally, keep it copy/pasted into the old (mdsalutil) and new
place (genius.tools); this IMHO is, exceptionally, better than keeping
something public - hopefully the duplicate in the old package will be
removed soon-ish, anyway.

Change-Id: I997dbb6eeb702f010eaee1becea1a43b57d950b3
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoremove test-jar from new tools-api artifact
Michael Vorburger [Fri, 6 Apr 2018 17:43:36 +0000 (19:43 +0200)]
remove test-jar from new tools-api artifact

This is not needed here, and before anyone creates a dependency to the
new (empty) attached test artifact by mistake, should be removed to
avoid any confusion.

A test-jar is only required if we need to publish src/test on Nexus.
This project does not even have a src/test; and even if it did, we would
only ever have tests for tools-api in it, not test utilities which other
projects would use - because we have the tools-testutils for that,
instead.

Change-Id: Ie1a3152386fee538eb812d52985a3ac17db8520b
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoMigrate listener's methods
David Suarez [Fri, 6 Apr 2018 22:55:46 +0000 (00:55 +0200)]
Migrate listener's methods

Migrate add, update and remove methods to use the new ones.

Change-Id: Ia53baaa5a2333168f2bd6983fda616fefb885b7d
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
6 years agoMoving datastore related utils from mdsalutil to new "genius.tools"
Faseela K [Wed, 21 Mar 2018 12:43:48 +0000 (18:13 +0530)]
Moving datastore related utils from mdsalutil to new "genius.tools"

There are several requirements coming in where users are asking for a
simple feature with only datastore related utils. Currently all the utils
are parked in mdsalutil which has even openflowplugin related utils, and is embedded
in a heavier genius feature. This patch aims to move of these heavily used utils
to a new module, and add new features to expose the same.

Change-Id: I7d59273851c51b02fe43afcb1525c94ced1c5088
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoMoving datastore related utils from mdsalutil to new "genius.tools"
Faseela K [Wed, 21 Mar 2018 12:43:48 +0000 (18:13 +0530)]
Moving datastore related utils from mdsalutil to new "genius.tools"

There are several requirements coming in where users are asking for a
simple feature with only datastore related utils. Currently all the utils
are parked in mdsalutil which has even openflowplugin related utils, and is embedded
in a heavier genius feature. This patch aims to move of these heavily used utils
to a new module, and add new features to expose the same.

Change-Id: I7d59273851c51b02fe43afcb1525c94ced1c5088
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoService-Recovery: support for elan-interface entity type
eswanit [Fri, 16 Mar 2018 09:05:10 +0000 (14:35 +0530)]
Service-Recovery: support for elan-interface entity type
instead of elan-instance entity type

Change-Id: I723bd2ac707bf8b34d869b9b7abfdea4b616c47a
Signed-off-by: eswanit <swati.udhavrao.niture@ericsson.com>
6 years agoClean up lambdas
Stephen Kitt [Mon, 12 Mar 2018 16:39:57 +0000 (17:39 +0100)]
Clean up lambdas

Use method references and lambda expressions where appropriate.

Change-Id: Id329f3a6abc9d23678e6b5e4ce554778fc590c00
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoMake recoverableListenerMap maintain a queue of recoverableListeners.
Faseela K [Wed, 14 Mar 2018 16:42:35 +0000 (22:12 +0530)]
Make recoverableListenerMap maintain a queue of recoverableListeners.

This was a review comment from Michael which was not addressed on the
original patch

Change-Id: I14b7d9f4a92a4439cae40b4c4b23b7972f5468b4
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoFix logging issues in SRM
sathwik boggarapu [Wed, 14 Mar 2018 12:41:04 +0000 (18:11 +0530)]
Fix logging issues in SRM

Change-Id: I89a5ff35903202d549a91a510f323856d78b1542
Signed-off-by: sathwik boggarapu <b.sathwik@ericsson.com>
6 years agoService-Recovery: Support needed for ACL feature introduced in SRM
Shashidhar Raja [Fri, 2 Mar 2018 06:28:17 +0000 (11:58 +0530)]
Service-Recovery: Support needed for ACL feature introduced in SRM
framework.

(a) srm-types.yang updated with 'netvirt-acl', 'netvirt-acl-interface' and
'netvirt-acl-instance' definitions to support ACL service and instance
recovery operations. 'netvirt-acl-interface' and
'netvirt-acl-instance' are the two instance recovery options supported.
(b) SrmRpcUtils.java and SrmCliUtils.java updated to add required ACL definitions
to the internal maps maintained to support recovery operations.

Change-Id: I4c91cd52e7595b92b494356dfa715dbdf15da3c5
Signed-off-by: Shashidhar Raja <shashidharr@altencalsoftlabs.com>
6 years agoGenius Specific Changes to support QoS with SRM
Naveen Kumar Verma [Wed, 28 Feb 2018 09:15:39 +0000 (14:45 +0530)]
Genius Specific Changes to support QoS with SRM

Adding QOS option as recoverable service & Qos policy as recoverable
instance.

Change-Id: I0e123bec31f663d8b6673b37c5858fbcc85b8b46
Signed-off-by: Naveen Kumar Verma <naveen.kumar.verma@ericsson.com>
6 years agoEnable findbugs in commons binding-parent
Tom Pantelis [Fri, 23 Feb 2018 03:08:16 +0000 (22:08 -0500)]
Enable findbugs in commons binding-parent

Change-Id: I6b5f9341e564487e4f29a817e3e1471afa461730
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoSRM refactoring
Faseela K [Fri, 23 Feb 2018 12:27:19 +0000 (17:57 +0530)]
SRM refactoring

Realized that some code that went in interface-manager for service
recovery can be reused across modules, and hence moving some of those
common utilities to srm.

Change-Id: I65dbb9b27bddbe11f7ca4a30a3a27838eef8cefc
Signed-off-by: Faseela K <faseela.k@ericsson.com>
6 years agoFix findbugs violations in srm-shell
Tom Pantelis [Thu, 22 Feb 2018 23:00:47 +0000 (18:00 -0500)]
Fix findbugs violations in srm-shell

- Format string should use %n rather than \n
- Consider using Locale parameterized version of invoked method

Change-Id: Id3be0c9b70c104ec0a2214e28b347add451c873a
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
6 years agoBump versions by x.(y+1).z for next dev cycle
Anil Belur [Mon, 26 Feb 2018 07:41:42 +0000 (17:41 +1000)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: I87a5d8d5d22dc66190d3af950bd6f802004fc3cf
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 years agoAdjust for odlparent 3 / yangtools 2
Stephen Kitt [Thu, 14 Dec 2017 16:30:19 +0000 (17:30 +0100)]
Adjust for odlparent 3 / yangtools 2

Change-Id: I737d07fa781c7bdbc1fe069a6684f87cb459bafa
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoAdjust to odlparent 3 Checkstyle settings
Stephen Kitt [Thu, 14 Dec 2017 16:08:50 +0000 (17:08 +0100)]
Adjust to odlparent 3 Checkstyle settings

Change-Id: I2a63188743ccddc74b4d87615efbb9fdf9cd9554
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoEnforce findbugs
David Suarez [Fri, 10 Nov 2017 18:53:24 +0000 (19:53 +0100)]
Enforce findbugs

Change-Id: I38f169cb53790414488b5f67123b581c6397f07b
Signed-off-by: David Suarez <david.suarez.fuentes@gmail.com>
6 years agoDrop Karaf shell specifiers
Stephen Kitt [Wed, 8 Nov 2017 14:58:13 +0000 (15:58 +0100)]
Drop Karaf shell specifiers

We no longer need to support Karaf 3, and the karaf.shell
"[3.0.0,4.1)" declarations prevent us from upgrading to Karaf 4.1
(which is coming with odlparent 3).

Change-Id: If39706d860e67dabd33ce4fc84d046075eac9a33
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoSRM: Add implementation code
Vishal Thapar [Thu, 27 Jul 2017 21:41:05 +0000 (03:11 +0530)]
SRM: Add implementation code

This adds the following:
1. RPC Implementation in impl and required util class
2. CLI for SRM as mentioned in spec.
3. Debug CLI to clear out SRM operDS.

These cover Work Items 3 and 4 of SRM Spec.

Change-Id: I04553678580ff53217c7757594cdd836aa8abfae
Signed-off-by: Vishal Thapar <vishal.thapar@ericsson.com>
6 years agoBump odlparent 2.0.4 to 2.0.5
Stephen Kitt [Wed, 27 Sep 2017 13:36:15 +0000 (15:36 +0200)]
Bump odlparent 2.0.4 to 2.0.5

Change-Id: Ib8a87ed7dc7550082fde3abab9891b2ee105eb1f
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoCleanup config-parent usage
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>
6 years agoInitial bundle setup for SRM
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>