snmp4sdn.git
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>
11 years agoAdd copyright/license header 29/4429/1
ylhsieh [Mon, 20 Jan 2014 09:20:38 +0000 (17:20 +0800)]
Add copyright/license header

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoReplace 'System.out.println()' with 'Logger' 28/4428/1
ylhsieh [Mon, 20 Jan 2014 08:23:15 +0000 (16:23 +0800)]
Replace 'System.out.println()' with 'Logger'

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoExpect4j's source uses repositories provided by SpringSource, and now we change to... 02/4202/1
ylhsieh [Tue, 14 Jan 2014 10:04:51 +0000 (18:04 +0800)]
Expect4j's source uses repositories provided by SpringSource, and now we change to use ODL's nexus repo (SpringSource is now cached to ODL nexus)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years ago1. In pom.xml, some dependencies (SAL and openflowj) is upgraded to the latest version. 96/4196/1
ylhsieh [Tue, 14 Jan 2014 09:09:52 +0000 (17:09 +0800)]
1. In pom.xml, some dependencies (SAL and openflowj) is upgraded to the latest version.
2. SAL adds a new API in IPluginInInventoryService, so snmp4sdn's InventoryService is added with the new API.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoUpdating Jackson library to 2.3.0 to be in sync with Controller and other Opendayligh... 15/4015/1
Madhu Venugopal [Fri, 3 Jan 2014 23:42:34 +0000 (15:42 -0800)]
Updating Jackson library to 2.3.0 to be in sync with Controller and other Opendaylight projects

Please refer to https://git.opendaylight.org/gerrit/#/c/3905 for the corresponding Controller changes.

Change-Id: If6ab9eb1c057bee30138242098d285549ca6449d
Signed-off-by: Madhu Venugopal <mavenugo@gmail.com>
11 years agoThe mechanism of detecting a new switch is by receiving snmp trap of warmstart/coldst... 97/3997/1
ylhsieh [Thu, 2 Jan 2014 09:33:02 +0000 (17:33 +0800)]
The mechanism of detecting a new switch is by receiving snmp trap of warmstart/coldstart is canceled.
Therefore:
(1) SNMPListener does not deal with the snmp trap of warmstart/coldstart.
(2) Due to (1), it is the Controller module (Controller.java) to proactively requests CmethUtil to know the list of all switches, then probes the switches for their ports, to construct the subnet topology.
(3) In InventoryServiceShim's swithAdded(), DiscoveryService's doEthSwDiscovery() only needs to be called once in total.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoIn the modified files: 96/3996/1
ylhsieh [Thu, 2 Jan 2014 09:21:29 +0000 (17:21 +0800)]
In the modified files:
1. Activator.java is updated due to 2 and 3 below.
2. NodeFactory and NodeConnectorFactory are used for creating Node and NodeConnector of type 'SNMP'.
3. Other files are updated that they implement the interface 'IContainerAware' defined by SAL.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoRemove expect4j from pom 92/3492/1
ylhsieh [Thu, 5 Dec 2013 09:12:32 +0000 (17:12 +0800)]
Remove expect4j from pom
(Unit tests with expect4j enabled are successful, but currently loading expect4j in OSGi has problem)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoReorganize the code archtecture of Config Service (proposed API extensions) 91/3491/1
ylhsieh [Thu, 5 Dec 2013 08:42:19 +0000 (16:42 +0800)]
Reorganize the code archtecture of Config Service (proposed API extensions)
(a) IConfigService: defines the APIs
(b) ConfigService: implements IConfigService, transform the inputted Node and NodeConnector to pure parameters such as IP_address and port_number, then call CLIHandler with the parameters
(c) CLIHandler: depends on vendor-specific CLI command format, generate command string and then call ExpectHandler to execute the command
(d) ExpectHandler: a wrapper of Expect4j, provides general functions for CLIHandler to use

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoJust update README.txt 88/3488/1
ylhsieh [Thu, 5 Dec 2013 07:57:03 +0000 (15:57 +0800)]
Just update README.txt

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoTest: artifacts commons.snmp4sdn and commons.parent are put to ODL repo, now no need... 82/3382/1
ylhsieh [Tue, 3 Dec 2013 08:01:19 +0000 (16:01 +0800)]
Test: artifacts commons.snmp4sdn and commons.parent are put to ODL repo, now no need to build them in root pom

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoTo build the artifact commons.parent so that this artifact would be in ODL repo 81/3381/1
ylhsieh [Tue, 3 Dec 2013 07:36:38 +0000 (15:36 +0800)]
To build the artifact commons.parent so that this artifact would be in ODL repo

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoTo build the artifact commons.snmp4sdn so that this artifact would be in ODL repo 79/3379/1
ylhsieh [Tue, 3 Dec 2013 05:26:24 +0000 (13:26 +0800)]
To build the artifact commons.snmp4sdn so that this artifact would be in ODL repo

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoMerge "Correct the parent version typo in commons/integrationtest/pom.xml"
ylhsieh [Mon, 2 Dec 2013 20:04:34 +0000 (20:04 +0000)]
Merge "Correct the parent version typo in commons/integrationtest/pom.xml"

