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-spgw-int/bmv2/default/p4info.txt b/pipelines/fabric/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt
index cd3d23d..b069b52 100644
--- a/pipelines/fabric/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt
+++ b/pipelines/fabric/src/main/resources/p4c-out/fabric-spgw-int/bmv2/default/p4info.txt
@@ -1,3 +1,6 @@
+pkg_info {
+ arch: "v1model"
+}
tables {
preamble {
id: 33582731
@@ -15,7 +18,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318781522
@@ -56,7 +60,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318787614
@@ -153,7 +158,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318770289
@@ -176,7 +182,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318830507
@@ -202,7 +209,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318811107
@@ -322,7 +330,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318768144
@@ -354,7 +363,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318778156
@@ -383,7 +393,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
implementation_id: 285217164
@@ -407,7 +418,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318801752
@@ -448,7 +460,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318800047
@@ -471,7 +484,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
size: 1
@@ -499,7 +513,8 @@
}
action_refs {
id: 16819938
- annotations: "@defaultonly()"
+ annotations: "@defaultonly"
+ scope: DEFAULT_ONLY
}
const_default_action_id: 16819938
direct_resource_ids: 318827144
@@ -1014,6 +1029,7 @@
preamble {
id: 67146229
name: "packet_in"
+ alias: "packet_in"
annotations: "@controller_header(\"packet_in\")"
}
metadata {
@@ -1031,6 +1047,7 @@
preamble {
id: 67121543
name: "packet_out"
+ alias: "packet_out"
annotations: "@controller_header(\"packet_out\")"
}
metadata {