3083 Commits

Author SHA1 Message Date
alshabib
1d2bc40170 moving meter service to incubator and initial implementation of
meter manager.

Change-Id: I6ef0d9476b58d00b37f7ef156ac7bdacca20185b
2015-08-03 21:06:06 +00:00
Thomas Vachuska
409b9cbf72 Increasing tolerance for evicting latent listeners.
Change-Id: I3ab62084479185160ef7cc8ba5035a34cb96ad15
2015-08-03 16:37:44 +00:00
Madan Jampani
971b2eb7e4 Reenable consistent notification support
Change-Id: I08b50858344d5ea6dd8e2852d45fb31dcbab4660
2015-08-02 14:47:52 +05:30
Madan Jampani
565a66afbb Bug fixes/improvements:
1. DeviceManager must not have a dependency on DeviceClockService. Clocks and Timestamps are purely distribution concerns.
2. Eliminated DeviceClockProviderService which merely served as a cache for mastership terms thereby introducing a source of staleness. Now we directly query mastership service which is already optimized for high volume reads.
3. DistributedLeadershipManager fix to ensure election won by local node immediately reflects in the local leaderboard. This is to ensure a subsequent read does not return a stale value.

Change-Id: I774b64923e382b788df5f8bde2a9fafc0294bad0
2015-08-01 16:44:57 +05:30
samanwita pal
14150ebcc6 Changing packet ordering scheme in PacketProcessor
Change-Id: I54741f3ab4c17094ed748e00e9058adb161d309f
2015-07-31 23:06:59 +00:00
Thomas Vachuska
c0e2013d5f Eliminated the hang when shutting down a single-instance. Root cause remains in the leadership topic withdrawal.
Change-Id: Iad740929b683a253a7eec0282b52e8f6f31ebcfe
2015-07-31 19:25:01 +00:00
Ray Milkey
6f440331fd ONOS-2431 - Unit tests for DistributedNetworkConfigStore
Change-Id: I7a3f6bd5d39c90e7ad2247fb56a14fa29227ad91
2015-07-31 12:01:29 -07:00
samuel
bc087c0384 [onos-2242]OVSDB-based implementation of tunnel config behaviour.
Change-Id: I854a9e572acbfa698ec40309945d93810fb2b471
2015-07-31 15:35:22 +00:00
alshabib
c791179ca2 OpenFlow Meter Provider - still need to parse meter stats
Change-Id: I4b313ea003b3801f81ec7d4823bf69de37fd8643
2015-07-31 15:26:22 +00:00
Thomas Vachuska
d894b5d5f7 Fixing javadoc warnings, provided missing package javadocs and corrected group structure.
Change-Id: I2637afe49b81e8e6d10ef3bb0f2a1cf50b2564cc
2015-07-30 20:27:44 +00:00
alshabib
bc37196828 sketching model elements for meter objects.
Change-Id: Ie9e8eb2af634f2f591089445d2258495285dcdd1
2015-07-30 18:03:32 +00:00
Simon Hunt
fb940110ec ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Preliminary work in implementing installation of custom buttons to details panel for selected device.

Change-Id: Id26ac301f72b4521d2a388d34ee0a287f400c68c
2015-07-30 17:58:57 +00:00
Thomas Vachuska
42e8ccead4 Adding some base-classes to eliminate event and listener boiler-plate code throughout a number of subsystems.
Refactored all core components to take advantage of this; apps remain to be done.

Change-Id: Ib0935ba07ff81b0fa032534004ec9ac6187cbf22
2015-07-30 17:30:43 +00:00
samanwita pal
f52863665d Changing the packet ordering scheme so that it doesn't require absolute numbers
Change-Id: If459966d2b0e81ec4b8ceabe22a93fe27d4e9030
2015-07-30 17:13:55 +00:00
Marc De Leenheer
b931137eb6 Driver and flow stats handling for Calient fiber switch S160.
Bump loxigen to 0.4.1.onos-SNAPSHOT.

Change-Id: Ieb8aa4fe716e12f89b83770eff617561f30cdd08
2015-07-30 16:34:26 +00:00
Ray Milkey
3595823739 Unit test for the gossip intent store
This change also implements a unit test harness for the
EventuallyConsistentMap that is intended to be reusable
to test other stores.

