887 Commits

Author SHA1 Message Date
Charles Chan
009c30805c Fix duplicate host event
Change-Id: I632a1482e7b1b768ce7a0243cc8b6b398b9825b7
2015-11-10 18:19:53 -08:00
Luca Prete
f70d399a81 Refactor ProxyManager Tests and added functionality to manage traffic coming and going through vlan interfaces
Change-Id: I8d748c42b48d0956c670be12ff2742cb2022fa62
2015-11-10 00:09:13 +00:00
Madan Jampani
a85c6941dc Fix eventDispatcher cleanup in ResourceManager
Change-Id: I37c82c7dab75def607268e36f2f98e04d41581d9
2015-11-09 14:41:48 -08:00
Sho SHIMIZU
0b9c46889f Remove dependency on LinkResourceService from ObjectiveTracker
This resolves ONOS-3262.

Change-Id: I57b51b9d8ef1ed2d847ecddeca279b8afdb8725e
2015-11-06 11:25:45 -08:00
Sho SHIMIZU
fa62b475da Implement event notification of resource event
When a resource is registered or unregistered, a resource event is notified

Change-Id: I40e66761966ef2126366424a14bb3193fc850e5a
2015-11-06 11:25:37 -08:00
Sho SHIMIZU
3e255b1b73 Remove misleading todo comment
This patch relates to ONOS-3279.

Change-Id: I58d758dafa6e04fca0979d9a478078b03f51b5a1
2015-11-05 16:39:18 +00:00
Thomas Vachuska
c65dd7198e ONOS-3321 Added ability for applications to register a deactivation hook.
Change-Id: I284321474dbf9e39e8b61f7b907f637ba6b80aaf
2015-11-04 17:26:58 -08:00
Sho SHIMIZU
f1a6279ea0 Enable ResourceRegistrar
Change-Id: I23b1c33ada224f302e08c0f6e8dfa7264048e19b
2015-11-04 21:12:07 +00:00
Sho SHIMIZU
f26e692cf3 Remove dependency on LinkResourceService from MplsPathIntentCompiler
In addition, revise test to make the situation more realistic

Change-Id: If23648b77f2eddbe27873711dab3b196a4a2729d
2015-10-30 17:26:57 +00:00
Sho SHIMIZU
cc0e65dbb0 Move MPLS label selection logic to MplsPathIntentCompiler
Change-Id: I2c64ca2a6ac363a0138e6940471893673ce3b83f
2015-10-30 15:48:58 +00:00
Ayaka Koshibe
144bab0c35 opticalUtils advertises correct port types
This should proactively prevent linc-OE from misbehaving if support for changing
port type through the network config system is added.

Change-Id: I80667f0292922eca37a51f3e461b6745ecbf9d46
2015-10-30 05:58:44 +00:00
Sho SHIMIZU
81cdc395b7 Make MPLS label request specifiable for a particular MPLS label
Change-Id: I4626229040c61e927a468ab5c486a907af0108ae
2015-10-29 22:47:47 +00:00
Sho SHIMIZU
7f44cfc47d Remove dependency on LinkResourceService from optical intent compiler
Change-Id: I1fae0a33817de973676a02cf40d4bb378aac0460
2015-10-29 22:16:47 +00:00
Sho SHIMIZU
c25a00860a Move wavelength selection logic to OpticalConnectivityIntentCompiler
Now, LinkResourceManager doesn't have a logic to select lambda(s)

Change-Id: I008d770f4f142f3d67afa734e50bd8761a0aafd2
2015-10-29 17:09:16 +00:00
Sho SHIMIZU
e7f4f3f1c3 Define and implement a method to query available resources
Change-Id: I49fbcdf215e402603ea15f469d41e572f1cce1c6
2015-10-29 09:01:54 -07:00
Sho SHIMIZU
9a2b82960b Enable new resource APIs and re-enable optical intent compilers
Change-Id: I8fb0b20be342e123a1bfe4cc61577dfddbbf9332
2015-10-28 21:05:22 +00:00
Yafit Hadar
5796d97985 REST API related implemetations for ODU SIGID and SIGTYPE Fields in Flow Criteria and Instruction
Change-Id: I78ddc162409d377b8c55e7f8eedd9a91939ab277
2015-10-28 18:30:28 +00:00
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