The Aidi or Chien de l'Atlas is a Moroccan dog breed used to protect flocks of sheep and goats . The Aidi or Chien de l'Atlas is a Moroccan dog breed used as a flock guard , protecting herds of sheep and goats .