846 Commits

Author SHA1 Message Date
Simon Hunt
3ee7f74bcf GUI -- added getAsString() to TableModel.Row.
- Moved cell-related classes to new package.
- Created base classes for cell comparator and formatter.
- Created IntComparator and HexFormatter.

Change-Id: I3861bf3e0ca738a2d6eab9c70174db53f22960f8
2015-05-05 10:18:30 -07:00
Simon Hunt
933b1a83ae GUI -- Implemented table sorting in our simple table/row/cell model
- Introduced CellComparator (with default implementation)

Change-Id: I125f52c2c1ca219746b0e506e8837e24fb149038
2015-05-04 19:24:50 -07:00
Madan Jampani
04aeb45955 Implementation of IdBlockStore on top of AtomicCounter
Change-Id: I019322a812262edeca20a55813183a63b4525b75
2015-05-05 01:47:38 +00:00
Simon Hunt
e9828153cd GUI -- Initial cut at a simple table/row/cell model to allow us more control over the comparison / formatting of cell values for GUI tables.
Change-Id: I1a163259f1e80b2765a92cda654ffe092c835e6d
2015-05-04 15:18:55 +00:00
Madan Jampani
02b7fb8b1a Support for building a immutable ConsistentMap and DistributedSet
Change-Id: Ic34684551f5c7d1f4fdc4cd3fc1a7bfabc5681f5
2015-05-01 23:45:21 +00:00
Ayaka Koshibe
e114f04812 ConsistentLinkResourceStore to replace HazelcastLinkResourceStore. Also
includes:

 - typo fix (intendId -> intentId)
 - refactored ResourceAllocations command so it doesn't use error handling as
   part of control flow
 - add ability to compare LinkResourceAllocations

Reference: ONOS-1076

Conflicts:
	cli/src/main/java/org/onosproject/cli/net/ResourceAllocationsCommand.java

Change-Id: I6a68012d8d7d359ce7c5dcd31e80a3b9f63d5670
2015-05-01 21:00:09 +00:00
Simon Hunt
abd16f6907 GUI -- Introduce TableRequestHandler and refactor all table-based requests to use this class.
Change-Id: Ia26a78e9c4abead17de5e7f6babd54202c6772d9
2015-05-01 13:14:47 -07:00
Brian O'Connor
aa17b4de6a Added @return to lambda javadoc
Change-Id: I1ec2414851595567fec444252ff9f374cc31240e
2015-05-01 13:03:28 -07:00
Brian O'Connor
6d8e317182 Added error count for IntentData (ONOS-1060)
Change-Id: Ida6313603c15fb6c1c1793c298206587b370a13e
2015-05-01 12:48:15 -07:00
Brian O'Connor
a6c9b5cff2 Updating IntentCleanup to check for stalled *_REQ and *ING intents.
Change-Id: Ibe06ee99463bb8230acf9751da4fb1012859b0ea
2015-05-01 12:48:15 -07:00
Simon Hunt
a0ddb02bd6 GUI -- Rename UIMessageHandlerTwo => UIMessageHandler. Also, make bindHandlers() private.
Change-Id: Id36e220c1285b88b8b4db0e106ef063bd8b9bfd1
2015-05-01 09:53:01 -07:00
Simon Hunt
8ea1f51324 GUI -- Deleted deprecated UIMessageHandler.
Change-Id: Ia26853b6cb1198b232edd4e8f0cfffa8ad92dd55
2015-05-01 09:38:55 -07:00
Madan Jampani
9bd1f15b03 ONOS-1798: More appropriate method name + better pre-condition checks
Change-Id: I5d277967c22b9db48097288ea072cbc4d1c5a2a8
2015-05-01 14:23:57 +00:00
Simon Hunt
d2747a0d1e GUI -- Huge Refactoring of server-side message handlers (Part Two).
--- Well, it compiles, and seems to work, with the cursory testing I've done...

Change-Id: I0e59657c134e109850e4770766083370dfd9fdc2
2015-04-30 22:41:31 -07:00
Sho SHIMIZU
198558a1a0 Remove RES definition as potential use case is unknow right now
Change-Id: I6d7d44598755632dbe5d069bc0de3e740e7ccc17
2015-05-01 05:36:27 +00:00
Sho SHIMIZU
eb350267ac Add missing test class for OchSignal
Change-Id: I2cbd0365c31e7328bea8f11b8d2dfc7bdeb79f21
2015-05-01 05:36:05 +00:00
Sho SHIMIZU
c5ade712bd Add Javadoc for IndexedLambda
Change-Id: I28c822ce196ede8681dbca78f4e9cc05e6fa2e17
2015-05-01 05:35:51 +00:00
Jonathan Hart
c3af35a9b7 Add static factory method to create ConnectPoints from strings.
Change-Id: I743b4a4fb433ad07cf6f2cbed3da7b6e19a74ebb
2015-04-30 22:20:29 -07:00
Sho SHIMIZU
91210a7135 Define Lambda interface representing wavelength and implementations
Two Lambda implementations are defined.
- IndexedLambda
- OchSignal

