2456 Commits

Author SHA1 Message Date
Andrea Campanella
a9b3c9b602 [ONOS-6774] Mechanism to unregister pipeconfs in PiPipeconfService
Change-Id: If6d7b4985d3a624c9be3b831f0a3d3d4a42b0b62
2017-08-01 22:28:27 +00:00
Jordan Halterman
71635ae5ae Refactor AtomixConsistentMap to use separate operations per method call for better performance and control over operation semantics.
Change-Id: I948c5c73d4ab38c9c2b20f8c80ba01548f95dda6
2017-08-01 22:05:38 +00:00
Thomas Vachuska
9589884977 Allowing edge-links to be created with (inherit) the target host annotations.
This will permit edge-links to be treated as projectable entities based on the annotations of the target hosts.

Change-Id: I336f0959639f4d84ade2cf44b65bf6bb2f241d6e
2017-08-01 21:26:33 +00:00
Ray Milkey
64677e99d9 Starting snapshot 1.11.0-SNAPSHOT 2017-08-01 10:48:08 -07:00
Ray Milkey
17463db855 Tagging 1.11.0-b3 2017-08-01 10:46:24 -07:00
Jordan Halterman
f70bf462f8 [ONOS-6756] Replicate node version information for ISSU
Change-Id: Ibd31c573990f2732b7abf8615ca914ffb77615ec
2017-08-01 16:03:57 +00:00
Carmelo Cascone
0e896a0285 Implemented class for PI match key
Used as table entry ID in P4Runtime devices

Change-Id: I9f35503f118fa6e6a23b59aa6b716273a24ece0a
2017-08-01 07:54:35 +00:00
Jordan Halterman
b0ac590548 [ONOS-6869] Move blocking DocumentTree to core primitives package and implement default methods for constructing blocking primitives
Change-Id: I9c227a690a120dba7d9d89c6c9178c8b357b52aa
2017-08-01 00:27:26 +00:00
Andrea Campanella
288b273cf3 Implement support for packetIn through p4Runtime
Change-Id: I92cc1a2bd7edde8916aad61c20d7411f93368612
2017-07-28 19:21:08 +02:00
Carmelo Cascone
b2e3dbaef0 Pi classes to support P4Runtime action profiles
+ modified default.p4 with ECMP capabilities (via action profiles)
+ sketched translation logic of ONOS groups (in Bmv2GroupProgrammable)
+ replaced existing instances of default.json/p4info with symlinks to
	p4src build directory (to avoid inconsistencies)

Change-Id: If82f0b8ce296c9b616415d99864d216b77645a87
2017-07-28 16:01:31 +00:00
Carmelo Cascone
f3a1a3897e Removed pipeconf dependency from PiPipelineInterpreter
If needed, an interpreter implementation should know which pipeconf it
supports. Instead, mapping of treatments now depends on a table ID,
since table in P4 can potentially support different actions with similar
semantics.

Change-Id: Iffbc84457f08e5dba84a8e949931849006f82535
2017-07-28 15:49:56 +00:00
mskala
32000d35b7 [ONOS-6806] Add getAvailableDeviceCount method to DeviceService
Change-Id: Ieda7e66c1a1d25aa92b55542ecfe59652dac3bc5
2017-07-27 18:48:14 +00:00
Simon Hunt
cfef6f9963 ONOS-6833: UiPreferencesService: augment to include getPreferences(username, prefsKey)
Change-Id: I583ba8cb4b49d32cc94313143ee9b152d87b1086
2017-07-25 16:58:53 -07:00
Yi Tseng
7a38f9a35b [CORD-1434][CORD-1112] DHCP relay manager
Change-Id: I2e4d8fc8e85ed66b33ac517660ee72a1c0183597
2017-07-21 03:06:06 +00:00
Ray Milkey
64313cbc83 Starting snapshot 1.11.0-SNAPSHOT 2017-07-20 15:46:52 -07:00
Ray Milkey
7e28519e5f Tagging 1.11.0-b2 2017-07-20 15:45:28 -07:00
Andrea Campanella
fc1d34ca16 [ONOS-6809] Implementation for packet out in p4Runtime
Change-Id: I873a1fd18529fe9fd41aa33f862298892ece7d1c
2017-07-20 20:24:17 +00:00
Marc De Leenheer
adfeffdfac Add channel parameter to optical connectivity intent (ONOS-6670)
Change-Id: I3d61e28b82f845db025d21cc65e9240b6ee2b6cc
2017-07-20 19:10:41 +00:00
Sbhat35
3548bb24db Test enhancements for DocumentPath, UiTopology, DistributedClusterStore
Change-Id: Ib4fb1e72555bde20237eef036efa24072c1ce41b
2017-07-20 17:34:39 +00:00
Frank Wang
c672c984e8 [ONOS-6750]Implement BMv2 PacketProgrammable
Change-Id: Iad3de3eeda764b4942c6db68d25191d2f4946809
2017-07-20 14:58:14 +00:00
Carmelo Cascone
31d3e44192 Better handling of extensions in PiPipeconf
Now built using a URL, while input streams are generated on-demand.
Before it could happen that the input stream was completelly read by
someone, leaving it unusable by others.

