Test: Start Radius server by default while executing tests.
Change-Id: I3bab6204cc4b63eac1ba18e3b2f544da9190f43e
diff --git a/src/test/setup/cord-test.py b/src/test/setup/cord-test.py
index d4f1ef3..e05a960 100755
--- a/src/test/setup/cord-test.py
+++ b/src/test/setup/cord-test.py
@@ -230,7 +230,6 @@
tests_exempt = ('vrouter',)
if args.test_type.lower() == 'all':
tests = CordTester.ALL_TESTS
- args.radius = True
args.quagga = True
else:
tests = args.test_type.split('-')
@@ -265,13 +264,10 @@
onos = Onos(image = onos_cnt['image'], tag = onos_cnt['tag'], boot_delay = 60)
onos_ip = onos.ip()
- ##Start Radius container if specified
- if args.radius == True:
- radius = Radius( update = update_map['radius'])
- radius_ip = radius.ip()
- print('Radius server running with IP %s' %radius_ip)
- else:
- radius_ip = None
+ ##Start Radius container
+ radius = Radius( update = update_map['radius'])
+ radius_ip = radius.ip()
+ print('Radius server running with IP %s' %radius_ip)
print('Onos IP %s, Test type %s' %(onos_ip, args.test_type))
print('Installing ONOS app %s' %onos_app_file)
@@ -362,7 +358,6 @@
parser_run = subparser.add_parser('run', help='Run cord tester')
parser_run.add_argument('-t', '--test-type', default=test_type_default, help='Specify test type or test case to run')
parser_run.add_argument('-o', '--onos', default=onos_image_default, type=str, help='ONOS container image')
- parser_run.add_argument('-r', '--radius',action='store_true', help='Start Radius service')
parser_run.add_argument('-q', '--quagga',action='store_true',help='Provision quagga container for vrouter')
parser_run.add_argument('-a', '--app', default=onos_app_file, type=str, help='Cord ONOS app filename')
parser_run.add_argument('-p', '--olt', action='store_true', help='Use OLT config')