7 Commits

Author SHA1 Message Date
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