[orchagent] Add SAI_ENI_ATTR_VM_UNDERLAY_DIP and SAI_ENI_ATTR_VM_VNI attributes for DASH #2514
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What I did
Added SAI_ENI_ATTR_VM_UNDERLAY_DIP and SAI_ENI_ATTR_VM_VNI attributes to support inbound routing flow
Why I did it
How I verified it
Loaded DASH configuration referenced in sonic-net/sonic-mgmt#6735 and verified that SAI_ENI_ATTR_VM_UNDERLAY_DIP and SAI_ENI_ATTR_VM_VNI attributes are added
Details if related
2022-11-11.18:59:49.362557|c|SAI_OBJECT_TYPE_ENI:oid:0x6d000000000018|SAI_ENI_ATTR_VNET_ID=oid:0x71000000000016|SAI_ENI_ATTR_ADMIN_STATE=false|SAI_ENI_ATTR_VM_UNDERLAY_DIP=ac5c:99c2:30c9:98eb:c617:f88f:7c5c:ea90|SAI_ENI_ATTR_VM_VNI=4321
2022-11-11.18:59:49.364037|c|SAI_OBJECT_TYPE_ENI:oid:0x6d000000000019|SAI_ENI_ATTR_VNET_ID=oid:0x71000000000017|SAI_ENI_ATTR_ADMIN_STATE=false|SAI_ENI_ATTR_VM_UNDERLAY_DIP=50.2.2.2|SAI_ENI_ATTR_VM_VNI=4321
2022-11-11.18:59:49.365416|c|SAI_OBJECT_TYPE_ENI:oid:0x6d00000000001a|SAI_ENI_ATTR_VNET_ID=oid:0x71000000000017|SAI_ENI_ATTR_ADMIN_STATE=false|SAI_ENI_ATTR_VM_UNDERLAY_DIP=d95d:46e5:d5b2:4ce0:2a3:d9d:44a4:f20b|SAI_ENI_ATTR_VM_VNI=4321
2022-11-11.18:59:49.366890|c|SAI_OBJECT_TYPE_ENI:oid:0x6d00000000001b|SAI_ENI_ATTR_VNET_ID=oid:0x71000000000016|SAI_ENI_ATTR_ADMIN_STATE=false|SAI_ENI_ATTR_VM_UNDERLAY_DIP=25.1.1.1|SAI_ENI_ATTR_VM_VNI=4321
Signed-off-by: Prabhat Aravind paravind@microsoft.com