3083 Commits

Author SHA1 Message Date
alshabib
0ad4398ff5 fix remaining signing issues in treatments.
Change-Id: Id5ae44e529a516a4b2593778491ea16ca8dc7937
2015-05-07 22:35:46 +00:00
Madan Jampani
08bf17bcc3 Improvement: Ensure configurations options are current and valid in NewDistributedFlowRuleStore
Bug fix: Only accept backups for devices that the local node does not manage.

Change-Id: If7b1e8c3b0339e5d756e250c38fe53dc191084d1
2015-05-07 21:29:09 +00:00
Simon Hunt
27bf0795e4 GUI -- Enhanced DefaultCellComparator to utilize Comparable implementation if available on the objects being compared, defaulting to string comparison otherwise.
- Deleted obsolete comparators.

Change-Id: Ifeb74c05f73bd974d1afb3dc27527a5c7ad1bc12
2015-05-07 10:50:46 -07:00
Sho SHIMIZU
94b7ff4f7f Rename Lambda in org.onosproject.net.resource to LambdaResource
To avoid naming conflict with Lambda in org.onosproject.net

Change-Id: Ic8a670e7e2fb022f44f5a83cf4805f3ce0f29694
2015-05-07 17:11:42 +00:00
Saurav Das
100e3b809d First shot at Broadcom OFDPA 1.0 pipeline
Requires changes to the group description to accept groupId from callers.

Change-Id: Ic21dfe8ae7c246b7d3a6b00e8e5c986e1dc21fa0
2015-05-07 17:00:02 +00:00
Simon Hunt
ab13052426 GUI -- Added routerId to AnnotationKeys; added test scenario for multi-homed hosts (routers).
Change-Id: Ief5f23fa1678152d5375a2b54fe5735c9632d588
2015-05-06 18:07:24 -07:00
Madan Jampani
86940d91ae New flowrule store that utilizes a simple mechanism to periodically backsup its flowentries.
For efficiency reasons backups are only run for those devices whose flow entries are updated (since last backup) or if the device master/backup has changed.
This backup mechanism will be a short term solution until we get to a more close to real-time backup approach.
This change also disables the flowrule store based on hazelcast.

Change-Id: Iaae08852edee20b999ff97c60ca8bc6576e645f6
2015-05-07 00:41:03 +00:00
Bri Prebilic Cole
9467a2393a GUI -- General GUI backend cleanup and bug fixes. Added custom formatters for existing tables, unit test for Enum Formatter, and more glyphs.
Change-Id: I956f1faf6a59e535094d45b811980f822b084be0
2015-05-06 17:27:21 -07:00
Simon Hunt
5939e659a4 GUI -- Added Locale and Time Zone decorators to TimeFormatter.
- Fixed unit test to be insensitive to the zone and locale in which it is run.

Change-Id: Ib79c1840c5543ec1a6016d4345b7d60f0e9f65a4
2015-05-06 16:20:34 -07:00
Sho SHIMIZU
ed7af54e2d Support ModOchSignalInstruction in InstructionCodec
Resolve ONOS-1875

Change-Id: I63e10aeb4689991bfb5c6df349843ef5aff4d6f7
2015-05-06 22:07:30 +00:00
Sho SHIMIZU
2a9c3af3d0 Add description about deprecation of matchLambda(int)
Change-Id: I6423b03b53835ffbff1f0ad00f6bd937bad0feb7
2015-05-06 22:06:26 +00:00
Sho SHIMIZU
60f1214588 Fix typo
Change-Id: Ib029cd708cf77a63a36eb37c4c5ab79dff92ae71
2015-05-06 22:06:03 +00:00
Simon Hunt
66f7543c6b GUI -- Made OOTB formatters and comparators final classes.
Change-Id: I0ea59bf92d97b6d104b7d3770fb5f2e93308bbdc
2015-05-06 21:20:17 +00:00
Thomas Vachuska
0de9facd21 Fixing and organizing javadocs.
Change-Id: Ie348cb5c5b9c8a835cdcc13f6480ac8dba8ca81b
2015-05-06 20:59:32 +00:00
Bri Prebilic Cole
ff3dc673f3 ONOS-1819 - GUI -- Group view added (WIP). Enum Cell Formatter created.
Change-Id: I6ade17a1dfd17cf2049bafe654d6411244d4ad07
2015-05-06 12:59:45 -07:00
Simon Hunt
9ffbd8d37a GUI -- Table Model et al -- added missing unit tests.
Change-Id: Icc77457cab5b79724fcb5b354c2d74f2b2690d89
2015-05-06 12:02:40 -07:00
Madan Jampani
d46e18f2ef Couple of fixes:
1. Retry leadership lock after a successful stepdown
2. setStandby should adjust the candidates list to ensure another node steps up to become the master.

Change-Id: I8dc5da82c9b8b9e99d4118ec33a63037543927f0
2015-05-06 18:34:07 +00:00
Simon Hunt
73c5518c44 GUI -- Deleted deprecated table classes.
Change-Id: I2e8c93ceee4b0e9776d27e528e4d1f036e5d7519
2015-05-06 10:11:49 -07:00
Sho SHIMIZU
c682709ab7 Register ModOchSignalInstruction to Kryo
Change-Id: I7d23e28ad0abc532ca28be630689acd6ff5dd7dd
2015-05-06 06:04:17 +00:00
Sho SHIMIZU
b5e6de62bf Define a Criterion for OchSginalType
Resolve ONOS-1846

Change-Id: I63462a3e2702c93b1d1c84a324bdbaa351bac633
2015-05-06 06:03:54 +00:00
Sho SHIMIZU
efc2e28c84 Define a Criterion for IndexedLambda
Resolve ONOS-1845

Change-Id: Ic6f0ea2572e83c10444d7452debfd302149dc994
2015-05-06 06:02:28 +00:00
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