10582 Commits

Author SHA1 Message Date
Yuta HIGUCHI
10e91fb0f7 Count number of FlowRules in parallel
Change-Id: Iec5ffdac0b46e2103619aad6675ee0f873cbf5e5
2017-06-21 22:56:39 +00:00
Jonathan Hart
89ef158917 Remove deprecated RouteService APIs.
The goal is to clean up the interfaces a little bit in preparation for
a major RouteService refactoring that is coming.

Change-Id: Ifbde9a507dd0dc3cddcd7fa1c02c426dad386e5f
2017-06-21 22:46:08 +00:00
Simon Hunt
d6d3ad31be UI-Lion: uberlion event transmitted to the web UI.
- extension manager now sets runtime locale _before_ initializing core extension.
- web-socket sends uber-lion bundle "onOpen" (along with bootstrap data).
- deleted unused UiLionService.

Change-Id: Ic8f1f852dae50a49c1a7567f7ab33536b6d873aa
2017-06-21 22:39:45 +00:00
Yuta HIGUCHI
45d98b37b2 Remove unnecessary boxing.
Change-Id: I788a044ba8a52ab16ea5f312fde862e8a0612e34
2017-06-21 22:38:56 +00:00
Thomas Vachuska
90b3a40bd0 Cleaning up MutableAdjacencyListGraph class.
Change-Id: If2a389b8c359f8e04226d24e9f56c36f47aae34d
2017-06-21 22:17:22 +00:00
Charles Chan
2e2e3404e2 Implement unit test for HostHandler
Change-Id: I0ba37731f70b98019962b4f7deaf88fc2245ea6c
2017-06-21 22:14:17 +00:00
Charles Chan
b7b4c93011 Refactor HostHandler
Change-Id: Ie225b8466ea2c80dd4205581e3c519d4abd1949c
2017-06-21 22:14:17 +00:00
Simon Hunt
e6c55ddd40 UI-Lion: Lion bundles loading correctly under Karaf...
Change-Id: I69272026c650f7c1b962f8c986c80cebeaa46cc5
2017-06-21 14:33:02 -07:00
Simon Hunt
7d1c081a09 UI-Lion: Using try-with-resource for reading config file.
Change-Id: Ic177626fb014528cfab92d14020a15d485a73e58
2017-06-21 13:48:40 -07:00
Carmelo Cascone
00a5996a23 ONOS-6605 PI flow rule translator implementation
Change-Id: Icac66f17677c494152207f4b52355ad647e1227b
2017-06-21 20:29:45 +00:00
Sbhat35
bbb5a4b0bc bellman-ford unit tests
Change-Id: I1b7b72874b78e4de0bf401aeff02ed79b7272408
2017-06-21 20:13:11 +00:00
Yi Tseng
e935a644a4 [ONOS-6475] Supports BROADCAST by DefaultSingleTablePipeline
Change-Id: I66c9f9961763b057005bdf6f7a3b6fde1b5970cd
2017-06-21 19:29:57 +00:00
Simon Hunt
d875465c62 UI-Lion: Better instrumentation of the Lion-bundle-building process.
Change-Id: I67bb035612ed76bda866a56e670674d29535fdd6
2017-06-21 11:45:34 -07:00
Yuta HIGUCHI
a5323ceaf0 Cleaning up resource reading code.
Change-Id: I465dc76f37d70a1eae7bb53db323c0752448aa9e
2017-06-21 18:05:53 +00:00
Andrea Campanella
378e21ad33 [ONOS-6465] gRPC Protocol and controller
Change-Id: I0ae997f234ce95a78db2db1917f2cbbe3696ccfd
2017-06-21 17:18:49 +00:00
Carmelo Cascone
416057415f Support for generic table IDs in flow rules
This change is needed to let appications specify tables in flow rules
using indentifiers that are not numeric, e.g. using table names as in a
P4 program.

This change deprecates the FlowRule.tableId() method, in favor of
FlowRule.table(), which returns an object of type TableId. However, it
does not deprecate the .forTable(int tableId) builder method, since it
is used extensivelly in the ONOS code base and from external
applications.

Deprecating FlowRule.tableId() does not seem to be such a painful move
since it is used less frequently, e.g. only 22 usages in the ONOS tree.

Change-Id: Idaaaab53d0c1e20a1f9c7de84de09ec3a42648b5
2017-06-21 17:10:21 +00:00
dvaddire
edeaf4a49e ONOS-6667
NullPointerException on device-remove

