-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DASH Flow] Add SaiVal derivative before some arguments of set_flow_e…
…ntry_attr to make configuration easier (#643) This PR adds `@SaiVal[type="sai_ip_address_t"]` before the following arguments of action `set_flow_entry_attr` in dash flow: - underlay0_sip - underlay0_dip - underlay1_sip - underlay1_dip There are mainly two reasons for doing this: - Other parts of the dash pipeline do so. For example, in action `set_eni_attrs`, every argument of type `IPv4Address` is added a `@SaiVal[type="sai_ip_address_t"]` before it. - Generated saithrift rpc can use IP address-related helper functions to assign a value to corresponding arguments instead of directly using a u32 type value, making the code more readable.
- Loading branch information
1 parent
284e681
commit 0726ca7
Showing
2 changed files
with
16 additions
and
16 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