358 Commits

Author SHA1 Message Date
Charles Chan
aedabfd27a Remove duplicated multicast prefix declaration
(Following #7957)
Also,
Update copyright
Few documentation improvements

Change-Id: If4a6b9f168e9d7587976f1f2b59c2b59b81c6c2f
2016-03-01 20:11:59 +00:00
Jian Li
597d7b2fbd [ONOS-4014] Refactor *Id classes to extend from Identifier class
- Refactor all of *Id classes in protocols package
- Refactor all of *Id classes in utils package

Change-Id: Ie53f078174d0bd0cb5ab4ef6786f1025a7d70846
2016-03-01 06:12:48 +00:00
Charles Chan
4ca8e60b95 Introduce an easy way to check whether an IP address is multicast or not
Change-Id: I192a1b3e04b843fa0446d011cc98393a1950a5a9
2016-02-26 17:00:29 +00:00
HIGUCHI Yuta
b49b007c3f Add some serializer related sanity check
Change-Id: I5ebdde41f5528b5bad0c704b11c191afed45691e
2016-02-23 07:54:48 +00:00
Thomas Vachuska
4844808991 Introducing concept of a physical or logical region to facilitate
support of geographically distributed cluster and to lay ground
for multiple/filtered topology layouts.

Added implementation of manager and store; unit-tests included.

Change-Id: Ia01673a0b711b8785c0ea68768552c2f61d7ea6d
2016-02-22 11:24:45 -08:00
Jonathan Hart
7f4bc52841 Cleanup a few of the CORD apps.
* Removed or turned per-packet logs down to trace in the PIM app
* Can now reconfigure remote sync host in CordMcast
* CordMcast catches REST exceptions rather than bombing

Change-Id: Iae027d5ce1d9047827ea80b071dc77ca49c65206
2016-02-21 20:04:34 -06:00
Jonathan Hart
81d73102c3 Calculate IGMP checksum and use more reasonble max response time.
Also made IGMP properties configurable at runtime.

Change-Id: I98b40a43a0c17b7bf21f1bd622032c64d7434214
2016-02-19 19:14:10 +00:00
Murat Parlakisik
dc17f7bd28 Shared system timer and executor services - monitoring
Change-Id: Ieaa889447dbcb78e4d27fe7409fae463177372b8
2016-02-18 18:53:47 +00:00
Sho SHIMIZU
b5638b8bf3 Add utility method to convert an Optional to a Stream
Change-Id: Ibc77d9bd7fc5232af01abc9b590a62801f13d65f
2016-02-16 23:39:38 +00:00
Jonathan Hart
6ccfc5a3b9 Fixes to the IGMP app to process group membership reports
Change-Id: I7a478011caadb8250f6a25b5fb5a820485e593b6
2016-02-15 01:29:33 +00:00
Rusty Eddy
bcad55b9e6 Added some incoming JoinPrune processing
Change-Id: I7c89f05119ffa012b8e79f05d0f5f63744282ffb
2016-02-12 17:44:17 +00:00
Jonathan Hart
54119bbe6b Add neighbor lifecycle management.
* Made PIMNeighbor mostly immutable (apart from updatable timestamp)
 * Equals and hashCode for PIMNeighbor
 * Remove neighbor when we see a HELLO with holdTime==0
 * Periodic task to time out neighbors who haven't sent a HELLO in a while
 * Added a CLI command to view PIM neighbors

Change-Id: I59e52a847f7abcb8e9ac660c2cccace53e46867b
2016-02-10 15:05:47 -08:00
Jonathan Hart
5af5f149c5 Added configuration for PIM interfaces.
Now the PIM application requires PIM Interface configuration for each interface
that will have PIM enabled (no longer uses all ONOS interfaces). The
interface-specific PIM parameters can be tuned.

Change-Id: Ibc284fdbe1b3aa4da48097b3e92470bce4f349a7
2016-02-10 14:43:26 -08:00
Madan Jampani
c27b6b2deb Fix files with windows line endings + Add checkstyle rule to catch this issue
Change-Id: Ic1905f2121c5c2ab66259f7f531c1e36fe58e9d4
2016-02-05 19:51:54 +00:00
Ray Milkey
b7f0f64dcc ONOS-3460 - Link provider that enforces strict configuration
This provider uses the "links" configuration of the network
config and only allows discovery of links that are in
the config.

Refactoring will be done in a subsequent patch set - the DiscoveryContext and
LinkDiscovery classes are duplicates, they need to be refactored so the
LLDP provider and the Network Config provider can share them.

Change-Id: I4de12fc1c4ffa05e3cac7767b8a31f48ba379f6c
2016-02-03 21:22:12 +00:00
Madan Jampani
7a7ef6d3dc A utility for deferring callback invocation until a preset number of actions complete
Change-Id: Ie4200688072387f53fd01bcb88bc32cc1a6914ce
2016-01-27 07:43:04 +00:00
Jian Li
7f256f5376 Fix all javadoc warnings
Change-Id: I26ba78195fd8245eeb25c29ba27cc4b11b2eb791
2016-01-24 15:28:54 -08:00
Jian Li
dfba739230 Fix javadoc warnings
Change-Id: I3de24a04593f47c786f698f5ee1669b3d2f2fdfc
2016-01-23 02:38:40 +00:00
Sho SHIMIZU
85803e2f36 Add more convenient version of CompletableFuture.allOf()
Change-Id: I40a2db5de22870adf524a9d0e1895c721291a50f
2016-01-14 15:25:19 -08:00
Sho SHIMIZU
31f37edd99 Define sub-types of Bandwidth to reduce round-off error
Two sub-types are defined
- LongBandwidth
- DoubleBandwidth
LongBandwidth can reduce round-off error cause by floating point arithmetics.
These classes are not exposed outside the package and only instantiated
through static factory methods.

Change-Id: Ice5d8ff1397c9dd9c8c1fff46af256fff08fa616
2016-01-14 07:35:50 +00:00
Madan Jampani
f2f086cfd8 Added Change utility class for representing change events + Moved Match class to org.onlab.util
Change-Id: I08e8cd8dd92983bd2764e83016b1abc0bf29388f
2016-01-14 03:15:08 +00:00
Ray Milkey
aef4585a6d Revert changes to use constants for Sonar suppression
It turns out that suppression annotations have to have the actual
string literal in them; if you use a defined constant SonarQube
ignores the suppression.

Change-Id: I3628df116d182b01a108da0d6f059784a3be4fed
2016-01-13 17:19:20 +00:00
Jian Li
68c4fc4862 [ONOS-3737] Bump up checkstyle version from 2.16 to 2.17 with some compilation fixes
Change-Id: I3ade52ff15b3114f5748ab3151c02c8c74af38f0
2016-01-12 03:07:57 +00:00
Sho SHIMIZU
00762ee39f Avoid potential round-off error caused by floating point
Change-Id: If1a6266c7a0951441de3fe444663a109bb819056
2016-01-10 03:15:59 +00:00
Jian Li
6080432e78 [ONOS-3535] Implement control metrics aggregation logic
Change-Id: I9953146851d5f3fdf7bcee9561fa86ddb7c7b3fe
2016-01-10 01:24:11 +00:00
Shashikanth VH
e7eacfd580 Hex dump read for channel buffer
Change-Id: Ife5e49d488c9806e30530b48bb189f7e4a191e97
2016-01-06 02:40:54 +00:00
Ray Milkey
9f87e51954 Sonar related fixes
- suppress SONAR warning for printing stack trace in CLI
- add string constants for the Sonar suppression identifiers

Change-Id: I03992f89675f9d074347042b7a196dbcc1036c28
2016-01-05 23:55:33 +00:00
HIGUCHI Yuta
9092db839e Event history service and CLI
- Tool created while debugging ONOS-3509

  Usage Example: (See recent Mastership and Device events)
   onos> events -m -d

Change-Id: I87aceaf8fe61732a61c2d1e39399d0f10a729b54
2016-01-04 23:35:37 +00:00
HIGUCHI Yuta
b7a15d7bb2 Modify MPLS/VLAN query
- ONOS-3507 VlanQuery to return available VLAN IDs
- ONOS-3508 MplsQuery to return available MPLS Labels
- Advertise that VLAN and MPLS resources are available on OVS

Change-Id: I74cd05393c8919b4823d0666348008adb93c9290
2016-01-04 18:52:13 +00:00
Ray Milkey
676249ca1a Fix Sonar critical flagged bugs
Change-Id: I60e9f72a1a66f65366d7dbc5335922e75097c9f3
2015-12-30 19:02:11 +00:00
Qianqian Hu
33836dff2a Fix bugs for AaaManger and RADIUS
Change-Id: I112a3207ccd9b580e59e8ec328cb6db1e32ca38a
2015-12-24 05:37:37 +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
Ray Milkey
86f20ccece [Falcon] Fix SONAR flagged blocker issues
- add comments to suppress two instances where we really do want to catch Throwable
- implement equals() methods where only hashValue() was implemented

Change-Id: Iecfd66ff50fbd433977d1affd74f5f05d0a047e5
2015-12-17 19:08:19 +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
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
Aaron Kruglikov
07d80383de Rebuilding K Paths algorithm
Change-Id: I8f5223cd3004ec89b203b1f177cd226911426906
2015-12-10 00:12:55 +00:00
Jian Li
48190bb1df Add MetricsServiceAdapter for unit test
Change-Id: I5210e14c7cd6e462d750046f5557371ba7d29f15
2015-12-10 00:12:32 +00:00
Madan Jampani
17ed48b5d1 Added a utility method for creating store Serializer from a single KryoNamespace and some additional classes
Change-Id: I1326759bf83a2e4f943ea52df8ebd7e9356c3a93
2015-12-09 19:45:33 +00:00
Madan Jampani
83c27832cf Added an extended set that provides methods to get and (conditionally) replace existing entries
Change-Id: Iec788ac010c59f31ff6d08a84ae3642b2d662fb2
2015-12-08 18:43:28 +00:00
Jian Li
5fc142927a [ONOS-3222] Implement toString method for each Packet class
Change-Id: I17d72338d4202117d08b3dca9463be35a87a0c1e
2015-12-08 07:43:44 +00:00
HIGUCHI Yuta
436f8d57c5 Use StandardCharsets where possible
Change-Id: I7fd997b2ce57ad1704d988e55966bacac954f00a
2015-12-08 07:35:12 +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
Marc De Leenheer
b0fb41d003 Implementation of lambda query behaviour for LINC and Calient drivers.
ONOS-3431

Change-Id: I03b7e7c9d2b0ba7e55d09745cfc6ceb57cc6eb5e
2015-12-04 15:37:53 -08: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