1270 Commits

Author SHA1 Message Date
Sho SHIMIZU
a06767890d Refactor: Revise implemtation of getAvailableLambdas()
Change-Id: Ief731b9c3b9899819ad26549ecab936d14cad74a
2015-10-28 18:05:08 +00:00
Charles Chan
ad3b550f5f [ONOS-1264] Add IPv6 unit test for ProxyArpManager
Change-Id: I1d4ec1f06508bd1bf1d54b299b0ae4ac1d5482d9
2015-10-28 17:46:07 +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
Thomas Vachuska
fa8aa2f188 Fixed an NPE in device manager/provider.
Change-Id: I0240bc6f591881efefc1043eb620068d6ab2d9a4
2015-10-14 01:47:31 +00:00
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
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
andrea
fe3308fa13 minor formatting changes
Change-Id: I361955b820489793ffb8f6b9b9ff24d429e1dd99
2015-10-06 23:20:00 +00: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
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
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
Sho SHIMIZU
5f1fa014f4 Refactor: Remove unused fields
Change-Id: I224bdc1f2148d68b317028aafaed07dca39ba50f
2015-10-02 14:56:18 -07:00
Sho SHIMIZU
5c16df85a6 Replace method call of DeviceResourceService with that of ResourceService
Change-Id: I7a0400652cd43831a3fff4c0dc73fbe79d4eb633
2015-10-02 21:54:44 +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
Brian O'Connor
c90d184a76 Fixing log message in IntentCleanup
Change-Id: Idbbfd8004f84b8667ad8c6bcf1572ada7026686d
2015-10-01 15:52:00 -07:00
andrea
73f0378a63 Added test file
Change-Id: Ie1a24924c6fe6d9a522640c7155976524b755ee0
2015-10-01 22:03:52 +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
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
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
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
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
c3cf5bce6a Remove deprecated constructor in FlowRuleIntent
Change-Id: Ib5b72ed3782de2de12622db666321b327d0e8f0b
2015-09-24 22:21:35 +00: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
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
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
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
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
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
Jonathan Hart
46080b6834 Remove all address bindings code from Host subsystem.
This has been superseded by the InterfaceService.

Change-Id: I8aae4cfe00752a84e545a1030c199aea8b59da38
2015-09-21 20:57:13 +00:00
Jonathan Hart
fb32a6e80c ONOS-2309: Add check in HostMonitor to make sure we only send out edge ports
Change-Id: Id128319163786487c5b545fbc51e47097edfe0ab
2015-09-21 19:58:40 +00:00
Jonathan Hart
39ee64855b ProxyArpManager: Factor out common logic for handling ARP and NDP packets.
Change-Id: I0709f9cda2506f01dbc912b8c3e12443ec217fed
2015-09-21 19:58:39 +00:00
Brian O'Connor
f967ad61dc Starting snapshot 1.4.0-SNAPSHOT
Change-Id: I6b64a70eb8c416b58689afd2af7d726153176f6b
2015-09-18 15:19:54 -07:00