Skip to content

Commit

Permalink
Add vni in the flow key and metering class 2
Browse files Browse the repository at this point in the history
  • Loading branch information
zhixiongniu committed Nov 13, 2023
1 parent fb3378b commit 3864ff5
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions documentation/dash-flow/DASH_FLOW_SAI.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ typedef struct _sai_dash_flow_key_t {

/* @brief Transport Layer Information (TCP/UDP/ICMP) */
sai_dash_ha_flow_l4_info_t l4_info;

/* @brief VNI */
sai_uint32_t vni;

} sai_dash_flow_key_t;

/**
Expand Down Expand Up @@ -223,9 +227,10 @@ message SaiDashFlowMetadata {
/* Destination PA IP address */
string dest_pa = 3;
uint64 metering_class = 4;
SaiDashHaRewriteInfo rewrite_info = 5;
uint64 metering_class2 = 5;
SaiDashHaRewriteInfo rewrite_info = 6;
/* Vendor specific metadata */
bytes vendor_metadata = 6;
bytes vendor_metadata = 7;
}
enum SaiDashPolicyResult {
Expand Down

0 comments on commit 3864ff5

Please sign in to comment.