Provide northbound gNMI/OpenConfig DASH-related schema & mapping to SAI
Provide (or identify if already exists) gNMI/OpenConfig schema which will be used to control DASH features, and also some description or specification of the mapping to equivalent SAI objects (i.e. what would need to be implememented in orchagent). Also see related https://github.com/Azure/DASH/issues/37
@chrispsommers - this was discussed in the Community meeting today - yes? The target date is late January, early February - is that what you heard as well?
Yes. looking forward to seeing this.
is this information sufficient ? https://github.com/sonic-net/sonic-dash-api https://github.com/sonic-net/DASH/blob/main/documentation/general/dash-sonic-hld.md#32-dash-app-db
@satyavallirama to be added
Hi Chris
We followed two methods for bringing up of the SONiC DASH environment in containers with BMV2.
Method 1 "Sonic Dash" bring-up using Sonic Build image with Sai Dash components (Sai Thrift client and server) , SAI Redis , SWSS and SyncdDB.
GitHub link :- https://github.com/sonic-net/sonic-buildimage/tree/master
We are experiencing an Error with Sonic-Slave-bluster as a base image for all the container build's there after. While building we are getting an "error in image apt repository". Tried changing apt repository and also tried with mirror link of repository. But getting same issue with all tries.
Also tried to pull image directly. but image is in private docker Hub account. This attempt also failed.
Method 2 We tried to brought up SONiC DASH directly with the below git link, followed all the steps mentioned in that link, but while executing run-all-test, three tests are failing out of it. GitHub link :- https://github.com/sonic-net/DASH/tree/main/dash-pipeline
The following tests getting failed: SaiThriftDpappPktTest, SaiThriftVnetOutboundUdpPktTest, SaiThriftVnetOutboundUdpV6PktTest.
Error :- AssertionError: Expected packet was not received on device 0, port 0
Can you please guide us with any solution for this above issues.
VPP w/SONiC build image - check w/ @r12f to see when it will be available
Hi @satyavalli I'm not sure why you're mentioning this in this particular issue, is it related to gNMI schema? It seems like its own issue.
In any case, It would be helpful if you identify the commit version of the repo. Also, I would look for CI runs under https://github.com/sonic-net/DASH/actions for this same commit (assuming it's in main branch) and if those CI runs are successful, it sounds like you have a local issue in your development environment. It's hard to say how to solve the issue, do you have a different environment you can try the same thing on? Is the error repeatable every time?
Subject: Preparation of Write-up on Northbound gNMI/OpenConfig DASH Schema and SAI Mapping for ACL (Issue 38)
Hi Team,
As part of addressing Issue 38, we are preparing a write-up on the northbound gNMI/OpenConfig DASH schema and SAI mapping for ACL. During this process, I came across (https://github.com/sonic-net/SONiC/wiki/ACL-Configuration-Requirement-Description) documentation ACL configuration in SONiC using ConfigDB, which includes ACL rules and ACL table flows. It appears that the entry structure of these ACL configurations in SONiC might differ from the OpenConfig ACL table entry structure.
Observations:
-
SONiC ConfigDB ACL Configuration:
- SONiC uses a specific format for ACL rules and tables in ConfigDB, which may not directly align with the OpenConfig ACL model which is using acl_sets, acl_entries etc.,.
- The current implementation in SONiC DASH already has some SAI mappings for ACL, but it’s unclear if these are fully compliant with OpenConfig.
-
OpenConfig ACL Structure:
- OpenConfig defines a standardized ACL model with a hierarchical structure for ACL sets, entries, and actions.
- The table entry structure in OpenConfig might differ from SONiC’s current implementation, particularly in terms of naming conventions, hierarchy, and attribute definitions.
We have few Questions for the Community:
-
SAI Mapping for ACL in SONiC DASH:
- Is the existing SAI mapping for ACL in SONiC DASH already aligned with the requirements of Issue 38, or does it need to be updated to comply with OpenConfig?
- If updates are needed, what would be the scope of changes required to make it OpenConfig-compliant?
-
Alignment with OpenConfig:
- Should we prioritize making the ACL schema and SAI mapping fully compliant with OpenConfig, even if it requires significant changes to the current SONiC implementation?
- Are there any specific guidelines or constraints we should follow to ensure backward compatibility while transitioning to OpenConfig?
-
Documentation and References:
- Are there any existing resources or prior discussions in the community that address this alignment between SONiC DASH gNMI/Openconfig, ConfigDB and OpenConfig ACLs?
Thanks, SatyaValli
hi @lguohan , @prsunny , and @r12f - @satyavalli is wondering if we can help with this question while TCS is working on Issue 38.
Hi @lguohan , @prsunny , and @r12f We are working on Issue 38, can anyone of you please help with the above ACL question. And if there are any existing resources or prior discussions in the community that address this alignment between SONiC DASH gNMI/Openconfig please suggest us.
Thanks, Satya
There s/be the yang model for SONiC ACLs - in Build Image, SONiC-mgmt, models, yang, sonic
See email from Satya to SONiC team
If we use DASH KVM, this is supported w/SONiC pipeline integrated. KVM is in SONiC-VS (platform) with DASH flavor. System control Start.
Per convo w/SONiC team, closing this one