code: def junos_facts(**kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      The complete list of Junos facts collected by ``junos-eznc``.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' napalm.junos_facts
      '''
      prep = _junos_prep_fun(napalm_device)  # pylint: disable=undefined-variable
      if not prep['result']:
          return prep
      facts = dict(napalm_device['DRIVER'].device.facts)  # pylint: disable=undefined-variable
      if 'version_info' in facts:
          facts['version_info'] = \
              dict(facts['version_info'])
      # For backward compatibility. 'junos_info' is present
      # only of in newer versions of facts.
      if 'junos_info' in facts:
          for re in facts['junos_info']:
              facts['junos_info'][re]['object'] = \
                  dict(facts['junos_info'][re]['object'])
      return factf junos_facts(**kwargs):
      '''
      .. versionadded:: 2019.2.0
  
      The complete list of Junos facts collected by ``junos-eznc``.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' napalm.junos_facts
      '''
      prep = _junos_prep_fun(napalm_device)  # pylint: disable=undefined-variable
      if not prep['result']:
          return prep
      facts = dict(napalm_device['DRIVER'].device.facts)  # pylint: disable=undefined-variable
      if 'version_info' in facts:
          facts['version_info'] = \
              dict(facts['version_info'])
      # For backward compatibility. 'junos_info' is present
      # only of in newer versions of facts.
      if 'junos_info' in facts:
          for re in facts['junos_info']:
              facts['junos_info'][re]['object'] = \
                  dict(facts['junos_info'][re]['object'])
      return facts
docs: .. versionadded:: 2019.2.0
  
      The complete list of Junos facts collected by ``junos-eznc``.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' napalm.junos_facts