38 Commits

Author SHA1 Message Date
Andrea Campanella
e72ac5590d [ONOS-4260]Alarm and fault managment application refactoring according to ONOS architecture
Change-Id: I47e9db37eb5fc27ac19db2e4cb87774736b44685
2016-04-11 18:02:27 +00:00
Brian O'Connor
7cbbbb7009 Adding Copyright notice to files that are missing it
Change-Id: Ic08aad8906dbd4dd062e7adcec7465475cf2bdda
2016-04-09 09:51:27 +00:00
Brian O'Connor
5ab426f9ff Updating copyrights
New format: 'Copyright .year-present Open Networking Laboratory'

Change-Id: I1a9e58b355b775e75245ad875a2d7a4df3f03098
2016-04-09 01:20:21 -07:00
Brian O'Connor
b86c920526 Updating Buck files to build OSGi jars
- Using osgi_jar for all modules except apps
- Adding target for installation of core modules to .m2 repo

Change-Id: I65d9e3a9567918e275191724842d7d9b1f485128
2016-04-06 18:17:37 +00:00
Brian O'Connor
85f28d0a0a Updating test sources in several BUCK files
Change-Id: I17b83cb978f7b8fc1d31a1e96bec59a077dbdfbb
2016-04-06 16:57:45 +00:00
Andrea Campanella
58454b9ad7 [ONOS-4621] Unit Tests for Snmp provider and protocol
Change-Id: If70c701478762201b3739d9bd017c9f7eec75db1
2016-04-05 20:39:19 +00:00
Andrea Campanella
c2d754b1fd [ONOS-3943] SNMP protocol and provider refactoring according to ONOS architecture
Change-Id: Ie87ee6c181c9550ffac602397f2ee74a691bbdfa
2016-04-04 16:52:05 +00:00
Saurav Das
a2d37500d9 CORD-613 Adding ability to administratively enable or disable a port via CLI.
Currently uses the OpenFlow device provider to change portState.
Also fixes a bug in PortNumberCompleter.
Adds completion options to portstats for deviceId and portNumber.

Change-Id: Idcce775fe8bc5484fdd0e630bcb5026b85125478
2016-03-30 21:46:43 +00:00
Ray Milkey
f80bbb22c2 Initial BUCK build
Change-Id: I64e8a979301989062f4545a4841b06c15a372049
2016-03-29 21:39:14 +00:00
Jian Li
9d61649f0f [ONOS-4042] Bump up Jersey from 1.19 to 2.22.2
- Fix unit test errors of web/api
- Fix default page redirection problem
- Fix compilation errors of web/gui
- Fix configuration of aaa, acl, cordfabric, cord-gui, dhcp, mfwd,
  olt, openstack, segmentrouting, vtn, virtualbng, xos-integration
- Fix unit test errors of cpman, vtn, acl, faultmanagement
- Fix compilation errors of openstack, virtualbng, xos-integration,
  REST SB controller
- Rearrange features.xml to resolve bundle dependencies
- Remove all of stale Jersey 1.x libraries
- Rearrange web.xml to point new Jersey 2.x servlet

Change-Id: Ic17f461ede0aa36fa8d470546d8069152dc1d134
2016-03-24 18:54:28 +00:00
Brian O'Connor
955c316b54 Starting snapshot 1.6.0-SNAPSHOT 2016-03-10 15:27:19 -08:00
Brian O'Connor
55b4d80176 Tagging 1.5.0 (Falcon) 2016-03-10 15:24:41 -08:00
Madan Jampani
23696428f8 Starting snapshot 1.5.0-SNAPSHOT 2016-03-09 14:02:04 -08:00
Madan Jampani
b7a5420285 Tagging 1.5.0-rc3 2016-03-09 13:47:32 -08:00
Jian Li
fd46e1d293 Refine application title and category in app.xml and pom.xml
- Remove ONOS keyword from application title
- Capitalize each keyword in application title
- Make it consistent to use App, Provider and Driver in
  application title