Change-Id: I2257da9b19412b97a3aa0f127be7263a7732b852
2015-07-30 16:29:50 +00:00
Brian O'Connor
ce2d8b5680 Initial implementation of the intent domain manager
Change-Id: I9721449599a4a67bfad7469173c3b47a681873f6
2015-07-29 16:24:13 -07:00
Brian O'Connor
b7baf71954 Initial sketch of intent domains.
Change-Id: I08cb6f9a8c8f83763a2026c1ab9d3e69e0f5d83c
2015-07-29 13:17:04 -07:00
Simon Hunt
00a27ff91b ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Cleaning up PropertyPanel methods - overloading values (string, int, long, object)

Change-Id: I84c86a48de8a776b407982687bc02def18eaef61
2015-07-29 02:27:39 +00:00
Hyunsun Moon
d0533e5f52 Unit tests for ModTunnelIdInstruction and ModTransportPortInstruction
Change-Id: Id0186affac32b0286d0e2fd782395253a8908101
2015-07-29 01:45:42 +00:00
Sahil Lele
3a0cdd57e7 Devices,hosts, and links can be blocked and kicked off with the network configuration api
Change-Id: I68d427f4886a7b63475df8d35383e2e347946946
2015-07-29 01:00:13 +00:00
Simon Hunt
b745ca6619 ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Added id field to property panel, as well as overloaded constructors.
- Added modify*Details() methods to UiTopoOverlay.
- Cleaned up use of string constants.
- Reworked RequestDetails in Topo view msg handler (and base).
- Fixed bug in topo UI where selected host title click caused exception on server.

Change-Id: Ib2a3cf60fae8ad8cda77a3b6933ee758262e6f3c
2015-07-29 00:23:39 +00:00
Simon Hunt
629b99ed41 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- Augmented PropertyPanel class for more manipulation, and added unit tests.
- Added TopoConstants.
- Fixed bug in topoPanel.js that was not using the typeID from the event data.

Change-Id: I7ad759217f2d32642a09be2a9199cf1fcb45ac6e
2015-07-27 17:38:44 -07:00
Sho SHIMIZU
4ecaeeacc7 Add unit test to check equality for resource constructs
Change-Id: Iaf23c6c634ffd77c13578256ebb7e57d5626d1bb
2015-07-27 20:15:44 +00:00
Sho SHIMIZU
08ec48fa8b Add unit tests to check serialization of resource API constructs
Change-Id: Id8291cac684994c4b87b1ceb3b62a8a84f426001
2015-07-27 11:27:26 -07:00
Xin Jin
313708b8fc Adding experimental Flow Objective composition
Change-Id: I35e4414845ad5034145157ab83f933e40f75a1d9
2015-07-24 13:48:53 -07:00
Simon Hunt
0af1ec3264 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- Implemented initial ability to have overlay modify the summary panel data.

Change-Id: I0d6bd6d62f0e0d5ba9d901a47271044e0c8d0c89
2015-07-24 12:18:06 -07:00
Sho SHIMIZU
78ee25ce77 ONOS-2387: Initial implement ResourceService
The current limitation are
- Lack of unit tests for ResourceManager and ConsistentResourceStore
- No means to declare the resource space (range) of a resource type
- Not taking care of resource hierarchy (dependency)
- Lack of automatic resource registration mechanism

Change-Id: Ib2d6734de1e498827d6cc11b9d3e224b157a27aa
2015-07-24 16:45:21 +00:00
Ray Milkey
92ea9b30ee Add map name to equals() and toString() calculations
Change-Id: If7a2a14f56db7cc856d73d69f6b289f0df5cca71
2015-07-24 16:44:16 +00:00
Jonathan Hart
aae93b29b6 Periodically retry failed intents.
Fixes ONOS-2433.

Ported from onos-1.2 branch.

Change-Id: I6ebd640398efe5db39fc855c406e52ce7dc539b9
(cherry picked from commit f72a631d33074d78a2ce85fac6eb10dc6c857704)
2015-07-24 16:06:35 +00:00
Sho SHIMIZU
200a7394a2 Simplify statements to define serializer just for KryoNamespaces.API
Change-Id: Iac8c6233ab142bc382f35fbd070d4386a7baf64c
2015-07-24 15:53:38 +00:00
Simon Hunt
e05cae4d15 ONOS-1479 - GUI Topology Overlay Work - (WIP)
- UiExtension now uses Builder Pattern; added topology overlay factory.
- Refactored UiExtensionTest (and other classes) to use builder.
- Created UiTopoOverlayFactory, UiTopoOverlay, and TopoOverlayCache.
- Started implementation of TrafficOverlay.
- Inject TopoOverlayCache into TopologyViewMessageHandler; added TopoSelectOverlay request handler.
- Modified UiExtensionManager to create traffic overlay.
- Augmented UiWebSocket to create overlays on demand, and inject overlay cache into topo view message handler.
- added client side wiring to switch overlays.

