Adding update-versions scripts to automate version changes in ONOS apps

Change-Id: I8626ec4a2957c14fbc930249e6eadb67c1a0f750
diff --git a/apps/vtn b/apps/vtn
index 646d214..abe24da 160000
--- a/apps/vtn
+++ b/apps/vtn
@@ -1 +1 @@
-Subproject commit 646d2144c85d7d05a91bcd32e6f95dd23b815515
+Subproject commit abe24da3b7e3341a19fe716ae4c9bf926ab4a10b
diff --git a/update-versions b/update-versions
new file mode 100755
index 0000000..9d6e053
--- /dev/null
+++ b/update-versions
@@ -0,0 +1,16 @@
+#!/bin/bash
+
+#-----------------------------------------------
+#Updates versions for all onos cord applications
+#-----------------------------------------------
+
+APP_VERSION=$1
+ONOS_VERSION=$2
+
+cd apps
+
+mvn versions:set -DnewVersion=$APP_VERSION versions:commit
+git submodule foreach mvn versions:set -DnewVersion=$APP_VERSION versions:commit
+
+
+git submodule foreach mvn versions:update-parent -DparentVersion=[$ONOS_VERSION]