1812 Commits

Author SHA1 Message Date
Simon Hunt
3d1b0653f3 GUI -- refactored all the table views (server side) to use the new TableModel method of data generation.
Change-Id: Ib8a188ad432ff335db6cff1e49e08dbaf039436b
2015-05-06 02:58:21 +00:00
Sho SHIMIZU
5a5a734101 Add unit tests for ModL0OchSignalInstruction
Resolve ONOS-1876

Change-Id: Ideca55e2d5ebb15478577d390e1a71761d672d7e
2015-05-05 18:29:42 -07:00
Sho SHIMIZU
2e7ac8474c Make Instructions.modL0Lambda(short) deprecated
Integrate static factory method for indexed lambda and OCh

Change-Id: I80074f7ce2e1703a4ebc7d6f552b52bffc970193
2015-05-05 18:29:21 -07:00
Sho SHIMIZU
0abceb8dd3 Populate OchSignal with OchPort
Change-Id: I2e9031972e286f25f9caa32fac26d37e3efd10b5
2015-05-05 23:41:27 +00:00
Sho SHIMIZU
e9e127544d Define an Instruction for OchSignal and its static factory method
Resolve ONOS-1873

Change-Id: Ia1d0a97fd820ce7a9b7e2b48ce8d07174bcc1af9
2015-05-05 22:10:21 +00:00
Sho SHIMIZU
9906de21b2 Remove unreferenced interface
Change-Id: I7b0f78ca83b1d9ea69fdf02dfb8e103b737d6f52
2015-05-05 21:46:54 +00:00
sangho
52abe3a170 ONOS-1791 : Populates MPLS rules also at edge routers
- Adds check for mastership when updating group description.

Change-Id: I536bcec595b8727689de11eb41e4b2f86cabb936
2015-05-05 21:46:38 +00:00
Sho SHIMIZU
24a00d9b0b Catch Exceptions, not Throwable to remove blockers found in SonarQube
Change-Id: I49ab731ce0c9950b55063e2afa4ce9226a7b6b4a
2015-05-05 18:51:25 +00:00
Sho SHIMIZU
3fa9e8d8d5 Add break explicitly to avoid future unexpected fall-through
Change-Id: I58cfe8b0997b3ec94c2913e93575aa6770eee71f
2015-05-05 11:40:53 -07:00
Sho SHIMIZU
47ec126458 Add OchSignalType definition
Change-Id: I4e10f6da7d86e0a16b38ccb52c5e2514b8c60180
2015-05-05 18:19:34 +00:00
Sho SHIMIZU
084c4caef8 Define a Criterion for OchSignal
Resolve ONOS-1844

Change-Id: I775a64ad6d6d3f1a046a6f7895a412c71c17ff16
2015-05-05 18:11:39 +00:00
Sho SHIMIZU
30d639bf83 Introduce import statements for java.util.Optional
Change-Id: I8888a5536b5abe43408130d6dc965487e05b065d
2015-05-05 18:10:52 +00:00
Sho SHIMIZU
79906e42ee Remove "public" from TrafficTreatment to follow our convention
Change-Id: Ie8bb48b211258c146836ddbf32e6835e291f370d
2015-05-05 18:10:13 +00:00
Jonathan Hart
607b1ff701 Group ID was set to null in a DefaultFlowRule constructor.
This is assumed to be not null in some places.

Change-Id: Id3c7f2e71b658c0077f495bf61ed997c98e16acd
2015-05-05 18:06:43 +00:00
Sho SHIMIZU
f74ae50629 Remove obsolete todo comment
Change-Id: I6bf21d6b5c68107701fc78f77b5d1f411ea4bc6a
2015-05-05 18:06:10 +00:00
Sho SHIMIZU
d1506203e6 Remove "public" from Instruction to follow our convention
Change-Id: I60328ef5fa25f33ccf5ae3ce6619a3a75c534c72
2015-05-05 10:43:08 -07:00
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
55ac1348a7 Fixed AtomicCounter database command names
Change-Id: I90a698b7692834042e318ad21a7ba862b076315f
2015-05-04 19:05:04 -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
f4e724f75f Provide an implementation of ApplicationIdStore atop AtomicCounter and ConsistentMap + Disaable the hazelcast version
Change-Id: I26afea0fadae272baafc55edd8f6c8194b41e3a7
2015-05-01 20:28:02 -07:00
Ayaka Koshibe
474ef5fa20 Enable ConsistentLinkResourceStore by default
Change-Id: I47b5267b96e48f56c903fa5866aa0c169ca748c0
2015-05-01 23:45:40 +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
eba4e3407f Adding tests for IntentCleaner
Also, two small bug fixes for SimpleIntentStore
and one for IntentCleanup

Change-Id: I19c8246dd669d894ba258e04f4f963a97b9a7626
2015-05-01 12:48:16 -07:00
Brian O'Connor
cdec493d80 Fixing logger for IntentCleanup
Change-Id: Id51fe14b87aaa14da5d5097aca83b8ed397b902c
2015-05-01 12:48:16 -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
Marc De Leenheer
4b18a23ccf Make device store aware of optical ports (ONOS-1794).
Change-Id: Ia70855e391e22e1ab22bae73deb38fe9dbb90884
2015-04-30 23:09:21 +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
Madan Jampani
2096b93208 Fixes a NPE that occurs when device mastership is not immediately decided
Change-Id: I170974bf9e70cef5d7e73ecf31901879d858ddf7
2015-04-30 21:38:15 +00:00
Brian O'Connor
a27ada7826 NPE protection for purge requests (ONOS-1463)
Change-Id: I02732ed83aaaf5c760fdb96899696177415ebd23
2015-04-30 18:35:13 +00:00
Sho SHIMIZU
dee7871c43 Registier Frequency to Kryo
Change-Id: I4e91c4f48197ed2aa46d6458e1f397eea3468b8f
2015-04-30 18:11:13 +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