bump yang-tools version to 2.4.7

Change-Id: I0a257b8b524cd7f6e606d57e6d1a3a5388646ebe
diff --git a/lib/BUCK b/lib/BUCK
index 031b328..1b7775e 100644
--- a/lib/BUCK
+++ b/lib/BUCK
@@ -1,4 +1,4 @@
-# ***** This file was auto-generated at Mon, 7 May 2018 18:44:21 GMT. Do not edit this file manually. *****
+# ***** This file was auto-generated at Wed, 16 May 2018 01:37:51 GMT. Do not edit this file manually. *****
 # ***** Use onos-lib-gen *****
 
 pass_thru_pom(
@@ -1366,55 +1366,55 @@
 
 remote_jar (
   name = 'onos-yang-model',
-  out = 'onos-yang-model-2.4.1.jar',
-  url = 'mvn:org.onosproject:onos-yang-model:jar:2.4.1',
-  sha1 = '3e9bce9e34b8cd48e35db9f5f1b7bcf02272cc94',
-  maven_coords = 'org.onosproject:onos-yang-model:2.4.1',
+  out = 'onos-yang-model-2.4.7.jar',
+  url = 'mvn:org.onosproject:onos-yang-model:jar:2.4.7',
+  sha1 = 'c459be8b61650d1e8860b4d13b7ec867a6072b55',
+  maven_coords = 'org.onosproject:onos-yang-model:2.4.7',
   visibility = [ 'PUBLIC' ],
 )
 
 remote_jar (
   name = 'onos-yang-compiler-api',
-  out = 'onos-yang-compiler-api-2.4.1.jar',
-  url = 'mvn:org.onosproject:onos-yang-compiler-api:jar:2.4.1',
-  sha1 = '84c8a4ff5275673bb250aee386ad101efa9ffd1f',
-  maven_coords = 'org.onosproject:onos-yang-compiler-api:2.4.1',
+  out = 'onos-yang-compiler-api-2.4.7.jar',
+  url = 'mvn:org.onosproject:onos-yang-compiler-api:jar:2.4.7',
+  sha1 = 'f087fa5c52b0cb3c56624519f5631b819d59dd28',
+  maven_coords = 'org.onosproject:onos-yang-compiler-api:2.4.7',
   visibility = [ 'PUBLIC' ],
 )
 
 remote_jar (
   name = 'onos-yang-runtime',
-  out = 'onos-yang-runtime-2.4.1.jar',
-  url = 'mvn:org.onosproject:onos-yang-runtime:jar:2.4.1',
-  sha1 = '1bafc4fa6121a8f5704875f5f314651d368edf4a',
-  maven_coords = 'org.onosproject:onos-yang-runtime:2.4.1',
+  out = 'onos-yang-runtime-2.4.7.jar',
+  url = 'mvn:org.onosproject:onos-yang-runtime:jar:2.4.7',
+  sha1 = '12e139467380f54891a5cf29f12d717d22e4cb42',
+  maven_coords = 'org.onosproject:onos-yang-runtime:2.4.7',
   visibility = [ 'PUBLIC' ],
 )
 
 remote_jar (
   name = 'onos-yang-serializers-json',
-  out = 'onos-yang-serializers-json-2.4.1.jar',
-  url = 'mvn:org.onosproject:onos-yang-serializers-json:jar:2.4.1',
-  sha1 = '78fa5693549453c1ead06404196c14db06abb82e',
-  maven_coords = 'org.onosproject:onos-yang-serializers-json:2.4.1',
+  out = 'onos-yang-serializers-json-2.4.7.jar',
+  url = 'mvn:org.onosproject:onos-yang-serializers-json:jar:2.4.7',
+  sha1 = '2784dca04f444e218667760b39ca5c74b743f168',
+  maven_coords = 'org.onosproject:onos-yang-serializers-json:2.4.7',
   visibility = [ 'PUBLIC' ],
 )
 
 remote_jar (
   name = 'onos-yang-serializers-xml',
-  out = 'onos-yang-serializers-xml-2.4.1.jar',
-  url = 'mvn:org.onosproject:onos-yang-serializers-xml:jar:2.4.1',
-  sha1 = '42e43a7ede05451d94107d185d6658c57a72baf5',
-  maven_coords = 'org.onosproject:onos-yang-serializers-xml:2.4.1',
+  out = 'onos-yang-serializers-xml-2.4.7.jar',
+  url = 'mvn:org.onosproject:onos-yang-serializers-xml:jar:2.4.7',
+  sha1 = 'fcf7b98b1bfaaab7d34a2f47eadb0a8c51e34a37',
+  maven_coords = 'org.onosproject:onos-yang-serializers-xml:2.4.7',
   visibility = [ 'PUBLIC' ],
 )
 
 remote_jar (
   name = 'onos-yang-serializers-utils',
-  out = 'onos-yang-serializers-utils-2.4.1.jar',
-  url = 'mvn:org.onosproject:onos-yang-serializers-utils:jar:2.4.1',
-  sha1 = '8fa9c76821c976f42b548794caeda69e9391facc',
-  maven_coords = 'org.onosproject:onos-yang-serializers-utils:2.4.1',
+  out = 'onos-yang-serializers-utils-2.4.7.jar',
+  url = 'mvn:org.onosproject:onos-yang-serializers-utils:jar:2.4.7',
+  sha1 = '6c6ed696ae7a23b6d0a45138ef6bc07768f4a9b5',
+  maven_coords = 'org.onosproject:onos-yang-serializers-utils:2.4.7',
   visibility = [ 'PUBLIC' ],
 )
 
diff --git a/lib/deps.json b/lib/deps.json
index 73067f7..690cb38 100644
--- a/lib/deps.json
+++ b/lib/deps.json
@@ -253,12 +253,12 @@
     "snakeyaml": "mvn:org.yaml:snakeyaml:1.15",
 
     // Note update BVER in tools/dev/bin/patch-yang-libs and YANG_VER in tools/build/onos-buck
-    "onos-yang-model":"mvn:org.onosproject:onos-yang-model:2.4.1",
-    "onos-yang-compiler-api":"mvn:org.onosproject:onos-yang-compiler-api:2.4.1",
-    "onos-yang-runtime":"mvn:org.onosproject:onos-yang-runtime:2.4.1",
-    "onos-yang-serializers-json":"mvn:org.onosproject:onos-yang-serializers-json:2.4.1",
-    "onos-yang-serializers-xml":"mvn:org.onosproject:onos-yang-serializers-xml:2.4.1",
-    "onos-yang-serializers-utils":"mvn:org.onosproject:onos-yang-serializers-utils:2.4.1",
+    "onos-yang-model":"mvn:org.onosproject:onos-yang-model:2.4.7",
+    "onos-yang-compiler-api":"mvn:org.onosproject:onos-yang-compiler-api:2.4.7",
+    "onos-yang-runtime":"mvn:org.onosproject:onos-yang-runtime:2.4.7",
+    "onos-yang-serializers-json":"mvn:org.onosproject:onos-yang-serializers-json:2.4.7",
+    "onos-yang-serializers-xml":"mvn:org.onosproject:onos-yang-serializers-xml:2.4.7",
+    "onos-yang-serializers-utils":"mvn:org.onosproject:onos-yang-serializers-utils:2.4.7",
     "org.apache.servicemix.bundles.dom4j":"mvn:org.apache.servicemix.bundles:org.apache.servicemix.bundles.dom4j:1.6.1_5",
     "plexus-utils": "mvn:org.codehaus.plexus:plexus-utils:3.0.24",
     "sshd-core": "mvn:org.apache.sshd:sshd-core:1.4.0",
diff --git a/lib/pom.xml b/lib/pom.xml
index 41598a7..0e7b3f8 100644
--- a/lib/pom.xml
+++ b/lib/pom.xml
@@ -40,7 +40,7 @@
         <netty4.version>4.1.8.Final</netty4.version>
         <openflowj.version>3.2.1.onos</openflowj.version>
         <onos-maven-plugin.version>1.12</onos-maven-plugin.version>
-        <onos-yang-tools.version>2.4.1</onos-yang-tools.version>
+        <onos-yang-tools.version>2.4.7</onos-yang-tools.version>
         <osgi.version>5.0.0</osgi.version>
         <karaf.version>3.0.8</karaf.version>
         <jersey.version>2.26</jersey.version>
diff --git a/tools/build/onos-buck b/tools/build/onos-buck
index 7dab646..aa5035d 100755
--- a/tools/build/onos-buck
+++ b/tools/build/onos-buck
@@ -9,7 +9,7 @@
 BUCK_SHA="45d8bd28f441991257babf89f7a317edb3a2b536"
 
 # onos-yang-tools buck plugin version
-YANG_VER="2.4.1"
+YANG_VER="2.4.7"
 ONOS_PLUGIN_VER="1.0.3"
 MAVEN_BASE="https://repo1.maven.org/maven2"
 MAVEN_ONOSPROJECT="$MAVEN_BASE/org/onosproject"
diff --git a/tools/dev/bin/patch-yang-libs b/tools/dev/bin/patch-yang-libs
index 8504acb..52419f1 100755
--- a/tools/dev/bin/patch-yang-libs
+++ b/tools/dev/bin/patch-yang-libs
@@ -3,7 +3,7 @@
 # Patches lib/BUCK file to use locally built YANG tools.
 # -----------------------------------------------------------------------------
 
-BVER=2.4.1
+BVER=2.4.7
 SVER=2.5-SNAPSHOT
 
 YANG_TOOLS_ROOT=${YANG_TOOLS_ROOT:-~/onos-yang-tools}