def get_cli_body_ssh_vrf_interface(command, response, module):
 if ('^' in response[0]):
  body = []
 elif ('show run' in command):
  body = response
 else:
  body = [json.loads(response[0])]
 return body

def get_cli_body_ssh_vrf_interface ( command , response , module ) : if ( '^' in response [ 0 ] ) : body = [ ] elif ( 'show run' in command ) : body = response else : body = [ json . loads ( response [ 0 ] ) ] return body
get response for when transport=cli .