docs: def set_permitted_ip(address=None, deploy=False):
      '''
      Add an IPv4 address or network to the permitted IP list.
  
      CLI Example:
  
      Args:
          address (str): The IPv4 address or network to allow access to add to the Palo Alto device.
  
          deploy (bool): If true then commit the full candidate configuration, if false only set pending change.
  
      .. code-block:: bash
  
          salt '*' panos.set_permitted_ip 10.0.0.1
          salt '*' panos.set_permitted_ip 10.0.0.0/24
          salt '*' panos.set_permitted_ip 10.0.0.1 deploy=True
  
      '''
  
      if not address:
          raise CommandExecutionError("Address option must not be empty.")
  
      ret = {}
  
      query = {'type': 'config',
               'action': 'set',
               'xpath': '/config/devices/entry[@name=\'localhost.localdomain\']/deviceconfig/system/permitted-ip',
               'element': '<entry name=\'{0}\'></entry>'.format(address)}
  
      ret.update(__proxy__['panos.call'](query))
  
      if deploy is True:
          ret.update(commit())
  
      return ret