3538 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
Thomas Vachuska
20084b77df Testing & fixing GUI fail-over code.
Change-Id: I64843186bf05020ce77a1508a300391e0db6bf48
2015-03-11 20:49:13 +00: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
Simon Hunt
8b6d2d4467 GUI -- Continued work on supporting GUI failover. WIP
- Thomas to complete.

Change-Id: I4ed40a0d5b0b48cd1d9fac175a1f66e81df7dacf
2015-03-11 13:04:52 -07:00
Jonathan Hart
12ef205585 Use higher priorites for longer prefixes
Change-Id: I208e6be5c46041e8019dec7940e28dad1f08f3ed
2015-03-11 19:05:58 +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
Simon Hunt
2d16fc843c GUI -- Fixed broken unit tests; augmented error logging.
Change-Id: I81760fa795fb3bad7703933bcaaf2b891e3ba37a
2015-03-10 20:22:02 -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
Simon Hunt
237676b53d GUI -- Topo - rewired modules to call wss.sendEvent(...) directly.
Change-Id: I9077694895b814c6dc342a518948e05e0cc2df01
2015-03-11 02:22:05 +00:00
Ray Milkey
c24cde3305 Add priority to Intents
Change-Id: Ibe63356f5b15a6aa6ca7731dba3382c3317a95ec
2015-03-11 02:14:30 +00:00
Simon Hunt
20207dfca7 GUI -- Cleaned up websocket code.
- isolated new WebSocket() call, so we can mock.

Change-Id: Id1225e2c65732e750b289224e838a326c79f02a4
2015-03-10 18:30:23 -07:00
Ayaka Koshibe
13f896f1cf File read properly updates topology information
Change-Id: I1e78e06e701cef45e5454d6e928967187174f8e5
2015-03-11 01:11:14 +00:00
Brian O'Connor
9362d88d1d updating JAVA_OPTS in onos-service
Change-Id: Iea6c405a8da14841341febee74699d7537661da2
2015-03-10 17:03:42 -07: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
Pavlin Radoslavov
34ffe72753 Added methods to test whether an IP address/prefix is IPv4 or IPv6:
IpAddress.isIp4()
  IpAddress.isIp6()
  IpPrefix.isIp4()
  IpPrefix.isIp6()

Also, added the corresponding unit tests.

Change-Id: I2b1f08501c94d61f75b15f2c6977c0349e313ebd
2015-03-10 20:28:29 +00:00
Pavlin Radoslavov
70761df12c Fixes related to single-point-to-multi-point intents:
* At the CLI level, the Ingress point argument should be specified
   before the Egress points arguments.
   This follows the natural Ingress/Egress argument ordering for
   other intents.
 * Added missing optional CLI complementer to shell-config.xml

Change-Id: I49f1ec9706a2f47bbb513d388a26fa5d40cba1bd
NOTE: Those changes are carried from Gerrit 1586.
2015-03-10 20:22:41 +00:00
Jonathan Hart
bbd91d4296 Add configuration setting to allow one switch to use the Corsa driver.
Change-Id: I6b17098e6d7c31a2d19ccbb0b5a56bd3b5b1e33a
2015-03-10 18:45:52 +00: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
sangho
5eaf033c6b Add ICMP handler in bgp router app
Change-Id: I22a1dcdf5285e08c691767eb1ca41437e7ce1874
2015-03-10 18:30:56 +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
Thomas Vachuska
329af53ae8 Deprecating old web-socket stuff and adding ability for client-side message handler registration. Failover still to be done and same for the async hooks.
Change-Id: I6029c91eb1a04e01401e495b9673ddaea728e215
2015-03-10 02:08:33 -07: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
Jonathan Hart
e106e4b7c7 Add support for building group bucket entries with push and pop vlans
Change-Id: I96932509ffda6167bfea74bda1de78ffaab29963
2015-03-10 05:05:25 +00:00
Jonathan Hart
5b141421cf BgpRouter: Batch flow updates
Change-Id: If472e8e93140bce7fbb01c1a2f1847de421108c9
2015-03-10 05:02:04 +00:00
Simon Hunt
9d28656260 GUI -- Navigation Pane canceled with Escape key.
- Also, fixed color of drop shadow on .dark navigation pane.

Change-Id: I43fa58923158ad3f637e9f8c3dbd50043e89176e
2015-03-10 00:15:14 +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
Ayaka Koshibe
9209ea24dd rehash with ScheduledExecutors
Change-Id: I37c377781a4478250ce5805fd22eb5c589af6bae
2015-03-09 19:16:02 +00:00
Jonathan Hart
37d659ca4a BgpRouter: Added treatment to delete flows
Deleting routes now works.

Change-Id: I7ed682474e571aa2f402a1762a2037190c2d9284
2015-03-09 18:41:34 +00:00
Jonathan Hart
936a729ce5 BgpRouter: Add default flows for BGP traffic in control plane switch
Change-Id: Ia963b22c5a7460fb7fa2e75ddf66bcbb40004dca
2015-03-09 18:41:18 +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
Thomas Vachuska
9730ec9da0 Enhanced look and feel of the GUI navigation pane to be consistent with the mast-head look and feel. Also enabled the dynamic content generation in web.xml by default; accessible via onos/ui/main.html URL.
Change-Id: I9f3ad321ff3eadc4092bd131f30568ec7c7b6f9d
2015-03-07 17:25:34 -08:00
Thomas Vachuska
480adad4a0 Fixing uncaught exception handler and adding a test.
Change-Id: I0861b0200bb39a14c39746ae7b72a1e21f957e35
2015-03-06 19:10:23 +00:00
Brian O'Connor
375573b276 some updates to intentperfinstaller
Change-Id: Id8826131db5779d1d7c3895d09c47ff55f405cc1
2015-03-06 18:43:18 +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