11722 Commits

Author SHA1 Message Date
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
Jordan Halterman
279773ed60 Use unique counter name for DistributedTeTopologyStore counter
Change-Id: Ibb2339728c46a3bb6d297a2569e034c312e7cc62
2017-06-15 23:20:26 +00:00
Ray Milkey
a67943de5e Shell tool to interface to the ONOS component config REST API
Part of ONOS-6597

Change-Id: I0787467c25569dae06878715e05e468e5fa7a440
2017-06-15 23:19:38 +00:00
Charles Chan
ed374235bf Remove a link from seenLink when either end of the link goes down
Change-Id: Ie650f6fd34f10ed91112f974684e97b99c916534
2017-06-15 21:56:39 +00:00
Simon Hunt
8694308c4e ONOS-6327: Implemented details panel for host view.
- WIP: still have to render the host details in the panel.
- YakShaving:
   * augmented ConnectPoint to implement Comparable
   * cleaned up ConnectPointTest

Change-Id: I5c901099319820e08af812807ff65bf5dac1fb23
2017-06-15 13:43:16 -07:00
Ray Milkey
5dae9224d3 Fix some redundant serializer declarations
ONOS-6482

Change-Id: I1870a94a3e38f1b820344ff3b2c4abaa239482b5
2017-06-15 11:55:51 -07:00
Jonathan Hart
d4be52fdcf Clean up routes when the ONOS node they were sourced from goes down
Change-Id: I1b70e087b64404bf92e6251d18f3c85791e30583
2017-06-15 17:29:58 +00:00
Yuta HIGUCHI
f42a2ccc39 [ONOS-6386] Polatis OpenFlow driver
- Handling Polatis extention for ofp_port_stats_prop_type (=OFPortStatsPropVer14)
  0x7C00 (=31744 in decimal) is future work.

Change-Id: I8ad309502737d2bff46e412e80f4310ca61bf254
2017-06-15 17:25:52 +00:00
Jonathan Hart
72bbf887eb Add support for timing out idle FPM connections.
This requires support for sending keepalives on the Quagga side.

Change-Id: I8551eb17b51460f2a66a7086b5c8006cc0d214a5
2017-06-15 17:20:15 +00:00
Simon Hunt
a5b1454496 Cleaned up LionUtilsTest so that further language bundle tests
can be added at the bottom. Also added a TODO to figure out
why the extended character sets aren't being handled correctly.

Change-Id: I2c79db11001307407d3e2f80ee2256ad2ae06648
2017-06-15 17:18:26 +00:00
Yuta HIGUCHI
160732b85f minor fixes to add-test-flows
- Fix issue where each run keeps adding # of flows to add
- Ensure clean up is complete before next run starts

Change-Id: I58dc0eec8626f17aa8b81cc12a2a839444cd75f8
2017-06-15 17:16:19 +00:00