snmp4sdn.git
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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)"

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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"

9 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"

9 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>
9 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>
9 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>
9 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>
9 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>
9 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>
9 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"

9 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"

9 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>
9 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>
9 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>
10 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>
10 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>
10 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>
10 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>
10 years agoFix Maven warning for missing versions 51/14151/1
Thanh Ha [Wed, 14 Jan 2015 21:51:03 +0000 (16:51 -0500)]
Fix Maven warning for missing versions

Fix the 2 Maven build warnings about missing version numbers for the
maven-resources-plugin and build-helper-maven-plugin.

[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:build-helper-maven-plugin is missing. @ line 161,
column 24
[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-resources-plugin is missing. @ line 148,
column 25

Change-Id: I2a80df56ea9d3be09cc7a3ecda5cf2aa40b9762a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
10 years agoRevert "wqExpose ConfigService with MD-SAL (1) ConfigService configures STP and ARP... 90/14090/1
Yi-Ling Hsieh [Sun, 11 Jan 2015 15:44:17 +0000 (15:44 +0000)]
Revert "wqExpose ConfigService with MD-SAL (1) ConfigService configures STP and ARP Table (2) For testing purpose, a bundle which calls ConfigService is provided (i.e. mdsal/caller/configmanager) (3) bug fix (no relation with ConfigService): remove an non-existin"

This reverts commit af572b75044f8b687317923d7d813f8fa6c7bd7d.

Change-Id: Ia9299d20499360fb1259a081c63801d45d3654c1
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agowqExpose ConfigService with MD-SAL 01/14001/1
ylhsieh [Wed, 24 Dec 2014 17:37:20 +0000 (01:37 +0800)]
wqExpose ConfigService with MD-SAL
(1) ConfigService configures STP and ARP Table
(2) For testing purpose, a bundle which calls ConfigService is provided (i.e. mdsal/caller/configmanager)
(3) bug fix (no relation with ConfigService): remove an non-existing import from VLANService.java

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoAdd a method to get HostAddress in snmpj library 92/13992/1
ylhsieh [Wed, 24 Dec 2014 16:11:42 +0000 (00:11 +0800)]
Add a method to get HostAddress in snmpj library

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoIncrementing versions by 0.1.0 for post-Helium master branch 51/11851/1
ylhsieh [Thu, 9 Oct 2014 09:10:41 +0000 (17:10 +0800)]
Incrementing versions by 0.1.0 for post-Helium master branch

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoAdd Karaf commands for Flow configuration 15/11615/1
ylhsieh [Fri, 26 Sep 2014 17:08:38 +0000 (01:08 +0800)]
Add Karaf commands for Flow configuration

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoBug fix: VLAN of ID 1 can't be seen in the result of getVLANTable() 91/11491/1
ylhsieh [Tue, 23 Sep 2014 13:37:39 +0000 (21:37 +0800)]
Bug fix: VLAN of ID 1 can't be seen in the result of getVLANTable()

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoBug fixes: (1) VLANTable.toString() has flaw, (2) InventoryService.init() has flaw... 90/11490/1
ylhsieh [Tue, 23 Sep 2014 13:25:57 +0000 (21:25 +0800)]
Bug fixes: (1) VLANTable.toString() has flaw, (2) InventoryService.init() has flaw and cause null pointer error message.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoJust clean code and improve logger message 88/11488/1
ylhsieh [Tue, 23 Sep 2014 13:23:37 +0000 (21:23 +0800)]
Just clean code and improve logger message

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoBug 1986 fix: 87/11487/1
ylhsieh [Tue, 23 Sep 2014 13:00:31 +0000 (21:00 +0800)]
Bug 1986 fix:
(1) Using interface ICore containing all Karaf commands is not proper and brings failure, so seperate into two interfaces, IKarafCore and IKarafVLANService.
(IKarafCore is implemented in Controller.java, IKarafVLANService is implmented in VLANService.java)
(2) In blueprint.xml, the <property> can't be correctly referenced in Karaf, so solve by alternative approach -- in the doExecute(), get IKarafXXX interface to call)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoBug fix: Karaf CLI provided by snmp4sdn can't be seen due to snmp4sdn plugin's Activa... 55/11355/1
ylhsieh [Fri, 19 Sep 2014 07:23:10 +0000 (15:23 +0800)]
Bug fix: Karaf CLI provided by snmp4sdn can't be seen due to snmp4sdn plugin's Activator.java miss to set the required interface.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoBring commons-io version into alignment with odlparent 61/11261/1
Ed Warnicke [Wed, 17 Sep 2014 01:51:10 +0000 (20:51 -0500)]
Bring commons-io version into alignment with odlparent

Change-Id: I31496e08ee0fc9d0ab43d12bbc2fe8dd1bb5a2e2
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoBug 1909: fix maven-bundle-plugin version 50/11250/2
Ed Warnicke [Tue, 16 Sep 2014 17:04:48 +0000 (12:04 -0500)]
Bug 1909: fix maven-bundle-plugin version

Note: maven-bundle-plugin version 2.3.6 was *not* including
java.net and java.math in the MANIFEST.MF file.  Version 2.4.0
*is*, but that is causing load errors.  Thus I've clipped it out here.

Change-Id: I63a3305e95269813697289e8f06bfbdb22113e13
Signed-off-by: Ed Warnicke <eaw@cisco.com>
10 years agoFirst pass at fixing features 95/11195/8
Ed Warnicke [Mon, 15 Sep 2014 16:28:21 +0000 (11:28 -0500)]
First pass at fixing features

Change-Id: I55cbd19fec9c13f585a18a221403ad05b94d8569
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoBug fix: For the pervious commit 'Change MD-SAL bundle's artifactId', miss to update... 80/11180/1
ylhsieh [Mon, 15 Sep 2014 03:31:37 +0000 (11:31 +0800)]
Bug fix: For the pervious commit 'Change MD-SAL bundle's artifactId', miss to update features.xml

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoChange MD-SAL bundle's artifactId from 'org.opendaylight.snmp4sdn.md' to 'org.openday... 79/11179/1
ylhsieh [Mon, 15 Sep 2014 03:19:10 +0000 (11:19 +0800)]
Change MD-SAL bundle's artifactId from 'org.opendaylight.snmp4sdn.md' to 'org.opendaylight.snmp4sdn' (For consistency that all other snmp4sdn's bundles use this artifactId)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoFeatures update: add VLAN configuration's MD-SAL model 64/11164/1
ylhsieh [Sun, 14 Sep 2014 17:19:57 +0000 (01:19 +0800)]
Features update: add VLAN configuration's MD-SAL model

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoAdd MD-SAL for VLAN configuration 63/11163/1
ylhsieh [Sun, 14 Sep 2014 16:54:32 +0000 (00:54 +0800)]
Add MD-SAL for VLAN configuration

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoCorrect the list in <repositories> and <pluginRepositories> in commons/snmp4sdn/pom.xml 62/11162/1
ylhsieh [Sun, 14 Sep 2014 16:49:43 +0000 (00:49 +0800)]
Correct the list in <repositories> and <pluginRepositories> in commons/snmp4sdn/pom.xml

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoFixing missing dependency breaking integration 46/11146/1
Luis Gomez [Sat, 13 Sep 2014 21:25:05 +0000 (14:25 -0700)]
Fixing missing dependency breaking integration

Signed-off-by: Luis Gomez <ecelgp@gmail.com>
10 years agoAdd Karaf CLI for (1) read switch list, (2) topology discovery, and (3) VLAN configur... 33/11133/1
ylhsieh [Sat, 13 Sep 2014 14:02:08 +0000 (22:02 +0800)]
Add Karaf CLI for (1) read switch list, (2) topology discovery, and (3) VLAN configuration

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoFixed the TestContainerException for Karaf testing 61/10961/1
george zhao [Tue, 9 Sep 2014 20:48:25 +0000 (13:48 -0700)]
Fixed the TestContainerException for Karaf testing

Change-Id: Iae0b59448a89f38786486755dc360f05a5d51de0
Signed-off-by: george zhao <george.y.zhao@huawei.com>
10 years agoMerge "Fix: to fix the "Too many TestContainer implementations" when bulding, occured...
ylhsieh [Thu, 4 Sep 2014 15:14:23 +0000 (15:14 +0000)]
Merge "Fix: to fix the "Too many TestContainer implementations" when bulding, occured in the testing after building (as shown in https://git.opendaylight.org/gerrit/#/c/10700/). Exclusion for pax exam native is added in each dependency in the pom.xml."

10 years agoFix: to fix the "Too many TestContainer implementations" when bulding, occured in... 81/10781/1
ylhsieh [Thu, 4 Sep 2014 15:03:54 +0000 (23:03 +0800)]
Fix: to fix the "Too many TestContainer implementations" when bulding, occured in the testing after building
(as shown in https://git.opendaylight.org/gerrit/#/c/10700/).
Exclusion for pax exam native is added in each dependency in the pom.xml.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoBug fix: to support Karaf, but missed to add 'features' to build in root pom.xml 16/10716/1
ylhsieh [Wed, 3 Sep 2014 18:38:03 +0000 (02:38 +0800)]
Bug fix: to support Karaf, but missed to add 'features' to build in root pom.xml

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoTo support Karaf 00/10700/1
ylhsieh [Wed, 3 Sep 2014 14:27:37 +0000 (22:27 +0800)]
To support Karaf

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoA sequence of modifications due to that upper layer (org.opendaylight.controller... 41/9141/1
ylhsieh [Fri, 18 Jul 2014 11:03:04 +0000 (19:03 +0800)]
A sequence of modifications due to that upper layer (org.opendaylight.controller.flows.web.Flows) would need InventoryServiceShim to provide "SupportedFlowActions" instead of just "Actions" which is used in earlier

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoBug-1285- Removing all the unwanted code that was commented out as part of the port... 89/8589/3
rgowrishankar [Thu, 3 Jul 2014 03:26:25 +0000 (23:26 -0400)]
Bug-1285- Removing all the unwanted code that was commented out as part of the port from Openflow.
There are still some references to OpenFlow that need to be reworked especially in the statistics.
Making changes suggested by code review.
Change-Id: I51d49d37e0c474c0e9fa85f74f86ca3fbcf8a5d1
Signed-off-by: rgowrishankar <ramkumar.gowrishankar@gmail.com>
10 years agoBug fix: VLANTable's toString() method had redundant comma 35/8035/1
ylhsieh [Mon, 16 Jun 2014 09:54:17 +0000 (17:54 +0800)]
Bug fix: VLANTable's toString() method had redundant comma

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoAdd "delete VLAN" to OSGi CLI 22/8022/1
ylhsieh [Mon, 16 Jun 2014 06:32:40 +0000 (14:32 +0800)]
Add "delete VLAN" to OSGi CLI

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agocorrect message typo 21/8021/1
ylhsieh [Mon, 16 Jun 2014 06:26:35 +0000 (14:26 +0800)]
correct message typo

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoEnable snmp4sdn plugin to support VLAN configuration (add VLAN and ports to a switch... 20/8020/1
ylhsieh [Mon, 16 Jun 2014 06:04:00 +0000 (14:04 +0800)]
Enable snmp4sdn plugin to support VLAN configuration (add VLAN and ports to a switch; show VLANTable of a switch)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
10 years agoAdded .gitreview file 53/7453/1
Ed Warnicke [Wed, 28 May 2014 04:15:16 +0000 (23:15 -0500)]
Added .gitreview file

Good reference :
http://www.mediawiki.org/wiki/Gerrit/git-review

Change-Id: Ib9c4f3235de191af931134b035ffb0b7ccb9b134
Signed-off-by: Ed Warnicke <eaw@cisco.com>
11 years agoFix that snmpj didn't provide method to close socket, and cause snmp listening port... 92/5592/1
ylhsieh [Tue, 11 Mar 2014 09:06:31 +0000 (17:06 +0800)]
Fix that snmpj didn't provide method to close socket, and cause snmp listening port can't be free.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agojust correct copyright typo 91/5591/1
ylhsieh [Tue, 11 Mar 2014 09:04:13 +0000 (17:04 +0800)]
just correct copyright typo

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years ago[maven-release-plugin] prepare for next development iteration
jenkins-snmp4sdn [Fri, 31 Jan 2014 16:50:43 +0000 (16:50 +0000)]
[maven-release-plugin] prepare for next development iteration

11 years ago[maven-release-plugin] prepare release master-tagforprepareonly-snmp4sdn-bulk-release-3 master-tagforprepareonly-snmp4sdn-bulk-release-3
jenkins-snmp4sdn [Fri, 31 Jan 2014 16:50:42 +0000 (16:50 +0000)]
[maven-release-plugin] prepare release master-tagforprepareonly-snmp4sdn-bulk-release-3

11 years agoMerge "Updating Jackson library to 2.3.0 to be in sync with Controller and other... snmp4sdn-bulk-release-prepare-only-19 jenkins-snmp4sdn-bulk-release-prepare-only-19
Yi-Ling Hsieh [Fri, 31 Jan 2014 01:52:45 +0000 (01:52 +0000)]
Merge "Updating Jackson library to 2.3.0 to be in sync with Controller and other Opendaylight projects"

11 years ago[maven-release-plugin] prepare for next development iteration
jenkins-snmp4sdn [Tue, 28 Jan 2014 07:07:34 +0000 (07:07 +0000)]
[maven-release-plugin] prepare for next development iteration

11 years ago[maven-release-plugin] prepare release master-tagforprepareonly-snmp4sdn-bulk-release-2 master-tagforprepareonly-snmp4sdn-bulk-release-2
jenkins-snmp4sdn [Tue, 28 Jan 2014 07:07:34 +0000 (07:07 +0000)]
[maven-release-plugin] prepare release master-tagforprepareonly-snmp4sdn-bulk-release-2

11 years ago[maven-release-plugin] prepare for next development iteration
jenkins-snmp4sdn [Tue, 28 Jan 2014 06:18:50 +0000 (06:18 +0000)]
[maven-release-plugin] prepare for next development iteration

11 years ago[maven-release-plugin] prepare release master-tagforprepareonly-snmp4sdn-bulk-release-1 master-tagforprepareonly-snmp4sdn-bulk-release-1
jenkins-snmp4sdn [Tue, 28 Jan 2014 06:18:49 +0000 (06:18 +0000)]
[maven-release-plugin] prepare release master-tagforprepareonly-snmp4sdn-bulk-release-1

11 years agoupdate root pom.xml with parents as modules 73/4973/1 snmp4sdn-bulk-release-1 snmp4sdn-bulk-release-prepare-only-18 jenkins-snmp4sdn-bulk-release-1 jenkins-snmp4sdn-bulk-release-prepare-only-18
Chris Wright [Tue, 28 Jan 2014 05:52:26 +0000 (21:52 -0800)]
update root pom.xml with parents as modules

With out, prepping for a release hits this Error:

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:prepare (default-cli) on project snmp4sdn_distribution: Can't release project due to non released dependencies :
[ERROR] org.opendaylight.snmp4sdn:commons.snmp4sdn:pom:0.1.0-SNAPSHOT
[ERROR] in project 'snmp4sdn' (org.opendaylight.snmp4sdn:snmp4sdn:bundle:0.1.0-SNAPSHOT)

Adding parents as modules fixes that issue.

Change-Id: I48c07fa3afeabcc3955b405f78ee8507a366d3f1
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
11 years agoRemove yang in POMs (currently MD-SAL is not used in snmp4sdn) 72/4972/1 snmp4sdn-bulk-release-prepare-only-17 jenkins-snmp4sdn-bulk-release-prepare-only-17
ylhsieh [Tue, 28 Jan 2014 05:22:50 +0000 (13:22 +0800)]
Remove yang in POMs (currently MD-SAL is not used in snmp4sdn)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agocommons.snmp4sdn: update dependencies to released artifacts 69/4969/1
Chris Wright [Tue, 28 Jan 2014 05:04:06 +0000 (21:04 -0800)]
commons.snmp4sdn: update dependencies to released artifacts

We missed the dependencies whose versions are set by a property.
Fixup yangtools.version and relevant yang models.

Change-Id: If1df6f8b759e43def9761ffdec01de5600798986
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
11 years agoupdate openflowj dependency in snmp4sdn artifact 68/4968/1 snmp4sdn-bulk-release-prepare-only-16 jenkins-snmp4sdn-bulk-release-prepare-only-16
Chris Wright [Tue, 28 Jan 2014 04:29:26 +0000 (20:29 -0800)]
update openflowj dependency in snmp4sdn artifact

Currently it's 1.0.3-SNAPSHOT, let's bring it back to the last released
artifact in prepartion for snmp4sdn release.

Change-Id: I142fc3f06631726685ef7002eb3db1233a6ad952
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
11 years agoUpdate to new version of the artifacts proposed by jenkins-snmp4sdn-version-changes-8 67/4967/1
jenkins-snmp4sdn [Tue, 28 Jan 2014 04:17:29 +0000 (04:17 +0000)]
Update to new version of the artifacts proposed by jenkins-snmp4sdn-version-changes-8

Change-Id: I365789c360c00f906487dcd610265bf9f9df5b45
Signed-off-by: jenkins-snmp4sdn <jekins-snmp4sdn@opendaylight.org>
11 years agoRemove the directories whose development not completed(model/ and integrationtest/) 17/4917/1
ylhsieh [Mon, 27 Jan 2014 17:58:15 +0000 (01:58 +0800)]
Remove the directories whose development not completed(model/ and integrationtest/)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoRevert the changes to pom which was made by incorrect jenkins job setting 57/4857/1 snmp4sdn-bulk-release-prepare-only-10 snmp4sdn-bulk-release-prepare-only-11 snmp4sdn-bulk-release-prepare-only-12 snmp4sdn-bulk-release-prepare-only-13 snmp4sdn-bulk-release-prepare-only-14 snmp4sdn-bulk-release-prepare-only-15 snmp4sdn-bulk-release-prepare-only-9 jenkins-snmp4sdn-bulk-release-prepare-only-10 jenkins-snmp4sdn-bulk-release-prepare-only-11 jenkins-snmp4sdn-bulk-release-prepare-only-12 jenkins-snmp4sdn-bulk-release-prepare-only-13 jenkins-snmp4sdn-bulk-release-prepare-only-14 jenkins-snmp4sdn-bulk-release-prepare-only-15 jenkins-snmp4sdn-bulk-release-prepare-only-9
ylhsieh [Mon, 27 Jan 2014 11:30:26 +0000 (19:30 +0800)]
Revert the changes to pom which was made by incorrect jenkins job setting

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years ago[maven-release-plugin] prepare for next development iteration snmp4sdn-bulk-release-prepare-only-8 jenkins-snmp4sdn-bulk-release-prepare-only-8
jenkins-snmp4sdn [Mon, 27 Jan 2014 10:49:48 +0000 (10:49 +0000)]
[maven-release-plugin] prepare for next development iteration

11 years ago[maven-release-plugin] prepare release master-tagforprepareonly-snmp4sdn-bulk-release... master-tagforprepareonly-snmp4sdn-bulk-release-prepare-only-7
jenkins-snmp4sdn [Mon, 27 Jan 2014 10:49:47 +0000 (10:49 +0000)]
[maven-release-plugin] prepare release master-tagforprepareonly-snmp4sdn-bulk-release-prepare-only-7

11 years agoexpect4j: use slf4j-api version 1.7.2 15/4615/1 snmp4sdn-bulk-release-prepare-only-2 snmp4sdn-bulk-release-prepare-only-3 snmp4sdn-bulk-release-prepare-only-4 snmp4sdn-bulk-release-prepare-only-5 snmp4sdn-bulk-release-prepare-only-6 snmp4sdn-bulk-release-prepare-only-7 jenkins-snmp4sdn-bulk-release-prepare-only-2 jenkins-snmp4sdn-bulk-release-prepare-only-3 jenkins-snmp4sdn-bulk-release-prepare-only-4 jenkins-snmp4sdn-bulk-release-prepare-only-5 jenkins-snmp4sdn-bulk-release-prepare-only-6 jenkins-snmp4sdn-bulk-release-prepare-only-7
Chris Wright [Thu, 23 Jan 2014 02:29:52 +0000 (18:29 -0800)]
expect4j: use slf4j-api version 1.7.2

Currently using 1.7.5 (as the github project does), and this
gives us a dependency skew from the rest of snmp4sdn and the
controller which use 1.7.2.

Change-Id: I3db7faf0e8db8f9fc76bb585d03d8718b1e9fcd3
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
11 years agoFix that topologyDiscover() didn't clear existing switches first 71/4571/1
ylhsieh [Wed, 22 Jan 2014 11:45:31 +0000 (19:45 +0800)]
Fix that topologyDiscover() didn't clear existing switches first

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoJust rename "constructNetwork()" as "topologyDiscover()", and add a OSGi console... 53/4553/1
ylhsieh [Wed, 22 Jan 2014 08:01:30 +0000 (16:01 +0800)]
Just rename "constructNetwork()" as "topologyDiscover()", and add a OSGi console command for it.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoUser can manually specify the DB file's location in OSGi console. (DB file: the switc... 49/4549/1
ylhsieh [Wed, 22 Jan 2014 07:54:52 +0000 (15:54 +0800)]
User can manually specify the DB file's location in OSGi console. (DB file: the switch list)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoReplace the use of "System.out.exit()" with "return" 48/4548/1
ylhsieh [Wed, 22 Jan 2014 07:50:43 +0000 (15:50 +0800)]
Replace the use of "System.out.exit()" with "return"

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoJust shutdown the warning of reuest time out. (tempararily) 46/4546/1
ylhsieh [Wed, 22 Jan 2014 07:35:50 +0000 (15:35 +0800)]
Just shutdown the warning of reuest time out. (tempararily)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoJust remove useless lines in SNMPHandler.java 44/4544/1
ylhsieh [Wed, 22 Jan 2014 07:32:18 +0000 (15:32 +0800)]
Just remove useless lines in SNMPHandler.java

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoUpdate pom and readme files: 78/4478/1 snmp4sdn-bulk-release-prepare-only-1 jenkins-snmp4sdn-bulk-release-prepare-only-1
ylhsieh [Tue, 21 Jan 2014 07:47:20 +0000 (15:47 +0800)]
Update pom and readme files:
1. Add copyright/license header to pom files and readme file
2. Add <scm> section to pom files
3. Add maven-release-plugin to the plugin management section of ./commons/snmp4sdn/pom.xml

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years ago1. Abandon the bug fix of gerrit 4442 because root cause is not there 72/4472/1
ylhsieh [Tue, 21 Jan 2014 06:27:35 +0000 (14:27 +0800)]
1. Abandon the bug fix of gerrit 4442 because root cause is not there
2. Add a _constructNetwork() for toplogy resolving by OSGi CLI. This is a temporary solution for the bug: too early to construct subnet topology (i.e. constructNetwork() is called too early), before other related modules are ready.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoFix bug: Too early to construct subnet topology (i.e. constructNetwork() is called... 42/4442/1
ylhsieh [Mon, 20 Jan 2014 13:09:01 +0000 (21:09 +0800)]
Fix bug: Too early to construct subnet topology (i.e. constructNetwork() is called too early), before other related modules are ready.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>