2053 Commits

Author SHA1 Message Date
Thomas Vachuska
2fdaf40ee2 Cleaned-up dead code from flow objective manager.
Change-Id: I23b18eacc4eb438f49534bd928307de98eaaaf80
2015-05-29 19:19:06 -07:00
Madan Jampani
f2af771131 Dropping log level to debug in few places
Change-Id: I4b42d4f3edfc6e9cdd0822cfcb74d1070b0b7a70
2015-05-30 02:15:50 +00:00
Sho SHIMIZU
68b8c1f938 Fix Javadoc and rename a test method to explain behavior correctly
Change-Id: Ib992c68de5ce9129ca24621604ead2bfc2add848
2015-05-29 18:42:26 -07:00
Brian O'Connor
3057f2114c Updating log level in ObjectiveTracker
Change-Id: I51fb16022d0e32b0cc05715abc139fa7e9d8c689
2015-05-30 01:27:36 +00:00
Marc De Leenheer
8c2caac730 Support for OTN using optical circuit intents.
Refined DeviceResourceService.

Change-Id: I489f368a0fac5f4a8d0a1a1cb716f845558db35e
2015-05-30 01:25:08 +00:00
Sho SHIMIZU
6c70f6482f ONOS-2037: Fix cast exception on execution of "flows -j" command
Change-Id: If481573f405d812b0b103e1752a559d8f81d6bd8
2015-05-29 17:40:51 -07:00
Thomas Vachuska
d910a5c5e1 Fixing port-stats DBZ
Change-Id: I2bd1f9d94c1441d6bdcde00a5d2a3e595e0c5c4f
2015-05-29 17:09:59 -07:00
Thomas Vachuska
fdbc4c27b4 Adding multi-instance support for flow stats.
Change-Id: I428c5a7cb58f4f9773a125fc94fb368ed846cb0d
2015-05-29 23:41:52 +00:00
Brian O'Connor
69d6ac7e9f ONOS-2003 Fixing intent reroute after cluster change
Objective trackers update when partitions are shuffled to
track "local" intents.

Change-Id: I7cd9e4a935ddbc94813d5067d4febc084a89f508
2015-05-29 16:27:21 -07:00
Madan Jampani
c6e574f90e MastershipService.relinquishRole returns CompletableFuture + Block deviceDiconnected until role relinquish is complete
Change-Id: I081df48fc05fdca2e452a937a093d5caa16091ed
2015-05-29 23:00:07 +00:00
sangho
4859be0403 Omits null checking of treatment when removing next objectives; it was removed from remove() but not for remove(context)
Change-Id: Id5acf7589e63dbf6f6c3dbd3253c5979fd5a478f
2015-05-29 22:59:51 +00:00
Madan Jampani
c626f1e737 ONOS-2043: Move device event handling in PacketManager off of event loop thread
Change-Id: Ia8b12e6ec3e732f0311adc7b3e7e63d07ad117e0
2015-05-29 22:59:34 +00:00
Madan Jampani
328371db2d ONOS-1981: Move expensive work off of event loop thread
Change-Id: I200d9b727a7d501d5b055574ddb0907b8f4756a2
2015-05-29 22:59:03 +00:00
Bri Prebilic Cole
c244976ad2 GUI -- Bug fixes - TableModel displays empty cell instead of causing NPE if no value is given. Sort icons and direction are reset when view is destroyed.
Change-Id: Ib56527e4d523fabf846ffb9f948a6ead99280a4b
2015-05-29 14:41:47 -07:00
Thomas Vachuska
f0397b5b81 GUI -- Added port-statistics traffic visualization to the topo view.
Change-Id: I52b3c1739cc50a026c0796819d61ec1898937ced
2015-05-29 20:56:08 +00:00
Madan Jampani
0174f45608 Drop log level to debug on some FlowObjectiveManager log statements
Change-Id: I24ce77129c4b480d4df630a011868e66621ec2a2
2015-05-29 12:54:19 -07:00
Thomas Vachuska
f9c8436f4d STC work in progress
Change-Id: Ie5e444e3b560b605b066899289cdee7a5fe8338c
2015-05-29 06:01:30 +00:00
Madan Jampani
078394f228 ONOS-1909: Defer id block allocation to the point when they are actually needed
Change-Id: Id34cba5259ae67b81df2480072ea0ce5c2417075
2015-05-28 18:18:07 -07:00
Brian O'Connor
5fcf6f5e71 ONOS-1992 Improving IntentCleanup configurability and adding enabled property
Change-Id: Id6daa33448a3ffee91e98a61e4bea24d1f8c06ca
2015-05-28 17:35:08 -07:00
Ayaka Koshibe
74b5527081 Miscellaneous fixes for reading Linc-OE port types.
- Keep track of created PortDescriptions so that they can be replayed when
   configurations don't stick
 - Push topology configs to all cluster members (Temporary hack until
   Configs are made Mastership-aware)
 - Port type consistency for Optical ports - default to FIBER port type

Change-Id: Ib2c9e2839c212d2998206bd0106490b2b38446a9
2015-05-28 22:57:37 +00:00
Marc De Leenheer
d24420f41e Add OCh signal type to optical path intent.
Revert changes to LINC-OE specialized flowmod handling.

Change-Id: Ic4f333a44b7cd8a3111bfcba87ea909943eec56d
2015-05-28 22:53:42 +00:00
Thomas Vachuska
5f429d675c Fixed race-conditions in null providers.
Change-Id: Ie1acd9d74e1277776a5981d21043671010b37343
2015-05-28 22:49:18 +00:00
Sho SHIMIZU
3bc27d8201 Remove blank lines
Change-Id: I19e96bb24d3fbf19632065b0364b01f15af678a7
2015-05-28 15:26:54 -07:00
HIGUCHI Yuta
11530fb110 Bug ONOS-2030: Wait for mastership
Change-Id: Ie05c44d227f198900a68d7dc8f6a4aed96da9dcc
2015-05-28 18:19:47 +00:00
Madan Jampani
15f1bc4591 FlowStore: Include exception in warning message
Change-Id: I1ff7797a3c21f5c62e2047fd4959711a2efe75c4
2015-05-28 10:52:26 -07:00
Thomas Vachuska
67756b93b0 Fixed javadocs.
Change-Id: I669a2e3078079ad2c6c94b62002a33c0ae86b94a
2015-05-28 09:52:11 -07:00
Changhoon Yoon
541ef71e6c ONOS-1993 Implement API-level permission checking + security util code location replacement
Change-Id: I7bf20eda9c12ed2a44334504333b093057764cd2
2015-05-28 07:06:12 +00:00
Madan Jampani
cd40e5b8e6 Refresh candidate board from source on each election round + Disbale east-west synchronization of candidate board
Change-Id: Ie796e0ff0bdd2da834f70f24e98725a309e97787
2015-05-27 18:44:56 -07:00
Madan Jampani
3650fc4a5b Eliminate possible redundant update when rearranging candidate order in leadership manager
Change-Id: Id76345ab827c4b6f55114f3afacdbc334092818a
2015-05-28 00:29:16 +00:00
Madan Jampani
7d243db855 ONOS-2026: Address polling issue in LeaderElection
Change-Id: Ib5c94d932de6b2c3419b07a97d6fe91d5c588538
2015-05-27 23:38:11 +00:00
Sho SHIMIZU
3a70431680 Remove unnecessary boxing
Change-Id: I37c6490aef820ad2e3cd480cc90d9b6d988c45bd
2015-05-27 23:21:14 +00:00
Sho SHIMIZU
f88e593632 Use lambda expression to reduce lines
Change-Id: Ie8994f79acc6b2f4204f62aca1fe6112baf578cd
2015-05-27 23:21:00 +00:00
Thomas Vachuska
a267ce41a4 ONOS-2025 Corrected a logic error in the flow rule store that crept in during a recent refactor. (175e8fde54342d3f9440134bf06a1c2ffcb99acc)
Change-Id: I4a4cb097ba7aa23dd00ebe59e8ebbbff68630dae
2015-05-27 23:19:32 +00:00
Thomas Vachuska
6c8eff3e64 ONOS-1746 Fixed hashCode implementation to be immune from non-deterministic enum hashCode.
Change-Id: I96d0a7850ee28d62b1152c4fee4f4ce7648c4931
2015-05-27 23:18:54 +00:00
Sho SHIMIZU
b3f167d59b Remove an enum that is not referenced
Change-Id: I64f6b899aa6a6411375473f7ee9c9af068d49ef0
2015-05-27 23:16:12 +00:00
Sho SHIMIZU
d9333d680b Remove blank lines
Change-Id: I92516542d431fb14582fc35786cce6d444d9d201
2015-05-27 23:15:54 +00:00
Sho SHIMIZU
8f86bb2db3 Remove unnecessary white space from Javadoc
Change-Id: I99b1b85ea704296cb4ec2ce1c84d65b26d0606ad
2015-05-27 11:29:17 -07:00
Saurav Das
86af8f19ae Adding support for writing metadata instruction.
Needed by Centec driver.