- Add right category name for each application
- Add missing application title and category
- Make application category comment more descriptive

Change-Id: Ib886b4a4293c38bd546a4107b20569f1bd7031a7
2016-03-08 18:41:50 +00:00
Jian Li
2b746f4cbd Add missing application titles in app.xml with pom.xml clean up
Change-Id: I543572d696f30f2ceebd39d9c6c33be55f5da38d
2016-03-08 06:06:32 +00:00
Thomas Vachuska
5d8994ffce Starting snapshot 1.5.0-SNAPSHOT 2016-03-03 17:13:26 -08:00
Thomas Vachuska
40d5255ca9 Tagging 1.5.0-rc2 2016-03-03 17:08:36 -08:00
Marc De Leenheer
c662d328f2 SNMP based device and flow rule provider for Lumentum SDN ROADMs.
ONOS-3690 and ONOS-3842

Change-Id: If00ba70fa26e01924c225596c52a5ffb24987cc2
2016-03-03 01:01:31 +00:00
Andrea Campanella
90f044f5ab Changing submit to execute in different providers for exception throwing
Change-Id: I2d93b365640e3be48de913e1a069d5f5a53eb303
2016-03-03 00:51:51 +00:00
Andrea Campanella
3eca4a8252 Deprecating all SNMP releated classes. not compliant with ONOS architecture
Change-Id: Ia2a4953ea68d88e510689a3131398fc003194c1e
2016-02-11 01:55:48 +00:00
Jonathan Hart
51539b85d3 Enforce naming convention regarding abbreviations
Change-Id: Ic81038d3869268a55624ccbbf66048545158b0da
2016-01-28 17:32:37 +00:00
Jian Li
8bcb4f23ce [ONOS-3634] Remove readme tag from app.xml
Change-Id: I536f54f74586a0bb5c671564f71b44a0a871d5f6
2016-01-20 18:55:28 +00:00
Jian Li
c35415ddcd [ONOS-3634] Enhance app to have a category, icon, URL and readme
This commmit enhances application to have category, icon, URL and
readme. The web GUI and CLI will be implemented in separate commits

Change-Id: Ib02716d7118cc617b24f196f2213ea1fe99a34be
2016-01-20 00:30:35 +00:00
Brian O'Connor
68498e2b32 Updating onos-package to display error when karaf-assembly fails.
Also, temporarily adding snapshot repo to karaf-assembly and filed bug to remove it.

Change-Id: I63bf472b3a918beec46e1b1002a29dfcb6cb7253
2016-01-04 14:02:20 -08:00
kmcpeake
899ea8bc18 [ONOS-3203] Fault Management fixes.
1) Fix "org.onlab.osgi.ServiceNotFoundException: Service org.onosproject.incubator.net.faultmanagement.alarm.AlarmService not found" runtime error by making  SnmpAlarmProviderService a (annotated) Service.  Possibly later can register it via the ProviderRegistry without the Service anotation.
2) When SnmpAlarmProviderService is deactivated de-register our InternalDeviceListener to avoid leak.
3) In providers/snmp/alarm/pom.xml : Remove unnecessary dependency versions info. Remove unnecessary shading.

Change-Id: I93c0c15215b6cf230bcb03d8ea9c08a88bd03e3b
2016-01-04 18:03:06 +00:00
kmcpeake
ac41bf7081 [ONOS-3203] Migrate to 1.5.0-SNAPHOT
Fix merge problem with Change-Id: If9ce4ca5f5f6d089e9f088e710367f4e2ca1c9b6

Change-Id: I56a5b7c67085c1cd31a7274ece55f962e908d01b
2015-12-21 12:36:37 +00:00
kmcpeake
b172d5fc8e [ONOS-3203] End-to-end demo of Fault Management via SNMP.
This adds SNMP device-discovery, and a Fault Management app which makes alarms available to users via REST/GUI/CLI interfaces.
There is still code cleanup that could be done, but aim of this commit is an end-to-end proof of concept.

To demonstrate :

1) /opt/onos/bin/onos-service
onos> app activate org.onosproject.snmp
onos> app activate org.onosproject.faultmanagement

2) SNMP devices are seeded via config file. The default seed file contains connection details for devices (SNMP agents) available via internet  e.g. demo.snmplabs.com
cp /opt/onos/apache-karaf-3.0.3/etc/samples/org.onosproject.provider.snmp.device.impl.SnmpDeviceProvider.cfg   /opt/onos/apache-karaf-3.0.3/etc/

3) ONOS will poll these SNMP devices and store their alarms.

4) You can now manipulate the alarms via REST  e.g. http://<onos>:8181/onos/v1/fm/alarms , via CLI  via various "alarm-*” commands or in UI with an Alarms Overlay.

More info at https://wiki.onosproject.org/display/ONOS/Fault+Management

15/Dec/15: Updated regarding review comments from Thomas Vachuska.
17/Dec/15: Updated coreService.registerApplication(name) as per https://gerrit.onosproject.org/#/c/6878/

Change-Id: I886f8511f178dc4600ab96e5ff10cc90329cabec
2015-12-20 15:35:59 +00:00
Brian O'Connor
880dc20ddb Starting snapshot 1.5.0-SNAPSHOT
Change-Id: If9ce4ca5f5f6d089e9f088e710367f4e2ca1c9b6
2015-12-16 22:53:14 -08:00
Brian O'Connor
5a2856fd01 Tagging 1.4.0 (Emu release)
Change-Id: I55e4dbcecbfac86cccae27aa99a813910bd5557a
2015-12-16 22:47:51 -08:00
Brian O'Connor
6b7707101b Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ie726afc2df730a1009db421328267f2dcfedfd66
2015-12-15 15:48:42 -08:00
Brian O'Connor
d1cdd19530 Tagging 1.4.0-rc3
Change-Id: Iddb1e8adff820e81794bf83f5861519e9a787880
2015-12-15 15:36:45 -08:00
Brian O'Connor
b22ba656bb Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ic0ff8fe27d46b0662f596db9185591736efa6cf9
2015-12-11 17:02:48 -08:00
Brian O'Connor
4aded4c8b7 Tagging 1.4.0-rc2
Change-Id: I7e2916f7b02d297818ad65153aee5e5946f882ac
2015-12-11 16:55:13 -08:00
kmcpeake
a5404813fe [ONOS-3203] Remove final keyword from method arguements
Removing as requested by Thomas Vachuska so to be consistent with rest of ONOS code.
Note :  ./tools/build/conf/src/main/resources/onos/pmd.xml deliberately excludes MethodArgumentCouldBeFinal from optimizations.xml

Change-Id: Ib1468d5ac39876797b79bd1f6dabd779bfe337bd
2015-12-09 17:56:47 +00:00
Brian O'Connor
905ea22db6 Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I0398bb2093e70d39788888038abb9df6193ccb42
2015-12-05 00:57:06 -08:00
Brian O'Connor
b209dc68e2 Tagging 1.4.0-rc1
Change-Id: Idec5c65021283fa03a8f2530aebba968a5451d8b
2015-12-05 00:56:21 -08:00
kmcpeake
4fe18c8f0c CHANGE 1:
Patch to show API for Alarms in Fault Management.
AlarmsWebResource.java & Alarm.java show what the external REST API for alarms would look like.
See more info at https://wiki.onosproject.org/display/ONOS/Fault+Management
Everything else is very early and work-in-progress/mostly just stubbed out, and not ready for review but all advice welcome.

CHANGE 2:
[ONOS-3203] Update re. comments on FM API draft.
Comments were from Thomas Vachuska regarding https://gerrit.onosproject.org/#/c/6180/
Change-Id: If8d330d1b18b503e89849587e2d4388bf67becc0
2015-12-04 19:25:35 +00:00