3094 Commits

Author SHA1 Message Date
Madan Jampani
dfde6ba92f Added an async version for AtomicValue and misc javadoc improvements
Change-Id: Idc401964a726d221c01ecda0cc42c4a92551113f
2016-01-14 00:58:16 -08:00
Jihwan Kim
9887ad9dfe [Falcon][ONOS-2696] support method "replace" in ConsistentMap and method "notNull" in Match
Change-Id: I7c7d4644f963e52297785c2f9a5f21eff8723e61
2016-01-14 08:15:05 +00:00
Sho SHIMIZU
4590604b64 Use Objects.nonNull() to check if non-null
Change-Id: Ib32f56c1d53e4199592f457d04660228b7f437aa
2016-01-14 08:14:31 +00:00
Sho SHIMIZU
828bc16cac Use JDK's Objects instead of Guava's Objects
Change-Id: I58e5013e953b3528a99c54712ac4f6a7f10b4cb4
2016-01-14 08:12:39 +00:00
Michele Santuari
69fc2ffb07 Support encapsulation in PathIntent
- related to ONOS-3467
- unit test work
- depends on ONOS-3507 and also on the advertisement of VLAN resource
  for different devices.

Change-Id: Ia852c751135b5ca4a16901c6f3a85ceea11514a3
2016-01-14 07:40:15 +00:00
Sho SHIMIZU
6c9e33a3fa ONOS-3296: Support continuous type resources
Change-Id: I155e41e7a7c1750ff45986a55bedab353485d3fa
2016-01-14 07:36:56 +00: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
alshabib
fa0dc66f7f adding a criterion for inner vlans
used by olt to match on the inner vlan

Change-Id: I7671b68d9860d598395cba134a589ca23f264c7e
2016-01-14 06:55:18 +00:00
Sho SHIMIZU
62bbc60247 Refactor: remove an extra inner class, IntentBatchProcess
IntentBatchProcess wraps a collection of IntentData to just behave
as Runnable. It can be removed by lambda expression

Change-Id: Ic6e1ae840311faff6314a8ce9db9a5277d8595cd
2016-01-14 06:48:12 +00:00
Madan Jampani
1c965106f4 Renaming Partition{Service, Manager, Event} to IntentPartition{Service, Manager, Event} to better disambiguate between another PartitionService that is responsible for managing datastore partitions
Change-Id: I74d311ae991fb241563a1475ea74a625d8069142
2016-01-14 06:41:36 +00:00
Madan Jampani
71d13e188b use maven shade plugin version defined in root pom + Minor fixes to CopycatTransport based on review comments
Change-Id: Iac2bd2e7eca99208930eb319e2f3996fbf043f88
2016-01-14 03:15:24 +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
HIGUCHI Yuta
556cf1ea45 Fix javadoc error.
Change-Id: I98ed05ec5467894345e4f0b07b4d4b46ab55d8f5
2016-01-13 18:04:58 -08:00
HIGUCHI Yuta
4ea4e42e25 Should compere scheme.
- Bugfix for bug introduced in bugfix for ONOS-3509

Change-Id: I459112483e22c0493bf9c628a0540036f8ee779b
2016-01-14 01:17:04 +00:00
Madan Jampani
3289fbf050 Added custom transport implementaion (for Catalyst Transport) for all copycat specific communication
Change-Id: I801d973b7c3412f6a8efcec77fe73fc480b2ce6e
2016-01-14 00:49:27 +00:00
Madan Jampani
d36def0944 MessagingService API enchancements
Change-Id: Iabfe15d4f08d7c53bd6575c5d94d0ac9f4e1a38e
2016-01-14 00:19:34 +00:00
Sho SHIMIZU
8992524553 Refactor: Remove IntentWorker by replacing it with lambda
Change-Id: Ic5d235f9b47711c4f87fbcb2e7af83853248ace5
2016-01-13 22:58:03 +00:00
Sho SHIMIZU
ab6c1fec54 Refactor: use ifPresent() instead of isPresent()
Change-Id: I41d6cbf7ba209728ae7e3661e7188ab8eab093e4
2016-01-13 14:21:26 -08:00
Simon Hunt
be60ddebd6 ONOS-3755: use thousand separator for packet and byte counts, etc. Fix alignment (numbers right justified).
Change-Id: Idb407fb16a82d5e3fb6fd10a6599b263a777deb2
2016-01-13 12:49:44 -08:00
Toru Furusawa
72ee30ca50 [ONOS-3730] Populate portSpeed for ODUCLT and OCH ports.
Also move the enum definition of ODU client port signal type outside of OduCltPort class.

Change-Id: Ibdff21d9707ad3d79587f579ad675f673cf9afeb
2016-01-13 19:27:54 +00:00
Rimon Ashkenazy
e320103340 Add new OFOpticalSwitch13 LambdaQuery, and corrections to OMS port Desc:
- fix OmsPort totalChannels(),
 - fix creating OMS PortDescription with correct parameters of min/max frequencies.

Change-Id: I9adbbb4e1e9ebe20ba4b3c2ae23b7a0651af5d66
2016-01-13 19:03:27 +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
3756cc39ac Change applicationId's equality checking and hashing method
Application id in applicationId class is transient.
So it would be better to use application name to check equality.

Change-Id: I5f6807054e9a882316ff0a88242cb752eb78bcb9
2016-01-13 08:11:47 +00:00
Simon Hunt
3e4ccaf052 ONOS-3749: Show Flow ID and group ID in the flow table as hex values.
Change-Id: If98e0d76876ada2fa1c8d01a1b89230d1919f6c5
2016-01-12 20:53:11 -08:00
Jonathan Hart
24e296b869 Prevent null treatments
Change-Id: Icd40ab7f986f9738d0445428cd1f0c9053ed4e88
2016-01-12 14:47:07 -08:00
Ray Milkey
64591a6efd Fix problem with apps disappearing after cluster restart
Change-Id: I5d7d6b86677fc5deb8d576e3e5b107c8c4c763e5
2016-01-12 18:13:02 +00:00
Thomas Vachuska
138de8bf40 FIxing basic device config and demoting some config-related messages to debug.
Change-Id: I38b8479a9e3f367c26b0400de4c7b92719f19dcc
2016-01-12 18:09:31 +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
Andrea Campanella
dcb5e9343a Log for pending configuration
Change-Id: I17ca41de66862eb5c6f818cc0bce7ee8e371fc79
2016-01-11 17:46:38 -08:00
Ray Milkey
fd563f5df4 Fix for ONOS-3649 - ONOS loses AAA app config across cluster restart
The persistent map for the network config store uses the app ID as
a key. App IDs were not presisted, and could be generated differently
when a cluster comes back up. This change makes the IDs persistent.

Change-Id: I665ebc764cdf57c10fecda4f0b2206f2a2aa191c
2016-01-11 15:09:30 -08:00
Sho SHIMIZU
76b30f7881 Rename ResourcePath.Key to ResourceId for naming consistency
Change-Id: Idb34624f897b0fd5745f26758a007c171f4cd774
2016-01-11 22:38:16 +00:00
Sho SHIMIZU
7e6d18ec9d Introduce ResourcePath.Key
Change-Id: I4efd5c13a12f2bad5482f5b432e2f1ef2c337805
2016-01-11 22:08:15 +00:00
Hyunsun Moon
c8fe98b869 Added ARP criterions to KryoNamespaces
Change-Id: I2ed9ac8d664f2e532118752f4f63e0fbdff73a00
2016-01-11 00:02:53 -08:00
Sho SHIMIZU
00762ee39f Avoid potential round-off error caused by floating point
Change-Id: If1a6266c7a0951441de3fe444663a109bb819056
2016-01-10 03:15:59 +00:00
HIGUCHI Yuta
82b3c11ecb Add hasBehaviour to DriverHandler
Change-Id: I2bcfb06795b923de4356937a0baee35b37c7d979
2016-01-10 03:05:12 +00:00
Qianqian Hu
8514f47618 The flowrule is already removed, there is no need to remove it again
Change-Id: I47206dbab68042b02e4ee67c5f3816e595aac38f
2016-01-10 03:01:49 +00:00
Jian Li
8bcef8bfaf [ONOS-2225] Add codecs with unit test for FlowObjective REST API
* Add codec for FilteringObjective
* Add codec for ForwardingObjective
* Add codec for NextObjective

