def launch_svc_monitor(api_server_ip, api_server_port): args_str = "" args_str = args_str + "--api_server_ip %s " % (api_server_ip) args_str = args_str + "--api_server_port %s " % (api_server_port) args_str = args_str + "--ifmap_username api-server " args_str = args_str + "--ifmap_password api-server " args_str = args_str + "--cassandra_server_list 0.0.0.0:9160" svc_monitor.main(args_str)
def launch_svc_monitor(test_id, api_server_ip, api_server_port): args_str = "" args_str = args_str + "--api_server_ip %s " % (api_server_ip) args_str = args_str + "--api_server_port %s " % (api_server_port) args_str = args_str + "--http_server_port %s " % (get_free_port()) args_str = args_str + "--cassandra_server_list 0.0.0.0:9160 " args_str = args_str + "--log_local " args_str = args_str + "--log_file svc_monitor_%s.log " %(test_id) args_str = args_str + "--check_service_interval 2 " svc_monitor.main(args_str)
def launch_svc_monitor(test_id, api_server_ip, api_server_port): args_str = "" args_str = args_str + "--api_server_ip %s " % (api_server_ip) args_str = args_str + "--api_server_port %s " % (api_server_port) args_str = args_str + "--http_server_port %s " % (get_free_port()) args_str = args_str + "--cassandra_server_list 0.0.0.0:9160 " args_str = args_str + "--log_local " args_str = args_str + "--log_file svc_monitor_%s.log " % (test_id) args_str = args_str + "--check_service_interval 2 " svc_monitor.main(args_str)
def launch_svc_monitor(api_server_ip, api_server_port): args_str = "" args_str = args_str + "--api_server_ip %s " % (api_server_ip) args_str = args_str + "--api_server_port %s " % (api_server_port) args_str = args_str + "--http_server_port %s " % (get_free_port()) args_str = args_str + "--ifmap_username api-server " args_str = args_str + "--ifmap_password api-server " args_str = args_str + "--cassandra_server_list 0.0.0.0:9160 " args_str = args_str + "--log_local " args_str = args_str + "--log_file svc_monitor_test.log " svc_monitor.main(args_str)
def launch_svc_monitor(test_id, api_server_ip, api_server_port): args_str = "" args_str = args_str + "--api_server_ip %s " % (api_server_ip) args_str = args_str + "--api_server_port %s " % (api_server_port) args_str = args_str + "--http_server_port %s " % (get_free_port()) args_str = args_str + "--ifmap_username api-server " args_str = args_str + "--ifmap_password api-server " args_str = args_str + "--cassandra_server_list 0.0.0.0:9160 " args_str = args_str + "--log_local " args_str = args_str + "--log_file svc_monitor_%s.log " %(test_id) svc_monitor.main(args_str)
def launch_svc_monitor(api_server_ip, api_server_port): import svc_monitor if not hasattr(svc_monitor, 'main'): from svc_monitor import svc_monitor args_str = "" args_str = args_str + "--api_server_ip %s " % (api_server_ip) args_str = args_str + "--api_server_port %s " % (api_server_port) args_str = args_str + "--ifmap_username api-server " args_str = args_str + "--ifmap_password api-server " args_str = args_str + "--cassandra_server_list 0.0.0.0:9160" svc_monitor.main(args_str)
def launch_svc_monitor(api_server_ip, api_server_port): import svc_monitor if not hasattr(svc_monitor, 'main'): from svc_monitor import svc_monitor args_str = "" args_str = args_str + "--api_server_ip %s " % (api_server_ip) args_str = args_str + "--api_server_port %s " % (api_server_port) args_str = args_str + "--ifmap_username api-server " args_str = args_str + "--ifmap_password api-server " args_str = args_str + "--cassandra_server_list 0.0.0.0:9160 " args_str = args_str + "--log_file svc_monitor.log " svc_monitor.main(args_str)
def launch_svc_monitor(cluster_id, test_id, api_server_ip, api_server_port, **extra_args): args_str = "" args_str += "--cluster_id %s " % (cluster_id) args_str += "--api_server_ip %s " % (api_server_ip) args_str += "--api_server_port %s " % (api_server_port) args_str += "--http_server_port %s " % (get_free_port()) args_str += "--cassandra_server_list 0.0.0.0:9160 " args_str += "--log_local " args_str += "--log_file svc_monitor_%s.log " %(test_id) args_str += "--trace_file svc_monitor_%s.err " %(test_id) args_str += "--check_service_interval 2 " for name, value in extra_args.items(): args_str += "--{name} {value} ".format(name=name, value=value) svc_monitor.main(args_str)