2466 Commits

Author SHA1 Message Date
Sho SHIMIZU
e1b463baf9 Remove wildcard type parameter to simplify declarations
Change-Id: I628dc39704b357fcfc07a453fc54d55f1cc4d755
2015-10-05 15:39:19 -07:00
Ray Milkey
e609941352 Temporarily remove several intent compilers that have unstatisifed dependencies
Change-Id: I6b207f8a720fd70b998be6442c917638fe65a87d
2015-10-05 18:03:25 +00:00
Charles Chan
5d5e062963 [ONOS-641] Update unit tests to include IPv6 as well
- HostMonitorTest
    Add more IPv6 related test cases
- HostLocationProviderTest
    Add more test cases, including:
        NS/NA
	RS/RA
	DAD
	IPv6 unicast
	IPv6 multicast
	IPv4
- HostLocationProvider
    Minor indent fix

Change-Id: Id4c3af430862c61872ccaa98beac3a47313206ac
2015-10-05 18:03:01 +00:00
alshabib
ed0951fc64 initial impl of a multicast route table
Change-Id: Ic86a0665d1ade6b85b05e602ead2bd9c0a7dde07
2015-10-05 16:46:09 +00: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
dd106a6d4e Simplified component config loader with preset method that sets the configuration regardless of the component state
Change-Id: Ia2e987c3b6d15339396737dfa68c6973d714798c
2015-10-02 22:19:09 +00:00
Sho SHIMIZU
a6426cb218 Refactor: Remove intermediate layer just delegating to DeviceResourceStore
Change-Id: Ie46298311e889a737c4c2ecaefa09ba1bc13d547
2015-10-02 22:18:25 +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
Sho SHIMIZU
5c16df85a6 Replace method call of DeviceResourceService with that of ResourceService
Change-Id: I7a0400652cd43831a3fff4c0dc73fbe79d4eb633
2015-10-02 21:54:44 +00:00
alshabib
2ce0c733ce cleaning mcast route data type in preperation for the backing store
moving package to API with BETA tag

Change-Id: I62a611dcb67b6b4d3ee6f90ed2e963ea345b7d6e
2015-10-02 18:34:06 +00:00
Sho SHIMIZU
8d7caff4d6 Remove unused fields
Change-Id: Ibc305eb392145cf3327ae134a8f338731244265e
2015-10-02 10:06:42 -07:00
Sho SHIMIZU
9abfc4489a Remove reference that is only used in unit test
Change-Id: I261242daedb55ecb86d8f9c862aed98230c1540c
2015-10-02 10:06:23 -07:00
Sho SHIMIZU
f853b0efb6 Add a method to get resource allocation of the given resource
Change-Id: I06b2f83b5a07a1bcbada9db5263abd2e1a4a4d17
2015-10-02 16:54:21 +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
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