Change-Id: I715aa7f1969697468692459052fd27cc65ca2363
2016-01-10 02:59:56 +00:00
Thomas Vachuska
6f350ed200 ONOS-3725 Adding ability to retain pending configs.
This allows up-load of configurations before their backing classes are registered by apps/subsystems.

 Validation and delegation of network config change events is deferred until the class registration.

Change-Id: Ifc9c97fbc86e764cb03cecb1f73f7191de3e7754
2016-01-10 01:26:57 +00:00
Simon Hunt
db450ee093 Reverted constant accessors to be public again.
Change-Id: Iaae04eb4157350d7a16e7998eb3ed64082d158bd
2016-01-10 01:20:10 +00:00
Naoki Shiota
6bc04be587 Fixed a bug that ComponentConfigManager#preSetProperty always fails to update a property value.
Change-Id: Id696d4920c6968c4b7592b60644b7593cec0de16
2016-01-08 21:39:08 +00:00
Thomas Vachuska
36008463bd Fixed an issue in basic host and basic link config validations.
Added validation for basic device config.

Made all concrete configurations final (as they should be).

Changed stc to use the new onos-netcfg as a method to re-locate and name devices and hosts.

Change-Id: I372e6c7e6c0fa6fa52301568af73342aaae6347b
2016-01-08 19:30:24 +00:00
Toru Furusawa
0f5da69026 [ONOS-3717] Add checkNotNull for the parameters of the constructors of OchPort, OduCltPort and OmsPort.
Change-Id: I48a5735b3b421d7bbcd91e318ae7bb090d914cbc
2016-01-07 23:49:50 +00:00
Toru Furusawa
c23f583cd0 [Falcon] Register TributarySlot resources in resource manager.
Change-Id: I61d63a7644a9edc2296a8f955af2ac2bfb93a5e4
2016-01-07 22:48:35 +00:00
Ayaka Koshibe
3ddb7b2575 [Falcon] link discovery -
- safety checks against fingerprint being null
- checks for foreign fingerprint and probe message origin

Change-Id: I2f3e491802afc2091335bd25fcf24865293bde10
2016-01-07 19:45:32 +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
Aaron Kruglikov
7adb89ee1a Adding omitted copyright.
Change-Id: I6efdf3ce8e3a7a08c1988f5e65d3ba779564e5b6
2016-01-07 02:05:57 +00:00
Andrea Campanella
80520b89b1 ONOS-3650 Device driver multiple inheritance
Change-Id: Ib7b72d44533d4e63c4122662b50485243562aa21
2016-01-07 02:02:02 +00:00
Marc De Leenheer
622861dab2 Lambda queries don't rely on driver state, and have separate package.
Lambda query returns unsorted set.

fix for ONOS-3620

Change-Id: Ifffd03271f9c8c02be8897c3891c80148342757e
2016-01-06 18:56:07 +00:00
Thomas Vachuska
762a2d8d0b Fixing various exception issues.
Change-Id: Ic02d66c2ebceda8c05f93b367aa9ff38a11a7a5b
2016-01-06 18:49:59 +00:00
HIGUCHI Yuta
d95f3cda0c ONOS-3422 inter-domain cross connect
- Add network configuration about cross connect port for CO-ONOS
- revised metro.py requires ecord.co app after
  (Change-Id: I3892e780bc6550f8a8d8be622b9fee5322c1dab5)
  to be loaded.
- stop using onos-topo-cfg to send netcfg

Change-Id: Ie90e69c4134d1f71893bf43ee6c290bdbd273aeb
2016-01-06 18:34:37 +00:00