177 Commits

Author SHA1 Message Date
Andrea Campanella
82baf6b5cd ONOS-3607 Add Criteria model for Flows REST Api with field description.
Change Model parsing in Swagger mojo for whitspaces stripping.

Also, readding onos-maven-plugin to root pom build temporarily.

Change-Id: I8995c74d762a3e59acebe15cc600a0f1bfa41411
2016-01-07 23:45:06 +00:00
Jian Li
79f6732b59 [ONOS-3642] Add missing meter icon in topology view
Change-Id: Iba1f10adf981b90fbc47ec649493436c7c50589c
2016-01-07 16:45:37 +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
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
Ray Milkey
4fd3ceb3df [Falcon] fixes for Sonar Critical bugs
Change-Id: I0a63578727693a2517f3002bd4f4c391b6f44aea
2015-12-17 17:39:44 +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
ec309edf9a Updating onos-maven-plugin version to 1.8-SNAPSHOT
Change-Id: Ic3851ac99960acf7264540a6b9aecffd485aca80
2015-12-14 15:28:10 -08:00
Brian O'Connor
85a60e5484 Bumping onos-maven-plugin to 1.7 for release
Change-Id: I9b031827667f6de40cd1cac9dcaf50888ca6a4d4
2015-12-14 15:28:09 -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
Ayaka Koshibe
0c65d0915f MoTD with vanity links.
It looks like 'Links + original logo' in https://wiki.onosproject.org/x/GYFI

Change-Id: I89f8b3d52680d1749df9c42df2423c923480d704
2015-12-11 05:25:14 +00:00
Thomas Vachuska
731193d2f6 Fixing archetypes so that the REST overlay works together with UI overlays.
Change-Id: Iab60f4cd07b59e1750ef0733883f4f7ecd0b3b46
2015-12-10 20:27:21 +00:00
Thomas Vachuska
36be65f18a Adding REST archetype.
Change-Id: Ic129f6d0d419f0d44a371b7758802377a32f9962
2015-12-08 20:46:36 +00:00
Andrea Campanella
260645ba25 ONOS-3530 Fix array out of bounds in case of no @param value description
Change-Id: I336a7645547f844e11ab08cc3cf9f403fa42d890
2015-12-08 07:36:06 +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
Brian O'Connor
372658e7c2 Updates to versions across project
Change-Id: I3593d5d289d3149bea9644c7c09fa1ca753abfca
2015-12-04 23:17:41 -08:00
Brian O'Connor
4751e83503 Rolling onos-maven-plugin to 1.7-SNAPSHOT and onos-build-conf to 1.2-SNAPSHOT
Change-Id: Iea3add6940bedf298ec65c0e59af70814e02d99e
2015-12-04 22:43:11 -08:00
Brian O'Connor
e261ab2ff1 Updating onos-maven-plugin to 1.6 and onos-build-conf to 1.1
Change-Id: I8e9eabfc3ddb499028ec1abf6e626c09cd12e8b1
2015-12-04 22:42:06 -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
Charles Chan
f5baee846a Fix network config sample to include adjacencySids for segmentrouting
- Also add a config for 4x4 leaf-spine topology

Change-Id: If696a52b078b882e468a9dec35b636ef1f4da207
2015-12-04 19:04:15 +00:00
Andrea Campanella
10c4adc294 ONOS-2706 Changing rsModel annotation to onos.rsModel
Change-Id: I1c22a7e1e147f13b960c3a6095408d68173ca966
2015-12-04 01:37:21 +00:00
Brian O'Connor
e6ff7f0756 Replacing karaf-assembly bash script with python script
Also, removing self-referencing repo from:
apps/openstackswitching/app/features.xml

Change-Id: I041325a1a114ee4d5ef01afd24f73db4f92b30b3
2015-12-03 01:09:09 +00:00
Thomas Vachuska
8c9ee81a44 Preparing assembly of Karaf and ONOS artifacts for off-line deployments.
Change-Id: I113490bc6735f5372e33bb671ad5adec640b2e36
2015-12-03 01:08:07 +00:00
Charles Chan
531a78b802 CORD-352 Refactoring SegmentRoutingConfig
- Add Javadoc and fix function name convention
- Add setAdjancencySids method
- Change return value of getAdjacencySids from List to ImmutableSet
- Validate config value
- Add unit test for SegmentRoutingConfig

Change-Id: Ic43ac31a49da8a9d62131d7803930280cf9994d2
2015-12-02 22:41:44 +00:00
Charles Chan
d6d581a469 CORD-339 Network config host provider
* Implement new application org.onosproject.netcfghost
* Implement BasicHostConfig to include IP and location information
    - Update network-cfg.json to add host config example
    - Add network-cfg-2x2-leaf-spine.json for 2x2 leaf-spine network in SegmentRouting
* Update Segment Rounting
    - Punt ARP packets
      (which is done by HostLocationProvider previously)
    - Check existing hosts when device connected or configured

