Add start subcommand to cord-test to start ONOS/quagga/radius containers

Change-Id: Iae7c0562e025e04446d9dc23843cd682cfc146a8
diff --git a/src/test/setup/cord-test.py b/src/test/setup/cord-test.py
index e1e7b77..732ea53 100755
--- a/src/test/setup/cord-test.py
+++ b/src/test/setup/cord-test.py
@@ -521,6 +521,21 @@
     if args.image == 'all' or args.image == 'test':
         CordTester.build_image(CordTester.IMAGE)
 
+def startImages(args):
+
+    ##starts the latest ONOS image
+    if args.image == 'all' or args.image == 'onos':
+        onos = Onos()
+        print('ONOS started with ip %s' %(onos.ip()))
+
+    if args.image == 'all' or args.image == 'quagga':
+        quagga = Quagga()
+        print('Quagga started with ip %s' %(quagga.ip()))
+
+    if args.image == 'all' or args.image == 'radius':
+        radius = Radius()
+        print('Radius started with ip %s' %(radius.ip()))
+
 if __name__ == '__main__':
     parser = ArgumentParser(description='Cord Tester')
     subparser = parser.add_subparsers()
@@ -576,6 +591,10 @@
     parser_build.add_argument('image', choices=['quagga', 'radius', 'test', 'all'])
     parser_build.set_defaults(func=buildImages)
 
+    parser_start = subparser.add_parser('start', help='Start cord tester containers')
+    parser_start.add_argument('image', choices=['onos', 'quagga', 'radius', 'all'])
+    parser_start.set_defaults(func=startImages)
+
     parser_cleanup = subparser.add_parser('cleanup', help='Cleanup test containers')
     parser_cleanup.add_argument('-p', '--olt', action = 'store_true', help = 'Cleanup OLT config')
     parser_cleanup.set_defaults(func=cleanupTests)