3094 Commits

Author SHA1 Message Date
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
Ray Milkey
c24cde3305 Add priority to Intents
Change-Id: Ibe63356f5b15a6aa6ca7731dba3382c3317a95ec
2015-03-11 02:14:30 +00:00
Brian O'Connor
6b5281356b Adding emptyTreatment() and emptySelector()
Note: There was a change that adds a DROP action to
a traffic treatment if there are no other actions present.
To get a traffic treatment without the drop rule, use
emptyTreatment()

Change-Id: I1f23ed5e1fa7519eb94fcafa85facbad815d5e9c
2015-03-10 16:48:45 -07:00
Pavlin Radoslavov
87dd930f2e Use a cleaner mechanism to test whether an IP address or prefix
is IPv4 or IPv6.

Change-Id: Ia88f76be87a30573a50eeeedb78d98713ac1ae27
2015-03-10 13:53:24 -07:00
Madan Jampani
84b6b40f8a WIP: device mastership store based on leadership service.
Change-Id: I6347718f46b6600f93974825816fb537e39abb44
2015-03-10 18:40:21 +00:00
Brian O'Connor
b9a91c134f Adding mac to intentperf selector and making Distributed flow store smaller
Change-Id: Id057ec6337519617dab8a5e352feb2922b40897d
2015-03-10 18:36:59 +00:00
Madan Jampani
54d3499e05 Moving Dist flow rule store backup mechanism to use EC Map
Change-Id: I465cc2424004721bf09505ac9cde068884f04940
2015-03-10 18:36:34 +00:00
Thomas Vachuska
6d697f185a Sketching out component configuration model & API.
Added initial cut of implementation.
Finished implementation; ready for merge.

Change-Id: I385181c0591604a5c44986b97fb881eba7e0528e
2015-03-10 17:28:14 +00:00
Marc De Leenheer
8b3e80b14e Remove default flow rules for ROADMs. Fix LinkResource NPE. Single instance provisions optical path.
Change-Id: Iacbd41403ecd0c0df240d09026253c4b761a1d6a
2015-03-10 05:14:50 +00:00
Abhishek Dwaraki
1e5873e94d ONOS-400 Topology creation and up time formatting fixes
Change-Id: Iaf6d4dbbc1c7eaae9465a2d931d40f07a75ad07d
2015-03-09 22:50:23 +00:00
Jonathan Hart
32600698de Add CLI command to view groups on switches
Change-Id: I0ce3cca85e8b38d2e713bf1f0abd4303629e15e4
2015-03-09 18:38:10 +00:00
Jonathan Hart
54b406b1e4 Add push VLAN treatment and use it in BgpRouter groups
Change-Id: I8c241fd776cdddd77969413736bd786c0d5a4828
2015-03-09 18:33:29 +00:00
alshabib
346b5b362d Traffic Treatements now support deferred, immediate, table, and clear instructions.
By default, treatments are all immediate. Treatments will be deferred if the builder
predicated by deferred(). Subsequent treatments will be deferred until immediate is called
on the builder again. Multiple calls to deferred and immediate are permitted.

Change-Id: I76b3a44f2219fc1e72a7fb41b72d7bd602be85b7
2015-03-09 18:28:58 +00:00
Thomas Vachuska
cf96011947 Adding persistence to the gossip application store.
Change-Id: Ib1382f9d1009297dde902f0d3e0daf27596587c5
2015-03-09 01:07:46 +00:00
Thomas Vachuska
3553b30975 ONOS-1235 Enhanced UI extension mechanism to provide message handler factory and took a first cut at the core UiWebSocket mechanism.
Change-Id: Iaad080c5371c3aa5e24a23489b1679d373ec0720
2015-03-09 01:05:47 +00:00
Brian O'Connor
eeaea2cf6d adding sender-side accumulator to ecmap
Change-Id: I63de27131c067c07b41ca311b14ef3ac85b6ae3e
2015-03-06 17:46:34 +00:00
Brian O'Connor
9081c90a59 Adding origin to IntentData copy
Change-Id: Ia7c8eab72b8cbb1c5fa7a760774b8103a408d3a4
2015-03-06 17:34:44 +00:00
Brian O'Connor
1736749a60 Adding assertAfter to intermittent DistributedMastershipStoreTest
Change-Id: I0c6c9f20d21d3c5a3bfca518fada3b3b3b0b38a0
2015-03-06 17:28:49 +00:00
Brian O'Connor
5eb77c88b6 Updates to ECM interface
Change-Id: Ie0cae42ac2b361cf3b94e5047c157cb0945f4209

Adding origin to IntentData and use it to pick GossipIntentStore peer

