snmp4sdn.git
3 years agoAdd INFO.yaml for snmp4sdn 66/91266/1 master
Anil Belur [Sun, 12 Jul 2020 02:39:02 +0000 (12:39 +1000)]
Add INFO.yaml for snmp4sdn

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

5 years agoMigrate snmp4sdn docs to project repo 98/77398/1 release/neon
Thanh Ha [Thu, 1 Nov 2018 00:31:35 +0000 (20:31 -0400)]
Migrate snmp4sdn docs to project repo

Issue: DOCS-69
Change-Id: I04c6cf1be631b97a4422c2a15174f76386dcc4a2
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
5 years agoBootstrap snmp4sdn documentation 97/77397/1
Thanh Ha [Thu, 1 Nov 2018 00:29:10 +0000 (20:29 -0400)]
Bootstrap snmp4sdn documentation

Issue: DOCS-69
Change-Id: I17207d1203e42d9f7453dd9ee3448b4fafc488ee
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
5 years agoFix for deprecated odl-mdsal-model, and fix for yang converted java source code 87/75187/6
ylhsieh [Tue, 14 Aug 2018 09:35:19 +0000 (17:35 +0800)]
Fix for deprecated odl-mdsal-model, and fix for yang converted java source code

1) Due to org.opendaylight.mdsal.model/odl-mdsal-models is removed,
   which is split up to smaller features,
   snmp4sdn used dependencies are affected so we fix them

2) There seems to be some changes in recent conversion of yang to java source code:
a) Future is changed to ListenableFuture
b) For none input in yang rpc, now it is a Class, not none

Change-Id: Idb1ffda1cc787442efb6100006223bbf1e48aacd
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
6 years agoBump to odlparent 3.1.0 and yangtools 2.0.3 80/69880/2
Stephen Kitt [Thu, 22 Mar 2018 17:24:28 +0000 (18:24 +0100)]
Bump to odlparent 3.1.0 and yangtools 2.0.3

Change-Id: I1983134a75a9e758eedca63a448faa390edee921
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoFix plugin-shell error 35/70135/1
ylhsieh [Fri, 2 Mar 2018 03:11:50 +0000 (11:11 +0800)]
Fix plugin-shell error

Fixed:
1) blueprint.xml was misplaced
2) bundle name typo

Change-Id: I4e11ce69a414b8cd981e38a00f96814bde1bbf77
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
(cherry picked from commit db0ab7a12ef59e24fd0d63f1dc21fc60e7fe4c7a)

6 years agoRemove use of deprecated Rpcs 37/69937/1
Tom Pantelis [Fri, 23 Mar 2018 02:27:56 +0000 (22:27 -0400)]
Remove use of deprecated Rpcs

Rpcs has been deprecated for quite some time and will be
removed so convert to RpcResultBuilder.

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

Change-Id: I5856713fb4ece2b151ba29639d0b9dec4724efee
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
6 years agoBump to yangtools-2.0.0 and odlparent-3.0.2 27/66627/4
Tom Pantelis [Tue, 19 Dec 2017 22:23:18 +0000 (17:23 -0500)]
Bump to yangtools-2.0.0 and odlparent-3.0.2

Change-Id: Ib134df07b4fafcb292ed5aff33dd359fce440fea
Signed-off-by: Tom Pantelis <tompantelis@gmail.com>
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
6 years agoAdd felix.metatype to odl-snmp4sdn feature 90/65190/1
Michael Vorburger [Mon, 6 Nov 2017 17:45:46 +0000 (18:45 +0100)]
Add felix.metatype to odl-snmp4sdn feature

because it's being removed in AAA in c/65189
(see Ibfac73be66acd03a66abf1161098c5382b96bc6c)
but that change breaks snmp4sdn, because it seemed
to rely on felix.metatype.

This is self counter proposal to c/65189 which
would be a cleaner solution, but which has identified
a MUCH bigger underlying problem (snmp4sdn relies on an
OLD artifact from controller from a previous release?!)

Change-Id: Ifc4d25cb6386b89e97e6aae2650ae5e23b25be1f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
6 years agoBump yangtools dependency to 1.2.0 33/63833/2
Thanh Ha [Fri, 29 Sep 2017 03:57:18 +0000 (23:57 -0400)]
Bump yangtools dependency to 1.2.0

Issue: RELENG-485
Change-Id: I30114399afcd0474e6c0fcb186b912359fa923e8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoBump odlparent 2.0.4 to 2.0.5 38/63638/1
Stephen Kitt [Wed, 27 Sep 2017 13:49:38 +0000 (15:49 +0200)]
Bump odlparent 2.0.4 to 2.0.5

Change-Id: I99bd507badd3c9673ec8960db2f5f90052ba6b50
Signed-off-by: Stephen Kitt <skitt@redhat.com>
6 years agoBump versions by x.(y+1).z for next dev cycle 02/61702/2
Thanh Ha [Mon, 14 Aug 2017 17:39:52 +0000 (13:39 -0400)]
Bump versions by x.(y+1).z for next dev cycle

Also bump odlparent to 2.0.4.

