348 Commits

Author SHA1 Message Date
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
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
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
Charles Chan
2340c7985b Improve toHexString such that caller can specify the separator
Change-Id: Ibbcdd2844a4ff5900104f9cd020703bf687bec34
2015-11-29 21:35:40 +00:00
Ray Milkey
36992c8f9d ONOS-3379: Config REST 500 errors on GET operations if keys don't exist
Change-Id: Ie32bdb70693c5571421840265b4be71d0706d797
2015-11-20 02:42:21 +00:00
Simon Hunt
8f39cfbe53 Make DefaultHashMap class final.
Change-Id: Ia651b5aa098b584559e5ef2556dcac3178da615b
2015-11-16 11:39:27 -08:00
Jonathan Hart
d9df7bd278 Fix naming convention issues in preparation for stricter checkstyle enforcement
Change-Id: I918b7b1dcf6424a526b6b26b89acc9a57d807fec
2015-11-13 16:28:02 -08:00
Simon Hunt
95d56fdd4f ONOS-3347 - HostMoved event now processed correctly.
- added new DefaultHashMap utility class
- updated TopoViewMsgHdlrBase for cleaner event translation.

Change-Id: I1c5e8c981e2d617366c25f497dc9336e09684a2e
2015-11-12 21:05:38 +00:00
HIGUCHI Yuta
ca9cc8e28e Avoid use of Objects.hash when there's only 1 params
- directly call #hashCode() when hashed Object seems non-null
- replace with Objects.hashCode(Object) when Nullable
- replace with Long.hashCode(long), etc. when primitive

Change-Id: I08c24ebbe94cf4162d1491209a14baf953163e41
2015-11-05 21:47:59 +00:00
HIGUCHI Yuta
501c465c04 Add DataRateUnit to help specifying Bandwidth.
Change-Id: I2b83922d98cab5571408b920a89bb8b704934255
2015-10-29 22:39:44 +00:00
Aaron Kruglikov
f27dba65f5 Added the option to execute on the local thread.
Change-Id: I168eafb2eb57387a7ce5861ff6b8f2b89afd81dd
2015-10-28 20:04:42 +00:00
Charles Chan
119eeb558a Add IPv6 support to Ethernet.toString()
Change-Id: I392b63cee0742ebdd469a6782899184f3086a817
2015-10-28 17:15:41 +00:00
Aaron Kruglikov
b0ca8cfa50 Changing manually advanced timing for high load.
Change-Id: I89e0919cb9a4353d0b79e71862055d67dbeabf42
2015-10-27 10:33:41 -07:00
Jonathan Hart
3e594649d5 Change OLT app to push Q-in-Q tagging flows rather than transparent VLAN flows.
Device VLAN is set through configuration, subscriber VLAN can be added using
CLI (eventually this will come through a call from the AAA app).

Moving towards generalizing this app as an 'Access Device' app rather than purely OLT.

Change-Id: I9b82b39f6a2dee2c6f10f3fd13b261f3e0313db7
2015-10-22 18:48:19 +00:00
Rusty Eddy
0c12e40bb0 Added symbolic names with the correct values for
PIM Address families IPv4 and IPv6

Change-Id: I8ae675fa1df052c4ef0b73b27449add534cc5c3c
2015-10-21 14:18:41 +00:00
Luca Prete
e3879f7651 ONOS-3165. Make MAC not mandatory. Fixing IP (constructor was still doing checkNotNull)
Change-Id: I6663504f63df25260aa62c28337cdadb83dfd361
2015-10-20 16:47:54 +00:00
Rusty Eddy
158d5d8819 IGMP Deserialize now properly uses the offset and
length parameters to deserialize the correct area
of data buffer.