Change-Id: I50e9621a69a35ec02b8c8dd79cc926591e5a73e9
2015-03-06 17:01:29 +00:00
Jonathan Hart
233a18aeeb Don't run anti-entropy when under high load
Change-Id: I9e480708b9eced73da98e5c4cb27a18aeb08f09a
2015-03-06 08:53:31 -08:00
alshabib
ab21b2d05a fix corsa pipeline divergence : need to differentiate between write and apply instructions.
Change-Id: I477d27d6e52a8e09744614e5f5aa843dd26331e0
2015-03-05 21:03:43 +00:00
Thomas Vachuska
3e2b651d93 Fixing javadocs.
Change-Id: I100488664315af9c1b7faffab2d66ea3263d57ca
2015-03-05 19:29:06 +00:00
Madan Jampani
ba47223f6f Bypass netty stack for messages that are sent to self
Change-Id: Ifb1fd610892bd22a291cda472a8a5ef7a1dcfe6d

Manual serde for ClusterMessage to avoid one additional kryo serialization overhead for each message sent/received

Change-Id: I08d9a2c10403b0e9e9e1736c6bd36fa008bb8db0
2015-03-05 06:55:13 +00:00
Jonathan Hart
e649c750d2 Remove from leader board immediately on leader election withdraw.
This prevents some of the churn in the intent partitions due to partition
manager working off inaccurate state.

Change-Id: Ia324ea0273bc5d5858e378c05b45bafce6bda7e9
2015-03-05 04:50:33 +00:00
alshabib
089bb77bd2 partial fix for default flows. Need to redesign packet requests
Change-Id: Ia68412c3843ecd7da3e7ae9f4f52750874fb1409
2015-03-05 01:11:39 +00:00
Saurav Das
fbe25c5f72 Getting router interface config into the corsa dataplane pipeline
Change-Id: I67d5bf7a20190b07a7bf55c7b60f771877ca8dbb
2015-03-04 11:12:00 -08:00
Madan Jampani
a88efa496c Fix for ONOS-1218
Change-Id: Ica7a5c251d63c301b40b9ef2c95450c0194798cf
2015-03-04 18:48:23 +00:00
Saurav Das
fa2fa93ff8 A set of fixes to ensure that the FlowRuleManager can correctly account for flows
from the dataplane in a multi-table pipeline scenario

Change-Id: I9ca3ef9a77781f126a13538647c824b27f77101c
2015-03-04 02:25:39 +00:00
Pavlin Radoslavov
35b4ecb830 Increase a timeout value from 100ms to 1000ms.
This fixes an occasional unit test failure on (slower) VMs.

Change-Id: I56c1009829efd5af98c62cc4cbff7827406a2fc2
2015-03-03 15:06:04 -08:00
Ray Milkey
1c166dc5f1 Enable Intent Manager unit tests
Change-Id: I24352662077b5a1339d52891f18e4758a7433b88
2015-03-03 19:11:07 +00:00
Ray Milkey
bd4f011d08 Make all leaf intent classes immutable
Change-Id: I45a9ac42a401b707c0c0d91f2e55294f3571ca25
2015-03-03 19:10:51 +00:00
Ray Milkey
b1b66d3fd6 Add unit test for optical path intent installer
Change-Id: I01ee56480b91e6d08bd011bf591401a68e30ee27
2015-03-03 18:02:35 +00:00
Saurav Das
cbe6de3bb9 Fixing a couple of bugs in default entries for corsa pipeline.
Also fixing flowRule table-awareness with changes reflected in flow identification (hashing)
and the karaf CLI.

Change-Id: I2fac83db8e0b54b802fb765ef9d82033f7478b99
2015-03-03 17:03:25 +00:00
Ayaka Koshibe
dd91b84e6e Refactored ClusterManager as proper fix for Karaf clean issue (Topic phi-fd-on)
Change-Id: Ibb328d73412855dd2d44ca6b734f738ae2996873
2015-03-03 06:31:35 +00:00
Madan Jampani
30a57f891a Added creationTime to Versioned object. This enables supporting a electedTime in leadership, which in turn helps us track how stable leadership terms are.
Change-Id: Ib051027625324646152ed85535ba337e95f8a061
2015-03-02 23:26:04 +00:00
Sho SHIMIZU
621c6ab1b9 Remove unused class: BatchWrite
Change-Id: I334bf328213881dc44e94524d5a54151f1cba8d4
2015-03-02 23:02:56 +00:00
Madan Jampani
7f72c3f354 Enabled leadership service implementation based on consistent map + added precondition checks to partitioned database.
Change-Id: Ia76f8479d9113e7ad67e583e4ca157e62a1cabc7
2015-03-02 19:37:15 +00:00
Madan Jampani
dd6479f2ac Revert "Turning on Phi accrual failure detector based ClusterService implementation"
This reverts commit 248e87b160330e90f8226c2e1afda187cc700334.

Change-Id: Ic638203b30dde90a411e8a80c53fd1fbbb3b10c0
2015-03-02 02:27:14 +00:00
Brian O'Connor
266ac66643 Starting snapshot 1.1.0-SNAPSHOT
Change-Id: I2abf73c248c04f0559f97b313be034b48761695a
2015-03-01 07:36:09 +00:00
Brian O'Connor
352236e289 Tagging 1.1.0-rc1
Change-Id: I9c95f8309e1c98bc1a25eeaad1962b4d28257261
2015-03-01 07:36:08 +00:00