716 Commits

Author SHA1 Message Date
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
Ayaka Koshibe
12c8c08aa1 [Falcon] link discovery -
- Support for TLV containing cluster fingerprint info
- Config for enabling extra TLV at device level
- Refactored ONOSLLDP constructor for ease of use

Change-Id: I93abe6c0ed8b7e37c80af5920649272faad8856e
2015-12-17 23:09:50 +00:00
Antonio Marsico
1c5ae1f1f6 Fixed loading of context property at startup
Change-Id: I4a1b3b3f07232378a6bb840efcabbaa0f74ef215
2015-12-17 20:03:32 +00:00
Hyunsun Moon
a834c18e61 Added TUNNEL_ID and TUNNEL_IPV4_DST case to GroupBucketEntryBuilder
Change-Id: Ia784ceb6cc70ca1a0f9eb4b20eee7c90caafdf92
2015-12-17 19:07:51 +00:00
Hyunsun Moon
9ae22e9448 Added TUNNEL_ID action type to GroupModBuilder
Change-Id: Ic933b0d60af093627413afbe9e81c4afe468d274
2015-12-17 18:26:43 +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
samueljcc
4f4d25a4b8 [ONOS-2860] ONOSFW L3 uses ARP table as arp proxy. It need modify ARP
request packet to response packet. OpenFlow protocol provides some
extension action to support it. e.g. move and load. But for now OpenFlow
java implementation doesn't support for them.

Change-Id: I8ee6b415d9dce9a471ad5b6d788eebc905219d89
2015-12-16 20:01:29 +00: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
Charles Chan
25b7732c10 Fix port speed
According to OF 1.3 spec, the unit of current speed should be kbps instead of mbps

Change-Id: I68f30f551afd6c8a8030e0a817ff009595113a84
2015-12-15 03:50:29 +00: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
Madan Jampani
52bb4856a7 Do not disconnect from switches on deactivate + packet requests cli command update to include nodeId in the output
Change-Id: Id19715a2cec9b44431993fefdda9fe51956978cc
2015-12-11 15:57:27 -08:00
Madan Jampani
a3770c3edc ONOS-3586: Move event handling in HostLocationProvider to a background thread to avoid hogging event dispatcher thread
Change-Id: I41ada7a946743854228594345cb636d1c336a2af
2015-12-11 12:08:31 -08:00
Thomas Vachuska
aad8b1d710 ONOS-3599 Fixed exceptions during link provider activation.
Change-Id: I423b24dc27c1d53975d7ced933d803dda052a421
2015-12-11 10:57:55 -08:00
Thejaswi N K
0008f1dabd Implementing Bgp connect
Change-Id: I6dd6d91c083bec54f31251e06c700d0a0dd54cd4
2015-12-11 17:02:13 +00:00
Andrea Campanella
1cd641be6c ONOS-3575 Netconf connection exceptions refactoring and port number in netconf-cfg.json
Change-Id: I46771a1a3ce99b25c2aecd7ba1838f9f1614e789
2015-12-11 16:00:09 +00:00
Thejaswi N K
38879629cb Implementing Bgp provider and REST for configuration
Change-Id: I741497d7d724bd5dc6b7bbe4a2579f11a9e80e0f
2015-12-10 01:24:48 +00:00
Brian O'Connor
a3e5cd5cde ONOS-3023 Changing flowTable sets to map so that we can compare
stored vs. new rule when adding and removing

Change-Id: Ibd885023d550af3b2220056fbdf44ad8ec7fefda
2015-12-10 01:16:46 +00:00
Andrea Campanella
087ceb936f ONOS-3340 IOException throwing in case of no response from NETCONF device on given ip:port
Change-Id: I0fcc6be38e138703d14ef987bfeef9857945a0b5
2015-12-09 18:02:53 +00: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
2156461ee9 ONOS-3529 Updating FlowEntryBuilder to avoid calling getTable on OF_1.0 messages
Change-Id: Id67a07855e0aed0cbd0612a28914c54d802af2cc
2015-12-09 00:50:04 +00:00
Brian O'Connor
8c68536972 Changing line endings to \n in NewAdaptiveFlowStatsCollector
Change-Id: I233c6f4161d0e3af308f744908c52a091824eca8
2015-12-05 15:27:27 -08: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
lishuai
4ee42040fa [ONOS-3486] Add the annotation of port mac when monitor switch added.L3
flows need external port mac information.

