Replies: 1 comment 1 reply
-
Hi Alex Thank you for sharing your idea. Just for clarity, you are already producing the files across these folders today right? (At least I see no issue in doing so as long as you create the directories yourself) So the ask/idea is to create the directories automatically so when you add a POD it won't break right? I think the best way to implement this would be to do it inside the action plugins Let me know if I understood you correctly. Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi Guys,
before writing a feature request, i would like to discuss an idea.
For our new multi pod multi datacenter design i'm exploring avd for automation currently. Especially in large environments which hundreds of switches and multiple datacenters / pods, having all generated intended, structured configs and documentation in single per type directories harms in clarity.
For example in https://github.com/aristanetworks/ansible-avd/blob/cfd50d669f320e300635a10b3fb026ec741f8ef5/ansible_collections/arista/avd/roles/eos_designs/tasks/main.yml#L17C1-L28C1 the task for creating the directory is set to run_once.
As it would reduce folder sizes in large envs, I would like to suggest, to run it per device or better per pod/dc( don't know if this could work ), to allow something like this per pod:
Which should result in a directory structure like this:
Maybe it could be a solution to implement a new option
structured_directorys: true/false
which allows to select either the current way, or my above idea.Regards
Alex
Beta Was this translation helpful? Give feedback.
All reactions