def execute_with_nm_v2(*cmd, **kwargs):
 funcs = {test_data.sensor_status_cmd: get_sensor_status_init, test_data.init_sensor_cmd: init_sensor_agent, test_data.sdr_dump_cmd: sdr_dump, test_data.nm_version_cmd: get_nm_version_v2}
 return _execute(funcs, *cmd, **kwargs)

def execute_with_nm_v2 ( * cmd , ** kwargs ) : funcs = { test_data . sensor_status_cmd : get_sensor_status_init , test_data . init_sensor_cmd : init_sensor_agent , test_data . sdr_dump_cmd : sdr_dump , test_data . nm_version_cmd : get_nm_version_v2 } return _execute ( funcs , * cmd , ** kwargs )
test version of execute on node manager v2 .