1052 Commits

Author SHA1 Message Date
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
Sho SHIMIZU
abd849cac1 ONOS-2382: Define a new resource management API
Change-Id: I8abbb30967a7f99ea96b22613b40b2bc0a0ce73c
2015-07-16 22:02:40 +00:00
Brian O'Connor
597934f755 ONOS-2381 Fixing intent purge command
We need to remove the current value.

Change-Id: Ib15f9b097e3df096b45367012d067973436e1d85
2015-07-16 18:54:24 +00:00
HIGUCHI Yuta
4af6b0345c Separate HandlerBehaviour for Port administrative state
Change-Id: If15e88d92a4b6a83eba6b0162d4a5e29fba438c6
2015-07-16 16:17:12 +00:00
alshabib
e27055bed2 Initial skeleton of OpenFlow meter provider
Change-Id: Ifa0992f5c60f2ca65b97bdd553dc41cd7a55430c
2015-07-16 11:35:23 +00:00
Thomas Vachuska
7b438afd38 Initial sketch of the virtual network constructs.
Change-Id: Ibcdafb9e56edb29fb37b80d7b0da321ad989c564
2015-07-15 19:09:56 -07:00
Hyunsun Moon
a08c5d0a61 TUNNEL_ID field support in flow matching and actions
Change-Id: I886123a7c8d57dc4a3e12727ec8a9be4920da79e
2015-07-14 17:56:35 -07:00
samuel
738dfafd6a [ONOS-2159]Add to query devices by type api in DeviceService and
DeviceStore interfaces

Change-Id: Ifa7e94e08eb150fb4d71248a50a390832d1549df
2015-07-11 11:08:57 +08:00
Thomas Vachuska
d5d113b18d Adding ability for driver handler behaviours to obtain services via the parent handler context.
Change-Id: Icc71a0c5f1fd50a4accd35777aeca7d0d5811bbf
2015-07-10 19:18:01 +00:00
Thomas Vachuska
96d55b16ad Implementing net config subsystem and revising its interfaces.
Added a few basic configs for device, host and links.

Added initial REST API.

Added CLI.

Tests remain to be added.

Change-Id: Ic7bba4b5ad7d553c51d69f6459b3bff146970323
2015-07-09 14:39:10 -07:00
alshabib
3adfd5729b changing port numbers to port descriptions in port config
Change-Id: Icc719d4b7007f815aefe5171909c96eceb78d6e9
2015-07-09 12:39:32 -07:00
Ray Milkey
ee49df1650 Unit tests for DefaultLoad class
Change-Id: I9f661bbb20199c190076bcf71537c6c881cebc3a
2015-07-08 00:00:55 +00:00
Ray Milkey
96495ca39d Add unit tests for cluster messaging classes
Change-Id: I77dd4155956dca77e86e9990c7d4f5de394c0e87
2015-07-07 20:48:39 +00:00
Sho SHIMIZU
c4d5661d5a ONOS-2297: Decouple ResourceRequest and ResourceAllocation
Note: This change may break backward compatibility for those defining a
sub-class of ResourceAllocation

Change-Id: I01807b4ebb0f9af8fa822828953965b5119975d7
2015-07-06 13:47:00 -07:00
Sho SHIMIZU
67f94869e6 ONOS-2298: Tag @Beta to resource request/allocation types
Change-Id: I03fd59a74b1ed16b452b51e098e98db3e6bc43f5
2015-07-06 20:40:21 +00:00
Sho SHIMIZU
e825af0d89 ONOS-2296: Tag @Beta to DeviceResourceService
Change-Id: I133d28da7bfd12659fba1c3ec4af72341d0420a9
2015-07-06 20:40:20 +00:00
Ray Milkey
b82c42b0fe Implementation of REST POST API for creating intents
- codec for constraint decode
- codec for intent decode
- POST method for intents
- unit tests for codecs and POST method

Change-Id: Ibc0ef8f99a0c0664710a733985424c77010c49b5
2015-07-06 20:19:42 +00:00
Sho SHIMIZU
1c221ade61 ONOS-2294: Redefine LinkResource as interface
LinkResource was defined as an abstract class, but it doesn't define any
methods. Maker interface fits this case.

Note: This change may break backward compatibility for those defining a
sub-class of LinkResource.

Change-Id: I53cb7e8eae7057d07c63960c488979a99cd54d52
2015-07-02 10:43:18 -07:00
Sho SHIMIZU
f3ae3fb93d Follow the convention for Javadoc
Change-Id: I32742fdeafaa08171915883c6d6fdc0373db9efa
2015-07-01 19:02:02 +00:00
Jon Hall
d46280cd53 Register Versioned with Kryo to fix ONOS-2169
Change-Id: I964f83161a26749953a7c7ae4bf765c01a5a67a6
2015-07-01 17:59:23 +00:00
Sho SHIMIZU
fee286d1c4 Fix typo
Change-Id: I2e1d9f24065bfb7c49a968cd04ab028b50f90231
2015-07-01 10:19:19 -07:00