Sho SHIMIZU
d936b42182
Change the return type of commit() to indicate the result
...
Change-Id: I4658a89fb0a496baa929579ab7800d00e842d685
2015-11-03 18:54:28 +00:00
alshabib
dc5d8bd75d
fixing bug that would not let device come back online
...
Change-Id: Ie2cc9c35159320d5abab0b38984baecc2928b00e
2015-11-03 00:58:25 +00:00
Jonathan Hart
3c25916dff
Generic extensions to the treatment API to support protocol extensions like
...
OF experimenter actions.
Change-Id: I88cc5896d17fdbf89807f911f9c23e4f19f6a5ad
2015-11-02 22:02:11 +00:00
Ray Milkey
ccda0b5dc7
Enable checkstyle rule to enforce package-info.java files
...
Change-Id: If837601380e4950b46ad1332bd3c20ef59cc216e
2015-10-30 17:21:08 -07:00
Sho SHIMIZU
e7f4f3f1c3
Define and implement a method to query available resources
...
Change-Id: I49fbcdf215e402603ea15f469d41e572f1cce1c6
2015-10-29 09:01:54 -07:00
Sho SHIMIZU
9a2b82960b
Enable new resource APIs and re-enable optical intent compilers
...
Change-Id: I8fb0b20be342e123a1bfe4cc61577dfddbbf9332
2015-10-28 21:05:22 +00:00
Yafit Hadar
5796d97985
REST API related implemetations for ODU SIGID and SIGTYPE Fields in Flow Criteria and Instruction
...
Change-Id: I78ddc162409d377b8c55e7f8eedd9a91939ab277
2015-10-28 18:30:28 +00:00
Simon Hunt
e2b6a2bab6
Fix for ONOS-3220 : Implement Comparable on intent Key.
...
Change-Id: Ibba4a972d2e3a82b5bf9256893a82501236021cb
2015-10-27 19:11:16 +00:00
Jonathan Hart
4bb4b056b8
Moved persistence tests to correct directory so they are not part of runtime bundle
...
Change-Id: Iae5d4d4b48c15873ff77c2fd6be9d1d2fcaea5a2
2015-10-26 18:10:56 -07:00
Aaron Kruglikov
92511f22a0
Creating persistence service.
...
Change-Id: Ib78b4001a24c71b4096e5a2a446dbd5009aa1090
2015-10-26 21:48:30 +00:00
Madan Jampani
ec1df02f3e
In preparation for dynamic clustering support:
...
- Added Cluster metadata service and metadata store interfaces
- Added a static cluster metadata store implementation that is backed by a local file.
- Consolidated the existing cluster.json and tablets.json metadata files into a single cluster.json file that has all the cluster related metadata.
- Removed dependency on ONOS_NIC env variable.
Change-Id: Ia0a8bb69740caecdcdde71a9408be37c56ae2504
2015-10-23 17:51:08 +00:00
Sho SHIMIZU
ba1f83b9e3
Fix typo
...
Change-Id: I5cb328a3724a1960439cab2a03b2d9412754eb55
2015-10-14 22:55:27 +00:00
Thomas Vachuska
40e63e66f1
Fixed an issue where consistent map exception in distributed packet store would prevent apps/components from properly starting.
...
Fixed the fast and net-pingall.xml scenarios.
Change-Id: Ie5712c5c134bb81181dd2bdb307da5ec13851d45
2015-10-13 16:16:20 -07:00
Sho SHIMIZU
0d0376176d
Avoid overlap of resource allocations
...
Change-Id: I7b1905ea694039909623fdc0bf3e505799cbdafa
2015-10-13 17:46:23 +00:00
Sho SHIMIZU
cfe707af5e
Add @Beta annotation because APIs is not stabilized yet
...
Change-Id: Id6111180be6c21a5287e2b53abacdfb43931abd4
2015-10-13 17:46:00 +00:00
Brian O'Connor
21b028e526
ONOS-2890 Deactivating apps removes other apps' packet processors
...
- Reworking store commands to use compute for updates
- Trigger add/remove to devices on map events
Change-Id: I33391435945c1775a9ef0cdc83920fc1cadfd658
2015-10-09 20:50:11 +00:00
Sho SHIMIZU
1dcef07e4d
Remove a conditional branch that is not meaningful
...
The isolation level of TransactionalMap is repeatable read. Read values
for the same key don't change during a transaction. The removed
branch is never executed because the variable "before" is null.
Change-Id: I5cd1f7a488e3585d5a1e92dd5b50d52261edf415
2015-10-08 21:09:46 +00:00
Sho SHIMIZU
e289f43608
Narrow exceptions to be caught
...
Change-Id: I72d3153d8451e82bf2889d3fb983fdc9b5a37e6c
2015-10-06 22:36:34 -07:00
Aaron Kruglikov
82fd63255c
Adding atomic countetr compare and set method
...
Change-Id: I5cf459e9e09ab1a84ced8160ef61d6a52ea4bea4
2015-10-06 22:31:19 +00:00
Sho SHIMIZU
1bd72c2f83
Reduce duplicated code
...
Change-Id: Iac8f2c0ec7336d936425701976e090b413186d8d
2015-10-06 11:05:00 -07:00
Sho SHIMIZU
eca9f3550a
Don't create an empty set by using Stream API
...
Change-Id: I835cbf6f4926c3391e901597b6d8d203f28a3f41
2015-10-06 10:31:52 -07:00
Sho SHIMIZU
04ae54a5ff
Use switch statement instead of if statement
...
Change-Id: I0ba108cc53bbc03e086e1433dff65a356aee7886
2015-10-06 17:18:38 +00:00
Sho SHIMIZU
48588a7e53
Refactor: Reduce depth of indent
...
Inline enumerating over enum values
Change-Id: Icff35340d91490b67b05d521f7addc6519d2b47a
2015-10-06 17:04:05 +00:00
Sho SHIMIZU
e1b463baf9
Remove wildcard type parameter to simplify declarations
...
Change-Id: I628dc39704b357fcfc07a453fc54d55f1cc4d755
2015-10-05 15:39:19 -07:00
Jonathan Hart
9a426f8ade
Generalize IntentSynchronizer and separate reactive routing code
...
* IntentSynchronizer can now handle any intent rather than having use
case specific APIs
* IntentSynchronizer does not generate or store intents anymore, it only
perform synchronization
* SdnIpFib generates and manages the procative route-based intents
* ReactiveRoutingFib generates and manages the reactive intents
* Unit tests have been tightned up to only test single components, rather
than multiple components together
* PeerConnectivityManager uses meaningful keys when creating intents
Change-Id: I4bb036ec8d056f43ece46f7dfc71d5e5a136b77d
2015-10-05 16:06:56 +00:00
Srikanth Vavilapalli
95810f5465
CORD-13:Table Statistics support along with CLI and REST
...
Change-Id: Ic7facc73754c4b1e7c9c5a9eecd217f89a67e135
2015-10-05 15:56:38 +00:00
Sho SHIMIZU
a005a6e5e2
Refactor: Reduce depth of indent
...
Change-Id: I9a1beb803619cc0ec8b4b23761bbfb03ffc49fa4
2015-10-02 16:42:19 -07:00
Sho SHIMIZU
a890e7c12a
Refactor: Simplify statements
...
Change-Id: I8f6f25e08bde450d8c1c56a21d0b03fed00e664f
2015-10-02 23:26:55 +00:00
Sho SHIMIZU
f618cb0807
Refactor: Remove null check
...
This is safe because getResourceCapacity(ResourceType, Link) never
returns null
Change-Id: Iabca2ef2dc933b4f2c0578bc4f9fb10848e1df1c
2015-10-02 23:15:26 +00:00
Sho SHIMIZU
88d36e2e07
Refactor: Reduce depth of indent
...
Change-Id: I8ee247c790585a260d28438479d6992e431e6e90
2015-10-02 23:07:10 +00:00
Sho SHIMIZU
26e46c78a1
Remove unused field
...
Change-Id: Ic7d113cea9e35db3a5fc7c0d1d257ee46a32551b
2015-10-02 22:57:37 +00:00
Sho SHIMIZU
7d20af107c
Refactor: Rename to more descriptive name
...
Change-Id: I013c45690f7f405b66d656fd8e53d4a41c31e6da
2015-10-02 22:56:54 +00:00
andrea
fd912ac7a5
minor name changes and javadoc
...
Change-Id: I43a05d75392efad9ac004867027a31adcc18c6f5
2015-10-02 22:18:14 +00:00
Sho SHIMIZU
5f1fa014f4
Refactor: Remove unused fields
...
Change-Id: I224bdc1f2148d68b317028aafaed07dca39ba50f
2015-10-02 14:56:18 -07:00
Sho SHIMIZU
506f287ff0
Refactor: Remove unused methods
...
Change-Id: Ib31bea1a27b16cdb9556748ecb9f9ab7eb689f3c
2015-10-02 21:54:46 +00:00
HIGUCHI Yuta
180d70fe87
Use separate instance of serializer for ClusterMessaging and ECMap
...
- might be related to CORD-199
- Builder was not intended to be shared, since they are mutable
- also unsubscribe from cluster communicator on deactivate()
Change-Id: I0eebec1d5420277b33e2fb373119ffcb40a31c43
2015-10-02 10:35:10 +00:00
Charles Chan
103e981efc
Fix NPE in DistributedFlowStatisticStore
...
Change-Id: If2cbae329000d1cc5ef5b1ca32980e460be2b263
2015-10-01 22:04:19 +00:00
HIGUCHI Yuta
fe2122ce52
Synchronize Multimap access.
...
- ONOS-2626
Change-Id: I730b310e67ab858999a16565b05c2904d9d9481c
2015-10-01 20:54:53 +00:00
ssyoon90
a98825ab5d
[Emu] openTAM: FlowStatisticManager, DistributedFlowStatisticStore, get-flow-stats CLI Implementation and NewAdaptiveFlowStatsCollector update and typo
...
- GetFlowStatistics.java
.Fixed function name typo: immediateLoad()
- SummaryFlowEntryWithLoad.java
.Added javadoc
- TypedFlowEntryWithLoad.java
.Added javadoc,
.and replace checknotnull and throw NullPointerException in typedPollInterval() at line 104
Change-Id: I23d2eaf234d0affeb5f927275148d9165c66c774
2015-10-01 11:29:45 +00:00
HIGUCHI Yuta
99b7b34663
Fix synchronization issue
...
- synchronizedMultiMaps needs to be synchronized,
when iterating over it's contents.
See:
http://static.javadoc.io/com.google.guava/guava/18.0/com/google/common/collect/Multimaps.html#synchronizedMultimap(com.google.common.collect.Multimap)
Change-Id: I398079a67e9fab58edc9d6f0295169939e640ba2
2015-09-30 20:59:11 +00:00
Charles Chan
7efabebd01
[CORD-197] Properly handles a flow with empty instruction
...
Change-Id: Ia465fdc8df1dca7a46249cd4cd8d41faf8461c3a
2015-09-30 13:37:04 +00:00
Sho SHIMIZU
5eb79c5f69
Remove unnecessary cast
...
Change-Id: I66acf110940f8562234461b88d7c97070e0568e4
2015-09-30 00:12:21 +00:00
Charles Chan
138cd5a1a4
Fix serializer in DistributedGroupStore
...
Change-Id: I27f0b9e110592782bc6e886ad94c2086942aa073
2015-09-29 16:57:41 -07:00
Sho SHIMIZU
66a8554a17
Remove enum deprecated in Cardinal
...
Change-Id: I8200f75d34156e1233a249fddab79c72b79b7cc3
2015-09-25 18:35:26 +00:00
samanwita pal
e7c08deb4c
ONOS-2926 Adding unit test to verify removeIp in ECHostStore
...
Change-Id: I9606b4cbfc440e5c03186031eba5ec1a97326569
2015-09-25 16:15:32 +00:00
Jonathan Hart
4a29c59c89
Suppress log message about IntentData without origin set.
...
Also similar log in ECMap when we try to remove an already-null value.
Change-Id: Ie059f60fd3406ba0e1824b43c6fe122a5064ed6f
2015-09-24 19:22:30 -07:00
samanwita pal
c40e5ed5ba
ONOS-2926 Remove IP instead of host when the IP mapping is released
...
Change-Id: Ifea3366ce8a18ea068e615636b3069e769221c0e
2015-09-25 01:51:31 +00:00
Sho SHIMIZU
a5beadcafd
Remove optical related APIs deprecated in Cardinal
...
Change-Id: I0e428039cc99247d1bfe6493a926ebac0adb1ebc
2015-09-24 22:34:51 +00:00
Jonathan Hart
d06f93f2ab
Remove log from get methods on DistributedGroupStore
...
Change-Id: I170fa833b885c5704c8b84a87eebf82dc70f5761
2015-09-24 11:20:25 -07:00
Madan Jampani
e5723dc66f
[Emu] MutexExecutionService for running tasks that need to run only on a single instance.
...
Change-Id: Idf9fedbbf15c014e97c77db25aa608cd1db53b27
2015-09-23 17:20:00 +00:00