Change-Id: I5d8869c25d397d5d07aad014ef00d0decef22d4f
2015-10-17 13:02:18 +00:00
Aaron Kruglikov
4ce0b04910 Adds manually advancing timer.
Change-Id: I83936f4fff577b0f23404560c6ecfbc0c9f18e2e
2015-10-08 22:57:56 +00:00
Satish K
e107e665b2 [Emu][ONOS-2593, ONOS-2594] BGP SBI controller and session handler
Change-Id: Ia95717ff173b2e3e1198bdd0fafef7cb0aa8f734
2015-10-08 21:44:15 +00:00
HIGUCHI Yuta
3b3bd1e964 Deprecate Tools.slurp(..)
Change-Id: Id88c7e03a5bfcdfba2fb743ee7816576de25f59d
2015-09-28 14:09:50 -07:00
HIGUCHI Yuta
cf4d6172b7 Fix resource leak warning.
Change-Id: I7aa926d8a62220a902e983b4b692abecd8f687e1
2015-09-25 19:21:44 +00:00
Thomas Vachuska
48e64e4b5b Cleaned up the SRLG and disjoint path code and naming.
Change-Id: I02b6fe5ee1e3f5eadc4e88800386a23349ee5e58
2015-09-23 16:41:43 +00:00
HIGUCHI Yuta
f2710c7cb6 bugfix: equals comparing a field with itself
Change-Id: I02df9a7ca3788bf736edb89e39215992e2d6c375
2015-09-23 00:31:47 +00:00
Rusty Eddy
9cbc095cd2 Improvided PIM Hello option handling by creating the
PIMHelloOption class.  Also fixed a typo for pim regsiter
stop message type.

Change-Id: Iff06ce7d2746ebc34811205f4c4a4d4784e2740c
2015-09-21 22:45:35 +00:00
Thomas Vachuska
58de416ef1 Fixing copyrights.
Change-Id: Iacdddaf1b83fa24998730c3f714fcaf35351ae9e
2015-09-10 16:18:10 -07:00
Thomas Vachuska
b9c7ea63ad Fixing javadoc warnings and package grouping.
Change-Id: I6bf0d9e66c27cd1fad1cd0a83491e33939bd7875
2015-09-10 15:17:02 -07:00
Rusty Eddy
80f12527dc Added packet handling functions for PIM, Specifically
PIM Hello and PIM Join/Prune messages along with
respective PIM encoded address types

Change-Id: Iaef2e3581e27fa910ad355043bcb3e175238706a
2015-09-10 20:15:22 +00:00
Sho SHIMIZU
8dc81ea90c Apply JUnit4 style test
Change-Id: I16a639dbf5f9dd7f08068cf94312e5d04cb8776a
2015-09-10 20:08:03 +00:00
Thomas Vachuska
e796610b1f Modified host discovery to suppress discovery of self-assigned IP addresses.
Change-Id: I40e7c20a6f5b76abe9d9481a135581431e8fcd9f
2015-09-10 01:53:02 +00:00
Ray Milkey
9b36d81ce3 Javadoc fixes
Change-Id: Id23ed2d576b2222194153be9d043ca5acafe67ae
2015-09-09 23:54:01 +00:00
Charles Chan
3599d63162 [ONOS-2808] Properly deserialzes NDP packets without options
In addition, add following cases into NDP unit tests:
    - testDeserializeBadInput
    - testDeserializeTruncated (NDP headers only, options skipped)

Change-Id: Ia295a5bd7fcdcc25ac556da7bc2eaab13ad8e3b8
2015-09-08 16:44:19 +00:00
samanwita pal
8969cbe4bc Removing DHCPMessageType as DHCPPacketType Class was already defined
Change-Id: I01e6f8cb5a1eedba11f1f24cc19a27ef2d815b38
2015-09-04 23:01:32 +00:00
HIGUCHI Yuta
d57cdc4522 Fix byte[] comparison using equals
Change-Id: I1185e16f540d69870d7762d8a8ec1cd8871e2c2b
2015-09-04 22:31:35 +00:00
alshabib
0588e57103 fixing dhcp serialization problem
Change-Id: Ie049f9c1e464ca9a2b651df74f7b979628d0d745
2015-09-04 22:03:27 +00:00
HIGUCHI Yuta
1651e985ca Add missing executor.
Change-Id: I397142388b27d7c66c90ce8f85c08457f872fc55
2015-09-04 13:45:08 -07:00
Rusty Eddy
1da61a2404 Serialize / deserialize functions for IGMP, IGMPv3 Membership
Query and IGMPv3 Membership Report.  IGMP has been added to
the IPv4 deserialization map.

Change-Id: I6d46c3771b6589f1cbd839c58521ffab94b5e230
2015-09-03 19:14:12 +00:00