[dash]: Refactor DASH orch by protobuf format#2722
Conversation
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: zegan <zegan@microsoft.com>
Signed-off-by: zegan <zegan@microsoft.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: zegan <zegan@microsoft.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
orchagent/dash/dashorch.h
Outdated
| dash::eni::Eni metadata; | ||
| }; | ||
|
|
||
| struct QosEntry |
There was a problem hiding this comment.
We can possibly remove this too right?
There was a problem hiding this comment.
Yes, it should be removed because it wasn't used anywhere. It's my careless mistake
prabhataravind
left a comment
There was a problem hiding this comment.
The changes in dash* orchs in general look good to me. Could you please validate your changes with the configurations in these issues? If you could send the sairedis records with these configurations applied, that would be great.
https://github.com/nvidia-sonic/sonic-buildimage/issues/183
https://github.com/nvidia-sonic/sonic-buildimage/issues/178
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Signed-off-by: Ze Gan <ganze718@gmail.com>
Check them and add testcases for them. |
What I did Refactor orchagent input from text schema to protobuf message. The protobuf message definition is at: https://github.com/sonic-net/sonic-dash-api/tree/master Why I did it The original text schema format will take too much memory in Redis the performance is not efficient due to large of format conversions. Weak coding restrictions aren't easy to develop and maintain So, the binary formation, protobuf, will be needed for better utilization. How I verified it Check Azp and test dash vstest in locally. Signed-off-by: Ze Gan <ganze718@gmail.com>
What I did Refactor orchagent input from text schema to protobuf message. The protobuf message definition is at: https://github.com/sonic-net/sonic-dash-api/tree/master Why I did it The original text schema format will take too much memory in Redis the performance is not efficient due to large of format conversions. Weak coding restrictions aren't easy to develop and maintain So, the binary formation, protobuf, will be needed for better utilization. How I verified it Check Azp and test dash vstest in locally. Signed-off-by: Ze Gan <ganze718@gmail.com>
Swss containter needs dash_api to properly build, based on sonic-net/sonic-swss#2722, attempting to add missing libs Signed-off-by: Ze Gan <ganze718@gmail.com>
Swss containter needs dash_api to properly build, based on sonic-net/sonic-swss#2722, attempting to add missing libs Signed-off-by: Ze Gan <ganze718@gmail.com>
Swss containter needs dash_api to properly build, based on sonic-net/sonic-swss#2722, attempting to add missing libs Signed-off-by: Ze Gan <ganze718@gmail.com>
Swss containter needs dash_api to properly build, based on sonic-net/sonic-swss#2722, attempting to add missing libs Signed-off-by: Ze Gan <ganze718@gmail.com>
Swss containter needs dash_api to properly build, based on sonic-net/sonic-swss#2722, attempting to add missing libs Signed-off-by: Ze Gan <ganze718@gmail.com>
Swss containter needs dash_api to properly build, based on sonic-net/sonic-swss#2722, attempting to add missing libs Signed-off-by: Ze Gan <ganze718@gmail.com>
What I did Refactor orchagent input from text schema to protobuf message. The protobuf message definition is at: https://github.com/sonic-net/sonic-dash-api/tree/master Why I did it The original text schema format will take too much memory in Redis the performance is not efficient due to large of format conversions. Weak coding restrictions aren't easy to develop and maintain So, the binary formation, protobuf, will be needed for better utilization. How I verified it Check Azp and test dash vstest in locally. Signed-off-by: Ze Gan <ganze718@gmail.com>
What I did
Refactor orchagent input from text schema to protobuf message. The protobuf message definition is at: https://github.com/sonic-net/sonic-dash-api/tree/master
Why I did it
The original text schema format will take
So, the binary formation, protobuf, will be needed for better utilization.
How I verified it
Check Azp and test dash vstest in locally.
Details if related