3538 Commits

Author SHA1 Message Date
sangho
7ff01813fe ONOS-944: Implemented a Group operation failure handler in GroupManger and SimpleGroupStore.
Change-Id: Ib3be4d534ceff04af2dad0c062fd4cd63d49ee82
2015-02-11 23:56:53 +00:00
Yuta HIGUCHI
a7a4e5d2b5 move TestServiceDirectory from main -> test
Change-Id: If2de618a86757e74b6e13d195403e0680ed53459
2015-02-11 23:51:32 +00:00
Jon Hall
8f31b7b41f Make id required for cluser-devices command
- Fix for ONOS-997

Change-Id: I9becb74a44509d804404e8f8beb44ef718d0b9b6
2015-02-11 23:45:20 +00:00
sangho
a09f274052 ONOS-973: Implemented a unit test for OpenFlowGroupProvider implmentation.
- Fixed a bug in OpenFlowGroupProvider of wrong handling of pending group operations.

Change-Id: I70b80629f4eed000110d242f3558abe49b6b13bc
2015-02-11 22:45:23 +00:00
Bri Prebilic Cole
902cb04542 GUI -- onos-sortable-header will get the controller to use the restService to update the table data. Query parameters were created based on colId and sort direction.
Change-Id: I27bc6ebab9f8f1ba332b4480171b8afc3a4fd3c4
2015-02-11 14:04:28 -08:00
alshabib
29570d0d86 adding a flow-tester python script to help test the flow subsystem
Change-Id: I4477df897f8f5ea55e7ae992cf8e096e92db05bd
2015-02-11 21:29:39 +00:00
alshabib
3a0e9f550e Added test code to test the flow subsystem performance
Change-Id: I1a7c68492760a63b7d092c3ca71e4964123c8aa7
2015-02-11 21:29:18 +00:00
Brian O'Connor
72cb19a90e Implementation of new Flow Subsystem:
The subsystem no longer returns futures for tracking completion of work.
Notifications are explicitely returned via a call back mechanism. Also, the
subsystem is now asynchronous.

Change-Id: I1a4cef931c24820f9ae9ed9a5398f163f05dfbc9

more flowservice improvements

Change-Id: I5c9c1b6be4b2ebfa523b64f6f52e7634b7d3e05f

more flowservice impl

Change-Id: I05f6774460effb53ced8c36844bcda2f8f6c096f

Manager to store functional (at least i believe it)

Change-Id: I09b04989bd1004c98fe0bafed4c76714b9155d53

flow subsystem functional: need to fix unit tests

Change-Id: I1667f25b91320f625a03e5e1d5e92823184d9de0

flow subsystem functional

Change-Id: I429b3335c16d4fc16f5d55f233dd37c4d1d6111d

finished refactor of flow subsystem

Change-Id: I1899abc6ff6a974a2018d936cc555049c70a6804

fix for null flow provider to use new api

Change-Id: If2fd9bd5baf74d9c61c5c8085cef8bc2d204cbdc
2015-02-11 21:28:01 +00:00
Simon Hunt
a0eb0a8781 GUI -- TopoView - Reimplemented (most of) the ESCAPE key handling.
Change-Id: I4d05a3107e68e75aad47adb6c4ef6a7ca74ba82b
2015-02-11 12:34:24 -08:00
Simon Hunt
6036b19bfb GUI -- TopoView - Fixed dynamic repositioning of Details Panel.
- also implemented toggleDetails keystroke 'D'.

Change-Id: I99a9ee1235c8cc1174d8c2d542e6e40b7fb6b8dc
2015-02-11 11:20:39 -08:00
Dusan Pajin
79f515f50a ICMPv6 checksum calculation fixed in ICMPv6.java
Change-Id: I4ac4a9138e9256318c0345668e7692f2778c136e
2015-02-11 18:24:18 +00:00
Yuta HIGUCHI
802920559d Explicitly specify charset
- Explicitly specify app name encoding, which will go over the wire.
- Commented out unused Map for now