Change-Id: I61a76bf8b8c1d2f6e2d987661025e0323d59e1c7
2017-07-19 19:17:15 +00:00
Frank Wang
76057cde82 fix equal tests for PiCriteria class
Change-Id: I10ba7ab54cb143702055cd97e6450e2724d10993
2017-07-19 10:03:56 +08:00
Carmelo Cascone
32a01b2971 Added method to retrieve field matches by ID in PiCriterion
Change-Id: Ice2abc7a3b60bd4e977fdfe977fe624852e54d05
2017-07-18 15:22:04 +00:00
Andrea Campanella
432f718de7 [ONOS-6809] Support for Packets and packet Metadata
Change-Id: I53910cd8e2ce5845e301dc68bcbf3ae8f34a197b
2017-07-18 13:51:54 +00:00
Carmelo Cascone
07d72718b9 ONOS-6555 Default pipeconf implementation and builder
Change-Id: I80ac4f6e939d30a943653a1d63d5cff07b368620
2017-07-17 14:51:51 +00:00
Aaron Kruglikov
3b615e64d6 Fixing a typo in the MeterState enum.
Change-Id: Ie81c3a88c0820463af55b4bde1dc014032c7e92d
2017-07-14 21:54:15 +00:00
mskala
0d0c6831cc [ONOS-6806] Add getAvailableDeviceCount method to DeviceStore
Change-Id: I3f9e0bbd502e2a592da98436685fa2a192436ef8
2017-07-13 23:42:34 +00:00
Carmelo Cascone
22619171cb Fix equality in PiCriterion
Needs updating the rest of equality checks in PiCriteriaTest

Change-Id: Idacc05df3c984c8d3488e0bc7435159354c2cfb1
2017-07-13 21:42:11 +00:00
Jordan Halterman
2bf177cfa3 [ONOS-6594] Upgrade to Atomix 2.0.0
Change-Id: I6534bca1c8570b4e017f682953b876da29146675
2017-07-13 20:29:21 +00:00
Andrea Campanella
2cfe8ef782 Moving Extensions codecs to net/flow to avoid circular dependencies
Change-Id: I93dc5580ff46f57afe93dd4d1f0217359d5c89c2
2017-07-13 20:23:03 +00:00
Carmelo Cascone
59f57decd1 ONOS-6561 BMv2 handshaker via P4Runtime
+ support fort device-specific default pipeconf
+ improvements to P4runtime and gRPC protocol stuff

Change-Id: I8986fce3959df564454ea3d31859860f61eabcae
2017-07-13 17:24:25 +00:00
Aaron Kruglikov
8b1b51e4a5 Adding a note that Application ID's must be non-negative, this constraint is already written into the default implementation.
Change-Id: I4f8e9e5bb85d80d6533b4c8c7a089fe4f04dbbd4
2017-07-13 01:46:39 +00:00
Charles Chan
60c4528c63 ONOS-6786 Fix NPE when a host netcfg without location being posted
Change-Id: Iae73ed44232b916dd97b60da8443a540d4bf6a96
2017-07-13 00:51:10 +00:00
Carmelo Cascone
f7aa3f947f ONOS-6559 P4Runtime protocol library
Change-Id: I7070b69507dcf2ca47ee1c446bcc2505ca868fb1
2017-07-12 16:44:04 +00:00
Simon Hunt
23f9c7b2a9 ONOS-6725: UI-Lion: NavItems.
Change-Id: I5fc8dd5a0d93a4315dfc0d012a3875ee41c7da23
2017-07-11 16:04:18 +00:00
Szymon Furman
d2a9dd3a6b ONOS-6668 Fix Decimal format for some localizations
Change-Id: I4926c1127415c3489c33d27535888bed149312a6
2017-07-10 15:09:10 +00:00
Frank Wang
e33e4ed45b [ONOS-6624]Unit tests for Pi* core classes
Change-Id: Ia0a20712f8108549b3ac6434be8aee1bc6025bb2
2017-07-06 22:49:53 +00:00
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