Change-Id: I36763390f61abd9f861e76edab63f558ae97e8a2
2015-05-01 02:01:56 +00:00
Madan Jampani
1af8e137e3 Fix balance-masters functionality in the new LeadershipService based device mastership store
Change-Id: I9f64d514cee7d5a5383fd4c2fa30a8616c97785c
2015-05-01 00:34:45 +00:00
Sho SHIMIZU
014c33ac50 Pull out enums from OchPort
The following enums are pulled out
- SignalType (renamed to OduSignalType)
- GridType
- ChannelSpacing

Change-Id: Id30e582df9c3c2c5e239df57499ffe9436dd6237
2015-04-30 15:26:05 -07:00
Simon Hunt
44aa2f8de4 GUI -- Refactoring of server-side message handlers (Part One).
Change-Id: I895cef0545f7ba4b78a2adfa2bad9d889ca0104a
2015-04-30 22:12:51 +00:00
Thomas Vachuska
866b46a5be Reworked the dependency on default drivers. Driver manager must NOT depend on these.
Instead, it is ok for the flow manager to have a dependency on the drivers and go fully active/dormant when the default drivers arrive/depart.
Removed inclusion of the onos-drivers bundle as part of the onos-openflow app as this caused an unwanted dependency.

Change-Id: I614290277d1621c8243c0c19e5d79273f2168016
2015-04-30 17:47:18 +00:00
Thomas Vachuska
3ccb9eb11c Added some protection again UiExtensions that return null inclusion streams.
Change-Id: I18545627da38f4c19fc8316d7fd07df44c5c608f
2015-04-30 15:53:14 +00:00
Brian O'Connor
3c58e96920 Adding IntentCleanup as a component.
Listens for CORRUPT intent events and periodically polls for CORRUPT intents.

Change-Id: I29d8dbe14b46522815dc13e969f259f68b690855
2015-04-30 03:44:11 +00:00
Marc De Leenheer
bb382356c2 Generic ROADM port models and descriptions
Change-Id: I053d61c7a057d6298b7990373448df28b3aaa5a5
2015-04-30 03:35:16 +00:00
Sho SHIMIZU
ab39283aba Remove unnecessary object creation when calculating hashCode()
Change-Id: Idbfec9d076a294fc6123ac209f6d1a955baf407e
2015-04-30 03:13:12 +00:00
Srikanth Vavilapalli
f5b234a486 Segment Routing refactor with flow objectives
Change-Id: I0b87f89bb8b18522b9d38bdf5e96f55485b6f1e3
2015-04-30 03:06:02 +00:00
Thomas Vachuska
75aaa675fb OpenFlowRuleProvider is now configurable with respect to flowPollFrequency.
Change-Id: I3a559a9cd65df1ae56d80017696452788fc08d91
2015-04-30 03:01:17 +00:00
Thomas Vachuska
889648c910 Added an adapter.
Change-Id: Iac04d196099e72ddbb1d5b29ecb6bc0f1e0f5c18
2015-04-30 00:17:44 +00:00
Ayaka Koshibe
3a3215674d Added a builder for TransactionContexts
Change-Id: I22b467ed0b1e691f3df4ccc5e414b8f4c3bf18f4
2015-04-29 13:59:42 -07:00
Sho SHIMIZU
15c38006e4 Remove "public" from TrafficSelector definition to follow our convention
Change-Id: Ie6146c66bf1585970ef884bc6615d030510d5a87
2015-04-29 15:54:31 +00:00
Sho SHIMIZU
fbc80e5348 Pull out inner-classes from Criteria to be independent classes
Make constructors of sub-types of Criterion package private for
limiting instantiation only from static factory methods in Criteria

Change-Id: I1fb1e9d003288a778a49e758549a92b66bf3cfdf
2015-04-29 00:44:59 +00:00
Brian O'Connor
f0c5a052a5 Initial implementation of CORRUPT state (ONOS-1060)
- Added CORRUPT state to state machine and event type
- Simplified phases using new request field
- Improved null-safety by using Optionals

Change-Id: I1d576b719765b5664aef73477ee04593e8acc4fd
2015-04-28 20:17:42 +00:00
Sho SHIMIZU
0c3c076b52 Inherit resources from a high level intent when creating a FlowRuleIntent
Make constructor without resources argument deprecated

Change-Id: I400cedfb2ec5f8ec3217e4729d95b075ceb0b025
2015-04-28 19:55:52 +00:00
Sho SHIMIZU
2de9449f07 Inherit network resource information from a high level intent
This patch fixes ONOS-1677