Change-Id: I6f99596aefb3b87382517ce929d268a2447545ee
2015-07-24 15:32:10 +00:00
Madan Jampani
879ed7c6ae Disable the new change notification support as it seems to have caused a regression
Change-Id: I30486ac18b014a0a8a8f393201bb91cf85550669
2015-07-23 20:33:08 -07:00
Flavio Castro
5e1f129175 ONOS-2315 Adding new metrics to ConsistentMaps
Change-Id: Iba9a70f5eb268834564be26e42776b9caa4ea547
2015-07-24 00:35:44 +00:00
Ray Milkey
67d53ccb2a Unit tests for AtomicValueEvent and SetEvent
Change-Id: I44562365f3076b7cc1afaf5cef9e5be584b432e9
2015-07-23 16:33:01 -07:00
Madan Jampani
92c64ebea2 More Unit tests
Change-Id: I32dd3851e490979621c4a5205c6e041dee900244
2015-07-23 23:17:58 +00:00
Madan Jampani
8098405e79 Added unit test for Match and UpdateResult + Javadoc fixes
Change-Id: I8dae6c9568d33d580d60a72fdcc1be45b7308727
2015-07-23 13:45:44 -07:00
Ray Milkey
d083bc41d1 Improve test coverage for ConsistentMapEvent and WallClockTimestamp
Change-Id: Id8276966c227e2a66d40fca9ac43145b8a419982
2015-07-23 18:36:41 +00:00
Jonathan Hart
111b42b7a3 Move address-bindings config to new config system
Change-Id: I6d87ddbf98789dbe8355c453a3263f50fbc5d99c
2015-07-23 10:25:54 -07:00
Madan Jampani
cab114c7c9 Misc improvements. Primarily Javadoc.
Change-Id: I083bbf559d53fa25f79d4e1e53eb15c6b96290f2
2015-07-23 17:13:13 +00:00
Thomas Vachuska
1827562de8 Listener enhancement to allow separation of filtering from processing.
Change-Id: I79b4d7e663ea8347f8cc015dc7f4de842b06557b
2015-07-23 15:55:32 +00:00
Madan Jampani
619453ba65 Added missing copyright and license text
Change-Id: Iae317a5677eb9dd8c842208f72c9c7640e25b911
2015-07-22 23:47:09 -07:00
Madan Jampani
34fec84146 Turning on consistent and ordered notification support for multi-partition usecase
Change-Id: I450737bcfd4f1480c60223a84785f35325bf21d2
2015-07-22 23:40:46 -07:00
Sho SHIMIZU
772717567b Create constructors with zero argument for serialization
Change-Id: I503197a2dcfe1b71dc6a82d4c2ca4512465200c5
2015-07-22 23:32:19 +00:00
Ray Milkey
a16ea6567a Improve coverage for MastershipTerm class
Change-Id: Ic0c85f8f33a35560554f9f12db0b64019ce9afe5
2015-07-22 20:50:46 +00:00
Madan Jampani
648451f391 Consistently ordered notification support for single partition scenario.
Change-Id: I6d959fafb879aa89885c2fb758aa73efd4b47cb0
2015-07-22 20:49:18 +00:00
Sho SHIMIZU
960bd8ce48 Register DefaultResource/DefaultResourceAllocation to Kryo
Change-Id: I5065c414089d1ad5ab843e8ec59614dd1e91c6d5
2015-07-22 13:07:53 -07:00
Madan Jampani
7c4e09aba2 Bug fix: Removing an non-existing key from map should be a noop
Change-Id: I1a89327ab6b0a498fe403f17cbdb8783c41954a6
2015-07-22 18:55:36 +00:00
Thomas Vachuska
b19bffb664 Hunting down elusive source of lag.
Change-Id: I9380bc5238202aeac7cbf89c32121b088451e02d
2015-07-22 10:56:16 -07:00
Madan Jampani
762246d50e Added a AtomicValue distributed primitive.
Change-Id: I00ff165cbd9c6e4f2610af9877ff262527b7b048
2015-07-22 02:55:09 +00:00