def get_cli_body_ssh_vrf(module, command, response):
 command_splitted = command.split('|')
 if ((len(command_splitted) > 2) or ('show run' in command)):
  body = response
 elif (('xml' in response[0]) or (response[0] == '\n')):
  body = []
 else:
  body = [json.loads(response[0])]
 return body

def get_cli_body_ssh_vrf ( module , command , response ) : command_splitted = command . split ( '|' ) if ( ( len ( command_splitted ) > 2 ) or ( 'show run' in command ) ) : body = response elif ( ( 'xml' in response [ 0 ] ) or ( response [ 0 ] == '\n' ) ) : body = [ ] else : body = [ json . loads ( response [ 0 ] ) ] return body
get response for when transport=cli .