def facts():
    '''
    Displays the facts gathered during the connection.
    These facts are also stored in Salt grains.

    CLI Example:

    .. code-block:: bash

        salt 'device_name' junos.facts
    '''
    ret = {}
    try:
        ret['facts'] = __proxy__['junos.get_serialized_facts']()
        ret['out'] = True
    except Exception as exception:
        ret['message'] = 'Could not display facts due to "{0}"'.format(
            exception)
        ret['out'] = False
    return ret
def facts ( ) : ret = { } try : ret [ 'facts' ] = __proxy__ [ 'junos.get_serialized_facts' ] ( ) ret [ 'out' ] = True except Exception as exception : ret [ 'message' ] = 'Could not display facts due to "{0}"' . format ( exception ) ret [ 'out' ] = False return ret
Displays the facts gathered during the connection.
    These facts are also stored in Salt grains.

    CLI Example:

    .. code-block:: bash

        salt 'device_name' junos.facts