21 Commits

Author SHA1 Message Date
Carmelo Cascone
95e5afdf38 Various improvements to p4vm scripts
- Allow running up to a given step of install-p4-tools.sh
(e.g. helpful to install only PI)
- Install fabric-p4test deps (ONOS-7656)
- Fix python protobuf libraries not installed

Change-Id: I443edb08f455703ae682e485a89d793a584c30ff
2018-07-21 14:14:16 +00:00
Carmelo Cascone
b7e618d43d Updated script to build P4 VM
Among other things, build now is not based on the upstream version of
onos-setup-p4-dev, but on the local one.

Change-Id: I270a324152a9349d6a9989aa8b5a38b45e1856d9
2018-01-14 18:21:06 +00:00
Brian O'Connor
f3735654e3 Updating onos-setup-p4-dev to support gNMI
- Adding gNMI dependencies
- Updating PI and BMv2 to build with sysrepo support
- Building simple_switch_grpc with Thrift server

Change-Id: Ida69d80353652174b0bc61a16b6436bf78a2d194
2018-01-13 00:38:27 +00:00
Carmelo Cascone
65cd9e3e17 Bumped version of p4c in p4 tools script
Needed to fix bug seen when compiling spgw.p4

Change-Id: I2f6d06bdd7755e0819c8f1dc91d3746f922089cb
2018-01-09 21:12:42 +00:00
Carmelo Cascone
ee09071b6a Bumped p4c and fixed missing dependency in onos-setup-p4-dev
Change-Id: I079c55a4f7716369f6b8828b3ffd6477a9a31ed5
2017-12-15 18:06:25 +00: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
Yi Tseng
3e7f145b90 [ONOS-7143] Add arbitration update support by P4RuntimeClient
Change-Id: I671275576018d50447f969166a7b42a28dd93b1d
2017-11-03 23:13:29 +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
87ac737b2d Fixed onos-setup-p4-dev to install nanomsg before P4Runtime
Change-Id: I26b50e30e34d44fdc418e17fff853338a707af95
2017-09-15 00:19:16 +00:00
Carmelo Cascone
99474f140e P4 tools version bump
Change-Id: I39bfba21fb90334ca4cae05ce06c34ddeafd02ab
2017-09-06 21:16:30 +00:00
Carmelo Cascone
ca7682ab16 Bumped version of PI in P4 tools to fix counter read bug
Change-Id: I21ad0930485b5756b6bf148d6a8693525b53b6f7
2017-09-01 00:50:38 +00:00
Carmelo Cascone
28f3778f5a Bumped P4 tools version
Change-Id: I25ac46916292fcb384dd507ef69326cb83eda84e
2017-08-29 19:03:28 +00:00
Carmelo Cascone
6e4f7eb58c ONOS-6648 Bumped version of p4c with support for cmake build system
Also bumped version of BMv2 and PI

Untested on Ubuntu 16.04

Change-Id: I700274af96f7b44d8f2e3a86f1e4a5df5aac3a1e
2017-08-21 23:00:43 +02:00
Carmelo Cascone
2cad9efec5 Various fixes to get a P4Runtime demo that works
Change-Id: Icab512fceeb6ec0faf1b402c1e325e055cdb2caf
2017-08-03 16:17:58 +02:00
Carmelo Cascone
aaf6d9821e Build BMv2 with debugger in onos-setup-p4-dev
Tested on Ubuntu 14.04, not 16.04.

Also, bumped version of PI and BMv2.

Change-Id: I00319f12f077608a66c7e07fd59a7f1ca835c391
2017-07-31 09:08:03 +00:00
Brian O'Connor
73f8bd7884 Adapting p4c and bmv2 setup script for 14.04 and 16.04
At the time of commit on a 4 core VM running on VirtualBox on
a 2016 MacBook Pro takes the following amount of time:
  Ubuntu 16.04 - 19m13.451s
  Ubuntu 14.04 - 21m58.665s

Change-Id: I06960d8f27883dab518363678c8bcbf3fee94382
2017-07-21 18:44:32 +00:00
Carmelo Cascone
fb76b04736 Fixed P4 tools build script for Ubuntu 14
+ bumped version of p4runtime and BMv2
+ minor update to bmv2.py

Change-Id: I7784b075b2e6015bb3eef1286011968303b66129
2017-07-18 13:41:32 +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
7e8f8320c8 Improved onos-setup-p4-dev
Now checks last built commit before building a project. Helpful when
dealing with frequent project updates (such as bmv2 o4 p4runtime).

Change-Id: I93ef9e63dc2f2b3a8ab5ef8e5356c476ca24487b
2017-06-06 17:01:48 +00:00
Carmelo Cascone
acf1225f41 ONOS-6456 Script to setup onos-p4 dev env on Ubuntu 14.04
- BMv2 simple_switch_grpc target (with P4Runtime support)
- p4c
- p4c-bm (old BMv2 compiler)

Change-Id: Id0b3209e3777223fd38875159b480c8c8753dab6
2017-06-05 15:06:14 +00:00