Change-Id: I5bc41227a0535b73cb3969a584f8affc736ae6cc
2017-06-21 16:23:12 +00:00
Jian Li
33a29fcaa4 Add initial Korean localization support
Change-Id: I9873fff23fce7beea8fca7afa34867427c96f3d2
2017-06-21 16:18:11 +00:00
Andrea Campanella
3bf5ca98e7 Adding initial italian Localization
Change-Id: I82f2d2cfad2b70d8100d9d986b9ecfe9e4292349
2017-06-21 13:52:40 +02:00
Michal Mach
13072e2370 Executor initialization moved to activate() method
Change-Id: I91922b467794d25405c2c11cf2fc626efbaa4f22
2017-06-21 09:39:57 +00:00
Carmelo Cascone
7b821709a3 Minor changes to PI runtime classes
- New class for action runtime parameter and its identifier
- PiAction builder
- Various indentifier builders

Change-Id: I265f71c868c21dbbbe633622b0c4330712f5a5ad
2017-06-21 09:02:44 +00:00
Michal Mach
f0ce45e6d4 [ONOS-6665] Support for */* media type
Change-Id: I36ab16056b45213ccc641339844addc1e0c06319
2017-06-21 09:18:03 +02:00
Simon Hunt
00b369adc2 UI-Lion: Migrate BundleStitcher and LionConfig to web.gui module.
Change-Id: Id744e8a3a33621d69379b2286d1cd29770f16e57
2017-06-20 20:06:57 -07:00
Simon Hunt
7379a3d5ab UI-Lion: start integration of LionBundles into UiExtension.
Change-Id: I5c693f7f218fcd4fecbc34e2a18ef3ee29ed1e45
2017-06-20 18:41:47 -07:00
Simon Hunt
fb7f95ba2d UI-Lion: set up framework for Italian BundleStitcherTest.
Change-Id: I4c995c4e1221cda874cb5feb139de689a8258273
2017-06-20 16:21:20 -07:00
Simon Hunt
e556e946fb UI-Lion:
- BundleStitcherTest now working!
- Expand aliases in from lines.
- Added unit tests for parsing of from lines.

Change-Id: I65d343f1283fd60f46879431c37299c6ecd5a36e
2017-06-20 15:50:38 -07:00
Sbhat35
6137f03dcc Added edge case unit tests for Dijkstra search
Change-Id: Ie707c52140f3d417cc74ee9e3aa39275a1df6d84
2017-06-20 21:59:26 +00:00
Sivachidambaram Subramanian
9882abb648 ONOS-6654_Master - groups CLI command enhancement
Change-Id: I39d82a4ea9649b89cf39a2f6523fd9fbbb922bf5
2017-06-20 21:00:03 +00:00
Lukasz Ryba
4da35c5492 [ONOS-6663] Shutdown executor in RestDeviceProvider
Change-Id: If45c0a513104a7cc4eae242f83e3785f30f2a7db
2017-06-20 18:30:26 +00:00
Ray Milkey
e5d9df0897 Remove Deprecated setQos() method
Change-Id: I1b681f13f6a65c5df70b10a141ef94c927bf5f63
2017-06-20 16:56:44 +00:00
Patryk Konopka
7e40c01118 [ONOS-6607] Get active flow entries count in FlowRuleService
Change-Id: I68b4d916f92427c06a82d3622fcc05738f64541c
2017-06-20 15:43:27 +00:00
Ray Milkey
644472eaf9 Refactoring of distributed manager server script
- renamed script to eliminate the .py extension
- fixed interpreter name
- fixed a bug where a PUT operation returned an invalid respose
- broke up handling of the '/' URI into separate methods
- fixed typos in comments
- made script executable
- added http status codes to returned errors

Change-Id: I0809dcd912db15403b487a9ade31e8928e9b12e0
2017-06-20 14:58:32 +00:00
Michal Mach
bcd58c7a4a [ONOS-6664] NPE occurs while deactivating RestDeviceProvider
Change-Id: I4a0fcca44f6dc228e1ac3c96dd0ba2326d23d2fb
2017-06-20 12:16:33 +02:00
Brian O'Connor
71167f9e76 Updating bmv2.py to remove dependency on onos-netcfg
Change-Id: I4b98efe2d025a03925a6505ef387aac105af9aa0
2017-06-19 21:02:32 +02:00
Simon Hunt
083e6fb6a0 UI-Lion: Cluster View localized (to English).
- WIP: LionService (client-side) is still faked out
-      Need to request localized data from server still.

Change-Id: I2d846214343d3574ad246bfe50ef76dc89678b23
2017-06-19 17:22:41 +00:00
Michal Mach
d809974682 [ONOS-6662] Port statistics for RestDeviceProvider
Change-Id: I815471ff3df74f501a57fa5dd838c0f634ea4dcf
2017-06-19 16:14:16 +02:00
Jovana Vuleta
1de612658f ONOS-6545: HP3800 driver based on patches developed by Lancaster University (contact point Charalampos Rotsos: c.rotsos@lancaster.ac.uk). Driver was tested on Janet HP3800 switches.
Change-Id: Icd4aa22de9e718f830285dd1a9fb88e208cce2db
2017-06-19 09:30:00 +00:00
Charles Chan
c7a8a681cc ONOS-6658 Remove host listener when deactivating SR
Change-Id: Ie65650b61873e2539ba77d55ff7daeb0a559b5b9
2017-06-19 00:45:41 -07:00
Claudine Chiu
7c6d51c82f ONOS-6626 OFAgent - handle RoleRequest
Change-Id: I31b2f701a566a06126fa47fb5dd726779e625184
2017-06-18 14:21:05 +00:00
Simon Hunt
10618f6806 ONOS-6327: Implement details panel for host view.
ONOS-6326: Add friendly names to hosts.
- PLENTY more YakShaving:
  * some cleanup of the device view handler
  * introduce navPath field to PropertyPanel
  * introduce "-" name annotation to represent "use default"
  * (and more...)

Change-Id: I2afc0f1f29c726b90e97e492527edde2d1345ece
2017-06-16 22:15:23 +00:00
Jordan Halterman
0d89ea342a Limit/validate string lengths for various identifiers to prevent DoS from large objects
Change-Id: Ib7c34ddf8bd161efdf8d00a50f3378f9b7366188
2017-06-16 21:45:12 +00:00
Aaron Kruglikov
c939037f35 Fixing an issue where the \'ok clean\' command can fail if there is another version of buck in the path.
Change-Id: I93afcd6869634a88da045f4f81cc40e32160e117
2017-06-16 20:57:18 +00:00
Yuta HIGUCHI
113091f88f Cosmetic fixes
- Fixed javadoc & checkstyle warnings

Change-Id: Ie62d257bf68fbb3e2597a04857912259aa6d1f19
2017-06-16 17:23:39 +00:00
Harold Huang
222c6ecc57 [ONOS-6549] (vNet) Balance role commands for virtual netwrok
Change-Id: Iadf22cd735bed0b055ada5542be8b1d2edb8188e
2017-06-16 15:01:54 +00:00
Jian Li
882e19068b [ONOS-6537] Implement LispRadixTreeDatabase with unit tests
Change-Id: I0d3c016432ad90aeb8843ac3653ec5b54cf6e3bf
2017-06-16 08:00:27 +00:00
jaegonkim
1179d83c3c [ONOS-6641] VXLAN packet support
Change-Id: I7d2086cded3edafa26219609e4f3458b0ea394c0
2017-06-16 07:38:20 +00:00
Marc De Leenheer
03a52b0e83 Simplify optical compiler by always searching for common lambda (ONOS-5765)
Change-Id: I9128f59cc9c0bf10b88341cac289fb606906d98b
2017-06-16 07:36:42 +00:00
Harold Huang
e86d35fb56 [ONOS-6627] Revise adding and removing packet processor for virtual network
At present, we have to use requestPackets to trigger adding packet processor for virtual network and use cancelPackets to trigger removing the packet process for the virtual network.
But if we call cancelPackets more then one time in the deactivate() method when the application is deactivated, if will throw a NullPoint exception.

Furthermore, if a user does not requestPackets() in the application, the packet processor will never be added.
It may be a confusing trouble for a tenant user.
As a result, I think the packet processor should be created when the virtual network is added and be removed when no virtual network exists.

Soultions:
Listen to the network event to add and remove packet processor for virtual network.

Change-Id: I583d453219bef2f271b4a1e96f9869a28b4f0250
2017-06-16 05:14:22 +00:00
Frank Wang
9986c0714a Add zh_CN test file for Lion localization
Change-Id: I3a17bb856d3b436fd2a65d7597a1e2c43d03d23a
2017-06-16 10:55:12 +08:00
Jordan Halterman
e1558e8a74 [ONOS-6642] Disable versioned field serializer by default
Change-Id: I63aba4f56fbce786f1b965f7a9c133d17aeb3ad7
2017-06-15 23:57:08 +00:00