Update install-p4-tools.sh to use P4Runtime v1.0
Includes also various improvements to the p4vm scripts, such as:
- Choose to build VM with Ubuntu 16.04 or 18.04 (experimental)
- Allow users to specify version of protobuf and grpc to use
- Avoid building protobuf and grpc if already installed in the system
- Install Bazel 0.22
Also:
- Remove check for invalid group member weights (now PI always returns
members with weight 1)
- Re-compiled all P4 programs and fixed missing padding in controller
packet headers
Change-Id: I0e672fcebbaba63354c749f0c774af251f3cbc6c
diff --git a/pipelines/fabric/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json b/pipelines/fabric/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
index 7a82d6b..f52d3b4 100644
--- a/pipelines/fabric/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
+++ b/pipelines/fabric/src/main/resources/p4c-out/fabric/bmv2/default/bmv2.json
@@ -4397,6 +4397,8 @@
"target" : ["ipv4", "hdr_checksum"],
"type" : "generic",
"calculation" : "calc",
+ "verify" : false,
+ "update" : true,
"if_cond" : {
"type" : "expression",
"value" : {
@@ -4421,6 +4423,8 @@
"target" : ["ipv4", "hdr_checksum"],
"type" : "generic",
"calculation" : "calc_0",
+ "verify" : true,
+ "update" : false,
"if_cond" : {
"type" : "expression",
"value" : {
@@ -4487,4 +4491,4 @@
"version" : [2, 18],
"compiler" : "https://github.com/p4lang/p4c"
}
-}
\ No newline at end of file
+}