vsgTest changes that makes it work when tested on a CiaB setup.
Some of the tests after external connectivity needs modification like the first 5/6 tests that test ping to google/8.8.8.8 which works.

Change-Id: Ibad902aaf97efa8c5b5e5cdd055aee29748f8607
diff --git a/src/test/utils/CordTestUtils.py b/src/test/utils/CordTestUtils.py
index 6abd356..59b785d 100644
--- a/src/test/utils/CordTestUtils.py
+++ b/src/test/utils/CordTestUtils.py
@@ -36,6 +36,17 @@
         sep = ':'
     return '0'*pad + sep.join(['%02x' %ord(char) for char in info[18:24]])
 
+def get_default_gw():
+    cmd = "ip route show | grep default | head -1 | awk '{print $3}'"
+    cmd_dev = "ip route show | grep default | head -1 | awk '{print $NF}'"
+    st, gw = getstatusoutput(cmd)
+    st2, gw_device = getstatusoutput(cmd_dev)
+    if st != 0:
+        gw = None
+    if st2 != 0:
+        gw_device = None
+    return gw, gw_device
+
 def get_controllers():
     controllers = os.getenv('ONOS_CONTROLLER_IP') or 'localhost'
     return controllers.split(',')