856 Commits

Author SHA1 Message Date
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
Sho SHIMIZU
7462641ac8 Use lambda expression to simplify statements
Change-Id: Ib8ddac6e93327ade9d42984d8eba66be7047d051
2015-09-15 06:13:13 +00:00
Brian O'Connor
b3a3b52f46 Rolling back to snapshot 1.3.0-SNAPSHOT
Change-Id: I5394f02bc4cc4614427e5e535889e883944734fd
2015-09-10 17:26:49 -07:00
Brian O'Connor
cbc5878c31 Tagging 1.3.0-rc2
Change-Id: Id062ea54a0f03c26eb763e03cc347dbfe63cd03f
2015-09-10 17:08:00 -07:00
Thomas Vachuska
58de416ef1 Fixing copyrights.
Change-Id: Iacdddaf1b83fa24998730c3f714fcaf35351ae9e
2015-09-10 16:18:10 -07:00
Ayaka Koshibe
2c59acfdc9 Link config enhancements:
o Links can be injected using configs
o fix for AllowedEntity check on links
o config for link durability
o Link operator methods for creating Link descriptions

Change-Id: I8a1fabc688a2e7eeb579feced451a6c1ba7e3232
2015-09-10 20:29:01 +00:00
Sho SHIMIZU
883354c2a7 Simplify statement by using a method in standard library
Change-Id: I1c04b42017e26c864c9e147e2731a814315ca5e2
2015-09-10 20:07:47 +00:00
Sho SHIMIZU
7a4087bd92 Use diamond operator
Change-Id: I9bb7e90ce7f45e65b4081a5bf85570b97e44712e
2015-09-10 16:56:23 +00:00
Sho SHIMIZU
d82a4e6d46 Remove redundant type cast
Change-Id: I9bd51cc78bcb8fb4b475aac1e10dd54f901241e7
2015-09-09 22:12:50 +00:00
Sho SHIMIZU
5a6e2e5ac3 Write missing @return tag description
Change-Id: I8932667e4d99320fbe41438b675c910c1c50d82b
2015-09-09 22:12:12 +00:00
Sho SHIMIZU
006e4861b8 Remove unnecessary semicolons
Change-Id: I02e0b1484b4e441cf84b416e5c2407dbd820b3f8
2015-09-09 21:50:48 +00:00
Sho SHIMIZU
d88db6f142 Use diamond operator
Change-Id: I966c7033fc97259b3c3727a07d552c675a9446a4
2015-09-09 21:50:38 +00:00
Sho SHIMIZU
b89d491606 Simplify statement
Change-Id: Idd5f4ab291be62001d74b89a93fa48650eaf1e20
2015-09-09 14:37:59 -07:00
Sho SHIMIZU
0044f572aa Use equals() for comparison of String
Change-Id: I825ed37f0aec36d6c7f7de96953de6b80a8802b3
2015-09-09 14:15:41 -07:00
HIGUCHI Yuta
d275afd566 Fix type mismatch
Change-Id: I98cf7239e422be816cfee637fde726a015c9c565
2015-09-09 17:06:23 +00:00