Carmelo Cascone
2b05752370
Allow for arbitrary counter IDs in DefaultP4PortStatisticsDiscovery
...
Change-Id: Ia840848506c362229eb0fcba9270a78eca1cb782
2017-10-04 22:33:39 +00:00
Ray Milkey
f0c47617e8
Remove deprecated deserialize() mthods from packet classes
...
Change-Id: I4e52ab368390d30f5f5f24d443a5021916d0c6a3
2017-10-03 18:03:33 +00:00
Carmelo Cascone
cb0a49c993
ONOS-7078 Fixed inconsistencies when encoding/decoding P4Runtime msgs
...
Now P4InfoBrowser permits looking up entities by name only, not alias.
Applications should use names as defined in the P4Info when
creating PI IDs (e.g. PiCounterId). However, to avoid breaking support
with BMv2-based pipeline models, when referring to header fields in
tables, i.e. match fields, application should drop any scope identifier
from field names, e.g. "hdr.ethernet.src_addr" should be referred by
applications as "ethernet.src_addr". Such inconsistency will be fixed
with ONOS-7066.
Change-Id: I4d6dceadd233a293b845dba84e62a49680ac930b
2017-10-03 16:40:27 +02:00
Carmelo Cascone
87b9b398fa
Various improvements to PI group handling
...
- Moved group translation logic to core service
- Removed dependency on KRYO
- Fixed bug where tratments with PI instructions where not supported if
an interpreter was present
- Fixed bug where action profile name was not found during protobuf
encoding (always perform P4Info lookup by name and alias)
- Improved reading of members by issuing one big request for all
groups
Change-Id: Ifcf8380b09293e70be15cf4999bd2845caf5d01e
2017-10-03 12:41:46 +00:00
Yi Tseng
82512da397
[ONOS-6935] ActionProfile supports in P4RuntimeClient
...
Change-Id: I9f0ac307985c03b7ed93e14e41ba468c481a4e4f
2017-09-28 01:45:23 +08:00
Yi Tseng
a87b40c468
[ONOS-6964][ONOS-6966] Add pipeconf codec and pipeconf view
...
Change-Id: Ie60a5451bcc24a27ede655c8230d82998ea4f3be
2017-09-20 22:54:28 +00:00
Carmelo Cascone
f2a5ea6a87
Fixed bug in P4_16 programs that was making bmv2 crash
...
Change-Id: Ia5057b3080e55610605908cd36b399db6c50c545
2017-09-15 00:00:57 +00:00
Carmelo Cascone
7f75be413e
ONOS-7001 Support for direct counters
...
Currently Bmv2 returns UNKNOWN error when reading direct counters.
Change-Id: I834d7b5a8627181c6888500545e1bdbfe9af8dc1
2017-09-13 08:28:38 +00:00
Carmelo Cascone
fe99be9df0
Workaround to BMv2 bug when reading ECMP entries
...
Change-Id: I23e5c0af04735c8c79a575d076bc1793d57a69f4
2017-09-12 11:32:05 +00:00
Carmelo Cascone
eb01812052
Updated P4_16 sample programs to reflect HW testbed
...
Change-Id: I9d76c9bc7632760cd9af1a3a431856291903eaf9
2017-09-06 16:27:06 +00:00
Carmelo Cascone
ef826f9c7f
Fixed wiring problem with BMv2/P4Runtime driver
...
Change-Id: I0aac2598603618cc47ed325b3177df262d9fc359
2017-09-06 07:00:05 +00:00
Carmelo Cascone
b045ddce4a
Implemented support for P4Runtime counter read
...
And PortStatisticsDiscovery behaviour for default.p4 that uses it
Change-Id: Iadf40eb322987ef74239120e01acb4bece712aef
2017-09-01 15:11:50 +00:00
Carmelo Cascone
e3a7c749cf
Abstract implementation of a behaviour for P4Runtime
...
Implements commonality of all other behaviours. Also, simplified
the implementation of all other P4Runtime behaviours by re-using that.
Change-Id: Ibb25bdd1e0d1c6e8863341df87fa83d4a782b8d9
2017-09-01 15:11:07 +00:00
Carmelo Cascone
a62ac3da2a
Reusable implementation of default P4 interpreter
...
That can be shared among many targets running a program equivalent to
default.p4.
Change-Id: Ic13fc4e416f4ad77f71fbd3202277aac9088b3b1
2017-08-31 18:23:24 +00:00
Carmelo Cascone
f423bec0b3
Fixed internal device ID in P4Runtime
...
Data type for the P4Runtime server-specific device ID is uint_64.
We were using int to store it in ONOS.
Change-Id: Ia4624cfc453ccf6b00a690eb9e4e4ad14a7881ec
2017-08-30 08:17:11 +00:00
Thomas Vachuska
c98aa2a8a8
Cleaning up app names, descriptions and categories.
...
Change-Id: I684fdf23fcd8a8078d82bc6ff5e3d1af664b20c2
2017-08-29 15:23:11 +00:00
Carmelo Cascone
2308e52d63
Workaround for the duplicate flow rule apply problem for P4Runtime
...
Change-Id: I0373facddd0e610e2a3b9ab0afe0e6ca64cf33aa
2017-08-29 15:09:24 +00:00
Thomas Vachuska
b002968a83
Cleaning up application titles, descriptions and categories.
...
Change-Id: I80f9770697cbf29b6bde2b20778c341b0f403d9f
2017-08-24 10:19:33 -07:00
Yi Tseng
809b5d71fe
[ONOS-6933] Support packet request for different device scheme
...
Change-Id: If9658838c35b4d425f414c6d5c275c364e15e1a6
2017-08-23 23:13:04 +00:00
Andrea Campanella
0288c87839
Creating a p4runtime default driver to avoid code duplication between bmv2 and barefoot drivers
...
Change-Id: Id7f16a284c65278ec1a9ec682da01ddf020343c8
2017-08-22 09:42:14 +00:00
Carmelo Cascone
f7aa3f947f
ONOS-6559 P4Runtime protocol library
...
Change-Id: I7070b69507dcf2ca47ee1c446bcc2505ca868fb1
2017-07-12 16:44:04 +00:00
Carmelo Cascone
569d4ad93f
Bumped version of P4Runtime and P4 tools for dev VM
...
+fixed protobuf version according to p4c documentation.
Change-Id: I16471b70b9b2ebc0e0a30c733f1e6ce47d40e30b
2017-07-10 16:24:53 -04:00
Carmelo Cascone
be8f4d1150
ONOS-6591 Buck build of auto-generated gRPC API for P4Runtime
...
Change-Id: Ib5d3b379085ef58bd13a1cfc8e6eae80e2c606cc
2017-06-25 20:50:39 -04:00
Andrea Campanella
378e21ad33
[ONOS-6465] gRPC Protocol and controller
...
Change-Id: I0ae997f234ce95a78db2db1917f2cbbe3696ccfd
2017-06-21 17:18:49 +00:00