1072 Commits

Author SHA1 Message Date
Ayaka Koshibe
0891129167 Refactoring BasicDeviceOperator:
It's no longer a subclass of BasicDeviceConfig.

Change-Id: Icb7cc7e133428a19ddd739e4135c59854b082488
2015-08-06 01:19:47 +00:00
Ray Milkey
5b94aea988 Refactor event dispatch injector to use TestUtils field setter
Change-Id: I793183de883c7b20784957eaa213d79a42951639
2015-08-05 20:18:25 +00:00
Thomas Vachuska
320c58f38d Refactoring to eliminate duplicate DefaultTopology and DefaultTopologyGraph; eliminating a few fixmes.
Change-Id: Ie0e38dbf812bafdb7c94bba5278f0dd9af5be929
2015-08-05 10:55:11 -07:00
Thomas Vachuska
930a8ee16a Refactoring to eliminate duplicate DefaultTopology and DefaultTopologyGraph; eliminating a few fixmes.
Change-Id: I4461b6f1c8ae60d39f5da909bf6995294cbfa84d
2015-08-05 17:43:11 +00:00
Simon Hunt
3a0598f4a4 ONOS-1479 -- GUI - augmenting topology view for extensibility:
- Implemented server-side topo panel button descriptors, with overlay ability to remove core buttons and add custom buttons.

Change-Id: Id9ecc4c5e2d2db942232d2156ecf3bc858c0c61f
2015-08-04 19:59:14 -07:00
Ray Milkey
ae9faf1f37 Unit tests for the Network Config Manager class
Change-Id: Idc96f95acc79ed169abe9fbcbd64f85b8a6fb237
2015-08-04 23:43:47 +00:00
alshabib
1d2bc40170 moving meter service to incubator and initial implementation of
meter manager.

Change-Id: I6ef0d9476b58d00b37f7ef156ac7bdacca20185b
2015-08-03 21:06:06 +00:00
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
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
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
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
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
Ray Milkey
67d53ccb2a Unit tests for AtomicValueEvent and SetEvent
Change-Id: I44562365f3076b7cc1afaf5cef9e5be584b432e9
2015-07-23 16:33:01 -07: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
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
762246d50e Added a AtomicValue distributed primitive.
Change-Id: I00ff165cbd9c6e4f2610af9877ff262527b7b048
2015-07-22 02:55:09 +00:00
Kedar Gupta
47bd480f49 Add POST method for the Host REST API and fix minor documentation errors
Change-Id: I598ace5a94f83f010fdde1b3ad43b90f762a9d33
2015-07-21 22:22:15 +00:00
Madan Jampani
7804c99703 Refactored code to consolidate functionality in Database* classes.
Renamed few methods and variables to align with local convention and also to match the description of functionality.

Change-Id: Ib17e73079534c76f76bcb01f14b6496e62275dbd
2015-07-21 18:26:24 +00:00
Sho SHIMIZU
4ed2559bfd Add default implementation for Resource/ResourceAllocation
- Instantiation of the implementations are needed in an implementation
  of ResourceService
- Device and link specific implementations are removed because the default
  implementations cover what these classes can do

Change-Id: Ia50b495e4d3bc21bf8f55f77a01f0532fae72720
2015-07-21 17:26:36 +00:00
samuel
8d6b0a9d76 Updated. Build a OVSDB driver and its associated behaviors for
supporting application to create VxLAN/GRE tunnels
This code is for JIRA ONOS-2181.

Change-Id: If7f341a422620a9e885741d4cc412fad39438d89
2015-07-21 13:56:25 +08:00
Hyunsun Moon
c8bd97c5e1 ONOS-2403 Support setting TCP/UDP port action in flow rule for OpenFlow13
Change-Id: I4ce84aba9db03a66ebcfb34959c11cc4acadb07b
2015-07-20 18:45:41 +00:00
Thomas Vachuska
a09c0ed8a2 Fixed listener registry to eject listeners only if they indeed exceed the limit.
Change-Id: Ic9453b5b1eabc3d9c92af01e6817612e710bfba8
2015-07-17 18:58:55 -07:00
Madan Jampani
4727a111ed Added a compute method to ECMap to simplify map interactions following a read-modify-write template.
Change-Id: If8c791ce1f49a7b5b3d04941b6e03a10261c6f6f
2015-07-17 16:30:36 +00:00
Thomas Vachuska
80b0a802cc Added deviceId to the DriverData as part of available context.
Change-Id: I5be94f35a2889e0c93cf3c20c4c9d6f907411121
2015-07-17 16:10:52 +00:00
Hyunsun Moon
9fed5282b5 ONOS-2402 Add L4 modification instruction type and class
Change-Id: I74fec41f865191371a908cef86c00218f8a1a203
2015-07-17 15:51:28 +00:00