Change-Id: I37d8742eb1a03b56d1e47d30d9342546ab42d23b
2015-04-28 17:49:38 +00:00
Charles M.C. Chan
2184de1e7f ONOS-1756: Improve CLI auto completers
- Add more ICMP types and codes
- Add completer for --icmp6Type
- Add completer for --icmp6Code
- Add completer for --extHdr
    It is a multiValued option.
    For example, the following command will match an IPv6 packet with both fragment and routing extension header:
    add-point-intent --ethType IPV6 --extHdr FRAG --extHdr ROUTING
    NOTE: OVS 2.3.1 does not support OFPXMC_OFB_IPV6_EXTHDR match field yet.
- Change parameter of TrafficSelector.matchIPv6ExthdrFlags() from int to short since that field is 9 bits only

Change-Id: I55944399f3985f2cc09330a726f21983de273341
2015-04-28 17:47:22 +00:00
Ray Milkey
a05fd20b79 Unit tests for some uncovered Intent types
Change-Id: I9ddd0a4f8d12222b6f5c6bc2d127d6082bc0649d
2015-04-27 22:45:38 +00:00
Simon Hunt
20e1679390 ONOS-1477 - GUI -- Added glyphs to nav menu.
Change-Id: Ifacd5d389bdc2bb5adc61182b8329de9e2557af2
2015-04-24 14:29:39 -07:00
Simon Hunt
38c2b6a2b0 ONOS-1478 - GUI -- Segment navigation menu into categories.
Change-Id: I54bddcada1541ebf2926a6536e4c14bb8a1d3a66
2015-04-24 13:02:14 -07:00
Thomas Vachuska
8b91f4f82b GUI -- Added category to the UiView abstraction.
Change-Id: I55fff4d242e8d6b8d8ce3d25e8f9355dc0ef976a
2015-04-23 17:55:36 -07:00
Simon Hunt
1002cd8e9a GUI -- Added UiViewHidden subclass of UiView to allow for views that do not have an entry in the navigation panel.
- Added placeholder "flow" view.

Change-Id: I3a969d16baf608b132c10cfc7f154d0ce51c765e
2015-04-23 21:54:50 +00:00
Sho SHIMIZU
f1fa96ccb5 Implement toString in OpticalConnectivityIntent
Change-Id: I0035c8cdd9f909af24a47b0db04d306c33aa8c44
2015-04-23 17:17:37 +09:00
Thomas Vachuska
ca540c39d4 Fixing javadocs.
Change-Id: Idd845ac2cb2ac2739735c384bd8f096fb975210c
2015-04-22 21:24:19 -07:00
jcc
3d4e14a72b FlowRule private extension refactor.
1.merge private flow into regular flowrule subsystem.no mirror code any
more.no change flowrule api.
2.define a rich-data-type to carry private flow.
3.modify OpenFlowRuleProvider.class to support for 3rd party private
flow.i don't know whether is suitable.because this class name is
relative with open flow protocal.
4.fix some junit test bug caused by modification of FlowRule interface.

Change-Id: I6c54d1e97f231a75bd1b416f0893e0379613d7ce
2015-04-23 04:11:34 +00:00
Jonathan Hart
17d0045c99 Upgrade packet requests to use flow objectives API.
Addressed a few issues found while using the flow objectives across a cluster:
 * Flow objectives should be installable from any node, not just the master.
   Therefore we need to ensure all nodes initialize a driver for each switch.
 * We no longer store a list of objectives that are waiting for the switch
   to arrive. If the we don't know about the switch yet we'll try a few times
   over a few seconds to find it, but after that we'll give up and report an
   error to the client.
 * Default drivers need to be available when the FlowObjectiveManager starts
   up, otherwise it is common to get flow objective requests before any
   drivers have been loaded.

Change-Id: I1c2ea6a223232402c31e8139729e4b6251ab8b0f
2015-04-23 00:16:29 +00:00
Saurav Das
3ea46622c8 Removing dependency on lower level drivers for the BGPRouter application.
Also a couple of bug fixes

Change-Id: I8f2ec58ed3403ae03cf7c068dabb30ae4272ff85
2015-04-22 14:08:43 -07:00
Thomas Vachuska
6cba495a6f ONOS-1736 - Modified PacketManager to register packet request flows using the core app id, instead of the requesting app id. This is to prevent packet request flows from vanishing when app removes all its flows. This is a provisional fix until packet requests allow removal via reference counting or a similar tracking strategy.
Change-Id: Ib0e53ae8c6b5ae030a9c17a34407a5897027127b
2015-04-22 12:38:22 -07:00
alshabib
d17abc2e93 Refactored driver to use new FlowRule api.
Deprecated transition with table types and added api for transition with table ids.

Change-Id: Ifcf2d87d16810666d992e4d9f5ddca3d0da460be
2015-04-21 18:27:28 -07:00
Thomas Vachuska
b52a014a46 GUI -- Added ability to display port names in the devices view detail.
Change-Id: Iffaf3b46099f868b7245fe0c7819d13e5bff76d3
2015-04-22 00:56:43 +00:00