code: def baremetal_models(call=None):
      '''
      Return a dict of all available baremetal models with relevant data.
      '''
      if call == 'action':
          raise SaltCloudSystemExit(
              'The baremetal_models function must be called with '
              '-f or --function'
          )
  
      conn = get_conn()
  
      bmodels = conn.list_baremetal_models()
  
      return bmodelf baremetal_models(call=None):
      '''
      Return a dict of all available baremetal models with relevant data.
      '''
      if call == 'action':
          raise SaltCloudSystemExit(
              'The baremetal_models function must be called with '
              '-f or --function'
          )
  
      conn = get_conn()
  
      bmodels = conn.list_baremetal_models()
  
      return bmodels
docs: Return a dict of all available baremetal models with relevant data.