2119 Commits

Author SHA1 Message Date
Andrea Campanella
bc112a960d [ONOS-6564] Adding PiPeconf behaviours to driver for device.
Initial implementation of PiPipeconfService.
Tests for Initial implementation.

Change-Id: I9dea6fb3015788b8b61060c7f88395c3d45e6ed7
2017-07-06 10:06:50 +00:00
Ray Milkey
f14cc6d3c2 Fix SNAPSHOT version string
Change-Id: I090c1998e5a117c10263b7a6abbffc624beb4074
2017-06-28 16:36:27 +00:00
Jordi Ortiz
af75c13b9b FIX: Set band.type in MeterStats to avoid nullpointer in meter related operations (e.g, removal).
Change-Id: I0ff8ee537f0e4f8068f494799ef72d282b33f471
2017-06-28 15:58:47 +00:00
Jordi Ortiz
9287b639aa MeterManager optimiziation. Use entryset instead of keyset avoiding some store access,
also add MeterStore getAllMeters(DeviceId).

Change-Id: I8dac9558cdb8b5c758e0e402cd0724c6cae16daf
2017-06-28 15:58:47 +00:00
mskala
047d892758 [ONOS-6697] New HostDiscovery behavior
Change-Id: I8b6274ce18abf231db61c2e894b83aa842eecb9e
2017-06-27 23:34:58 +00:00
Andrea Campanella
527f8d05d8 Decoupling PortStatistcsDiscovery and DeviceDescriptionDiscovery
Change-Id: Iea4b06cf4d8caf4048180cd9c4fa975f31efe5ea
2017-06-27 18:34:27 +00:00
Ethan Tai
8c18eb7b30 Adding test for DefaultBridgeDescription
Change-Id: If1d46f5c96f5114960c1f24aa28ad7ee56ab0af0
2017-06-27 16:12:42 +00:00
Frank Wang
df38321cb0 [ONOS-6557]Add PiCriterion and PiInstruction builders for flow rules
Change-Id: I9fd8b04f8d0f6c9886825dd6d7e782fd3cce7ae9
2017-06-26 17:26:18 +00:00
Ray Milkey
7463193198 Starting snapshot 1.11-SNAPSHOT 2017-06-23 16:46:27 -07:00
Jordan Halterman
83949a1bd8 Limit string field lengths for network/configuration objects
Change-Id: Ic375854bb697ee21a8fd7b15fccd0b0878212869
2017-06-22 19:49:52 +00:00
Simon Hunt
7648cacc80 UI-Lion: Fix for reading .properties files as UTF-8, when loading ResourceBundles.
Change-Id: I73d3f08c59788fba1b42954aced05eb3a3148009
2017-06-22 09:32:37 -07:00
Palash Kala
c99b15ae4f [ONOS-6640] Remove controllers api in ControllerConfig
Change-Id: Ibd2a3d6dab36cc01345dbd26e7c9e385b6deb68e
2017-06-22 09:01:17 +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
Simon Hunt
e6c55ddd40 UI-Lion: Lion bundles loading correctly under Karaf...
Change-Id: I69272026c650f7c1b962f8c986c80cebeaa46cc5
2017-06-21 14:33:02 -07:00
Carmelo Cascone
00a5996a23 ONOS-6605 PI flow rule translator implementation
Change-Id: Icac66f17677c494152207f4b52355ad647e1227b
2017-06-21 20:29:45 +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
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
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
Patryk Konopka
7e40c01118 [ONOS-6607] Get active flow entries count in FlowRuleService
Change-Id: I68b4d916f92427c06a82d3622fcc05738f64541c
2017-06-20 15:43:27 +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
Yuta HIGUCHI
113091f88f Cosmetic fixes
- Fixed javadoc & checkstyle warnings

Change-Id: Ie62d257bf68fbb3e2597a04857912259aa6d1f19
2017-06-16 17:23:39 +00:00
Frank Wang
9986c0714a Add zh_CN test file for Lion localization
Change-Id: I3a17bb856d3b436fd2a65d7597a1e2c43d03d23a
2017-06-16 10:55:12 +08: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
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
Jian Li
67d47e8e19 Add Korean test file for Lion localization
Change-Id: I08a680d42e94be9c9032fb53af0d723cb22008c9
2017-06-15 16:17:55 +00:00
Sbhat35
99d6696d2a Improved comparator unit tests
Change-Id: Id8c5bccdd7360b4631e340837f4f8cda101a446d
2017-06-14 23:59:55 +00:00
Simon Hunt
b804203e38 Lion Utilities:
- set local from user.* properties
- but allow override with ONOS_LOCALE env var

