Ayaka Koshibe
c06c89bfe8
REST API modifications to take application ID/Kep pair to fetch intents.
...
Change-Id: Icee85c6d801c92d94c6905f1d4316f63fea4e560
Reference: ONOS-1007
2015-02-13 14:13:55 -08:00
Jonathan Hart
4fd4ebb9d0
Continue updating GossipIntentStore to new API.
...
Includes changes to ECMap to support generating timestamps based on values.
Change-Id: Ide55979aaa4f7757e67a6b3efed6e51d45ee318c
2015-02-13 14:12:30 -08:00
Ray Milkey
f9af43c2ea
Refactoring of IntentId based APIs
...
- getIntent
- getIntentState
- getInstallableIntents
Change-Id: I6d2073dfa165e0e5adcef46fe5908b563b481a43
2015-02-13 14:10:55 -08:00
Simon Hunt
99ee1e2839
GUI -- TopoView - added skeleton topoFilter.js (WIP)
...
- fixed broken unit tests.
Change-Id: Ibeb85d2724d460b7e681ea2b247e5429ba3d5d7e
2015-02-13 09:24:43 -08:00
Simon Hunt
a142dd26b3
GUI -- TopoView - re-instated Instance selection showing mastership of switches.
...
- default showHosts to equal false.
- fixed bug on link immediate restyling on theme change.
Change-Id: I3fc456086cc104df456725290f285a20309cdfe8
2015-02-12 22:07:51 -08:00
Simon Hunt
0ee286804c
GUI -- TopoView - re-instated selection "glow" - themed (blue for light theme, yellow for dark theme).
...
Change-Id: I3994d22889285547688429e490f6fa73ae4c768a
2015-02-12 20:48:11 -08:00
Simon Hunt
18bf982f18
GUI -- TopoView - implemented show/hide background map ('B' keystroke)
...
- reworked SvgUtilService.makeVisible() to be dual-purpose .visible(el, [b]) method.
Change-Id: I8e68994627d1022066cdc9dcbed006675431d91a
2015-02-12 17:36:42 -08:00
Bri Prebilic Cole
357f7fdc12
GUI -- Formatted styling for summary-list table and Switch Icons.
...
Change-Id: Ifafc2f17d4338bb42734f130ba642de4a6550263
2015-02-13 01:11:32 +00:00
Simon Hunt
36fc15c89e
GUI -- WebSocket close now invokes the Veil Service.
...
- enableKeys(b) added to KeyService.
- minor cleanup of Veil Service.
Change-Id: I640720727a3f1249d81855a61f088a7f2e9525cc
2015-02-12 17:02:58 -08:00
Bri Prebilic Cole
dea0974c92
GUI -- Refactored DeviceTableRow to use abstract super class.
...
- added type and chassis ID to table data
Change-Id: I5758bfb3f9dcd659325265d734ffe9aa7ae1b0ad
2015-02-12 15:34:04 -08:00
Bri Prebilic Cole
468bc1dd95
GUI -- Implemented Java backend device list sorting for tables.
...
Change-Id: I0ed18ce473e71dfc1b9188be47fe2f5062dd384f
2015-02-12 21:59:49 +00:00
Pavlin Radoslavov
febe82cc82
Implement some of the missing IPv6 flowmod treatments
...
Work toward ONOS-509
The following treatments are added/implemented:
- IPV6_SRC
- IPV6_DST
- IPV6_FLABEL
Also:
- Renamed L3ModificationInstruction.L3SubType.IP_SRC and IP_DST
to IPV4_SRC and IPV4_DST (for naming consistency).
- Few minor fixes in related code: Javadocs, comments, log messages,
and IP address usage.
Change-Id: I551056f767a37e7cb6ae7d79f4a3929183500b57
2015-02-12 18:24:54 +00:00
Bri Prebilic Cole
506ce0aa50
GUI -- Backend Java sorting of devices WIP.
...
Change-Id: I2df7efba3dfc0cff097bf5c6509849fa7ef438eb
2015-02-11 17:22:02 -08:00
Simon Hunt
75ec969311
GUI -- TopoView - Minor formatting changes.
...
Change-Id: Ibd02437fb6f6c3d75546d29ffdb15fde801f0292
2015-02-11 16:40:36 -08:00
Simon Hunt
f542d84e5e
GUI -- TopoView - Reimplemented 'traffic' related functionality.
...
Change-Id: I86d16324e4ce2cd2e0eb8d8f48f72804d7ce101f
2015-02-11 16:20:41 -08:00
Yuta HIGUCHI
a7a4e5d2b5
move TestServiceDirectory from main -> test
...
Change-Id: If2de618a86757e74b6e13d195403e0680ed53459
2015-02-11 23:51:32 +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
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
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
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
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
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
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
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
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
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
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
Yuta HIGUCHI
293ede0bcf
Workaround for ambiguous isA method
...
- Eclipse complains isA() is ambiguous.
'isA' method does exist in both EasyMock and hamcrest Matcher.
Change-Id: I6b98dbe1b4f1f0ce4fcbc2dcaded9b666fc19b33
2015-02-05 00:08:41 -08:00
Pavlin Radoslavov
d0fd841978
Implement some of the missing Selector and Match Conditions
...
Work toward ONOS-509
The following match conditions are added/implemented:
- IN_PHY_PORT
- IP_DSCP
- IP_ECN
- METADATA
Change-Id: I6f529ee90b2b9e0d5046f83c034e8be3faf86d8b
2015-02-05 05:44:00 +00:00
Thomas Vachuska
ebf5e54d44
ONOS-542 Added ability for app bundle to carry it's own artifacts, including feature repo. Fixed onos-package script. Added JSON output to CLI.
...
Change-Id: If4f2c774d3fc2d68c0a8e91b3084b99d7c75d927
2015-02-05 05:22:53 +00:00
Ray Milkey
540b2ce182
Make JSON codecs immutable
...
The contract for JSON codecs requires that they have no
local context. Make them all immutable, and test that they
stay immutable.
Change-Id: Ia3930b844ede231940da05699f5f08605f946e0c
2015-02-05 04:59:22 +00:00
Simon Hunt
24077f15ff
GUI -- Refactored (condensed) the Topo Event Service.
...
Change-Id: I58ecac5ed6fe91ae81a44097c3a48d564ccac4bb
2015-02-04 17:58:21 -08:00
Simon Hunt
1894d798d3
GUI -- Added handling of hosts and links. (Still WIP).
...
Change-Id: I0ad3b16d47b264b6812f732f220230a2ae92de02
2015-02-04 17:09:33 -08:00
Simon Hunt
51056590c1
GUI -- Refactoring updateNodes() to make the code more readable.
...
Change-Id: Ib375b5573a4670a67dd94a6532caf078be33beb0
2015-02-03 21:48:07 -08:00
Simon Hunt
78c10bf559
GUI -- Minor fixes to themed coloring of device icons.
...
Change-Id: I4084b7c640f70d43a57953749f11a78530620c17
2015-02-03 21:18:20 -08:00
Simon Hunt
5064c2223e
GUI -- fixed broken unit tests.
...
Change-Id: I6563d9965d1d4fd47b0302b090f09431eb25a49a
2015-02-03 20:49:10 -08:00