1195 Commits

Author SHA1 Message Date
Steven Burrows
af3159df5f Added Breadcrumbs module
Change-Id: Iba897409f728ffa7e58681788c63e3c251cd8358
2016-08-25 16:07:35 +00:00
Viswanath KSP
13e5b51b6d [ONOS-5155] Exposed delta statistics via northbound REST
Change-Id: I04d9ec04c92bccd7bd5b5fd23d61be241a67d524
2016-08-25 12:37:27 +05:30
Simon Hunt
fa875bb10a Cleaned up urlBase() readability.
Updated unit tests, and added a test for the app context in the URL.

Change-Id: I110b62ff8366a503c3309df0f26a7dd213ae0c5f
2016-08-24 12:42:00 -07:00
David K. Bainbridge
8ba356cd7f updated the base url handler to extract any app prefix from the absUrl in case onos is behind an app prefix
Change-Id: I271da533f39091efdd01d8104c1e6740effead52
(cherry picked from commit 3faa011)
2016-08-24 10:11:25 -07:00
Thomas Vachuska
8e98f2f2e6 Widening column for device master to prevent text wrap.
Change-Id: Ifd77d5b10519bffbdf12b306fd903d6bab390810
2016-08-23 21:18:53 +00:00
Simon Hunt
b8d3798a6f EE unit test and h-bird.
Change-Id: I3d775cb90a64b142ccbce5665457bda8e8f28e4b
2016-08-23 21:13:55 +00:00
Viswanath KSP
8ffb7759d3 Exposed the newly added port specific portStatistics API via REST
Change-Id: I12a59b950f2d9123afc048e126ad7b457e5d7188
2016-08-23 22:19:06 +05:30
Kavitha Alagesan
98315a2a77 Fix for ONOS-4940
Change-Id: Id4e5913cb69e913190a0b32cd41bac0dbe786729
(cherry picked from commit 924c54ccb05c648afa49c6c2bd509a060b8d174c)
2016-08-23 15:30:05 +00:00
Jayasree Ghosh
d3ff540f36 Fix for ONOS-5152:Encoder for Disjoint Rest API with NPE:onos-1.7
Change-Id: I172e247353f7d70f6d7761e8a6be27f21b3c2684
2016-08-23 04:49:45 +00:00
varunsha
34b306051c Fix ONOS-5091
Change-Id: I11762eb799c1f93536f472807167cdba20a7c8e6
(cherry picked from commit 45f806ccedf844dfc8fe1722eca653f274b83f12)
2016-08-22 18:31:40 +00:00
Michele Santuari
54f420d15b fix: router devices to packet layer
Change-Id: Ia457504258575d677bddb1246dc8ee74f21c828c
2016-08-19 16:33:29 +00:00
Simon Hunt
7faabd5102 ONOS-2582 : fix for reselecting previously selected nodes in the topology view.
Note that this also fixes the race condition with showing selected intent.

Change-Id: Icf3cd168bca985136d3ca6c63d98aa193a476d00
2016-08-18 16:38:42 -07:00
Yuta HIGUCHI
0de4ba9401 Remove duplicate version specifications
Change-Id: I0fe6027e66815ab2e7db5e090dd5aea39b3c36e1
2016-08-18 15:59:50 +00:00
Chiara Contoli
a8f69ff3fd Adding SinglePointToMultiPointIntentCodec for support SP2MP intent over REST
Change-Id: Ic04529520ad1719f3d241b3a79d8e0602bfeac4e
2016-08-17 16:23:56 +00:00
Viswanath KSP
0f29770602 Adding first set of changes for bug onos-5071
Addressed review comments
Addressed review comments for patch-2
Addressed review comments for patch-3
Fixed broken "show intent" on topo view.

Change-Id: Ie76deca917d6cd6c98d121135e53b9093b5ed8ee
2016-08-16 15:48:40 -07:00
Steven Burrows
ec1f45c00c Updated fn-spec to include classNames
Removed Classnames file and added code to fn.js
Fixed typo dimentions to dimensions
Moved Device/Link logic from Topo2D3 into the model
Model now calls onChange when any property is changed via the set Method

WIP - Added d3 force layout for devices and lines

Change-Id: I4d1afd3cd4cecf2f719e27f4be5d1e874bd9e342
2016-08-13 01:25:46 +00:00
Simon Hunt
df2a4e699a Adjusted order of instance colors to run red/blue/grey/steel/lt-red/lt-blue/lt-grey.
Change-Id: I29e51704b032f6446f45d2e5f53cc043a8994968
2016-08-11 16:03:55 -07:00
Simon Hunt
3d71252d1c Added endPortA/B to UiLink class.
Removed 'online' property from UiDevice, choosing to look up availability on the fly from device service.

Change-Id: Ib14ab371a11c442a30cf407f11d366271d087c68
2016-08-11 11:20:58 -07:00
Simon Hunt
f836a87af6 Added breadcrumbs array to topo2CurrentLayout response.
Included Region name in "closed region" data structures.

