Skip to content

Commit 9797933

Browse files
jafingerhutjafinger
andauthored
2024 Aug updates to vm ubuntu 20.04 and ubuntu 24.04 (#628)
* Support negative-valued action parameters by converting them in the Python helper code into a positive value whose bit pattern is the 2's complement representation of the negative value. * Update README.md and user-dev-bootstrap.sh files to 2024-Aug-01 versions of open source P4 tool source code. --------- Co-authored-by: jafinger <jafinger@cisco.com>
1 parent 345626b commit 9797933

4 files changed

Lines changed: 24 additions & 24 deletions

File tree

vm-ubuntu-20.04/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ cd build
129129
make -j2 check |& tee make-check-out.txt
130130
```
131131

132-
As of 2023-07-01, the p4c compiler passes all of its included tests,
132+
As of 2024-08-01, the p4c compiler passes all of its included tests,
133133
except for some of the p4testgen tests (if those are enabled).
134134

135135

@@ -169,8 +169,8 @@ them again.
169169

170170
For the particular case of creating the VM named:
171171

172-
+ 'P4 Tutorial Development 2023-07-01'
173-
+ created on July 1, 2023
172+
+ 'P4 Tutorial Development 2024-08-01'
173+
+ created on August 1, 2024
174174

175175
here were the host OS details, in case it turns out that matters to
176176
the finished VM image for some reason:
@@ -182,7 +182,7 @@ the finished VM image for some reason:
182182
In the VirtualBox GUI interface:
183183

184184
+ Choose menu item File -> Export Appliance ...
185-
+ Select the VM named 'P4 Tutorial Development 2023-07-01' and click
185+
+ Select the VM named 'P4 Tutorial Development 2024-08-01' and click
186186
Continue button
187187

188188
+ Format
@@ -191,7 +191,7 @@ In the VirtualBox GUI interface:
191191
+ Open Virtualization Format 0.9
192192
+ Open Virtualization Format 2.0
193193
+ Target file
194-
+ I used: /Users/andy/Documents/P4 Tutorials Development 2023-07-01.ova
194+
+ I used: /Users/andy/Documents/P4 Tutorials Development 2024-08-01.ova
195195
+ Mac Address Policy
196196
+ I used: Include only NAT network adapter MAC addresses
197197
+ Other available options were:
@@ -205,16 +205,16 @@ Clicked "Continue" button.
205205

206206
Virtual system settings:
207207

208-
+ Name: P4 Tutorial 2023-07-01
208+
+ Name: P4 Tutorial 2024-08-01
209209
+ Product: I left this blank
210210
+ Product-URL: I left this blank
211211
+ Vendor: P4.org - P4 Language Consortium
212212
+ Vendor-URL: https://p4.org
213-
+ Version: 2023-07-01
213+
+ Version: 2024-08-01
214214
+ Description:
215215

216216
```
217-
Open source P4 development tools built from latest source code as of 2023-Jul-01 and packaged into an Ubuntu 20.04 Desktop Linux VM for the AMD64 architecture.
217+
Open source P4 development tools built from latest source code as of 2024-Aug-01 and packaged into an Ubuntu 20.04 Desktop Linux VM for the AMD64 architecture.
218218
```
219219

220220
+ License

vm-ubuntu-20.04/user-dev-bootstrap.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
set -xe
55

66
#Src
7-
BMV2_COMMIT="5f1c590c7bdb32ababb6d6fe18977cf13ae3b043" # 2024-Apr-01
8-
PI_COMMIT="24e0a3c08c964e36d235973556b90e0ae922b894" # 2024-Apr-01
9-
P4C_COMMIT="f8df27f677a2eedac6357139f8d40828763af75f" # 2024-Apr-01
10-
PTF_COMMIT="e8b545f3f281fc509c7bdd6c8a4f55bc829149e7" # 2024-Apr-01
7+
BMV2_COMMIT="a8e2947aefe660d11df53ff44854d112d545db38" # 2024-Aug-01
8+
PI_COMMIT="05cb92564af77ae4826565cbde84e3fd4960c6bd" # 2024-Aug-01
9+
P4C_COMMIT="a7d6e351c016843cab60fb62aa233c1279512edd" # 2024-Aug-01
10+
PTF_COMMIT="c554f83685186be4cfa9387eb5d6d700d2bbd7c0" # 2024-Aug-01
1111
PROTOBUF_COMMIT="v3.18.1"
1212
GRPC_COMMIT="tags/v1.43.2"
1313

vm-ubuntu-24.04/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ make -j2 check |& tee out1.txt
160160
sudo PATH=${PATH} VIRTUAL_ENV=${VIRTUAL_ENV} ${P4GUIDE_SUDO_OPTS} make -j2 recheck |& tee out2.txt
161161
```
162162

163-
As of 2024-05-30, the p4c compiler passes all but about 15 of its
163+
As of 2024-08-01, the p4c compiler passes all but about 15 of its
164164
included tests when built using the steps above.
165165

166166

@@ -200,8 +200,8 @@ them again.
200200

201201
For the particular case of creating the VM named:
202202

203-
+ 'P4 Tutorial Development 2024-06-01'
204-
+ created on June 1, 2024
203+
+ 'P4 Tutorial Development 2024-08-01'
204+
+ created on August 1, 2024
205205

206206
here were the host OS details, in case it turns out that matters to
207207
the finished VM image for some reason:
@@ -213,7 +213,7 @@ the finished VM image for some reason:
213213
In the VirtualBox GUI interface:
214214

215215
+ Choose menu item File -> Export Appliance ...
216-
+ Select the VM named 'P4 Tutorial Development 2024-06-01' and click
216+
+ Select the VM named 'P4 Tutorial Development 2024-08-01' and click
217217
Continue button
218218

219219
+ Format
@@ -222,7 +222,7 @@ In the VirtualBox GUI interface:
222222
+ Open Virtualization Format 0.9
223223
+ Open Virtualization Format 2.0
224224
+ Target file
225-
+ I used: /Users/andy/Documents/P4 Tutorials Development 2024-06-01.ova
225+
+ I used: /Users/andy/Documents/P4 Tutorials Development 2024-08-01.ova
226226
+ Mac Address Policy
227227
+ I used: Include only NAT network adapter MAC addresses
228228
+ Other available options were:
@@ -236,16 +236,16 @@ Clicked "Continue" button.
236236

237237
Virtual system settings:
238238

239-
+ Name: P4 Tutorial 2024-06-01
239+
+ Name: P4 Tutorial 2024-08-01
240240
+ Product: I left this blank
241241
+ Product-URL: I left this blank
242242
+ Vendor: P4.org - P4 Language Consortium
243243
+ Vendor-URL: https://p4.org
244-
+ Version: 2024-06-01
244+
+ Version: 2024-08-01
245245
+ Description:
246246

247247
```
248-
Open source P4 development tools built from latest source code as of 2024-Jun-01 and packaged into an Ubuntu 24.04 Desktop Linux VM for the AMD64 architecture.
248+
Open source P4 development tools built from latest source code as of 2024-Aug-01 and packaged into an Ubuntu 24.04 Desktop Linux VM for the AMD64 architecture.
249249
```
250250

251251
+ License

vm-ubuntu-24.04/user-dev-bootstrap.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ change_owner_and_group_of_venv_lib_python3_files() {
1515
set -xe
1616

1717
#Src
18-
BMV2_COMMIT="5f1c590c7bdb32ababb6d6fe18977cf13ae3b043" # 2024-Apr-01
19-
PI_COMMIT="24e0a3c08c964e36d235973556b90e0ae922b894" # 2024-Apr-01
20-
P4C_COMMIT="f8df27f677a2eedac6357139f8d40828763af75f" # 2024-Apr-01
21-
PTF_COMMIT="e8b545f3f281fc509c7bdd6c8a4f55bc829149e7" # 2024-Apr-01
18+
BMV2_COMMIT="a8e2947aefe660d11df53ff44854d112d545db38" # 2024-Aug-01
19+
PI_COMMIT="05cb92564af77ae4826565cbde84e3fd4960c6bd" # 2024-Aug-01
20+
P4C_COMMIT="a7d6e351c016843cab60fb62aa233c1279512edd" # 2024-Aug-01
21+
PTF_COMMIT="c554f83685186be4cfa9387eb5d6d700d2bbd7c0" # 2024-Aug-01
2222

2323
# Versions installed by Ubuntu apt
2424
PROTOBUF_PKG_VERSION="3.21.12"

0 commit comments

Comments
 (0)