def facts():
 conn = __proxy__['junos.conn']()
 ret = dict()
 ret['message'] = json.dumps(conn.facts)
 ret['out'] = True
 return ret

def facts ( ) : conn = __proxy__ [ 'junos.conn' ] ( ) ret = dict ( ) ret [ 'message' ] = json . dumps ( conn . facts ) ret [ 'out' ] = True return ret
run facter and return the results cli example: .