Carmelo Cascone
6af4e17c53
Bumped supported revisions of P4 tools
...
Includes:
- Use new P4Runtime "v1" package names
- Removed VALID match
- New table entry priority spec (1 is min priority, not 0)
- Fixed p4c-bm2-ss to include arch flag
- Re-compiled P4 programs with more recent p4c (with updated p4info)
Change-Id: I05908f40eda0f0c755009268fd261fb8bcc9be35
2018-06-15 19:04:30 +00:00
FrankWang
ea70de3094
[ONOS-7602]Implement support for P4Data in PI framework and P4Runtime southbound
...
Change-Id: I9c0c76fb29b8c3aa36f39bde62e825f0f0094253
2018-06-08 09:04:50 +00:00
Andrea Campanella
1e5734480f
[ONOS-7584] Adding Capability of re-connecting to a P4Runtime Device.
...
Also addresses ONOS-7359
Change-Id: I47ec4ed429af82feb225ab5ac180b94c91366a53
2018-06-08 02:14:33 +00:00
Yi Tseng
8d355132da
[ONOS-7605] Unable to modify groups on BMV2
...
Change-Id: I797366ac152dccac75f8ed82b62abe6e5da6dd3e
2018-05-22 18:57:19 +00:00
Andrea Campanella
a74bdba108
Bug Fixes and improvements to P4Runtime subsystem
...
Change-Id: Ib18b08e5e4b4d552949b119d7b1201dd4ca616f6
2018-05-16 17:05:41 +00:00
FrankWang
9ea7276ed9
minor fix for P4Runtime meter
...
Change-Id: Ieaf843f0fb86e9ea42c906940d4733c8733f399a
2018-04-17 15:36:49 +08:00
Ray Milkey
bca9049101
Starting snapshot 1.14.0-SNAPSHOT
...
Change-Id: I97bab4e31d2b701f015289eae29d0c58a4937685
2018-04-13 12:47:31 -07:00
Carmelo Cascone
81929aa0cf
Bumped supported commit of P4Runtime and BMv2
...
Includes fixes for:
- ONOS-7593: Support for indirect resource Index type
- ONOS-7595: Removed ID from direct resources
- P4Runtime requires unset bits to be 0 in ternary field matches
- Incorrect parsing of flow rule byte counters
- Full entity names in P4Info with top-level control block (fixed only
for basic.p4, other programs need to be re-compiled and PI IDs in
respective pipeconf changed)
Change-Id: Ia19aa949c02e363a550e692915c6d6516a2d13d7
2018-04-11 19:04:45 +00:00
Carmelo Cascone
8a571af574
Support for bitwise AND/OR/XOR in ImmutableByteSequence
...
Also, minor refactoring of the fit() method to improve code readability
Change-Id: I826650c3fc45573c723d9d2dd8692da174d9ae08
2018-04-09 16:56:49 +00:00
Ray Milkey
76e33c6a84
Fix string format bug found by error prone
...
Change-Id: I2ede9a739be18bafd3c70c2d0e8023ae8209e57d
2018-04-05 15:08:23 -07:00
Yi Tseng
d28936e79d
[ONOS-7500] Supports PiTableEntry with no action
...
Change-Id: I92a38b184d4ded539297f1d99e1405eea014bda0
2018-04-05 20:33:15 +00:00
Frank Wang
d7e3b4bc9d
[ONOS-7051] Support for P4Runtime meters
...
Change-Id: Id71374af65aeb84b71636b4ec230dc6001a77a8b
2018-04-04 00:35:08 +00:00
Carmelo Cascone
5bc7e10bea
[ONOS-7474] Fixed P4Runtime detailed error logging on write requests
...
Change-Id: I055a158a42508c0c7a72aa178aa12f9710c8a63d
2018-04-02 20:46:55 +00:00
Carmelo Cascone
4256bded84
Support for PI table entry with default action
...
Equivalent to a flow rule with empty selector
Change-Id: I5dcbc234e59e3d8647476ffa54d80f5861bad077
2018-04-02 20:37:59 +00:00
Yuta HIGUCHI
165afdd619
pom fix around gNMI
...
Change-Id: I6cd5190e7a9daa3d9050893d7b6195a01e549090
2018-03-06 20:28:45 -08:00
Ray Milkey
5c7d488269
SONAR suggestion - proper handling of InterruptedException
...
Change-Id: I67a93c064708c207d9ce83fac319682c2d17db60
2018-02-07 00:59:07 +00:00
Yi Tseng
e67e14195a
[ONOS-7437] Logs more detail from P4Runtime error message
...
Change-Id: Ia2cc2db332148313c9834cde8bb16484550e18f8
2018-02-01 23:57:05 +00:00
Yi Tseng
9539082d93
[ONOS-7393] Allows TableEntryEncoder decode action profile group and member id
...
Change-Id: Iffac08f2d0929144d438dcb61d381fbc2f6393ea
2018-01-24 09:48:29 -08:00
Yi Tseng
02c4c579f4
[ONOS-7392] Fix P4Runtime priority bug
...
Change-Id: I97aabb25ebf4f2d16c3c7f17f369a7744ef03994
2018-01-23 07:50:31 +00:00
Manjunath Vanaraj
59ad65730a
[ONOS-7334] Using Cache Loader to remove stale entries in p4runtime
...
Change-Id: Ieead6e199faf23f5fa316516adab659d3e192950
2018-01-13 02:05:59 +00:00
ONOS Jenkins User
45d340c839
Starting snapshot 1.13.0-SNAPSHOT
2018-01-09 01:56:13 +00:00
ONOS Jenkins User
32ebb5add8
Tagging 1.13.0-b8
2018-01-09 01:54:28 +00:00
Ekber Aziz
123ad5d560
P4Runtime unit tests for api, ctl, model modules
...
Change-Id: Iac1b1ef6e274c355ce3a26cffbd8adcb39694f69
2017-12-17 08:09:22 -08:00
Carmelo Cascone
b1936bd93f
Bumped version of gRPC to 1.3.1
...
Change-Id: I7798476bd443a796e0e6a6e149ab8f66435ba4fa
2017-12-13 03:24:50 +00:00
Andrea Campanella
8bcd5863ff
[ONOS-7311] and [ONOS-7197] Update ONOS to support most recent version of BMv2 and PI
...
Change-Id: Ie69cfe1946f3c9241dc7f59a64bd40005a063931
2017-12-12 14:03:36 -08:00
ONOS Jenkins User
61881df1ee
Starting snapshot 1.13.0-SNAPSHOT
2017-12-12 21:19:45 +00:00
ONOS Jenkins User
d22dccc27f
Tagging 1.13.0-b7
2017-12-12 21:18:01 +00:00
ONOS Jenkins User
4bf9e3a520
Starting snapshot 1.13.0-SNAPSHOT
2017-12-12 18:46:22 +00:00
ONOS Jenkins User
168ac92b8d
Tagging 1.13.0-b6
2017-12-12 18:44:15 +00:00
ONOS Jenkins User
0e78e27f0c
Starting snapshot 1.13.0-SNAPSHOT
2017-12-12 03:27:00 +00:00
ONOS Jenkins User
2a7d833cab
Tagging 1.13.0-b5
2017-12-12 03:25:23 +00:00
ONOS Jenkins User
c53a15f933
Starting snapshot 1.13.0-SNAPSHOT
2017-12-11 20:43:30 +00:00
ONOS Jenkins User
d06da9e33c
Tagging 1.13.0-b3
2017-12-11 20:41:44 +00:00
ONOS Jenkins User
716484c58c
Starting snapshot 1.13.0-SNAPSHOT
2017-12-09 03:41:19 +00:00
ONOS Jenkins User
6a6ac1d5a0
Tagging 1.13.0-b1
2017-12-09 03:39:39 +00:00
ONOS Jenkins User
a57a814230
Starting snapshot 1.13.0-SNAPSHOT
2017-12-09 00:57:30 +00:00
ONOS Jenkins User
8977cedde7
Tagging 1.13.0-b0
2017-12-09 00:55:39 +00:00
Ray Milkey
a09f87f02b
Starting snapshot 1.13.0-SNAPSHOT
...
Change-Id: Ib3360118c42aa760632ff80537d585865813060f
2017-11-21 09:38:31 -08:00
Carmelo Cascone
39c28ca503
Moved service PI classes/interfaces to appropriate package
...
Change-Id: I44a4aba848fd758a78a28eb484b7f579e3f22d08
2017-11-16 18:57:38 +00:00
Carmelo Cascone
87892e25d1
ONOS-7066 ONOS-7067 PI abstractions refactoring and P4Info model parser
...
Includes changes previously reviewed in #15607 , #15877 , and #15955 .
Change-Id: Ie2ff62e415f2099832ebfe05961a879b7b188fc3
2017-11-13 16:15:17 -08:00
Ray Milkey
cc6ec60fb2
Starting snapshot 1.12.0-SNAPSHOT
2017-11-10 16:22:59 -08:00
Ray Milkey
9f9a752bdc
Tagging 1.12.0-b2
2017-11-10 16:21:23 -08:00
Sean Condon
bf7d39bd75
Adding pom files for P4Runtime and GRPC
...
Change-Id: I9e205fc054875813200fe83a0bca4a9152ec66ae
2017-11-09 13:35:22 -08:00
Yi Tseng
3e7f145b90
[ONOS-7143] Add arbitration update support by P4RuntimeClient
...
Change-Id: I671275576018d50447f969166a7b42a28dd93b1d
2017-11-03 23:13:29 +00:00
Carmelo Cascone
d61fdb3b89
Added P4Runtime-based Barefoot Tofino driver
...
Change-Id: I09ba8dd4468fa5a792ca481921e8a51dad49702e
2017-10-31 05:41:30 +00:00
Carmelo Cascone
ca94bcf5ea
ONOS-7058 Refactored default pipeconfs in new pipelines directory
...
- Minimal refactoring of P4 programs
- Removed symlinks to BMv2 JSON/P4Info
- Bumped p4c commit (which fixes known parser bug)
- Renamed "default" pipeconf to "basic" (ONOS-6818)
Change-Id: I319f8b142ab22dba9b15457e28cd62d17f78a423
2017-10-30 16:53:37 +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
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