commit | 6d1acb9d83a9f226262e716a136d35c816fb8027 | [log] [tgz] |
---|---|---|
author | Abhilash Laxmeshwar <abhilash.laxmeshwar@radisys.com> | Fri Jan 17 15:43:03 2020 +0530 |
committer | Abhilash Laxmeshwar <abhilash.laxmeshwar@radisys.com> | Tue Jan 21 05:24:17 2020 +0000 |
tree | f5fadd612d1c0b65f9ead95d5a6b23b99a0fb9f7 | |
parent | ded0a83cf5ea0d5fed2accc8542cb6561ff848cc [diff] |
VOL-2437 Leftover state in etcd after OLT device deleted Some of the kv store values were not cleared when device is deleted. Added APis to clear the kv values once device is deleted. Change-Id: Id3978206dd4375dd6cb17df2f140d3a9c25cb91b
This project uses Go Modules https://github.com/golang/go/wiki/Modules to manage dependencies. As a local best pratice this project also vendors the dependencies. If you need to update dependencies please follow the Go Modules best practices and also perform the following steps before committing a patch:
go mod tidy
go mod verify
go mod vendor
voltha-protos
or voltha-lib-go
If you want to build/test using a local copy or voltha-protos
or voltha-lib-go
this can be accomplished by using the environment variables LOCAL_PROTOS
and LOCAL_LIB_GO
. These environment variables should be set to the filesystem path where the local source is located, e.g.
LOCAL\_PROTOS=$HOME/src/voltha-protos LOCAL\_LIB\_GO=$HOME/src/voltha-lib-go
When these environment variables are set the vendored versions of these packages will be removed from the vendor
directory and replaced by coping the files from the specified locations to the vendor
directory. NOTE: this means that the files in the vendor
directory are no longer what is in the git
repository and it will take manual git
intervention to put the original files back.