Skip to content

Commit

Permalink
Update vnet_out test
Browse files Browse the repository at this point in the history
Signed-off-by: Marian Pritsak <[email protected]>
  • Loading branch information
marian-pritsak committed Jul 6, 2023
1 parent 9a24a34 commit c6aaa29
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dash-pipeline/tests/libsai/vnet_out/vnet_out.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,18 @@ int main(int argc, char **argv)
attrs.push_back(attr);
}

attr.id = SAI_ENI_ATTR_PL_SIP;
attr.value.u32 = 0;
attrs.push_back(attr);

attr.id = SAI_ENI_ATTR_PL_SIP_MASK;
attr.value.u32 = 0;
attrs.push_back(attr);

attr.id = SAI_ENI_ATTR_PL_UNDERLAY_SIP;
attr.value.u32 = 0;
attrs.push_back(attr);

status = sai_create_eni(&eni_id, switch_id, attrs.size(), attrs.data());
if (status != SAI_STATUS_SUCCESS)
{
Expand Down

0 comments on commit c6aaa29

Please sign in to comment.