Change-Id: I5e455f3dc00abb0f4229e9afc50871f543ffaad4
2017-06-14 15:36:33 -07:00
Yi Tseng
ee2c854c0b Add zh_TW test file for Lion localization
Change-Id: I30ce77ded84fa525c7386fabe66605946c5b6c46
2017-06-14 14:12:11 -07:00
Simon Hunt
7a8fe6eab8 Lion Utilities:
- Incorporate Italian message bundle in unit tests.

Change-Id: I858a427212ee1ac25c72b7bf4c6bbff8b16942df
2017-06-13 13:46:44 -07:00
Charles Chan
888e20a25d Remove host location when port down or device down
Also refactor Host Location Provider

Change-Id: I57d682ee51e80ddd7e141883521a12da705a336d
2017-06-13 18:58:10 +00:00
Charles Chan
61fc0d8cc9 Extend Network Config Host Provider to support multihoming
Change-Id: I6e9dd18a5189a7bf35a617a00bd46e4a32acf524
2017-06-13 18:52:06 +00:00
Andrea Campanella
22ed0a1af3 Adding italian test file for Lion localization
Change-Id: Ifd4a12c3dc21bc19a39b31d0acb1ac6edb72e06e
2017-06-13 17:11:18 +00:00
Simon Hunt
0c85f11fe2 Made a start on localization ("lion") utilities.
Change-Id: I838767cb49cb785e98d71475116c264f749d4aac
2017-06-13 17:10:20 +00:00
Yuta HIGUCHI
9eed0b1a34 Revisit Annotations merging
- avoid extra instantiation/copying when possible

Change-Id: Ia2f74a1fe2ff1176346316565c9bc6786cd7f6e4
2017-06-12 21:19:29 +00:00
Yuta HIGUCHI
6ee6b8ccd2 netty4 OpenFlow southbound
- separate I/O thread and message dispatch threads

Change-Id: I11a10a47de451a9e3063b62f9450be19c3a9dae7
2017-06-12 20:28:12 +00:00
Andrea Campanella
241896c7af [ONOS-6463] general device Provider
Change-Id: Ibc045bffe14c24068adc7f0adc96366d0f1807a0
2017-06-12 17:15:41 +00:00
Yuta HIGUCHI
3142f646ac Avoid accidental link type override
Change-Id: I3462838f8208c231f7b7ff24e63a03984fae4475
2017-06-09 17:27:31 +00:00
Yuta HIGUCHI
2ad387d7a0 Respect bidirectional link config
- Evict link in both direction, only if the configuration is bidirectional

Change-Id: I64b5d6dcedbbaf6e4e4a146e9dd123c8444c85b3
2017-06-09 17:27:31 +00:00
Carmelo Cascone
43740a078d Pruned old BMv2 stuff
...making space for new BMv2 support via P4Runtime.

Change-Id: Ia34c1a152c0e6e006fd3b86afc5086316264b6f6
2017-06-08 15:39:42 -04:00
Carmelo Cascone
1022a4ef8e ONOS-6464 interfaces for protocol-independence (PI)
And also ONOS-6553, implementation of table entry classes

Change-Id: Ia7146b1bb0aac794e19b3fd8150c042e7ec70535
2017-06-08 18:59:46 +00:00
Simon Hunt
36740d0680 Remove deprecated use of 'sid' parameter.
Change-Id: I679a19581a04c2506fe0ea24f1c1e10e533bad35
2017-06-07 19:34:29 +00:00
Simon Hunt
1169c95d89 OS-1 : insecure UI websocket.
- notes on authentication of UI web socket connection.
- new classes: UiSessionToken, UiTokenService.
- UiExtensionManager now implements UiTokenService.
- UiWebSocket now expects an authentication event from the client
- websocket.js now sends authentication event as first event
- (fix websocket Jasmine test)

Change-Id: I4303c67f57fc618e911be244091f00bcc2823c91
2017-06-06 17:21:48 -07:00
Ray Milkey
0c6182f643 Remove deprecated proxy ARP implementation
Change-Id: I43164581b5d823acb4617cbea78e670cb7499346
2017-06-02 23:42:53 +00:00
Ray Milkey
a695719fa7 Remove deprecated flow statistics APIs
Change-Id: I0b44886f2e2f549377dd70ce123eefe73eb10fda
2017-06-02 23:42:19 +00:00
Ray Milkey
686fba0b67 Remove deprecated MPLS Intent classes
Change-Id: I6f4d6fd84ce41c26b8a30f5c0881c42c67a1f209
2017-06-02 23:40:46 +00:00