3083 Commits

Author SHA1 Message Date
Jonathan Hart
82efa69543 IntentCleanup: Only log if we actually did some work
Change-Id: If9041c28738b5363f491bb07053d0c34454eb76c
2015-10-13 17:45:06 +00:00
Brian O'Connor
5251562d15 Fixing Javadoc errors
Change-Id: I72b9d49e052316cbbbef343d367ffffe13cd4e56
2015-10-09 17:08:17 -07: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
Brian O'Connor
7664e7de2a Adding NOACTION to EncoeInstructionCodecHelper
Change-Id: I5c85a934df552b8d0bfcc2d6f4fa19a5aa0f8ce7
2015-10-09 00:58:56 -07:00
Brian O'Connor
983a17efb3 Removing extra lines in DefaultTrafficTreatment
Change-Id: I83c0070f66ed433eb91be9478b6978f3de1b5f9a
2015-10-09 00:58:56 -07:00
andrea
ed976a405f Inserted set and get controllers methods in ovsdb controller config
Change-Id: I791ff2ae159d0ac50beff22abda2b187913428f6
2015-10-09 02:07:00 +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
HIGUCHI Yuta
c7c1d35a9d Fix equals comparing against wrong type
Change-Id: If972a3a7b28c05cbdd9df5c7e5103ebbb5eaf533
2015-10-08 16:00:20 +00:00
Brian O'Connor
b75a67a009 Updating DefaultTrafficTreatment
- Updating EMPTY treatment to contain NOACTION
- Remove NOACTION when building treatment from existing treatment
- Putting NOACTION into immediate set if no actions exist

Change-Id: I408b6b8daf2a3d38604a900c09d7c15cc3994757
2015-10-07 15:33:09 -07:00
Thomas Vachuska
ea5adc6b44 Corrected output of network configuration subjectKeys in JSON output; no longer relies on subject.toString.
Change-Id: If4e07bc27cfaf8feb59397a5f104e5f663504f6e
2015-10-07 20:57:03 +00:00
Sho SHIMIZU
e289f43608 Narrow exceptions to be caught
Change-Id: I72d3153d8451e82bf2889d3fb983fdc9b5a37e6c
2015-10-06 22:36:34 -07:00
andrea
fe3308fa13 minor formatting changes
Change-Id: I361955b820489793ffb8f6b9b9ff24d429e1dd99
2015-10-06 23:20:00 +00: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
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