Change-Id: Ib2ff864de3483cba3d49dd67e7f236d1b7972395
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoFix in distribution-karaf pom, dependency feature name from features4-snmp4sdn to... 68/61468/1
Yi-Ling Hsieh [Thu, 10 Aug 2017 06:03:02 +0000 (14:03 +0800)]
Fix in distribution-karaf pom, dependency feature name from features4-snmp4sdn to features-snmp4sdn

Change-Id: If0cf855fe021155ecd493b109e4e73bb07ef00fc
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
6 years agoRemove karaf3 features and rename features4 to features 23/60923/2
ylhsieh [Mon, 31 Jul 2017 03:16:55 +0000 (11:16 +0800)]
Remove karaf3 features and rename features4 to features

Change-Id: I02a694fd47db2211da44b4ba129ed2184a7068f9
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
6 years agoRemove plugin-shell bundle's karaf.shell.version to follow odlparent 51/60851/1
ylhsieh [Fri, 28 Jul 2017 05:41:48 +0000 (13:41 +0800)]
Remove plugin-shell bundle's karaf.shell.version to follow odlparent

Change-Id: Ib8a53d0a06e1e7b98f1aee9d3c2ce55f995f50f0
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
6 years agoBuild local Karaf 4 distribution 04/60804/2
ylhsieh [Thu, 27 Jul 2017 08:14:19 +0000 (16:14 +0800)]
Build local Karaf 4 distribution

Change-Id: If24842a506fc366f640d557cc34f38cd6078348c
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
6 years agoUpdate to odlparent 2.0.2 35/60735/3
Thanh Ha [Tue, 25 Jul 2017 14:54:52 +0000 (10:54 -0400)]
Update to odlparent 2.0.2

Nitrogen projects should be using odlparent 2.0.2.

Change-Id: I145534c935f1fe2872dff94281a768ac39342204
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
6 years agoUse odlparent 2.0.0 18/60718/1
ylhsieh [Tue, 25 Jul 2017 08:11:28 +0000 (16:11 +0800)]
Use odlparent 2.0.0

TODO: remove Karaf 3 features code, and rename features4 to features

Change-Id: I7eb946ae4d02d97298a634fe57322f18c704b243
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
6 years agoFix for snmp4sdn Karaf 4 migration (2nd fix) 55/60555/9
ylhsieh [Wed, 19 Jul 2017 09:16:01 +0000 (17:16 +0800)]
Fix for snmp4sdn Karaf 4 migration (2nd fix)

(1) use odlparent 1.9.0
we also apply gerrit #58881 to this gerrit

(2) CommandInterpreter and CommandProvider is provided by org.eclipse.osgi library,
but they are removed in this library now,
so workaround fix them in snmp4sdn.

(3) disable Karaf 3 features
Since its SingleFeatureTest fails and ODL is migrating to Karaf 4,
so we disable Karaf 3 features

Change-Id: I191b852098f6b8dfc3c428d8c1a6837c4243a6ce
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
6 years agoFix for snmp4sdn Karaf 4 migration 53/60553/1
ylhsieh [Wed, 19 Jul 2017 07:50:35 +0000 (15:50 +0800)]
Fix for snmp4sdn Karaf 4 migration

Change-Id: I9b4bc5e32fa80971b5d95517d71814a30e949475
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
7 years agoBug 7640: snmp4sdn Karaf 4 migration 47/55047/3
ylhsieh [Fri, 14 Apr 2017 06:42:17 +0000 (14:42 +0800)]
Bug 7640: snmp4sdn Karaf 4 migration

snmp4sdn Karaf features are migrated as https://wiki.opendaylight.org/view/Karaf_4_migration

Change-Id: I8f5dd930ec9dc98d544f21796d4d199719180f5e
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
7 years agoBump versions by x.(y+1).z for next dev cycle 23/54723/1
Anil Belur [Tue, 11 Apr 2017 01:45:56 +0000 (11:45 +1000)]
Bump versions by x.(y+1).z for next dev cycle

Change-Id: Ib74bf3044482bc48fad3d822ae388fe4dd696f32
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
7 years agoClean up commsn/snmp4sdn 13/52013/1
Robert Varga [Fri, 17 Feb 2017 19:55:51 +0000 (20:55 +0100)]
Clean up commsn/snmp4sdn

A ton of declarations are not used anywhere or are already defined
in odlparent. Remove them.

Also move dependency declearation is dependencyManagement so
the version declarations provided do not leak to all child pom.xmls.

Change-Id: I81ee45765835d22b43d4ce936f5f86649a7fff28
Signed-off-by: Robert Varga <nite@hq.sk>
7 years agoRemove non-needed org.eclipse.tycho's osgi (but a lot left) 96/51596/1
Michael Vorburger [Thu, 9 Feb 2017 01:28:14 +0000 (02:28 +0100)]
Remove non-needed org.eclipse.tycho's osgi (but a lot left)

see https://git.opendaylight.org/gerrit/#/c/51520/
and https://git.opendaylight.org/gerrit/#/q/topic:tycho

I'll like to block use of dependency tycho in odlparent ASAP.

This project has quite a lot of uses of org.eclipse.tycho
related to console commands... could we ask you if you would
mind to change that to use the Karaf Console API instead?

