* 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.
* Add new bash function used several times in install script
Also delete some old comments. These changes help to make the script
have fewer diffs with the following script that it was derived from:
https://github.com/jafingerhut/p4-guide/blob/master/bin/install-p4dev-v6.sh
* Fix copy & paste mistake
* 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 commit SHAs of `vagrant up dev` to latest as of 2023-Jul-01
* Update vm-ubuntu-20.04/README.md for 2023-Jul-01
* 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 versions of protobuf and grpc installed, install p4testgen
Update protobuf from v3.6.1 to v3.18.1
Update grpc from v1.17.2 to v1.43.2
Both of those versions have been long tested in the p4-guide repo
install scripts.
Update BMv2, PI, p4c, and ptf to latest versions as of 2023-Jun-24
Enable compilation of p4testgen
* Change method to install ptf
I found that the former way that I am replacing did not seem to install
it correctly.
* Make clean.sh remove sources for protobuf and grpc
Saves disk space for the image. protobuf and grpc source code is easily
obtainable from public sources if the user wishes.
* Put latest commits for p4lang repos as of 2022-May-01 in build scripts
* Updates to steps to build behavioral-model for 2022-May
The parts of these changes on how to build simple_switch_grpc are due
to changes made in the behavioral-model recently, perhaps in 2022-Apr.
The removing of the applying of the patch is from older changes in
behavioral-model around 2022-Jan. The patch is no longer needed.
* Correction to script changes in previous commit
* Add --with-thrift option to configure command for behavioral-model
I believe that without that, the simple_switch_grpc process is built
without support for listening on the Thrift port (default value of
port is 9090).
Co-authored-by: Andy Fingerhut <john.andy.fingerhut@intel.com>