Skip to content

Commit bf5d3e0

Browse files
Implements the frontend logic for gNSI Certz (#559)
* Add support to write gNSI credentials metadata to DB Signed-off-by: Pattela JAYARAGINI <pattelaj@google.com> * Implements the frontend logic for gNSI Certz Signed-off-by: Pattela JAYARAGINI <pattelaj@google.com> --------- Signed-off-by: Pattela JAYARAGINI <pattelaj@google.com> Co-authored-by: Neha Das <nehadas@google.com>
1 parent 91b14bf commit bf5d3e0

File tree

8 files changed

+4561
-222
lines changed

8 files changed

+4561
-222
lines changed

Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,17 @@ endif
126126
git apply patches/0001-Updated-to-filter-and-write-to-file.patch
127127
git apply patches/0003-Fix-client-json-parsing-issue.patch
128128

129+
# Manually adding patched client packages and their dependencies
130+
# to vendor/modules.txt. This satisfies 'go install -mod=vendor' lookup checks,
131+
# which are required after manual patching/copying of gnxi and gnmi-cli code.
132+
echo "github.com/google/gnxi v0.0.0-20181220173256-89f51f0ce1e2" >> vendor/modules.txt
133+
echo "github.com/google/gnxi/gnmi_get" >> vendor/modules.txt
134+
echo "github.com/google/gnxi/gnmi_set" >> vendor/modules.txt
135+
echo "github.com/openconfig/gnmi/cli" >> vendor/modules.txt
136+
echo "github.com/openconfig/gnmi/client/flags" >> vendor/modules.txt
137+
echo "golang.org/x/crypto/ssh/terminal" >> vendor/modules.txt
138+
echo "github.com/openconfig/gnmi/cmd/gnmi_cli" >> vendor/modules.txt
139+
129140
ifeq ($(CROSS_BUILD_ENVIRON),y)
130141
$(GO) build -o ${GOBIN}/gnmi_get -mod=vendor github.com/google/gnxi/gnmi_get
131142
$(GO) build -o ${GOBIN}/gnmi_set -mod=vendor github.com/google/gnxi/gnmi_set

0 commit comments

Comments
 (0)