Change-Id: I9afed351bd8d1641b8e9bef88718ec5c0ded8b5d
2015-12-05 05:17:10 +00: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
Jian Li
f1ecf99981 [ONOS-3513] Implement PBB I-SID Criterion and test case to Southbound
Change-Id: Ic6836cb7df1eb2d8b871b85029a1a8e31add1289
2015-12-04 19:22:46 +00:00
Thomas Vachuska
41fe1ecad0 ONOS-3515 Added ability to configure different link-weight functions as defaults; or inject custom ones.
ONOS-3516 Added ability to inject alternate graph path search algorithms.

Change-Id: If5831c198a831ae79a9933fc794eb7deab776e2f
2015-12-04 18:22:14 +00:00
Yafit Hadar
7351461585 [Emu] ODU SIGID and SIGTYPE FlowEntryBuilder and FlowModBuilder implementations
Change-Id: I6b332f98dd74250d1cdb289a00780d0d16ae7fb2
2015-12-03 21:12:16 +00:00
lishuai
3cce60bfce [ONOS-3499] Add the set treatments of ARP_SPA, ARP_SHA and ARP_OP.
Change-Id: I7e1927bcf26e7c25fede43aa864a1b71ae2e8b49
2015-12-03 19:13:09 +00:00
Jonathan Hart
26a8d95a18 Implemented the extension framework for selectors.
Change-Id: I577900141889fc70ca54e96cd5d54cfd5194b05d
2015-12-02 23:58:59 +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 Campanella
9547de3173 Removing all existing Netconf flow rule implementation: not compatible with current version and tailored on specific software.
Doing so removes all ties with odl Yangtools in ONOS core.

Change-Id: I4315bdf20dc388d42ea6f0f6276689da9a75c741
2015-12-02 19:44:37 +00:00
Charles Chan
ecfdfb7461 ONOS-3411 Disconnect switches and stop stat collectors when openflow-base is being deactivated
Change-Id: I9a1b5fbb60a9e7135cd586fe717c18f83e3d864d
2015-12-02 19:25:49 +00:00
alshabib
e3af265147 add ports back to discoverer after a device has
gone offline and come back.

Change-Id: I524e25570f9eee8870e97ed09612c423e0cf9588
2015-12-02 16:49:44 +00:00
Shashikanth VH
3fe3798e3e [ONOS-2606] Bgp local RIB implementation.
Change-Id: I39eadec95fa1e1328c73efabb2a50bb438075809
2015-12-01 23:50:49 +00:00
Marc De Leenheer
c2999f30c6 LINC driver updated to always use LINC's non-standard OF optical extensions.
ONOS-3399

Change-Id: I7bbd39947facfbbd53a164ea34c7da50782bfd6a
2015-12-01 03:35:56 +00:00
BitOhenry
b40129ae7c [ONOS-3485] Create arp_op selector and add operation to provifer of
openflow to onos

Change-Id: I4dd0a9d7eb66092d7633e288a1fc94ad66eb4810
2015-11-30 21:44:21 +00:00
Satish K
7c3b6ac511 Null pointer Deferenced on Exception Flow
Change-Id: Ibd58f19c2091249448a4ba826134f0089a88ac01
2015-11-29 19:05:26 +00:00
Shashikanth VH
00af33ff95 Bgp link listener deleted.
Change-Id: Ie853639739dd474bea2aebc013bb378c6dc8163a
2015-11-28 22:11:32 +00:00
Shashikanth VH
5dd8dbe910 Modified bgp file name according to naming convention.
Change-Id: I403139b53fbc1a2dba894dfd39720707a52ba7cd
2015-11-26 19:14:54 +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
alshabib
880b6445f2 decoupling extension types from of protocol
numbers renaming extension instruction to
extension treatment

Change-Id: Ie949d6235c2a5a984f7c7867262f8336721f1ee7
2015-11-24 19:42:43 +00:00
Shashikanth VH
1ca26ced9e [ONOS-2607] Implement BGP LS topology provider and listen on Node and Link changes of BGP Controller.
Change-Id: I811ca8d078ab5825819cef81fd8096d842f76c44
2015-11-24 17:15:49 +00:00