def clear():
 cmd = '{0} -C'.format(__detect_os())
 out = __salt__['cmd.run_all'](cmd, python_shell=False)
 if out['retcode']:
  ret = out['stderr'].strip()
 else:
  ret = True
 return ret

def clear ( ) : cmd = '{0} -C' . format ( __detect_os ( ) ) out = __salt__ [ 'cmd.run_all' ] ( cmd , python_shell = False ) if out [ 'retcode' ] : ret = out [ 'stderr' ] . strip ( ) else : ret = True return ret
clear the virtual server table cli example: .