Change-Id: I705015c4d7ac881c273a01b36b05d39d9cd9ba87
2015-05-27 16:00:11 +00:00
Ray Milkey
02ce27426e Unit tests for DefaultGroupDescription class
Change-Id: Ic1378e9be3067bd45def74769023d51178765260
2015-05-27 15:50:14 +00:00
Madan Jampani
346d4f5fc6 Add new methods to ConsistentMap API to improve usability.
Change-Id: I1e82f0ab191edc6b0f52c7d7b0307aa3d2ef9d1f

Change-Id: I4c5982fe6596f716729b7885eb584a60735cd41b
2015-05-27 15:49:53 +00:00
Madan Jampani
eedfe544ab Dropping log level to debug on some LeadershipManager messages
Change-Id: Id3faea66a09a4ce8ca7a7e5b521c05b21d1a37e4
2015-05-26 09:54:09 -07:00
Madan Jampani
3d1727c11e Leadership: Rerun purge step when conflicting updates are detected
Change-Id: Iecf34a79688ff6d288f7bf17e0d99be35b6539e2
2015-05-22 19:48:36 +00:00
Madan Jampani
654b58a6ab FlowRuleStore: Consider errors when updating state of all current backups
Change-Id: I3bf4d20d79dc37c7040648ec6379794b8c93aad2
2015-05-22 19:48:18 +00:00
Charles M.C. Chan
1229ecaf8d ONOS-1926: Handle unsupported match field
Following is the main idea of this approach.

An UnsupportedOperationException indicates that:
    1. The OF version is not supported (other than OF10 and OF13)
    2. The flow contains unsupported match field
       (e.g. install ICMPv6 match to an OF10 switch)
I believe retrying are not going to help in both cases.
Therefore, I directly change the flow state into FAILED.

In case 2, if the switch is reconnected/reconfigured with correct
OF version, the flow will be reinstalled to the switch correctly.

Change-Id: I954f3597a77934e46695b82a6d17363d41636ebe
2015-05-22 16:41:26 +00:00
Brian O'Connor
30a412deb3 Starting snapshot 1.2.0-SNAPSHOT
Also, fixed onos-upload-bits script to upload rc's to nightly/

Change-Id: I9bb8fe685492e23c740796879f0b66c307e26e56
2015-05-21 18:08:06 -07:00
Brian O'Connor
608e03a1bb Tagging 1.2.0-rc1
Change-Id: I2791aacb0ab4eb0d3db92fef5e58e9c62747bf8c
2015-05-21 17:56:07 -07:00
Thomas Vachuska
b0ca8c51be Fixing javadocs.
Change-Id: Ifc894fce6366baf6cfed655b4bfc5885710be77c
2015-05-22 00:01:01 +00:00
Kaouther Abrougui
d8b565a904 Fixed bug ONOS-1676.
- Added comments and updated counters command display.
- Modified Json output for counters command.
- Fixed indentation and wrapped long code lines

Change-Id: I4ccc7f67071ea587ee0b12e2f59582f5e5ca760f

Change-Id: Id6cdeda344dd429e3a9f9ab7f027b45e7d6f293a

Change-Id: I6b90a868cedfa405f8deabb1cee6988ba6c1f96e

Change-Id: I93710bd69e266779220c5d1a240e6a06090da55c
2015-05-21 22:36:39 +00:00
Madan Jampani
175e8fde54 Removed deprecated ClusterCommunicationService APIs
MessagingService::sendAsync now returns a CompletableFuture<Void> in place of boolean

Change-Id: I98134c4c0ea65b9c7e9ba705eebd1669067324ef
2015-05-21 22:36:34 +00:00
Brian O'Connor
6de2e202f1 Moving LabelResourceManager to incubator
Breaking apart resource package into {device, link, label}
Refactored cluster serializers so they are visible

Change-Id: I71051bcd5e790ae6abeb154bf58286e584c32858
2015-05-21 22:26:49 +00:00