-
Notifications
You must be signed in to change notification settings - Fork 334
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change "private" v1model standard_metadata fields to BMv2 packet regi… (
#768) * Change "private" v1model standard_metadata fields to BMv2 packet registers Remove the use of the following 4 fields from BMv2 simple_switch and simple_switch_grpc. They no longer need to be in the BMv2 JSON file for such programs, and clone, recirculate, resubmit, and digest operations are still able to work without them there, because they are now stored in a BMv2 "packet register", similar to how the packet length field currently is. + clone_spec + resubmit_flag + recirculate_flag + lf_field_list * Fix check_style errors * Address review comments. * Fix cpplint warning * Update new methods to take Packet ptr rather than ref * Change remaining C-style casts to static_cast Also add range checking on mirror session id values when control plane tries to add or delete one.
- Loading branch information
1 parent
9020b72
commit 7cd8d68
Showing
5 changed files
with
259 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.