your poject (SNMP4SDN) is the only one in ODL still using
this API (and in openflowplugin there is 1 use like this).

Change-Id: Ia08730b7c1cd99c724dfd91c4c2b15c94dad5b96
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoReplace mockito-all by mockito-core (see Bug 7662) 84/50884/2
Michael Vorburger [Mon, 23 Jan 2017 18:58:43 +0000 (19:58 +0100)]
Replace mockito-all by mockito-core (see Bug 7662)

Change-Id: I40ba197b98a03a9ef7a6684d2ec8f901301c295a
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoRemove bad manifestLocation from maven-bundle-plugin 43/51243/1
Michael Vorburger [Tue, 31 Jan 2017 13:30:52 +0000 (14:30 +0100)]
Remove bad manifestLocation from maven-bundle-plugin

Change-Id: If83659f8f29ce77404fa20e540bc28ffae32778c
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoFix Carbon dependency imports 49/50349/2
Robert Varga [Thu, 12 Jan 2017 11:03:13 +0000 (12:03 +0100)]
Fix Carbon dependency imports

Adjust imports of ietf-topology and flow-service models
to point to Carbon versions.

Change-Id: I44a71cd5ceb1e4120424fc9154105fcf94f43706
Signed-off-by: Robert Varga <rovarga@cisco.com>
7 years agoRemove unneeded imports 45/50345/3
Robert Varga [Thu, 12 Jan 2017 10:43:08 +0000 (11:43 +0100)]
Remove unneeded imports

Eliminate unneeded imports of yang-common and model
supports, as these are set up from model-parent. Also
remove mdsal.version overrides, so it gets picked up
from its central location in commons/snmp4sdn.

Change-Id: I0ddac755f57c810b9745a82f2324fe634fc748b5
Signed-off-by: Robert Varga <rovarga@cisco.com>
7 years agoPush edge update via MD-SAL (patches from stable/boron branch) 03/50003/4
ylhsieh [Wed, 4 Jan 2017 08:41:06 +0000 (16:41 +0800)]
Push edge update via MD-SAL (patches from stable/boron branch)

For the gerrits for stable/boron, for edge update via MD-SAL,
during 2016-08-12 ~ 2017-01-04, altogether in this gerrit.
Also small fix for dependency to current Carbon.

Change-Id: I68e47b5d00e32723cbfc67aaf78a229f68118f2d
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
7 years agoExclude in log4j-over-slf4j et al 24/49724/1
Michael Vorburger [Thu, 22 Dec 2016 01:35:26 +0000 (02:35 +0100)]
Exclude in log4j-over-slf4j et al

to attempt fixing weird problem:
java.lang.NoClassDefFoundError: Could not initialize class
org.opendaylight.odlparent.featuretest.SingleFeatureTest

Change-Id: Iea029bd5111dd62d603537aadd8b118dc2ed2551
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
7 years agoMerge "BUG-6981: remove commons.opendaylight.version"
Yi-Ling Hsieh [Fri, 4 Nov 2016 02:50:33 +0000 (02:50 +0000)]
Merge "BUG-6981: remove commons.opendaylight.version"

7 years agoBug 6278: Switch to use odlparent's karaf-parent 55/47155/1
Ryan Goulding [Wed, 19 Oct 2016 17:42:06 +0000 (13:42 -0400)]
Bug 6278: Switch to use odlparent's karaf-parent

Change-Id: I1085b66254987761c605cadf44905200e3ab03ce
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
7 years agoBUG-6981: remove commons.opendaylight.version 12/47112/1
Stephen Kitt [Wed, 19 Oct 2016 08:01:52 +0000 (10:01 +0200)]
BUG-6981: remove commons.opendaylight.version

commons.opendaylight.version isn't used anywhere, remove it.

Change-Id: I8466775f064591fc26ceb79cf688815fd8ddf1a8
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoUse upstream expect4j 35/43235/3
Stephen Kitt [Fri, 5 Aug 2016 13:49:30 +0000 (15:49 +0200)]
Use upstream expect4j

The third-party expect4j doesn't include any snmp4sdn-specific
changes, so it can be replaced with the upstream expect4j. This also
simplifies the OSGi bundle somewhat.

Change-Id: I80952ee3fce5e974fc760eb9709f7e97cf76c34c
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoBump versions by 0.1.0 for next dev cycle 44/43444/1
Thanh Ha [Mon, 8 Aug 2016 21:50:21 +0000 (17:50 -0400)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I8ffb5c44c52b32b50b79e8f70dae56edf2f46860
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
7 years agoFix feature odl-snmp4sdn-snmp4sdn install failure (packages uses conflict with sal's) 44/43044/2
ylhsieh [Wed, 3 Aug 2016 13:42:50 +0000 (21:42 +0800)]
Fix feature odl-snmp4sdn-snmp4sdn install failure (packages uses conflict with sal's)

It includes two fixes:
1) The error message "Package uses conflict: Import-Package: org.opendaylight.controller.sal.core; version="[0.7.0,1.0.0)"", is due to:
   sal version 0.7 uses org.apache.felix.dm (artifact org.apache.felix.dependencymanager) of version 3.1,
   and org.apache.felix.dm is also used in snmp4sdn plugin, but snmp4sdn's pom.xml did not assign the version of org.apache.felix.dependencymanager
   so by default another newer version is adopted, then cause the conflict error.
2) some sal required bundles needs to be listed in the features.xml, otherwise will suffer failure such as "Missing Constraint: Import-Package..."
   (they were not listed and nothing goes wrong, however now need to add)

Change-Id: Ic65a7ab4fdd21aa9f123c2bb7a037376e42c51f7
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
7 years agoUse karaf.shell instead of felix.gogo 26/41026/3
Stephen Kitt [Wed, 29 Jun 2016 14:46:00 +0000 (16:46 +0200)]
Use karaf.shell instead of felix.gogo

felix.gogo is now obsolete.

Change-Id: I2d85f3a390460642e98f11d8f1c96d95038f5397
Signed-off-by: Stephen Kitt <skitt@redhat.com>
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
7 years agoClean up POMs 05/41205/3
Stephen Kitt [Fri, 1 Jul 2016 10:53:27 +0000 (12:53 +0200)]
Clean up POMs

A large number of dependencies are obsolete; this patch removes them.

Change-Id: Idbc55f41182a86ea3d76caa3ab7d3dbcc4666975
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoMigrate md-model to binding-parent 29/42629/2
Stephen Kitt [Wed, 27 Jul 2016 11:33:16 +0000 (13:33 +0200)]
Migrate md-model to binding-parent

This allows most of the POM to be deleted, and means code is generated
in target rather than src (which helps with Javadoc generation on
systems with Graphviz installed). It also means md-model will benefit
from any future improvements to binding-parent automatically.

Change-Id: I0be411b9875884b3333843969bc90a95175054dc
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoMerge "Upgrade DOM4J 1.6.1 -> 2.0.0"
Yi-Ling Hsieh [Mon, 1 Aug 2016 03:51:07 +0000 (03:51 +0000)]
Merge "Upgrade DOM4J 1.6.1 -> 2.0.0"

7 years agoMerge "Remove unnecessary karaf.version"
Yi-Ling Hsieh [Mon, 1 Aug 2016 03:31:06 +0000 (03:31 +0000)]
Merge "Remove unnecessary karaf.version"

7 years agoMerge "Upgrade ietf-{inet,yang}-types to 2013-07-15"
Yi-Ling Hsieh [Mon, 11 Jul 2016 02:03:58 +0000 (02:03 +0000)]
Merge "Upgrade ietf-{inet,yang}-types to 2013-07-15"

7 years agoMerge "Remove unnecessary projectinfo"
Yi-Ling Hsieh [Mon, 4 Jul 2016 04:26:10 +0000 (04:26 +0000)]
Merge "Remove unnecessary projectinfo"

7 years agoRemove unnecessary projectinfo 59/41259/1
An Ha [Mon, 4 Jul 2016 03:45:24 +0000 (23:45 -0400)]
Remove unnecessary projectinfo

It is inherited by odlparent.

Change-Id: I8078b02dc155b60bbb1bf4bb3a37686c97381870
Signed-off-by: An Ha <zero579911@gmail.com>
7 years agoRemove unnecessary failsafe.version 58/41258/1
An Ha [Mon, 4 Jul 2016 03:39:39 +0000 (23:39 -0400)]
Remove unnecessary failsafe.version

It is inherited by odlparent.

Change-Id: I910cf96b2a38706673deea1d6b208196a3855bde
Signed-off-by: An Ha <zero579911@gmail.com>
7 years agoRemove unnecessary karaf.version 55/41255/1
An Ha [Mon, 4 Jul 2016 02:49:17 +0000 (22:49 -0400)]
Remove unnecessary karaf.version

It is inherited by odlparent

Change-Id: I39a2bd6d1790424d20e16aa1ffdd1a26c5cd18e1
Signed-off-by: An Ha <zero579911@gmail.com>
7 years agoUpgrade DOM4J 1.6.1 -> 2.0.0 97/41197/1
Stephen Kitt [Fri, 1 Jul 2016 07:40:26 +0000 (09:40 +0200)]
Upgrade DOM4J 1.6.1 -> 2.0.0

We don't have a source JAR for DOM4J 1.6.1; there is one available for
version 2.0.0, and it seems appropriate to upgrade anyway. Apache
ServiceMix doesn't cover this so we wrap it ourselves.

Change-Id: Ic619bb9e477f902b425a5980bd38730447bbc01b
Signed-off-by: Stephen Kitt <skitt@redhat.com>
7 years agoUpgrade ietf-{inet,yang}-types to 2013-07-15 66/41066/1
Lorand Jakab [Wed, 29 Jun 2016 21:17:49 +0000 (16:17 -0500)]
Upgrade ietf-{inet,yang}-types to 2013-07-15

Change-Id: Ice730ba38a7d6259d60148abc39ead7aa7ee4d82
Signed-off-by: Lorand Jakab <lojakab@cisco.com>
8 years agoUse https to connect ODL Nexus 67/38467/1
Thanh Ha [Thu, 5 May 2016 19:56:57 +0000 (15:56 -0400)]
Use https to connect ODL Nexus

Change-Id: Id6bc61e15fe28ea6ecd3b06bba711063bddf86c5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoRemove unnecessary version properties 81/35481/5
Stephen Kitt [Fri, 26 Feb 2016 17:49:33 +0000 (18:49 +0100)]
Remove unnecessary version properties

A number of dependencies are handled by odlparent's dependency
management, so rely on that instead of properties (which are also
provided by odlparent anyway).

Change-Id: I6113fc06870fe6e297da980a012e155e7af35632
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoDerive karaf distribution pom from karaf-parent 83/38083/1
Tom Pantelis [Mon, 25 Apr 2016 19:32:14 +0000 (15:32 -0400)]
Derive karaf distribution pom from karaf-parent

This picks up the recent changes to the karaf distro from a common
place.

Change-Id: Ib881128a2d2e15d7976b896fe916a6d891fc529b
Signed-off-by: Tom Pantelis <tpanteli@brocade.com>
8 years agoMerge "Remove unused Jersey and JAXRS dependencies"
Yi-Ling Hsieh [Fri, 22 Apr 2016 01:59:32 +0000 (01:59 +0000)]
Merge "Remove unused Jersey and JAXRS dependencies"

8 years agoRemove unused Jersey and JAXRS dependencies 71/37671/1
Ryan Goulding [Fri, 15 Apr 2016 14:14:32 +0000 (10:14 -0400)]
Remove unused Jersey and JAXRS dependencies

After performing "mvn dependency:analyze" I discovered Jersey and JAXRS
dependencies were Declared but unused.  I have removed these deps as it
will make cross-project upgrade of Jersey/JAXRS easier.

Change-Id: I5a537a5f1fb3ad0959374385cb5066c21bd9f9be
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoDepend on odlparent version of logback 57/37557/1
Ryan Goulding [Wed, 13 Apr 2016 15:43:02 +0000 (11:43 -0400)]
Depend on odlparent version of logback

In general, projects should derive versions from odlparent if possible.
This change removes "version" from the logback dependency, so it is
directly derived from odlparent version instead of through property
reference.  This is the prefered method of importing dependencies in ODL.

Change-Id: I5f21ffe36652308b4a28dc5f54444b2025bba4bd
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
8 years agoFix bug 5433: calling rpc get-node-connector-list and get-edge-list failed 91/35091/4
Nanfei Chen [Fri, 19 Feb 2016 13:50:08 +0000 (21:50 +0800)]
Fix bug 5433: calling rpc get-node-connector-list and get-edge-list failed
because the valid port number did not begin from 1 always, and not be
continuous always too.

Change-Id: I1dd6464c4c1fc793ac52adb673a49121eeef7ad3
Signed-off-by: Nanfei Chen <chen.nanfei@h3c.com>
8 years agoDo not install or deploy the karaf artifact 39/36339/1
Thanh Ha [Wed, 16 Mar 2016 21:52:42 +0000 (17:52 -0400)]
Do not install or deploy the karaf artifact

The karaf artifact is only used for testing. It does not need to be
released to the world.

Change-Id: I3ddd646c81dff7ee7891feb0c4214e9a197e9608
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix mix OS formatting in pom.xml 38/36338/1
Thanh Ha [Wed, 16 Mar 2016 21:51:16 +0000 (17:51 -0400)]
Fix mix OS formatting in pom.xml

This file had a mix of Windows and Unix formatting. Fix file so that
it has a uniform file format.

Change-Id: I3542c7c26d93be3be3d1554372ed9dca8f32cacd
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix Bug 5438: calling rpc get-arp-table of misc-config.yang failed due to 08/35508/4
Nanfei Chen [Sat, 27 Feb 2016 13:00:21 +0000 (21:00 +0800)]
Fix Bug 5438: calling rpc get-arp-table of misc-config.yang failed due to
OID incorrectness.

Change-Id: I27123ee20da3ae539dcff77af14bc9dd01344f90
Signed-off-by: Nanfei Chen <chen.nanfei@h3c.com>
8 years agoBUG-2625: remove override of odlparent equinox 71/33671/4
Robert Varga [Wed, 27 Jan 2016 21:39:34 +0000 (22:39 +0100)]
BUG-2625: remove override of odlparent equinox

Change-Id: I6441d6267dc1a2007a0f7385876fe1805c4d9641
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agomaking BindException more friendly for the logs 94/34594/1
Jamo Luhrsen [Sat, 13 Feb 2016 01:17:05 +0000 (17:17 -0800)]
making BindException more friendly for the logs

Change-Id: I896f0c1b01f1c78562626df02ddd962e07533ba4
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agologging only the exception message, not the full trace 89/34589/1
Jamo Luhrsen [Wed, 10 Feb 2016 04:33:39 +0000 (20:33 -0800)]
logging only the exception message, not the full trace

Change-Id: Id7d9fb7f55a767e4314316119eb48554dd1f4cf2
Signed-off-by: Jamo Luhrsen <jluhrsen@redhat.com>
8 years agoAdd shell commands: 1.print switch list 2.trigger topology discovery 49/34249/1
ylhsieh [Mon, 8 Feb 2016 11:21:31 +0000 (19:21 +0800)]
Add shell commands: 1.print switch list 2.trigger topology discovery

Change-Id: If591c7ae3cad57429231fc2ccf2953d4e5443310
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoFix get topology data failure (due to miss to bind some interface and implementation) 12/34212/1
ylhsieh [Sat, 6 Feb 2016 16:34:56 +0000 (00:34 +0800)]
Fix get topology data failure (due to miss to bind some interface and implementation)

Change-Id: I2794691b9ace55eabc8eea4270ad210e8988b5db
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoBug 5194 fix: switch list file open failure with log as INFO instead of ERROR. 48/34048/2
ylhsieh [Thu, 4 Feb 2016 06:11:51 +0000 (14:11 +0800)]
Bug 5194 fix: switch list file open failure with log as INFO instead of ERROR.

Change-Id: Ia475052e1ee3980afb8888d387915b18da6f7051
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoAdd Topology Service API for getting topology. 46/33946/3
ylhsieh [Wed, 3 Feb 2016 08:41:57 +0000 (16:41 +0800)]
Add Topology Service API for getting topology.

Change-Id: Ia610479e707b5b3faceb2e3177e6dc3b574066dc
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoBug fix: build failure due to features-test in pom which seems to be unused in openda... 65/33965/2
ylhsieh [Wed, 3 Feb 2016 11:46:41 +0000 (19:46 +0800)]
Bug fix: build failure due to features-test in pom which seems to be unused in opendaylight

Change-Id: I5f994935e424355da233c3c5858caa72bcfcea03
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoMerge "Ignore .idea (for IntelliJ)"
Yi-Ling Hsieh [Thu, 4 Feb 2016 05:47:39 +0000 (05:47 +0000)]
Merge "Ignore .idea (for IntelliJ)"

8 years agoBug fix: 54/33454/2
ylhsieh [Mon, 25 Jan 2016 07:50:35 +0000 (15:50 +0800)]
Bug fix:
(1) when uninstall snmp4sdn plugin, a null exception occurs due to some termination is not done
(2) incorrect edge removal due to removing SNMP-SNMP edge and removing PR-SNMP edge were in the same function
(3) call deleting ACL profile given profile name but without profile ID, fails, now fixed

Change-Id: I287471f17972704575ab74d00dee1b6a0f57a06c
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoBump yangtools to 1.0.0-SNAPSHOT 60/33260/2
Thanh Ha [Thu, 21 Jan 2016 20:42:03 +0000 (15:42 -0500)]
Bump yangtools to 1.0.0-SNAPSHOT

Change-Id: Ifb094b4f72c8830d13f219d524a251ea62c950bb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug fix and add files: (1) if vendor-specific configuration is not provided in the... 94/33194/1
ylhsieh [Thu, 21 Jan 2016 09:20:36 +0000 (17:20 +0800)]
Bug fix and add files: (1) if vendor-specific configuration is not provided in the configuration file, default configuration would be adopted (2) switch list file and vendor-specific configuration file

Change-Id: Ic877d8f44d13832bc935bca3fa02c0237f7f5760
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoTypo fix: 'Vendor' was typo as 'Vender'. So a module name as well as the related... 84/33184/1
ylhsieh [Thu, 21 Jan 2016 05:22:05 +0000 (13:22 +0800)]
Typo fix: 'Vendor' was typo as 'Vender'. So a module name as well as the related code is corrected.

Change-Id: I8db56b6d41faf5969462aaf28f07f0e8bb21df7d
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoBump versions by 0.1.0 for next dev cycle 12/32712/1
Thanh Ha [Fri, 15 Jan 2016 04:34:04 +0000 (23:34 -0500)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: I041b81aab711e64d1f9297ddfd60f8dffa1d4825
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoIgnore .idea (for IntelliJ) 91/31291/2
Stephen Kitt [Mon, 14 Dec 2015 17:35:24 +0000 (18:35 +0100)]
Ignore .idea (for IntelliJ)

Change-Id: I9d26e6a3fdaadfe82f3137f93d5fde827c2ef8ed
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoBug fix: (1)to fix Bug 4498 (duplicate yang module name, "config", in snmp4sdn and... 24/31924/1
ylhsieh [Tue, 29 Dec 2015 06:54:10 +0000 (14:54 +0800)]
Bug fix: (1)to fix Bug 4498 (duplicate yang module name, "config", in snmp4sdn and opendaylight controller's config subsystem), so we change config.yang to misc-config.yang, related code is also updated (the testing bundle, ConfigManager, is also renamed as MiscConfigManager). (2) prefix field typo in fdb.yang.

Change-Id: Ie57964071c2a04f9ea5194f13fa6af8a8424f0c3
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoRemove dependency on features-adsal and features-nsf 92/30692/5
Thanh Ha [Fri, 4 Dec 2015 07:39:41 +0000 (02:39 -0500)]
Remove dependency on features-adsal and features-nsf

We also need to add the org.opendaylight.controller:sal:0.7.0 bundle
to the odl-snmp4sdn-snmp4sdn feature.

Bug: 4720
Change-Id: I6f84e55e8c556514cc1634aaf343b101347e5dbf
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: Stephen Kitt <skitt@redhat.com>
8 years agoRemove features-nsf in feature pom 95/30695/1
ylhsieh [Fri, 4 Dec 2015 09:02:35 +0000 (17:02 +0800)]
Remove features-nsf in feature pom

Change-Id: If9a18aa71acbf5920c9ccdabd55782014917130c
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoMerge "Remove <repositories> and <pluginRepositories> sections"
Yi-Ling Hsieh [Fri, 27 Nov 2015 03:10:27 +0000 (03:10 +0000)]
Merge "Remove <repositories> and <pluginRepositories> sections"

8 years agoMerge "Use odlparent JaCoCo UT configuration"
Yi-Ling Hsieh [Fri, 27 Nov 2015 03:09:53 +0000 (03:09 +0000)]
Merge "Use odlparent JaCoCo UT configuration"

8 years agoAdd metadata to POM, to meet Maven Central requirements. 26/30226/1
ylhsieh [Thu, 26 Nov 2015 08:50:38 +0000 (16:50 +0800)]
Add metadata to POM, to meet Maven Central requirements.

Change-Id: I29368d03f09616d39ab1fabf39dcdb05bd50f4b0
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoBug fix: typo in Activator, binding DiscoverySercieAPI for TopologyService. 25/30125/1
ylhsieh [Tue, 24 Nov 2015 08:38:10 +0000 (16:38 +0800)]
Bug fix: typo in Activator, binding DiscoverySercieAPI for TopologyService.

Change-Id: Ica4d2053e43fdb054881f67ac3d3ce7e0c4a06eb
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoSome new enhancements and functions: 20/30120/1
ylhsieh [Tue, 24 Nov 2015 07:06:51 +0000 (15:06 +0800)]
Some new enhancements and functions:

[Topology discovery]
(1) Periodical/manual execute topology discovery: due to possible loss of link-up/down snmp trap, periodical topology discovery is necessary, which gets the latest topology.
(2) Link-up/down handling: snmp4sdn will report to add/remove edge accordingly.
(3) Topology discovery enhancement:
(3a) auto topology discovery when snmp4sdn starts up.
(3b) since topology discovery discovers all edges, the discovered edges are compared against the maintained edges then report controller to add/remove edge.
(3c) taking care of race condition when initial discovery for inventory and topology edges, the former must be done first then the later.
(3d) due to LLDP exchange delay among switches, an edge is identified as existing depends on both switches' LLDP data as well as both ports are up.
(4) Handling of concurrent link-up/down event processing and topology discovery processing:
(4a) Link-up event processing and topology discovery processing are mutual exclusive (i.e. would not proceed concurrently).
(4b) Link-down event should be reported to controller immediately, for fast failover purpose, so we let topology discovery to be cancelled if link-down occurs.
TODO: provide API for user to get edges

[Multi-vendor support]
(1) with a config description file (the snmp4sdn_VenorSpecificSwitchConfig.xml), user can describe vendor-specific configurations for different models of switches.
(2) a function, "add VLAN and set ports", is implemented.

[Switch list DB file]
(1) An MD model, switch-db.yang, is added for the DB file accessing.
(2) In the switch list file add a new field 'Model' as switch model name, for vendor-specific case handling.

[Fixes]
(1) Increase common switch port number to 64, in VLANService.java.

Change-Id: I7aa1154638c89f31f77ba1d92d291cd90b133545
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
8 years agoRemove <repositories> and <pluginRepositories> sections 75/26575/2
Thanh Ha [Sun, 6 Sep 2015 13:04:12 +0000 (09:04 -0400)]
Remove <repositories> and <pluginRepositories> sections

Over a year ago we decided that these sections should be removed project
wide to be compliant with Maven Central requirements that you cannot
have these sections defined in your project local pom.xml and instead
must define it in your user settings.xml file.

https://lists.opendaylight.org/pipermail/discuss/2015-January/004482.html

Change-Id: I4d6c801f10f1a0d13a38af4eabb17cd58d7e8c88
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoUse odlparent JaCoCo UT configuration 79/26279/3
Thanh Ha [Tue, 1 Sep 2015 16:52:49 +0000 (12:52 -0400)]
Use odlparent JaCoCo UT configuration

Change-Id: Ib88d6a87df675d472c171f81c9770e567effacda
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoMigrated parts of project to use MD-SAL and NETCONF project. 64/27364/5
Tony Tkacik [Wed, 23 Sep 2015 16:07:37 +0000 (18:07 +0200)]
Migrated parts of project to use MD-SAL and NETCONF project.

Change-Id: I36c070c2d9b26cec03029e9e2951b869e2c40b48
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
8 years agoMerge "Fix license header violations in plugin-shell"
Yi-Ling Hsieh [Wed, 12 Aug 2015 06:39:24 +0000 (06:39 +0000)]
Merge "Fix license header violations in plugin-shell"

8 years agoMerge "Fix license header violations in snmp4sdn"
Yi-Ling Hsieh [Wed, 12 Aug 2015 06:38:53 +0000 (06:38 +0000)]
Merge "Fix license header violations in snmp4sdn"

8 years agoFix license header violations in plugin-shell 48/24948/1
Thanh Ha [Sat, 8 Aug 2015 00:53:33 +0000 (20:53 -0400)]
Fix license header violations in plugin-shell

Change-Id: Iffb8f6b39855749389a5563f3708e9698aeac6a5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoFix license header violations in snmp4sdn 47/24947/1
Thanh Ha [Sat, 8 Aug 2015 00:51:58 +0000 (20:51 -0400)]
Fix license header violations in snmp4sdn

Change-Id: I37ca4f9366c5301ba367beba5da3822c1143ad9b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoExplicitly set git-review branch to master 30/24430/1
Thanh Ha [Wed, 22 Jul 2015 19:27:39 +0000 (15:27 -0400)]
Explicitly set git-review branch to master

Change-Id: I9bc0f72e71308552c5598b54ce4a03e3efa562f5
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoIncrementing versions by 0.1.0 for post-Lithium master branch 43/22343/2
ylhsieh [Mon, 8 Jun 2015 12:56:18 +0000 (20:56 +0800)]
Incrementing versions by 0.1.0 for post-Lithium master branch

Change-Id: Ic9822bcd9a228d0461c8e4b9c1c42507875f376c
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
9 years agoTemp bug fix: remove feature odl-adsal-northbound from feature odl-snmp4sdn-snmp4sdn... 38/22338/1
ylhsieh [Mon, 8 Jun 2015 11:58:33 +0000 (19:58 +0800)]
Temp bug fix: remove feature odl-adsal-northbound from feature odl-snmp4sdn-snmp4sdn to skip installing failure

Change-Id: Ib235a0fbca1e965cf6d41e6dadda65f5a2602dfe
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
9 years agoUpgrade yangtool and Karaf-related dependencies version. 09/21809/2
ylhsieh [Wed, 3 Jun 2015 18:02:17 +0000 (02:02 +0800)]
Upgrade yangtool and Karaf-related dependencies version.

Change-Id: I1ed52807a6f217308ab54813b4e39c76ecdd07c4
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
9 years agoNew SNMP4SDN code. 05/21805/1
ylhsieh [Wed, 3 Jun 2015 17:09:03 +0000 (01:09 +0800)]
New SNMP4SDN code.

Main differences with previous code:
(1) Flaw or bug fixes.
(2) New services: ACL configuration, FDB configuration, some special configuration.
(3) VLAN service is exposed via MD-SAL now.
(4) For each service in (2) and (3), a testing bundle for it (in mdsal/caller/)
(5) Karaf shell command change (for topology discovery)

Change-Id: I602e98ae26aafb34aa8898a704c76ad6829dd117
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
9 years agoRevert "Clear all code (prepare to push new code)" 04/21804/1
Yi-Ling Hsieh [Wed, 3 Jun 2015 16:44:06 +0000 (16:44 +0000)]
Revert "Clear all code (prepare to push new code)"

This reverts commit 1e79b35b9a1dfd5199b5b3eaecce4fd02a11b764.

Change-Id: Ie09a6f6302f809b56ed633296e2b36ff60b0908d
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
9 years agoClear all code (prepare to push new code) 47/21747/1
ylhsieh [Wed, 3 Jun 2015 11:16:05 +0000 (19:16 +0800)]
Clear all code (prepare to push new code)

Change-Id: I10ee5ae2248b743625b7b961efc2d6c6748fc709
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
9 years agoMigrate to odlparent-provided features test 40/16240/2
Robert Varga [Tue, 10 Mar 2015 08:28:54 +0000 (09:28 +0100)]
Migrate to odlparent-provided features test

Artifact provided by yangtools is going away, migrate to the
replacement.

Change-Id: Iefa528a41385e4b16a52c29682660f615471948e
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoAdd pointer to odlparent 39/15339/1
Robert Varga [Mon, 1 Dec 2014 14:28:45 +0000 (15:28 +0100)]
Add pointer to odlparent

This patch adds odlparent to commons/parent, so that any common
third-party dependency definitions are picked up from there.

Change-Id: Ifaf7f3b9e83f251dec9ec2ac9aaade5353e1451c
Signed-off-by: Robert Varga <rovarga@cisco.com>
9 years agoRemove <repositories> and <pluginRepositories> sections 04/15204/1
Thanh Ha [Thu, 12 Feb 2015 15:46:57 +0000 (10:46 -0500)]
Remove <repositories> and <pluginRepositories> sections

It is recommended that developers and servers configure this locally via
settings.xml.

https://lists.opendaylight.org/pipermail/discuss/2015-January/004482.html

Change-Id: I54c29e0b2cd9f5f93a7b6c0a6ce061ed9a83f71c
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
9 years agoSet root pom.xml <name> for Sonar. 33/14033/4
Thanh Ha [Fri, 9 Jan 2015 19:45:41 +0000 (14:45 -0500)]
Set root pom.xml <name> for Sonar.

As mentioned on the mailing list Sonar uses the <name> field of the
pom.xml that is passed to the mvn command as the name of the project in
Sonar. In most cases this is the root pom.xml file in a project. This
patch sets the name to the project shortname.

https://lists.opendaylight.org/pipermail/discuss/2014-November/004024.html

Change-Id: I93b6db7bfc5d578231d9926cb19894151b4ce394
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>