Change-Id: I9a076a5ef452850706bf15b0730aa149b4532fbd
2015-02-11 17:28:37 +00:00
Yuta HIGUCHI
dd9228dedb Avoid unnecessary boxing.
Change-Id: I8fce87e3b1ba1f65f0e379c60e5d71d637228b61
2015-02-10 22:28:57 -08:00
Yuta HIGUCHI
c611d927aa Fix Cache Removal listener
- Removal lister will be called even if the entry was manually
  invalidated. Timeout handler should check for the cause.

Note: In both of the cases fixed in this patch, Future should silently ignore
  setException, external behavior-wise no change by this patch.

Change-Id: Id46f23c9ff8dfa607874cfd94807000f03a95b31
2015-02-11 06:21:35 +00:00
Yuta HIGUCHI
8791a8100b Modified flows command to only output flows for specified device
for ONOS-1003

Change-Id: Ibbb313b80618bd9db806c2c63c50a6b45ccf800e
2015-02-11 06:20:59 +00:00
Jonathan Hart
552e31f991 Create a formal interface between the RIB and FIB.
* IntentSynchronizer implements a more generalized FibListener interface
 * Updates to the FIB are signalled with FibUpdate to any FibListeners
 * generateRouteIntent logic has been pushed down into the IntentSynchronizer

Change-Id: I6f0ccfd52ee4e16ce9974af5ee549d4ede6c2d0e
2015-02-11 05:43:24 +00:00
Madan Jampani
09342706b0 WIP: Consistent map implementation.
Change-Id: I51b2d954b7a8ff2c51c425d9a8125937d4eaa6b0

Change-Id: Ib27799d4eb60fc4bfaa8d2f21a904365ff5437eb

Change-Id: I95c937600ceb8f282a482280217671c471f40b9c
2015-02-11 05:26:26 +00:00
sangho
89bf6fb1f3 ONOS-991: The event listener in OpenFlowRuleProvider needs to check the event type because GROUP_STATS are also published now.
Change-Id: I3b61fcc4b59f1b47b11debdb1863d87d36db7744
2015-02-11 03:47:32 +00:00
Bri Prebilic Cole
1f93be2074 GUI -- Table headers can dynamically display with an icon which sorting direction the table is currently sorted as.
Change-Id: I6c5e6d1c196495dc6065ae58fa6cb21001c01778
2015-02-10 17:16:58 -08:00
Simon Hunt
c252aa60a6 GUI -- TopoView - Implemented show/hide summary 'O' keystroke.
Change-Id: Id5014614b8faec19423aa367ad3de1ca3140b882
2015-02-10 16:45:47 -08:00
alshabib
fd3cc05f65 fix for mastership race condition.
Change-Id: Id219bdf00f3d6501027566d54342c5d7c1b27789
2015-02-10 15:16:57 -08:00
Simon Hunt
08f841d0fa GUI -- TopoView - Implemented much of the node selection logic. (WIP)
- introduced topoSelect.js.

Change-Id: Ic843c7d8dc2249fe0cb8c33de60dce12c07aea44
2015-02-10 14:39:35 -08:00
Bri Prebilic Cole
b0e66be049 GUI -- Table scrolling fixed header directive no longer depends on a timeout function.
- Added a general directive that emits when ng-repeat is completed.

Change-Id: I23131adecded9f0393334d003812845ac6b4f031
2015-02-10 10:53:29 -08:00
Kunihiro Ishiguro
1eab7d5f25 Add IPv6 HostManager test.
Change-Id: I84a54b3635fd5b7a2a591f9bcf54cb3f7bceaddb
2015-02-10 18:13:45 +00:00
Simon Hunt
dc6adeadf9 GUI -- TopoView - Migrated more helper functions to topoModel.js.
Change-Id: I902c3561210c46fd23c6f6f01323d003dacefc19
2015-02-09 22:29:36 -08:00
Simon Hunt
3a6eec009e GUI -- TopoView - Migrated helper functions to topoModel.js.
- moved randomized functions to random.js (so we can mock them).

