Skip to content

[dash-api]: Add dash-api and related protobuf library#14515

Merged
lguohan merged 11 commits intosonic-net:masterfrom
Pterosaur:protobuf_lib
Jul 5, 2023
Merged

[dash-api]: Add dash-api and related protobuf library#14515
lguohan merged 11 commits intosonic-net:masterfrom
Pterosaur:protobuf_lib

Conversation

@Pterosaur
Copy link
Contributor

@Pterosaur Pterosaur commented Apr 4, 2023

Why I did it

For the DASH scenario, the APP_DB will be optimized by protobuf message for less memory consumption.

How I did it

Download the Debian package of protobuf 3.21.12 and create a corresponding rule for building it.
Add a submodule of sonic-dash-api and generated its Debian package which includes C++ library and Python library

How to verify it

Check artifacts of Azp that the protobuf-related and dash-api deb packages should be generated.

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111
  • 202205
  • 202211

Description for the changelog

Ensure to add label/tag for the feature raised. example - PR#2174 under sonic-utilities repo. where, Generic Config and Update feature has been labelled as GCU.

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

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>
This reverts commit 0ff42a6.
Signed-off-by: Ze Gan <ganze718@gmail.com>
@Pterosaur Pterosaur force-pushed the protobuf_lib branch 11 times, most recently from fb17b0c to 22a3c89 Compare July 3, 2023 17:09
Signed-off-by: Ze Gan <ganze718@gmail.com>
@Pterosaur Pterosaur changed the title [protobuf]: Add protobuf library [dash-api]: Add dash-api and related protobuf library Jul 3, 2023
@Pterosaur Pterosaur marked this pull request as ready for review July 3, 2023 17:58
@lguohan lguohan merged commit 2f89949 into sonic-net:master Jul 5, 2023
sonic-otn pushed a commit to sonic-otn/sonic-buildimage that referenced this pull request Sep 20, 2023
Why I did it
For the DASH scenario, the APP_DB will be optimized by protobuf message for less memory consumption.

How I did it
Download the Debian package of protobuf 3.21.12 and create a corresponding rule for building it.
Add a submodule of sonic-dash-api and generated its Debian package which includes C++ library and Python library

How to verify it
Check artifacts of Azp that the protobuf-related and dash-api deb packages should be generated.

Signed-off-by: Ze Gan <ganze718@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants