1436 Commits

Author SHA1 Message Date
Jonathan Hart
d6fb053d40 Delay loading startup applications.
We need to ensure ApplicationService is fully activated before we try
to load any applications that may depend on it.

Change-Id: I77bcf2534cc43056facb5dca5b6947ab52e61dcc
2016-01-22 02:57:51 +00:00
Madan Jampani
32347e0351 pom clean up and Remove unsed code
Change-Id: Ifdd44b91c92a2cb469e6d204d1e91e6f8e0a9f9e
2016-01-21 14:05:58 -08:00
Madan Jampani
f4c8850e37 Refactor change: Moved all distributed primitive implementation classes into onos-core-primitives bundle
Change-Id: Icd5dbd4133cb2f21bd403bcd598e6012813e6bfd
2016-01-21 12:50:27 -08:00
Madan Jampani
ad3c5269ef Using provider pattern for cluster metadata.
Change-Id: I5a572b3df9149be959dde9868a9c594dec26a3e0
2016-01-20 23:01:29 +00:00
Jian Li
115991625f Bump up Karaf to 3.0.5
This commit bumps up karaf to 3.0.5.
This commit also bumps up the jetty to 8.1.18.v20150929.

Change-Id: I52849c38b535205db8c4e00e799b332f63b7e3f2
2016-01-20 22:11:10 +00:00
Sho SHIMIZU
2c0ae12dd6 Always use ImmutableList.of() when returning an empty list
Change-Id: I54abee905abacea32f5c49ead2e98a2caf116fbe
2016-01-20 21:28:13 +00:00
Jian Li
c35415ddcd [ONOS-3634] Enhance app to have a category, icon, URL and readme
This commmit enhances application to have category, icon, URL and
readme. The web GUI and CLI will be implemented in separate commits

Change-Id: Ib02716d7118cc617b24f196f2213ea1fe99a34be
2016-01-20 00:30:35 +00:00
Sho SHIMIZU
96b39e2988 Remove a method checking if non-null by using Optional
Change-Id: Iec8d9016e09c6637574bf5b6f1aab5d8bfbec07a
2016-01-19 11:48:57 -08:00
Madan Jampani
a090a118ef Added DistributedPrimitive interface
Added AsyncDistributedSet that provides async set operations

Change-Id: I83494075a7973694ea6b7445ff4799b7a1a50641
2016-01-19 19:37:37 +00:00
Sho SHIMIZU
27e1b923ac Make return value null-safe
Change-Id: Ia56fac56ef8c036328ef6804386c0f86bd157f8f
2016-01-19 19:31:34 +00:00
Madan Jampani
8474fdd384 Fix how default partitions are created
Change-Id: Icb4881fb87b982d88502a0201175dbc2bc209c9c
2016-01-19 18:31:00 +00:00
Sho SHIMIZU
69305abc0d Remove blank lines
Change-Id: I2d5b7ef13ce3820b2ba296e7112f10165275d9ba
2016-01-15 18:31:51 -08:00
Sho SHIMIZU
9fa6b8b23c Improve null safety by returning an empty list
Change-Id: I88e673b1ed0b9edfe86c9b1b4004ad9b95271d29
2016-01-16 01:20:20 +00:00
Sho SHIMIZU
b814773209 Restrict the visibility of methods only accessed from the same package
Change-Id: Ia735baeb6035df597773dfbe260831e97656a9fa
2016-01-15 22:14:02 +00:00
Sho SHIMIZU
26cc180736 Restrict class visibility
Change-Id: I8dfc35cd811045b698c8e05c2dff71b6fff38acc
2016-01-15 21:01:15 +00:00
Madan Jampani
ab7e7cd285 First round of ClusterMetadata improvements:
Introduced a PartitionId type for identifying partitions
    Introduced a admin service for making metadata updates
    Update cluster.json format to specify all partitions (including p0) and changed partitionId to be an int.

Change-Id: Ia0617f1ed0ce886680dcee4f5396a4bbdfa225da
2016-01-15 19:32:09 +00:00
Brian Stanke
7dee11ea4c ONOS-1770 DefaultDistributedSet.toArray(T[]) does not support array size different than set size.
Change-Id: Ibf3e32ac466e1142a17457b52e091897326d8ba8
2016-01-15 18:46:17 +00:00
Sho SHIMIZU
8fa670a8f9 Refactor: Rename ResourcePath to Resource for a better name
Also the followings
- Rename variables from path to resource
- Update Javadoc

Change-Id: I07da7e7d13882f2134a3687c66ed91a9de5b0849
2016-01-14 20:54:42 +00:00
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
828bc16cac Use JDK's Objects instead of Guava's Objects
Change-Id: I58e5013e953b3528a99c54712ac4f6a7f10b4cb4
2016-01-14 08:12:39 +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
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
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
Ray Milkey
64591a6efd Fix problem with apps disappearing after cluster restart
Change-Id: I5d7d6b86677fc5deb8d576e3e5b107c8c4c763e5
2016-01-12 18:13:02 +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
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
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
Thomas Vachuska
762a2d8d0b Fixing various exception issues.
Change-Id: Ic02d66c2ebceda8c05f93b367aa9ff38a11a7a5b
2016-01-06 18:49:59 +00:00
HIGUCHI Yuta
1979f55af7 Bug fixes for ONOS-3509
- Forwarding behavior added to {Device,Link}Store by ONOS-490
  cauesed false update information sent from ONOS node, which has been detached from the cluster,
  to be accepted by rest of the cluster after the detached node has rejoined cluster.

- Fix for periodic mastership check was left out
  when MastershipService#requestRoleFor(..) return value was changed to Future.

- Fix for triggerProbe() related messages getting dropped,
  right after STANDBY -> MASTER role change.

- Local state (connectedDevices) was preventing
  vertical (Core -> switch) Mastership state synchronization.

- Various debug log, comment added during investigation.

Change-Id: I777beadf04db8a879830a07bfdc7ab0e2279f190
2016-01-06 09:12:33 +00:00
Changhoon Yoon
e71dfa4847 ONOS-3521: SM-ONOS performance improvement
Change-Id: I8643187f2ceb35f8e0701d9e7ddb10098f05b244
2016-01-05 14:14:18 -08:00
Jian Li
fc5ca93765 [ONOS-2809] Support a TransactionalSet data structure
Change-Id: Ia99bc2285b3fea39ee3845f5f6613a45a6a61626
2016-01-04 22:29:54 +00:00
Jonathan Hart
89e981ff59 Update 'last seen' field on flow rules
Change-Id: I7400bd181c41e605c03a60d05b08337e529e080a
2016-01-04 22:17:27 +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
alshabib
1400ce9def fix for host remove event when an instance comes back online
Change-Id: Ie9099eabcda7f7e0435a09eeca17e2f8954e051d
2015-12-16 15:05:47 -08:00
Charles Chan
7ba33f498e Add MplsBosCriterion into KryoNamespaces
Change-Id: I7053d616f596be684dbaeaafa3ad9d1a116d622a
2015-12-16 04:34:20 +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
Brian O'Connor
b22ba656bb Switching back to snapshot 1.4.0-SNAPSHOT
Change-Id: Ic0ff8fe27d46b0662f596db9185591736efa6cf9
2015-12-11 17:02:48 -08:00