Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Go dependencies #438

Merged
merged 1 commit into from
Jul 6, 2023
Merged

Update Go dependencies #438

merged 1 commit into from
Jul 6, 2023

Conversation

antoninbas
Copy link
Member

No description provided.

@chrispsommers
Copy link
Collaborator

@antoninbas do you intent to signvthe CLA? Thanks.

@antoninbas
Copy link
Member Author

antoninbas commented Jul 6, 2023

@antoninbas do you intend to sign the CLA? Thanks.

done

@chrispsommers
Copy link
Collaborator

See #437 (comment) for more deails.

Copy link
Collaborator

@chrispsommers chrispsommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Antonin!

@antoninbas antoninbas merged commit 74c1661 into main Jul 6, 2023
@antoninbas antoninbas deleted the update-go-dependencies branch July 6, 2023 18:51
saynb added a commit that referenced this pull request Aug 8, 2023
* Update Go dependencies (#438)

* Fixes #439 (#440)

Change CI  workflow to skip publishing if PR spawned by dependabot

* Adding dev branches to workflows (#443)

---------

Co-authored-by: Antonin Bas <antonin.bas@gmail.com>
Co-authored-by: Chris Sommers <31145757+chrispsommers@users.noreply.github.com>
chrispsommers added a commit that referenced this pull request Jan 26, 2024
* Update Go dependencies (#438)

* Fixes #439 (#440)

Change CI  workflow to skip publishing if PR spawned by dependabot

* Adding dev branches to workflows (#443)

* Support for initial entries (#432)

* Define P4Runtime API support for tables with initial entries

* Add TODO asking whether the format for the contents of entries files
should be specified in the P4Runtime spec.

* Fix a couple of things found by linter and compiling protobuf

* Update autogenerated files

* Document that TableEntry const field must be false in write requests

* Add an appendix describing the contents of entries files generated by p4c

* Clarify some wording.

* Fix Madoko lint check

* Replace TODO with cross reference to new appendix on entries files
and clean up Madoko formatting in that appendix.

* Replace TODO with an optimistic footnote.

* Propose that TableEntry has new field const true for const entries
and also for const default_action

* Update auto-generated files

* Define has_initial_entries to be true for tables with `const entries`
Also fix a couple of spelling typos.

* Update auto-generated files

* Address several review comments

* Address some more review comments.

* Update auto-generated files again

* Slight change in definition of has_initial_entries flag
Propose that it is true if and only if the table property `entries` is
present, _and_ the list of entries is not empty.

* Update auto-generated files

* Add "added in 1.4.0" notes to the two new fields

* Clarify the description of the content of an entries file

* Fix a typo, and add is_const field to list of TableEntry fields

* Address review comment in new appendix

* Fix #434: Remove obsolete TODO section in README (#447)

* Fix #434: Remove obsolete TODO section in README
Update the link to the auto-generated versions of the P4Runtime
specification on the P4.org web site.

Update the section "P4 Language Version Applicability" to version
1.2.4 of the P4_16 language specification, but list 3 known exceptions
of features that have not been explicitly addressed yet.

* Add P4_16 v1.2.4 language spec features that may need addressing
in a future version of the P4Runtime API specification.

* Update discussion of entry priorities in constant tables (#457)

* Update discussion of entry priorities in constant tables

* Correct description of entry priority for constant tables

* Bump golang.org/x/net from 0.9.0 to 0.17.0 (#461)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.17.0.
- [Commits](golang/net@v0.9.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove 4 P4 language spec compatibility issues from the list (#459)

* Remove 4 P4 language spec compatibility issues from the list
During 2023-Sep-08 P4.org API work group meeting, it was agreed that
there are no changes required to the P4Runtime API specification to be
compatible with these updates in the language spec.

* Add clarifying behavior of table with no `key` property back in
since there are potentially open issues around p4c implementation and
how it generates size field of tables in P4Info files that should be
considered before considering that issue resolved.

* Add metadata to multicast group entry (#446)

Same role as the metadata field for table entry

* Add proto_build_test rule that tests building the protos defined in the workspace. (#460)

* Update license kind to Apache2.0 instead of generic notice (#464)

* Bump google.golang.org/grpc from 1.56.1 to 1.56.3 (#465)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.1 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.56.1...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Antonin Bas <antonin.bas@gmail.com>
Co-authored-by: Chris Sommers <31145757+chrispsommers@users.noreply.github.com>
Co-authored-by: Andy Fingerhut <andy_fingerhut@alum.wustl.edu>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: verios-google <110698235+verios-google@users.noreply.github.com>
Co-authored-by: anksaiki <ankursaikia08@gmail.com>
Co-authored-by: anksaiki <ankursaikia@google.com>
chrispsommers added a commit that referenced this pull request Feb 22, 2024
* Update Go dependencies (#438)

* Fixes #439 (#440)

Change CI  workflow to skip publishing if PR spawned by dependabot

* Adding dev branches to workflows (#443)

* Support for initial entries (#432)

* Define P4Runtime API support for tables with initial entries

* Add TODO asking whether the format for the contents of entries files
should be specified in the P4Runtime spec.

* Fix a couple of things found by linter and compiling protobuf

* Update autogenerated files

* Document that TableEntry const field must be false in write requests

* Add an appendix describing the contents of entries files generated by p4c

* Clarify some wording.

* Fix Madoko lint check

* Replace TODO with cross reference to new appendix on entries files
and clean up Madoko formatting in that appendix.

* Replace TODO with an optimistic footnote.

* Propose that TableEntry has new field const true for const entries
and also for const default_action

* Update auto-generated files

* Define has_initial_entries to be true for tables with `const entries`
Also fix a couple of spelling typos.

* Update auto-generated files

* Address several review comments

* Address some more review comments.

* Update auto-generated files again

* Slight change in definition of has_initial_entries flag
Propose that it is true if and only if the table property `entries` is
present, _and_ the list of entries is not empty.

* Update auto-generated files

* Add "added in 1.4.0" notes to the two new fields

* Clarify the description of the content of an entries file

* Fix a typo, and add is_const field to list of TableEntry fields

* Address review comment in new appendix

* Fix #434: Remove obsolete TODO section in README (#447)

* Fix #434: Remove obsolete TODO section in README
Update the link to the auto-generated versions of the P4Runtime
specification on the P4.org web site.

Update the section "P4 Language Version Applicability" to version
1.2.4 of the P4_16 language specification, but list 3 known exceptions
of features that have not been explicitly addressed yet.

* Add P4_16 v1.2.4 language spec features that may need addressing
in a future version of the P4Runtime API specification.

* Update discussion of entry priorities in constant tables (#457)

* Update discussion of entry priorities in constant tables

* Correct description of entry priority for constant tables

* Bump golang.org/x/net from 0.9.0 to 0.17.0 (#461)

Bumps [golang.org/x/net](https://github.com/golang/net) from 0.9.0 to 0.17.0.
- [Commits](golang/net@v0.9.0...v0.17.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Remove 4 P4 language spec compatibility issues from the list (#459)

* Remove 4 P4 language spec compatibility issues from the list
During 2023-Sep-08 P4.org API work group meeting, it was agreed that
there are no changes required to the P4Runtime API specification to be
compatible with these updates in the language spec.

* Add clarifying behavior of table with no `key` property back in
since there are potentially open issues around p4c implementation and
how it generates size field of tables in P4Info files that should be
considered before considering that issue resolved.

* Add metadata to multicast group entry (#446)

Same role as the metadata field for table entry

* Add proto_build_test rule that tests building the protos defined in the workspace. (#460)

* Update license kind to Apache2.0 instead of generic notice (#464)

* Bump google.golang.org/grpc from 1.56.1 to 1.56.3 (#465)

Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.56.1 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.56.1...v1.56.3)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Pin Bazel version to 6.4.0 to fix regression (#471)

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Antonin Bas <antonin.bas@gmail.com>
Co-authored-by: Chris Sommers <31145757+chrispsommers@users.noreply.github.com>
Co-authored-by: Andy Fingerhut <andy_fingerhut@alum.wustl.edu>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: verios-google <110698235+verios-google@users.noreply.github.com>
Co-authored-by: anksaiki <ankursaikia08@gmail.com>
Co-authored-by: anksaiki <ankursaikia@google.com>
Co-authored-by: Steffen Smolka <smolkaj@google.com>
chrispsommers added a commit that referenced this pull request Feb 22, 2024
* Initial changes for generic tables

* second changes

* 3rd changes

* 4th changes

* 5th changes

* Adding p4types and p4info changes for GenericData (#4)

Adding another enum alongside P4IDs for generic tables as well

* Adding varbits and a readme writeup (#5)

* Adding varbit and a writeup

* Adding proto changes

* Adding genericTable for direct resources. Adding P4datatypespec to genericdatatype in p4types

* * Adding more container types
** list
** bag
** set
** ordered_set

* Moving GenericTable spec update to one big section to keep it
organized

* * Add Table categories introduction

* * Adding 3-level property details (Table, Entry, field)
* Adding more text on the data types in the spec
* Adding Details on Operations in the Table categories

* * Adding Read RPC details in table categories
* Adding a table to show valid combinations of table properties
* Adding default entry rules

* Expanding combinations

* review comments

* * Explain more on indexed tables. How are duplicates handled
* Add regular tables in the truth table
* Calculation table can be volatile
* Add column to lay out some examples for the table categories
* Mention that the entry properties do not go in p4info
* Flow chart to show INSERT decision flow. Added PNG file
* Add in float more verbiage regarding volatile
* Renamed generic_set to generic_unordered_set
* Removed bag and ordered_set
* Add p4type for string with min/max size

* Update Go dependencies (#438)

* Fixes #439 (#440)

Change CI  workflow to skip publishing if PR spawned by dependabot

* * Adding categories and properties in p4info
* Adding example changes for above in GenericTables.md
* Add default values to p4info.

* * Removed GenericTable category from the p4info
* Added more text about generic table type
* Corrected typos and reference links
* Replaced png file with svg file
* Removed is_const_table since table properties are present

* Adding space for dummy commit

* Correcting typo

* Adding dev branches to workflows (#443)

* Correcting linter errors

* Generating go and py files

* Adding text regarding direct resources as GenericTables in TableEntry

* some review comment changes

* Andy review comments

* remove whitespace

* * Correcting GenericTable.md according to the p4info
* Removing repeated file dfrom Param and Match top level

* * Removing float from p4info and spec
* Adding default value text to spec
* Adding UnorderedSet to runtime

* * Adding section to P4DataTypeSpec to indicate adding to
GenericDataTypeSpec for any new additions
* Removing P4DataTypeSpec from GenericDataTypeSpec
* Adding default value to bool in GenericData

* Moving GenericTable.md to docs

* Correcting spec for removal of p4_type in generic_type. Adding generated code

* * Shortening the field names in `GenericTable` to remove "genric_table_"
prefixes
* Correcting the text for type_name

* * Making default_value as bytes
* Adding "scope" to the union example

* Adding default string value

* review comments

* linter error

* Review comments

Signed-off-by: Sayan Bandyopadhyay <sayan.bandyopadhyay@intel.com>

* Correcting whitespace errors

Signed-off-by: Sayan Bandyopadhyay <sayan.bandyopadhyay@intel.com>

* Updating generated code

Signed-off-by: Sayan Bandyopadhyay <sayan.bandyopadhyay@intel.com>

---------

Signed-off-by: Sayan Bandyopadhyay <sayan.bandyopadhyay@intel.com>
Signed-off-by: Bandyopadhyay, Sayan <sayan.bandyopadhyay@intel.com>
Co-authored-by: Antonin Bas <antonin.bas@gmail.com>
Co-authored-by: Chris Sommers <31145757+chrispsommers@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants