Adding docker-kind-load target for kind-voltha development

Change-Id: I46e345127bde759a2aee0d0af6dfa7401b952928
diff --git a/.gitreview b/.gitreview
new file mode 100644
index 0000000..eaa99c5
--- /dev/null
+++ b/.gitreview
@@ -0,0 +1,5 @@
+[gerrit]
+host=gerrit.opencord.org
+port=29418
+project=voltha-simolt-adapter.git
+defaultremote=origin
diff --git a/Makefile b/Makefile
index 34df8ef..72bcfaa 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@
 DOCKER_REPOSITORY          ?=
 DOCKER_TAG                 ?= ${VERSION}$(shell [[ ${DOCKER_LABEL_VCS_DIRTY} == "true" ]] && echo "-dirty" || true)
 SIMULATEDOLT_IMAGENAME     := ${DOCKER_REGISTRY}${DOCKER_REPOSITORY}voltha-adapter-simulated-olt
+TYPE                       ?= minimal
 
 ## Docker labels. Only set ref and commit date if committed
 DOCKER_LABEL_VCS_URL       ?= $(shell git remote get-url $(shell git remote))
@@ -108,6 +109,10 @@
 docker-push:
 	docker push ${SIMULATEDOLT_IMAGENAME}:${DOCKER_TAG}
 
+docker-kind-load:
+	@if [ "`kind get clusters | grep voltha-$(TYPE)`" = '' ]; then echo "no voltha-$(TYPE) cluster found" && exit 1; fi
+	kind load docker-image ${SIMULATEDOLT_IMAGENAME}:${DOCKER_TAG} --name=voltha-$(TYPE) --nodes $(shell kubectl get nodes --template='{{range .items}}{{.metadata.name}},{{end}}' | sed 's/,$$//')
+
 ## lint and unit tests
 
 PATH:=$(GOPATH)/bin:$(PATH)