Change-Id: I03986ddc8203d740b5bf26903e3dbf866d4d4600
2015-12-02 20:27:46 +00:00
andrea
a9d838e2e7 [ONOS-3314] yang model translation into ONOS behaviour interface
Change-Id: Id86e7b696fe4362548d456253f77283c19faa710
2015-12-02 19:45:40 +00:00
Andrea Campanella
e22731b6ef [ONOS-3394] Remove network configuration model from SwaggerUi and line stripping for better swagger.json formatting.
Change-Id: I0200407b829baff84a921fa6027a3ebb4c873dfc
2015-12-02 19:43:58 +00:00
andrea
d35f89c1aa [ONOS-3405] Change EthType Json encoding to Hex and extend decoding with Hex support alongside int
Change-Id: I629f52016256d6c5cc258ab9e1c5a7b916991d5b
2015-11-30 19:07:33 +00:00
HIGUCHI Yuta
d9fe3a3f87 ONOS-3461 Disable LinkDiscovery on specific device/port.
- Configuration moved from "apps" -> "devices", "ports"
  in network configuration tree

Change-Id: I030bab489939ce5326a6ebea14f246726ca024f0
2015-11-25 23:13:38 +00:00
Thomas Vachuska
016bef721f Fixing features.xml so that they don't self-reference.
Change-Id: I1f4b8bc956f24d422af06e02330f5de8bb4873c2
2015-11-25 00:57:59 +00:00
Naoki Shiota
399a0b3683 [ONOS-3205] Migrate LLDP Link Discovery configuration to Network Configuration System
- deviceIds under suppression will be moved out to different location. (See ONOS-3461)

Change-Id: I6ebe0ce7f5f2d26e7ee7175974e19305f7c17fad
2015-11-25 00:22:18 +00:00
andrea
863201a126 [ONOS-3406] change consumes type in SwaggerUI for REST post method to octet_stream
Change-Id: I1c4917eb743c1d5dfe8e276074f0c8f484c75ed2
2015-11-24 21:33:52 +00:00
Thomas Vachuska
fa776af657 Allowing white spaces in onos.app.requires property.
Change-Id: I1350f3239f0593d1188dda3580456c1f2a95cd33
2015-11-18 00:57:10 -08:00
andrea
faa2c4ba46 [ONOS-2706] Insert Support for REST API model schema in Swagger UI
Change-Id: Iad158d90f203101fd23328f30f2507b7677a1997
2015-11-18 03:07:57 +00:00
Thomas Vachuska
761f0040f3 ONOS-1684 Added support for app dependencies.
Change-Id: Iae318c24c3c9bd43d84318c79ac420fc85d5d599
2015-11-12 21:37:58 +00:00
Simon Hunt
de99e0b339 GUI Topo -- Badges - Enhanced uitopo archetype to also use badges.
Change-Id: I80cd4783a4154a2ccce6054175022b97ef7bc6c1
2015-10-26 16:30:02 +00:00
Charles Chan
9ec239e2e8 Minor fix for config file sample
related to CORD-200, CORD-209
- fix typo in network-cfg.json
- remove segmentrouting_dell.conf since we don't need this anymore
  with the new Network Configuration Subsystem

Change-Id: I5dcb2e2e0e6b89c4770df2485a8d27fbcc05cf67
2015-10-20 16:46:59 +00:00
Thomas Vachuska
e175323ce7 Fixed a bad merge in UI archetype.
Change-Id: Ifca70a076d7c16336ba692073ec08477300292bd
2015-10-15 18:31:53 -07:00
Simon Hunt
40098075d2 Minor renaming of identities in topo overlay archetype.
Change-Id: If502618f0ca55d2124f6735e5d1f0adad1372b5a
2015-10-15 17:40:29 +00:00
Charles Chan
4636be0a07 [CORD-200] Improves Segment Routing using Network Configuration Subsystem
The missing part of gerrit #5533

Change-Id: I0830aa80f9be0e9933a99e0c12518aef67008a53
2015-10-09 02:04:46 +00:00
Simon Hunt
cccdd73b70 GUI -- Delete unnecessary CSS rule (table archetype).
Change-Id: I1eb139fda42749544c9e98527209e264a43e30fb
2015-10-02 13:14:43 -07:00
Simon Hunt
1035d6cc37 GUI -- Minor adjustments to sample UI components (archetypes).
Change-Id: I410fc1822b0a3dac279b1e070e008a9c7b5d1b03
2015-10-02 16:53:05 +00:00
Simon Hunt
afce2ae599 GUI -- Minor refactor of sample UI components (archetypes).
Change-Id: I80c8c699d9aff662bffd4c619f44e2079eddd1ce
2015-10-01 10:38:10 -07:00
andrea
03c3206f3b Moving config file to samples
Change-Id: I614d7c0dbb7bb1377cbda2af1c121a8d99e0c9b0
2015-09-30 13:27:26 -07:00
andrea
7837576b5a ONOS-2957 added loding configuration component from file.
Change-Id: I916470e80252dbbc014d31777b55ba20ea199d80
2015-09-30 19:03:53 +00:00
Saurav Das
428ebc9c89 Removing some old dependencies in bgprouter.
Fixing the ICMP handlers in a couple of apps.
Adding some sample configs.

Change-Id: Id33e0effd9452558fc4d07d78b093f0818e96d23
2015-09-30 10:04:25 -07:00