Change-Id: I1d4c223255b7ea8239f38c63d4caebe1bdeddf32
2016-08-11 15:00:58 +00:00
Simon Hunt
f4fd2a2e47 Clean up handling of lat/long geo-coordinates.
Change-Id: I64fca56c7deb9a8baa6c68558365ec2a8c38168c
2016-08-10 16:31:11 -07:00
Simon Hunt
6a8cb4f3e5 ONOS-4970: Device data for topology view -- WIP.
Change-Id: Ie5a0c65f38b32672570919c50c1f53b14d293d3f
2016-08-09 20:31:24 -07:00
Carmelo Cascone
d01eda67b3 Prevent overlap of link labels in WEB UI
Change-Id: I6e261186abf9ed87a3c55e50d123e423f652aa41
(cherry picked from commit 622700f)
2016-08-09 12:18:17 -07:00
Matteo Scandolo
c9306e46d1 Enabling UI live-reload for apps not in the ONOS source code
Change-Id: Ib88929a8825b7adf136d2b6b90d66db10549c165
2016-08-09 19:09:28 +00:00
Simon Hunt
c13082f7fb ONOS-4971: Synthetic Link Data -- WIP
- Breaking out UiLink to subclasses for device links, host links, region links, region-device links,
    - (soon, also peer links).
- Augmenting UiLinkId to include regions as endpoints.
- Introduced UiSynthLink to encapsulate synthetic links bound to regions.
- Model Cache now computes synthetic links from the underlying link data.
- Added endPointA/B() and type() methods to UiLink.
- Updated topo2CurrentRegion response to include synth-links for the region.

Change-Id: Ifa62a15fbe0a58b134d92278b201fa7a72cbfa83
2016-08-09 16:44:48 +00:00
Steven Burrows
57e24e9d66 Added Collections and Models for a Region.
Change-Id: Ic033b2890dad18e47b057e6b1d1c8535d812590d
2016-08-05 15:29:03 +00:00
Simon Hunt
4f4ffc3ece ONOS-4971: Synthetic Link Data -- WIP
- Enhancing UiRegion to capture the hierarchical (parent/child) relationships captured in the UiTopoLayouts.

Change-Id: I152e0d52d4580b14b679f3387402077f16f61e6a
2016-08-03 18:34:23 -07:00
Brian O'Connor
e8468b5743 ONOS Swagger Plugin
just does swagger now
to build the plugin, you need to download to following:
https://github.com/bocon13/buck/releases/download/v2016.07.29.01-wip/buck.jar

put the buck.jar in tools/build/buck-plugin/lib

Change-Id: Id1b833dd013fbc5581f8e884e755920829c4a17e
2016-08-03 22:27:51 +00:00
Ray Milkey
bb23e0b5fb Fix Javadoc warnings
Change-Id: Icf8b6b6f77ea80d3975aa975226a178145067adf
2016-08-03 14:29:51 -07:00
HIGUCHI Yuta
f3ead25267 [ONOS-4513] Slice optical-model into separate bundle (1/3)
- net and cli bundle has dependency to optical-model bundle,
  which should be removed in the longer run. (ONOS-4626)

Change-Id: Ieff43ef2002ee21f4578a6e2a729cd35ce3eae3d
2016-08-03 18:54:13 +00:00
Ray Milkey
2a749835b7 Top level build of component Javadocs
Change-Id: Iceb2a7c84b3dd0b354b27f93a0f746913cd9b778
2016-08-03 09:38:07 -07:00
Simon Hunt
4854f3dede ONOS-4971: Synthetic Link Data -- WIP
- adding CLI commands for dumping Model Cache contents.

Change-Id: I28dfe179835de6cd0c5356faf87af46a239eb772
2016-08-03 15:41:29 +00:00
Jian Li
46770fc91c Bump up ChartJs to 2.2.1 and AngularChart to 1.0
Change-Id: I9ac9e9fa381e63dbfa2c0cf715c4e1280dc80c2d
2016-08-03 02:43:08 +09:00
Simon Hunt
9818919b73 ONOS-4971: Synthetic Link Data -- WIP, merge anyway
- created temp Topology2 View (topoX) to "process" and display topology data.
- made root layout parent of itself (just like /.. = /) to simplify layout hierarchy operations.
- added nodeType property to JSON rep of regions/devices/hosts.
- augmented peers to include devices.
- added skeleton topo2NavRegion event.

Change-Id: I8219125d7dfe33d211350ae27111a3d9de6eb4ca
2016-08-02 10:08:03 -07:00
Simon Hunt
10973dd2f1 Added ui-cache-regions CLI command.
Change-Id: I196543792c85e40e582f9456e4e50dd33bedf111
2016-08-02 00:36:44 +00:00
Jian Li
8afbbeee2a Bump up swagger ui from 2.1.4 to 2.1.5
This commit bumps up swagger ui to 2.1.5 which fixes various bugs
of swagger ui 2.1.4.

Change-Id: I4f8d7f79b88cddada0148a8629e7ef4da9eac3a0
2016-07-27 18:27:46 +00:00
Thiago Santos
877914d664 [ONOS-4931] fix doc of FlowEntry.life(), add life(TimeUnit)
Fix the doc: life() returns the time in seconds, not milliseconds.

Add new method life(TimeUnit) that allows specifying the timeunit to
receive the life value as as seconds might not be enough for
all applications and OpenFlow can provide this value to nanoseconds resolution
(in its spec).

Change-Id: Ia6a7573797249e0edc04e03c7204a550a2823742
2016-07-26 21:32:46 +00:00
Simon Hunt
b1ce2609cb ONOS-4326: Working on topology topo2start processing.
- Added getPeers() to UiTopoLayoutService.
- Fixed wipe-out command to leave the default layout alone.
- Fixed handling of null-region (associated with default layout).
- Added refresh() method to model cache.
- Fixed regions-topo-2 device IDs

Change-Id: Iee49b47ff6702bed9751be7b63392577422d4763
2016-07-25 17:20:07 +00:00
Varun Sharma
1853b3f359 Cherry pick ONOS-4835 fix
Change-Id: I82ecb542dad4430d55af0fc684f8d13d6e45b45e
2016-07-25 09:15:06 +00:00
chengfan
c553c954c8 [ONOS-4946] fix bug: GetTunnelCount cast exception when getting the device property panel details in WEB GUI
add a judgement, only OpticalTunnelEndpoint has a deviceId

Change-Id: Iff91b0b5f37d2ae838229f4e11e970cd70dd6ae1
2016-07-24 01:56:44 +00:00
Yuta HIGUCHI
1624df1f30 Assigning names to various threads
- specify nearby logger when possible

Change-Id: Ia8925ab1459c4d1da922becd0e201388d44d4294
2016-07-22 22:56:26 +00:00
Thomas Vachuska
eb851cdefd Adding commands for managing layouts.
Adding support for wiping out regions and layouts.
Refactored UI layout manager to allow public knowledge of default layout id.
Enhanced test topo for layout hierarchy.

Change-Id: I254fd494175e753f542f12a664618c1a83f72127
2016-07-21 15:50:36 -07:00
Simon Hunt
61419e7f9d ONOS-4326: TopoRegions: MockServer scenario with skeleton events.
The plan is to augment these events as we figure out what they will look like when populated.

Change-Id: I3aa1cb22a6e339bf9f6f86fc1587783c0f63a9b6
2016-07-21 13:42:54 -07:00
Simon Hunt
977aa05481 ONOS-4326: TopoRegions: Implement basic structure of response to 'topo2Start' event.
- this is WIP: still need to extract data from model cache.

Change-Id: I5ab843a1c352275a8da89964c886b660e3b8b616
2016-07-21 11:58:52 -07:00
Jian Li
673399fcc5 BugFix: Allow to specify mastership role through REST API
In current implementation, swagger doc does match with codec impl.
With this commit, we can assign an exact mastership role for a
device through REST API.

Change-Id: I5cb3f8d478f8fe3eb22f12fc5254ed8a400d5b56
2016-07-20 19:21:20 +00:00
Simon Hunt
d5b96731d7 TopoRegions: created skeleton Topo2 UI view for development of the "region-aware" topology.
- Added initial event generation (layout/region/ etc.) -- WIP

Change-Id: I2f93eea7505ff0400085d7f67491f6b61231cb86
2016-07-15 19:04:10 +00:00
Thomas Vachuska
cc0b7d6605 Adding support for topology recipes and cleaning up topologies.
Cleaned-up a few STC scenarios.

Change-Id: I4ffa61953d8cf289406fa572ab7603d996e26a85
2016-07-13 13:16:06 -07:00
Kavitha Alagesan
df352c6dda Fix for the ONOS-4836
Change-Id: Iedf597bb79f27ca7834e85fc445ebd5736c852a7
2016-07-13 18:37:18 +00:00
Simon Hunt
5ab45e172d ONOS-4805: Choice of selected overlay persisted server side -- restored across login sessions.
Change-Id: I17e0e06a2fcc33958ffd42cd51acb42a302de57e
2016-07-07 15:30:04 -07:00
Claudine Chiu
25f07bea59 ONOS-2184 VirtualHost CLI and REST api's
Change-Id: If0ebe4268f3161a34223eca58e3f1bdbb8d0c9be
2016-07-05 20:49:38 +00:00
Thomas Vachuska
018110c26a GUI - Adding display of attached hosts (in addition to showing egress links) in device details.
Change-Id: I94f1489a0226de81dec7744eb26e64e3769034c1
2016-07-05 20:30:51 +00:00