3083 Commits

Author SHA1 Message Date
Jonathan Hart
72175c2376 Moved duplicated isUpdateAcceptable method to IntentData
and wrote a unit test for it.

Change-Id: I8b38476c41fba70abbba7ed0b37364696f17966d
2015-03-25 18:39:31 +00:00
Jonathan Hart
b59ac4eaee Reduce log level for frequent leadership event log
Change-Id: Ie074588a516f160de92ba8ee9a51d7b9fbcfe43d
2015-03-25 17:30:57 +00:00
Thomas Vachuska
5630c61407 ONOS-1323 Upgrading environment to use Apache Karaf 3.0.3
Requires restart of any dev shell sessions that may have KARAF_VERSION=3.0.2 already set.

Developers that have their own local Karaf will have to run 'onos-setup-karaf <ip-address>' command

Change-Id: Iba234b3cd5af89de6dd249c97cac97525364cc34
2015-03-25 00:56:59 +00:00
Srikanth Vavilapalli
717361f32f Distributed group store using eventual consistent map abstraction
Change-Id: I618a0f6fa80e0e25285d7a2026032f09ba90aa70
2015-03-25 00:27:54 +00:00
Sho SHIMIZU
ee2aa65a3d Merge IntentInstaller's role into IntentCompiler
It resolves naming mismatch in naming of IntentProcessPhases and states
handled in the phases. It is described in ONOS-1064.

- Define FlowRuleIntent that enables flow rule level operation
  as an intent.
- Remove IntentInstaller interface
- Existing installable intents such as PathIntent, LinkCollectionIntent,
  OpticalPathIntent and MplsPathIntent now become non installable intents.
  Only FlowRuleIntent is categorized as installable intent now.
- Implement intent compilers for PathIntent, LinkCollectionIntent,
  OpticalPathIntent and MplsPathIntent. They generates FlowRuleIntents.
- Write unit tests for the newly created intent compilers according to
  the intent installers' unit tests
- Remove all intent installers and their unit tests

Change-Id: I22d6c7acb65a4c066145de0018bd0727f44bd54a
2015-03-24 14:09:04 -07:00
Ray Milkey
e076c791a5 Implement builders for optical intents
Change-Id: Ide728a943eb0ec3d3ba995f63c016e7d52bff65c
2015-03-24 20:08:31 +00:00
Madan Jampani
6e0d147193 Fixes a javadoc warning
Change-Id: I0da1e4bd229940bbf6d64f12349f134aae326f4b
2015-03-24 20:05:52 +00:00
Thomas Vachuska
4fcdae7c03 GossipApplicationStore fix to prevent attempt to notify delegate when there isn't one yet. Fixes an intermittent NPE.
Change-Id: I49a2f0da08949fb4f589e6e831a74e5728196a2f
2015-03-24 11:39:05 -07:00
Ray Milkey
4250735018 Remove deprecated instructions() method in the traffic treatment class
Change-Id: I739b35bdcbf9867c639c7b6ca4006f3eeafbb055
2015-03-24 18:18:28 +00:00
Madan Jampani
7c5210069d ONOS-1362: Support async version of ConsistentMap that lets efficient chaining of operations
Change-Id: I672a15ba2a517db3e22f6ce8d739ca48307e6e63
2015-03-24 00:00:32 +00:00
Thomas Vachuska
0d6af8d983 Fixed a defect where remotely-induced feature install was trying to stomp over locally -induced feature install.
Change-Id: I1cb2c2dd3da03a34b80b1db312056b44cc9c1f9f
2015-03-23 15:54:47 -07:00
Madan Jampani
7d2fab296a ONOS-1326: Added support for observing when node liveness status was last updated. Useful for detecting/debugging stability issues.
Change-Id: I8ffebcf3a09a51c6e3e7526986a0f05530ed757f
2015-03-23 21:45:52 +00:00
Ray Milkey
ebc5d22159 Refactor connectivity intent creation to use builders
- Each connectivity intent now has only one constructor
- Intent constructors are now private for leaf classes and
  protected for classes that can be derived from
- Each intent class has a Builder class that accumulates
  parameters for intent creation
- Each intent class has a public static builder() method
  to create a builder
- Each Builder class has a build() method to create the
  intent from the accumulated parameters
- Added keys to a few intent types that were missing them
- Tightened up usage of checkNotNull(), taking advantage of
  the return value to save some lines of code
- Modified callers to use the builders instead of directly
  calling the constructors

Change-Id: I713185d5ecbadbf51f87ef7f68fec41102106c78
2015-03-23 21:12:14 +00:00
Jonathan Hart
0d18df3f35 Implement copyData as copy constructor on IntentData.
Cleaned up javadocs. 

Change-Id: I90e6350244991d4f30180fe501fec9e6fd180d43
2015-03-23 21:06:35 +00:00
Jonathan Hart
67fc097a1e Remove "strip vlan" from our API because it is the same as "pop vlan".
"Strip vlan" is OF1.0 terminology, whereas by OF1.3 it is called "pop vlan".

Change-Id: I483526b39bf8ab6f9f96f251a8469e060b688878
2015-03-20 23:50:28 +00:00
Brian O'Connor
023a1c72d6 Revert "Abstract ConnectivityIntentCompiler is not a @Component"
This problem needs to be fixed in a better way.

This reverts commit 8317ad56e8c5dc6b8c5fadf3d87a51f885c8dfa2.

Change-Id: Icbc4492016a0858221a3e79121db36cbb87b3b2b
2015-03-20 01:11:29 +00:00
Brian O'Connor
8317ad56e8 Abstract ConnectivityIntentCompiler is not a @Component
Change-Id: I62844f2dbc459f2b7053fbc0eb12e32f1e1293ac
2015-03-20 01:08:06 +00:00
Thomas Vachuska
d5d9bcbdce Changing location where ONOS stages its deployed apps.
Change-Id: Ia3931454067829b6331419f81a714d865dc8a1e6
2015-03-18 17:46:20 -07:00
HIGUCHI Yuta
3c994f7e8c ONOS-1329: Migrate Codec related code to onos-core-common bundle
- removed unused dependency to onos-core-trivial tests

Change-Id: I0f13cff6cc99403f7c0e0d7362f83d0ba557f10b
2015-03-19 00:42:52 +00:00
Ray Milkey
3e3ec5f786 [Cardinal] Add builders for Intents and remove extra constructors.
Starting with PointToPoint intent to see how it looks

Change-Id: I5366a05d657ceaad18c03b95cd71f5d1107200e2
2015-03-18 22:17:54 +00:00
Sho SHIMIZU
3e7afd865a Remove unused constructors in ConnectivityIntent
We will move to use Builder pattern for intents

Change-Id: I68d5811ea16acdac9396d7eaab2dd539a4411889
2015-03-18 11:45:55 -07:00
Ray Milkey
50a9b72f2d Add priority to remaining intent types
Change-Id: I77a7c2fbdb0f6b6a9d3c08cf190ab8cf4968668d
2015-03-18 16:25:57 +00:00
Brian O'Connor
6ea48a22fe Starting snapshot 1.2.0-SNAPSHOT
Change-Id: Iffa1055c22448849353ede6581c277f4d3de78d8
2015-03-17 20:07:20 -07:00
Brian O'Connor
91d9019b24 Tagging ONOS Blackbird release: 1.1.0
Change-Id: Iee1accb8f83e03a1c4b2250d36d48aefd6383c97
2015-03-17 19:45:58 -07:00
Brian O'Connor
f2114997a3 Small fixes to IntentService and perf-installer
Change-Id: I7f1fedd96e5154254aa1db205e9427ac122bfc39
2015-03-18 01:09:42 +00:00
Marc De Leenheer
ad48f88b74 Set output as last action
Change-Id: I8c004ff14090ce9e9864d110e4d3ac164cfc4680
2015-03-17 17:45:11 -07:00
Ray Milkey
0bc05997de Unit test for MPLS Objects
Change-Id: Id205a8d51822a88ee237278f17122f65ab05e65d
2015-03-17 22:51:17 +00:00
Madan Jampani
b0a3dd6136 ONOS-1286: Backing out chages to use ECMap for dist flow rule store backups
Change-Id: I93a60ef183aa335fecf63b97d300830369d2b9d7
2015-03-17 22:50:53 +00:00
Thomas Vachuska
ff9652358e Fixing the 'wrong subject' bug.
Change-Id: I6a3497057406f5fffc5cc2a46db2174b20c2ff43
2015-03-17 14:10:52 -07:00
Thomas Vachuska
7648d662b1 Prototyping GUI & CLI for the intent performance test fixture.
Change-Id: I1f33872e62b55d168ccd8f2904472e41ecba4cc8
2015-03-17 18:19:00 +00:00
Madan Jampani
fe3a9a78e6 ONOS-1310: less verbose partitions cli command
Change-Id: I2ff341ec7a6760543dddc350425f840b425eff83
2015-03-17 18:05:07 +00:00
HIGUCHI Yuta
623344162b Ignore event if not ready to serve as MASTER
- Issue similar to ONOS-1208 on Device Store

Change-Id: I1f3922f29d66ff68c18e364aff27ded414664889
2015-03-15 21:43:21 +00:00
HIGUCHI Yuta
7bb8b3fd67 Fix L2ModificationInstructions
- PopVlanInstruction
  - type mismatch in #equals()

- StripVlanInstruction
  - hide default constructor
  - align #toString() format
  - fix #equals()

Change-Id: Ifb14866df19cc32dcb9cc28ab473de5ca45d8e41
2015-03-15 21:41:16 +00:00
Ray Milkey
8c6d00ef5f [Blackbird] Fixing Intent purge case (ONOS-1207)
Master needs to remove from the current map.

Change-Id: I30eccbe188997949ef2d63d6dbd37b0d8d4b3f5e
2015-03-15 14:36:41 -07:00
Brian O'Connor
4964d3d768 Updates to GossipIntentStore and IntentPerfInstaller
Change-Id: If350a6276d758222f9b6ea25ab78d055321eecac
2015-03-13 18:09:06 +00:00
Jonathan Hart
7d1496b1dc ProxyArp: Reply directly when we know an external target host
Change-Id: I38773dcdcae05506c678c2006d1f63306af6b383
2015-03-13 17:40:32 +00:00
Thomas Vachuska
8c8b0372e5 Adding OnosCfgMojo to the onos maven plugin.
Removing previously manuall generated files since they are now auto-generated.

Change-Id: I1f8361f97db74c9e2f077b3d5e7a6e65876561ef
2015-03-13 03:42:02 +00:00
Brian O'Connor
1545b1ef08 Starting snapshot 1.1.0-SNAPSHOT
Change-Id: I8caca4df60027426c18b51c1b35c313fe9ac1c10
2015-03-11 16:38:23 -07:00
Brian O'Connor
20fa3a45f9 Tagging 1.1.0-rc2
Change-Id: I1fa0feb1b790f79baa465fd82965433e109b34b2
2015-03-11 16:23:07 -07:00
Brian O'Connor
87ba7a7b8f Pulling PartitionService into API and making IntentPerfInstaller configurable
Change-Id: I9fde28986b6714c0ca4d635d5a3699094e2f0081
2015-03-11 14:40:09 -07:00
Jonathan Hart
8ef6d3b9a0 Minor tweaks to the flow layer.
Prevent DistributedStatistics store from logging "rule has no output" for
rules that transition to other tables.

Change-Id: I85e86965f5609df608cbc19551632153960a5c5b
2015-03-11 20:08:45 +00:00
Thomas Vachuska
b6acc7b239 Adding code to enable GUI failover.
Change-Id: I8423f17349411d24332db8670840438d0d8ec8ba
2015-03-11 11:25:51 -07:00
Simon Hunt
4c7edd3df9 GUI -- Initial cut at bootstrap message from server to client.
- Note.. Thomas to layer changes on top of this... WIP

Change-Id: I6e2a624e2cfd6fc0ece761be46b71b23242dd2b2
2015-03-11 18:00:42 +00:00
HIGUCHI Yuta
0b4d298050 Workaround for ONOS-1208
Change-Id: I5bd2a28cfdf799971423338879f21917842cdc7e
2015-03-11 17:56:12 +00:00
Ray Milkey
0811bdd703 Disable some brittle tests that are causing problems with Jenkins
Change-Id: I2f79a728545d50f9458048a5980261e84e112f2f
2015-03-11 17:31:13 +00:00
Thomas Vachuska
3181de3b02 Addressing some review comments regarding component configuration. Fixed 'resource' to 'resources'. Doh!
Change-Id: I69b32948aa5caf12a357f877efa8dcbf87c7a9e6
2015-03-11 10:23:52 -07:00
Thomas Vachuska
6519e6f1de Making number of components configurable using the central component configuration subsystem.
Change-Id: Ia32c51480913689339a766d9849e792d62f7d133
2015-03-11 09:12:41 -07:00
Brian O'Connor
85c2926df2 Protecting against NPE in ComponentConfigManager
Change-Id: Ia0ffe918dad12fef0823fd09e566f0d706a7da8c
2015-03-10 20:59:52 -07:00
Brian O'Connor
c4f351d406 Adding configurable variables to DistributedFlowRuleStore
Change-Id: I989de6b4ca4caf8ac1e648fbae766d0f88414419
2015-03-10 20:59:45 -07:00
Madan Jampani
e135628170 Configuration options for disabling tombstones in ECMap + disabling backups in Dist flow rule store
Change-Id: I28b17f3d0bb7f5ba87a541b7f6337c3c1b587d36
2015-03-11 03:16:44 +00:00