11 years agoCorrect the parent version typo in commons/integrationtest/pom.xml 70/3370/1
ylhsieh [Mon, 2 Dec 2013 20:00:40 +0000 (04:00 +0800)]
Correct the parent version typo in commons/integrationtest/pom.xml

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoFix the typo of NodeConnectorIDType("SNMP", Long.class, "SNMP") to ("SNMP", Short... 24/3324/1
ylhsieh [Mon, 2 Dec 2013 10:57:45 +0000 (18:57 +0800)]
Fix the typo of NodeConnectorIDType("SNMP", Long.class, "SNMP") to ("SNMP", Short.class, "SNMP")

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoThe implementation example for IConfigService, and the test for it. 23/3323/1
ylhsieh [Mon, 2 Dec 2013 10:47:51 +0000 (18:47 +0800)]
The implementation example for IConfigService, and the test for it.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years ago1. Add the code for processing SNMP link-up trap to know the new port 22/3322/1
ylhsieh [Mon, 2 Dec 2013 10:42:28 +0000 (18:42 +0800)]
1. Add the code for processing SNMP link-up trap to know the new port
2. Activator.java is updated as well

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoFix the typo of 21/3321/1
ylhsieh [Mon, 2 Dec 2013 10:33:32 +0000 (18:33 +0800)]
Fix the typo of
(a) new Node(NodeIDType.OPENFLOW) to new Node(NodeIDType.SNMP)
(b) NodeConnectorIDType("SNMP", Long.class, "SNMP") to ("SNMP", Short.class, "SNMP")

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years ago1. In PortConverter.java and SNMPHandler.java, replace the custom function, createNod... 20/3320/1
ylhsieh [Mon, 2 Dec 2013 10:24:10 +0000 (18:24 +0800)]
1. In PortConverter.java and SNMPHandler.java, replace the custom function, createNodeConnector() for creating SNMP nodeConnector, with OpenDaylight existing function NodeConnectorCreate.createNodeConnector()
2. In PortStatisticsConverter.java, a custom function createSnmpNode() to create SNMP node

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoChange snmp4sdn's artifact version from 0.0.1 to 0.1.0 (including pom in the director... 17/3317/1
ylhsieh [Mon, 2 Dec 2013 09:24:49 +0000 (17:24 +0800)]
Change snmp4sdn's artifact version from 0.0.1 to 0.1.0 (including pom in the directories of ./commons, ./snmp4sdn, and root)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoRemove useless code (commons/checkstyle/ and /commons/parent/README) 16/3316/1
ylhsieh [Mon, 2 Dec 2013 09:17:10 +0000 (17:17 +0800)]
Remove useless code (commons/checkstyle/ and /commons/parent/README)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoDue to expec4j packeage error when building the code, here (1) remove expec4j in... 69/3169/1
ylhsieh [Thu, 28 Nov 2013 07:24:51 +0000 (15:24 +0800)]
Due to expec4j packeage error when building the code, here (1) remove expec4j in pom (2) remove the files dependent on expect4j

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoRevert "Due to expec4j packeage error when building the code, here (1) remove expec4j... 68/3168/1
Yi-Ling Hsieh [Thu, 28 Nov 2013 07:16:40 +0000 (07:16 +0000)]
Revert "Due to expec4j packeage error when building the code, here (1) remove expec4j in pom (2) remove the files dependent on expect4j"

This reverts commit 1df443095213a14dbd287881298ed349729e983e.

Change-Id: I1fa0934a6e424caee96c0ea4b6ef5250ce2eeb96
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoDue to expec4j packeage error when building the code, here (1) remove expec4j in... 63/3163/1
ylhsieh [Thu, 28 Nov 2013 04:51:20 +0000 (12:51 +0800)]
Due to expec4j packeage error when building the code, here (1) remove expec4j in pom (2) remove the files dependent on expect4j

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoFix the bug. 49/3049/1
ylhsieh [Mon, 25 Nov 2013 03:41:59 +0000 (22:41 -0500)]
Fix the bug.
Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoMerge "a test"
ylhsieh [Fri, 22 Nov 2013 08:55:24 +0000 (08:55 +0000)]
Merge "a test"

11 years agoa test 87/2987/1
ylhsieh [Fri, 22 Nov 2013 08:49:41 +0000 (03:49 -0500)]
a test

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoupdate the dependency, controller's SAL, as version 1.6.0 84/2984/1
ylhsieh [Fri, 22 Nov 2013 08:33:00 +0000 (16:33 +0800)]
update the dependency, controller's SAL, as version 1.6.0

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agojust remove useless file 83/2983/1
ylhsieh [Fri, 22 Nov 2013 08:26:55 +0000 (16:26 +0800)]
just remove useless file

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agojust some bug removed 14/2814/1
ylhsieh [Mon, 18 Nov 2013 09:46:20 +0000 (17:46 +0800)]
just some bug removed

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agojust clean and reorganize the tests 12/2812/1
ylhsieh [Mon, 18 Nov 2013 09:32:13 +0000 (17:32 +0800)]
just clean and reorganize the tests

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years ago1. The pom include the 'expect4j' tool now. Expect4j is a 'expect' tool in java.... 11/2811/1
ylhsieh [Mon, 18 Nov 2013 09:25:22 +0000 (17:25 +0800)]
1. The pom include the 'expect4j' tool now. Expect4j is a 'expect' tool in java. It is used for CLI in snmp4sdn plugin.
2. IConfigService.java: APIs to be implemented with CLI
3. CLIHandler.java: to implement IConfigService
4. ConfigServiceTest.java: a test script for IConfigService

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoACLHandler.java is abandoned, would be replaced in CLIHandler.java 05/2805/1
ylhsieh [Mon, 18 Nov 2013 02:23:55 +0000 (10:23 +0800)]
ACLHandler.java is abandoned, would be replaced in CLIHandler.java

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoCorrect the copyright holder 67/2767/1
ylhsieh [Fri, 15 Nov 2013 08:56:57 +0000 (16:56 +0800)]
Correct the copyright holder

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agojust remove redundant code (in addSwitch(), no need to provide input argument of... 87/2487/1
ylhsieh [Thu, 7 Nov 2013 11:25:07 +0000 (19:25 +0800)]
just remove redundant code (in addSwitch(), no need to provide input argument of switch's IP address)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoThe file "switch_login_db.csv" lists all switches <mac, ip, snmp_community, cli_usern... 86/2486/1
ylhsieh [Thu, 7 Nov 2013 11:10:39 +0000 (19:10 +0800)]
The file "switch_login_db.csv" lists all switches <mac, ip, snmp_community, cli_username, cli_password>
(this file is read by CmethUtil, then CmethUtil can provide lookups for these information)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years ago1. CmethUtil.java: upgraded to get switches' <mac, ip, snmp_community, cli_username... 85/2485/1
ylhsieh [Thu, 7 Nov 2013 11:07:27 +0000 (19:07 +0800)]
1. CmethUtil.java: upgraded to get switches' <mac, ip, snmp_community, cli_username, cli_password> from a database text file
2. Other modified code: updated with CmethUtil's update

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoJust clean code (remove useless lines in the code). 33/2433/1
ylhsieh [Wed, 6 Nov 2013 10:48:46 +0000 (18:48 +0800)]
Just clean code (remove useless lines in the code).

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoIn Activator.java, set RegisterIDType as 'SNMP' 28/2428/1
ylhsieh [Wed, 6 Nov 2013 07:25:02 +0000 (15:25 +0800)]
In Activator.java, set RegisterIDType as 'SNMP'

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoIncluding in the expect4j in snmp4sdn module's pom 27/2427/1
ylhsieh [Wed, 6 Nov 2013 07:18:38 +0000 (15:18 +0800)]
Including in the expect4j in snmp4sdn module's pom

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoRemove useless files 26/2426/1
ylhsieh [Wed, 6 Nov 2013 07:08:40 +0000 (15:08 +0800)]
Remove useless files

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoAdd the module 'expect4j' to the root pom.xml 23/2423/1
ylhsieh [Wed, 6 Nov 2013 06:13:08 +0000 (14:13 +0800)]
Add the module 'expect4j' to the root pom.xml

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoAdd the library "expect4j" which is used for the interaction with a switch's Telnet... 22/2422/1
ylhsieh [Wed, 6 Nov 2013 06:06:11 +0000 (14:06 +0800)]
Add the library "expect4j" which is used for the interaction with a switch's Telnet CLI.

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoMerge changes Ia28810dc,I9773a90c
ylhsieh [Fri, 18 Oct 2013 08:41:47 +0000 (08:41 +0000)]
Merge changes Ia28810dc,I9773a90c

* changes:
  1. README.txt updated (code status updated) 2. Mark the "@Test" label because Jenkins has no real Ethernet switches to proceed the testing
  README.txt updated (code status updates)

11 years ago1. README.txt updated (code status updated) 00/2000/1
ylhsieh [Fri, 18 Oct 2013 08:33:24 +0000 (16:33 +0800)]
1. README.txt updated (code status updated)
2. Mark the "@Test" label because Jenkins has no real Ethernet switches to proceed the testing

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoAdd models: model-stp-base and model-stp-service. 99/1999/1
Paiwei Wang [Fri, 18 Oct 2013 08:12:55 +0000 (01:12 -0700)]
Add models: model-stp-base and model-stp-service.

Signed-off-by: Paiwei Wang <pwwang@itri.org.tw>
11 years agoEdit .gitignore 98/1998/1
Paiwei Wang [Fri, 18 Oct 2013 08:04:19 +0000 (01:04 -0700)]
Edit .gitignore

Signed-off-by: Paiwei Wang <pwwang@itri.org.tw>
11 years agoREADME.txt updated (code status updates) 91/1991/1
ylhsieh [Fri, 18 Oct 2013 06:56:52 +0000 (14:56 +0800)]
README.txt updated (code status updates)

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoIntegration test code updated 88/1988/1
ylhsieh [Fri, 18 Oct 2013 06:28:47 +0000 (14:28 +0800)]
Integration test code updated

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoUnit test code udpated 87/1987/1
ylhsieh [Fri, 18 Oct 2013 06:25:40 +0000 (14:25 +0800)]
Unit test code udpated

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoThe SNMPListener and related code updated 86/1986/1
ylhsieh [Fri, 18 Oct 2013 06:22:35 +0000 (14:22 +0800)]
The SNMPListener and related code updated

Signed-off-by: ylhsieh <ylhsieh@itri.org.tw>
11 years agoRemove ControllerIO.java (its role will be replaced by SNMPListener.java) 85/1985/1
ylhsieh [Fri, 18 Oct 2013 06:13:20 +0000 (14:13 +0800)]
Remove ControllerIO.java (its role will be replaced by SNMPListener.java)

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