def get_server_id():
 if salt.utils.is_proxy():
  return {}
 return {'server_id': abs((hash(__opts__.get('id', '')) % (2 ** 31)))}

def get_server_id ( ) : if salt . utils . is_proxy ( ) : return { } return { 'server_id' : abs ( ( hash ( __opts__ . get ( 'id' , '' ) ) % ( 2 ** 31 ) ) ) }
provides an integer based on the fqdn of a machine .