Skip to content

Commit

Permalink
Modified gnoi as a sub-module for gnoi reboot feature
Browse files Browse the repository at this point in the history
  • Loading branch information
rkavitha-hcl authored and KAVITHA RAMALINGAM committed Dec 5, 2024
1 parent ad96646 commit 74b34fd
Show file tree
Hide file tree
Showing 107 changed files with 18 additions and 38,497 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,6 @@
[submodule "src/sonic-stp"]
path = src/sonic-stp
url = https://github.com/sonic-net/sonic-stp
[submodule "src/sonic-framework/gnoi"]
path = src/sonic-framework/gnoi
url = https://github.com/openconfig/gnoi
8 changes: 6 additions & 2 deletions src/sonic-framework/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,13 @@ BUILT_SOURCES = rebootbackend_protobuf_compilation rebootbackend_dbus_compilatio

compile_protobufs: rebootbackend_protobuf_compilation rebootbackend_dbus_compilation

rebootbackend_protobuf_compilation:
update:
git submodule sync
git submodule update --init --recursive

rebootbackend_protobuf_compilation: update
/usr/bin/protoc --cpp_out=rebootbackend \
--proto_path=gnoi \
--proto_path=github.com/openconfig/gnoi=gnoi \
gnoi/types/types.proto \
gnoi/common/common.proto \
gnoi/system/system.proto
Expand Down
1 change: 1 addition & 0 deletions src/sonic-framework/gnoi
Submodule gnoi added at 73a1e7
28 changes: 0 additions & 28 deletions src/sonic-framework/gnoi/BUILD.bazel

This file was deleted.

26 changes: 0 additions & 26 deletions src/sonic-framework/gnoi/CONTRIBUTING.md

This file was deleted.

1 change: 0 additions & 1 deletion src/sonic-framework/gnoi/CONTRIBUTORS

This file was deleted.

201 changes: 0 additions & 201 deletions src/sonic-framework/gnoi/LICENSE

This file was deleted.

6 changes: 0 additions & 6 deletions src/sonic-framework/gnoi/MODULE.bazel

This file was deleted.

Loading

0 comments on commit 74b34fd

Please sign in to comment.