VOL-1460:  Include voltha-protos in vendor

This forces voltha-protos to be like any other dependancy.
Keeping in line with checking in all vendor items.

Care must still be taken such that any other user of proto
doesnt cause these to break.  dep ensure would be needed to update.

Update gitignore to screen out items dep's prune brought over
that we didnt actually need.

Change-Id: If3ed03985ce9c73475ea1448af7aef848a8993a1
diff --git a/vendor/github.com/opencord/voltha-protos/build_go_protos.sh b/vendor/github.com/opencord/voltha-protos/build_go_protos.sh
new file mode 100755
index 0000000..7d3c1dd
--- /dev/null
+++ b/vendor/github.com/opencord/voltha-protos/build_go_protos.sh
@@ -0,0 +1,73 @@
+#!/bin/sh
+
+set -e
+
+# Copyright 2018 the original author or authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+#      http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+export PARENT_DIR="$1"
+export SRC_DIR="${PARENT_DIR}/voltha_protos"
+
+export LD_LIBRARY_PATH=/usr/local/lib
+
+echo $SRC_DIR
+
+export MAPS=Mgoogle/protobuf/descriptor.proto=github.com/golang/protobuf/protoc-gen-go/descriptor
+export INCS="\
+    -I $PARENT_DIR \
+    -I /usr/local/include/googleapis"
+
+export VOLTHA_PB="\
+    $SRC_DIR/adapter.proto \
+    $SRC_DIR/device.proto \
+    $SRC_DIR/events.proto \
+    $SRC_DIR/health.proto \
+    $SRC_DIR/logical_device.proto \
+    $SRC_DIR/ponsim.proto \
+    $SRC_DIR/voltha.proto"
+
+export COMMON_PB="\
+    $SRC_DIR/common.proto \
+    $SRC_DIR/meta.proto \
+    $SRC_DIR/yang_options.proto"
+
+export INTER_CONTAINER_PB="$SRC_DIR/inter_container.proto"
+export SCHEMA_PB="$SRC_DIR/schema.proto"
+export IETF_PB="$SRC_DIR/ietf_interfaces.proto"
+export OF_PB="$SRC_DIR/openflow_13.proto"
+export OMCI_PB="$SRC_DIR/omci*.proto"
+export AFROUTER_PB="$SRC_DIR/afrouter.proto"
+
+export PB_VARS="\
+    VOLTHA_PB \
+    COMMON_PB \
+    INTER_CONTAINER_PB \
+    SCHEMA_PB \
+    IETF_PB \
+    OF_PB \
+    OMCI_PB \
+    AFROUTER_PB \
+	OMCI_PB"
+
+export OTHER_INCLUDES="/usr/local/include/googleapis"
+export PROTO_DESC_FILE="go/voltha.pb"
+
+for pb_var in $PB_VARS
+do
+    pbs="$(eval echo \$$pb_var)"
+    echo "Compiling $pbs"
+    protoc --go_out=$MAPS,plugins=grpc:$GOPATH/src $INCS $pbs
+done
+
+protoc -I ${PARENT_DIR} -I ${OTHER_INCLUDES} --include_imports --include_source_info --descriptor_set_out=${PROTO_DESC_FILE} ${SRC_DIR}/*.proto