Change-Id: Ic56ce64c036d36f34798f0df9f03a7d09335a2ab
2015-02-09 21:16:57 -08:00
Brian O'Connor
ea9ae214f9 Using CommandSession console instead of System.*
in AbstractShellCommand print and error

This fixes a bug where print() works intermittently
on the Linux servers and error() doesn't work at all.

fixes ONOS-986

Change-Id: I086fea9f999992990935d54a6d15d55a7fb4cfea
2015-02-10 01:28:01 +00:00
Ray Milkey
0cc189e681 Add a test for unsupported criterion type
Change-Id: I0820b8f7fe9a375554721438284b5e9352c289b2
2015-02-09 11:14:42 -08:00
Ray Milkey
46670a881f Refactor criterion codec test and matcher
- codec test now uses the json matcher rather than comparing itself
- refactored the codec matcher to be less ugly
- fixed a bug in how eth types are compared

Change-Id: Iaf9980c52e98518405a23d2cdde7ccd7d4afaa9b
2015-02-09 09:59:03 -08:00
Pavlin Radoslavov
5e4f754f19 Implement some of the missing Selector and Match Conditions
Work toward ONOS-509

The following match conditions are added/implemented:
  - IPV6_EXTHDR

Also, fixed the match criteria for the optical signal type
to represent unsigned 8 bits integer (per spec).

Change-Id: I925db19cb43c5d9f589c1f090b6a75faabe0a19b
2015-02-09 01:20:09 +00:00
Pavlin Radoslavov
f3b693381d Fix toward ONOS-960 - Signed/unsigned value mismatch for OpenFlow-related
match/action conditions

Fixed the signed/unsigned issue for the match conditions

Also:
  * Reordered some of the code in CriterionCodec.java so the order
    of handling various Criterion types follows the order as defined in
    Criterion.java
    - In the process, removed a duplicated entry for Type.MPLS_LABE
    - Fixed an issue with TCP/UDP/SCTP ports being accessed as 8-bit integers
      instead of 16-bit integers

  * Updated some of the unit tests in CriterionCodecTest.java to use
    larger integer values that could expose better potential bugs in
    the tested code.

Change-Id: I531d13bd258ebc559ce6be716863c01613427a98
2015-02-09 01:16:31 +00:00
Yuta HIGUCHI
32a53c5a85 Instruction related fixes
- Fixed PushHeaderInstructions bug, where half-baked Ethernet instace was used
  only to hold ethernetType. (ONOS-987)

Change-Id: I330a862c8a18206250befbd4e22ee6d189beed83
2015-02-08 01:41:43 -08:00
Thomas Vachuska
4a51e57cbf Adding and fixing javados.
Change-Id: I38eddb0b11630cdd83c5d1e5d5dc393ee2555897
2015-02-07 21:36:23 -08:00
Thomas Vachuska
a1c4ccd831 Updating Javadocs
Change-Id: Iad04f377f571c4879db245c9b96030678faad5b9
2015-02-07 20:54:14 -08:00
Simon Hunt
205099e56b GUI -- TopoView - added node selection logic.
- added inArray() and removeFromArray() functions to FnService.

Change-Id: I0e9631fa9e5865cb171e8d505f45c1963a1903dc
2015-02-07 13:15:16 -08:00
Madan Jampani
cb7ab08e95 Pom fixes to correctly shade copycat jars.
Change-Id: I1ed97b32ad242e1c6d7c06387219308802a1f773
2015-02-06 15:33:57 -08:00
Ray Milkey
9ee62f52f2 add unit test for criterion codec
Change-Id: I0797c164dbbc03cd46a9d861e758f85cd27845d6
2015-02-06 14:52:07 -08:00
Simon Hunt
445e815d51 GUI -- TopoView - working on mouse gestures - drag, click on nodes; mouseover,mouseout (WIP).
Change-Id: I2ecd4f805267fe72685381eb297a3d4cbbbd360a
2015-02-06 13:00:22 -08:00
Bri Prebilic Cole
5e940e21a9 GUI -- VeilService Implemented and some changes to device view.
Change-Id: Iad496e2ca698213dce4da4d1894eee6e6fe5a874
2015-02-06 11:34:14 -08:00
Madan Jampani
94c2353875 WIP: Partitioned Database based on Raft.
Removed the implementation based on previous Copycat API.

