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
Brian O'Connor
c90d184a76
Fixing log message in IntentCleanup
...
Change-Id: Idbbfd8004f84b8667ad8c6bcf1572ada7026686d
2015-10-01 15:52:00 -07:00
Charles Chan
103e981efc
Fix NPE in DistributedFlowStatisticStore
...
Change-Id: If2cbae329000d1cc5ef5b1ca32980e460be2b263
2015-10-01 22:04:19 +00:00
andrea
73f0378a63
Added test file
...
Change-Id: Ie1a24924c6fe6d9a522640c7155976524b755ee0
2015-10-01 22:03:52 +00:00
HIGUCHI Yuta
fe2122ce52
Synchronize Multimap access.
...
- ONOS-2626
Change-Id: I730b310e67ab858999a16565b05c2904d9d9481c
2015-10-01 20:54:53 +00:00
Ray Milkey
911c519e31
Unit tests for packet processing the the AAA app
...
Change-Id: I51149fdf9ce5bfe4ee8d67564165b94f3e39e379
2015-10-01 16:36:41 +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
andrea
33279c8f41
Minor formatting changes in unit test for component config loader
...
Change-Id: Ifa6e69d09d902d6c894fac4878a18b864c8ec4e3
2015-09-30 23:14:35 +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
andrea
7837576b5a
ONOS-2957 added loding configuration component from file.
...
Change-Id: I916470e80252dbbc014d31777b55ba20ea199d80
2015-09-30 19:03:53 +00:00
Sho SHIMIZU
b70d6c5abe
Remove unused method
...
Change-Id: I19c79c00910522d1e25ba70d9ac03baa1becc7e8
2015-09-30 14:59:46 +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
280e791115
Remove use of org.onosproject.net.resource.ResourceAllocation
...
The name will conflict with the primitive in new resource API during
future refactoring. This commit is to avoid the conflict.
Change-Id: I47928ba6fa56c00aea7c0f85d7be8593b4862cba
2015-09-30 00:42:24 +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
d5bdbf8619
Refactor: Remove unused parameter
...
Change-Id: I8f719833a85deae175649dfb2bede4ea6684611f
2015-09-29 14:41:13 -07:00
Sho SHIMIZU
0f9a68cdfd
Refactor: Remove unused parameter
...
Change-Id: Ieef2177484fbe94e17d4a3105237ed2c6f36e116
2015-09-29 14:41:13 -07:00
Brian O'Connor
a9c18b9ba3
ONOS-2979 ObjectiveTracker improvements
...
- Removing unused intent map
- Passing copy of intents to recompile to prevent ConcurrentModificationException
- Dropping Host Updated events (only act on ADDED, MOVED, and REMOVED)
Change-Id: I86520c45f51e74c21cc47aab94a746c0b4135f93
2015-09-28 16:08:01 -07:00
HIGUCHI Yuta
3b3bd1e964
Deprecate Tools.slurp(..)
...
Change-Id: Id88c7e03a5bfcdfba2fb743ee7816576de25f59d
2015-09-28 14:09:50 -07:00
chengfan
e264bef448
ONOS-3010 implement flow with meter
...
Change-Id: Ib629b74441480c6902a492ed3ddd21adb452af87
2015-09-28 20:47:23 +00:00
alshabib
5196e86392
cleaning up some meter code
...
Change-Id: Ie901d51cf6ade2c497f90fadb093179404967d13
2015-09-27 10:59:50 +02:00
alshabib
70aaa1b931
adding device specific counters for meter ids in
...
the meter service.
Change-Id: I38d38a0a85024927f5a74013b2b4d9efa9b32d22
2015-09-27 08:52:08 +00:00
alshabib
c59aa0d8e5
stops an instance from removing packet requests upon deactivation
...
Change-Id: I4ac7536ab5d10e0a08ae5af1c7ad9900ab99b139
2015-09-26 03:03:12 +00:00
Sho SHIMIZU
2581e1893b
Remove constructor deprecated in Cardinal
...
Change-Id: I116c96373cbbf2d12770d7146d984d307d2859a4
2015-09-25 18:41:35 +00:00
Sho SHIMIZU
66a8554a17
Remove enum deprecated in Cardinal
...
Change-Id: I8200f75d34156e1233a249fddab79c72b79b7cc3
2015-09-25 18:35:26 +00:00
Sho SHIMIZU
bccb002b25
Place @deprecated tag in Javadoc
...
Change-Id: Icd08c2587302193e99f81c961f3c46acfaf0b11d
2015-09-25 16:43:25 +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
605854f98a
Remove methods deprecated in Cardinal
...
Change-Id: I345893732a8902e8485c82026bf12d49feae9464
2015-09-24 22:35:13 +00:00
Sho SHIMIZU
a5beadcafd
Remove optical related APIs deprecated in Cardinal
...
Change-Id: I0e428039cc99247d1bfe6493a926ebac0adb1ebc
2015-09-24 22:34:51 +00:00
Sho SHIMIZU
c3cf5bce6a
Remove deprecated constructor in FlowRuleIntent
...
Change-Id: Ib5b72ed3782de2de12622db666321b327d0e8f0b
2015-09-24 22:21:35 +00:00
Sho SHIMIZU
7e6c8265bd
Remove deprecated method
...
Change-Id: I39b027ef07afe7629f882fc9ccb02d5aabdd5710
2015-09-24 14:40:37 -07:00
Jonathan Hart
0cca3e8842
IntentManager: Don't compile all failed intents on every event
...
Also don't compile all failed on any Host event. Intents that care about
hosts should have that host tracked and react to changes in that host only.
ONOS-2978
Change-Id: I1f6b2b2fa31987cffff0f9a7a9aa0191dc1edbcf
2015-09-24 13:20:21 -07:00
Jonathan Hart
d06f93f2ab
Remove log from get methods on DistributedGroupStore
...
Change-Id: I170fa833b885c5704c8b84a87eebf82dc70f5761
2015-09-24 11:20:25 -07:00
Thomas Vachuska
93c88048e5
Fixed a defect where packet requests issued from different instances resulted in 'redundant' packet requests due to different order of criteria serialization.
...
Change-Id: Ice8a0fea11b993fd4fc50b8093e02203fd76c772
2015-09-23 22:39:37 +00:00
ssyoon90
30fbcd97d1
[Emu] openTAM: NewAdaptiveFlowStatsCollector Implementation
...
- NewAdaptiveFlowStatsCollector.java
.Bug fix to initialize callCountCalAndShortFlowsTask value
.Added flowMissingXid variable to identify individual StatsRequest or match all StatsRequest message or not
- DefaultTypedFlowEntry.java, TypedStoredFlowEntry.java
.Added javadoc for class
- OpenFlowRuleProvider.java
.Line 2: 2014 -> 2015
.Added adaptiveFlowSampling boolean property with default
.Added call providerService.pushFlowMetricsWithoutFlowMissing in case of individual StatsRequest
- FlowRuleProviderService.java
.Added pushFlowMetricsWithoutFlowMissing() function
- FlowRuleManager.java
.Added pushFlowMetricsWithoutFlowMissing() implementation
- OpenFlowControllerImpl.java
.Bug fix to unchange the StatsRequest Xid value in case of StatsReply Flow message type
Change-Id: Id4dc4a164da654af7b6dfb090af7336e748ef118
2015-09-23 18:13:02 +00: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
Yafit Hadar
a9a73def6a
[Emu] Open Flow Optical Port Description
...
Change-Id: I8da4d7a1e1dea18d56cba9673f70b1ec69a5adcf
2015-09-23 16:43:35 +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
Thomas Vachuska
3ece373c81
Added a new GUI view for packet processors.
...
Change-Id: Ia0c6a23b389c4033b94deefdc32a2543b9c9cfa5
2015-09-22 23:58:50 -07:00
Thomas Vachuska
924cda424c
ONOS- 2946 Adding ability to view packet processor statistics.
...
Change-Id: Ic55ec670b197b1ee08f2d11f97658fd614da1614
2015-09-23 00:20:44 +00:00
Thomas Vachuska
0ae4560f76
Fixed a few javadoc warnings.
...
Change-Id: I3a382a87abe99dffc0b7ee599e6552a5e1984e9b
2015-09-23 00:20:17 +00:00
Brian O'Connor
57e83e860d
Throw exceptions when registered properties that do not exist
...
Change-Id: I527c36b9be5c44ab4072218b3d18008c0ae486b6
2015-09-22 15:46:03 -07:00
HIGUCHI Yuta
0f3aaff2ed
minor javadoc fixes
...
Change-Id: I56edebfecc0fb5d94ddf1c3614d6bf92422c997f
2015-09-22 22:24:41 +00:00
Nikhil Cheerla
2ec191fa98
Disjoint Path Utils Exposed
...
- to TopologyStores
- to TopologyServices
- to PathServices
- to REST API
Change-Id: Ib2b5840df0f8e94f327ec8f91827d3d850634562
Change-Id: I03e59210e9c79c4f92dcfa8c7983642572708429
Change-Id: Ia5c17d1ded374ef688990bd30e7f99184aaca95b
Change-Id: Ibebae50bc722701e8212263587727ad8abd79805
2015-09-22 14:29:19 -07:00
Nikhil Cheerla
1cf0f9a41f
[Emu] Disjoint Path Utils Exposed (to DefaultTopology)
...
Change-Id: I1d59d7a5a89618bd7419f00a0da674e87fe9bdb3
2015-09-22 13:45:18 -07:00
Jonathan Hart
65d551b50e
Compute the flow ID at build time rather than when fromApp() is called.
...
Depending on the order that the application calls the builder methods,
there may not be any selector, priority, etc. added at the time fromApp() is
called. This means there's no entropy to the hash function so all flows end
up with the same flow ID.
Change-Id: I9badedc343fdf6f3ee7f73547955cd84302d9226
2015-09-22 18:21:05 +00:00
Brian O'Connor
f107bd7193
ONOS-2947 Improvements to HostService
...
- Added ability to replace IPs for existing hosts to HostProviderService
- Moved createOrUpdateHost to use compute() (rather than get/set) in HostStore
Change-Id: I8ac035d010ae65f23158d2237f9fc97c8f811dd4
2015-09-22 00:41:03 +00:00
Thomas Vachuska
7f171b2ce9
ONOS- 2946 Adding ability to view existing packet intercept requests and packet processors.
...
Change-Id: Id0d82fb4a19506ec607a71856dbf0c33c8e51baf
2015-09-22 00:40:11 +00:00