Change-Id: I6b9d67e943e17095f585ae2a2cb6304c248cd686
2015-02-06 19:04:24 +00:00
sangho
6a0bb17d28 ONOS-961: Supports GROUP_STATS and GROUP_DESC_STATS events in OpenFlowController for OpenFlowGroupProvider.
Change-Id: Iea5e7a2a37a7a44367c54e99db44eb9399d48175
2015-02-06 18:57:18 +00:00
Ray Milkey
73ba84aa42 Refactor criterion codec
The previous implementation was a huge switch statement. These
changes attempt to use polymorphism to avoid all of the branching
inherent in a switch.

Change-Id: If997f028346de02b883356bcde07f62674e319be
2015-02-06 10:02:26 -08:00
Simon Hunt
1c367111b5 GUI -- Implemented cycleDeviceLabels() - themed too.
- cleaned up findDevices(...) .. all devices, or offline devices only.

Change-Id: Iac64cdc64393e3c30798975e4aab8ed480deda31
2015-02-05 18:02:46 -08:00
Bri Prebilic Cole
47bb780a28 GUI -- WIP - VeilService
Change-Id: I56ff07f712e43f404e5ef5b8da2ba8cfa62102ff
2015-02-05 17:25:45 -08:00
Simon Hunt
5724fb4505 GUI -- Implemented Show/Hide Offline devices & Show/Hide Hosts (also used Flash Service).
- added 'toggle(cb)' to panel API.
- deferred keybindings to allow direct reference to sub-API functions.
- re-implemented tick() function.
- added 'list scenarios' command to mockserver.

Change-Id: I1cc0009266e1015747b1d8106bd1f088adb2feb5
2015-02-05 16:59:56 -08:00
Yuta HIGUCHI
cca5e72f99 L2/L3 modification instruction bug fixes
- Fixed instanceOf with wrong type (ONOS-974)
- Aligned #toString() format to be the same as other instructions

Change-Id: I526c2ef8d92660e0b821a10f0cf87ee72a84cdf3
2015-02-05 16:22:57 -08:00
Bri Prebilic Cole
aa0f088f5f GUI -- Cycling through icons in table headers:
- An object is returned that has the current column ID and which icon/sorting needs to take place when sent to the server
- clicking on each header will display to the debug console which way it will be sorted

Change-Id: I686d417a5b9b0e5c9b591380b8a6166c70c3c401
2015-02-05 14:39:23 -08:00
Jonathan Hart
9a4157bb6b Update AddSinglePointToMultiPointIntentCommand help string
to include ingressDevice.

Also modified help strings for consistency.

Change-Id: I9c35fdbdae539f92411da089ff48b4c0951e8481
2015-02-05 21:31:14 +00:00
Simon Hunt
e33889d53e GUI -- Implemented the flash service.
Change-Id: I4fb03f4c8df687ab499921d1bf2b8cb424ec306e
2015-02-05 11:39:37 -08:00
Ray Milkey
ed0b1663ab Fix tests that were hiding the setUp() mthod in the JerseyTest framework
REST API tests were defining a set up method called setUp(), which had
the unwanted side effect of hinding the parent class' implementation.
Made the set up and tear down methods for the tests have unique names so
both will be executed.

Also fixed some javadocs while editing the files.

Change-Id: Ifaa75fe650d5909b066769e5e12cb5c834267a20
2015-02-05 18:25:54 +00:00