Orginizing Fabrics by Ansible Folders #4706
Replies: 3 comments 2 replies
-
Sorry for the late reply. It is a common pattern to build different fabrics as separate Ansible inventories. An example could be:
Your Makefile could contain make targets like:
All this is just some example I made up for this answer, but we will work on an example for all this as time allows. |
Beta Was this translation helpful? Give feedback.
-
This is a huge help and on the surface this works great. The only problem I am having is it would be nice to have 1 AVD project for our whole network. And when testing as long as the fabric was built in the respective folders everything works. But for instance if we had a CORE network with P and PE nodes, I'm not sure how devices could be part of the fabric for DATA_CENTER for instance. When I tried running commands to include multiple inventories and yaml files I got an error saying AVD can't build separate fabrics. Is it not possible to somehow have P and PE in a CORE folder and then have CE devices in other folders but still use the same fabric? |
Beta Was this translation helpful? Give feedback.
-
Just from a simplicity standpoint. Even the globar_vars would be nice. Instead of having 4-5 repos, it could be just 1. But as mentioned having them in different folders makes organization easier, but AVD doesn't seem to have the capability to do a EVPN/VXLAN fabric for example for different folders. |
Beta Was this translation helpful? Give feedback.
-
Is it possible to orginize fabrics by folders?
Meaning in some fashion have directories based on each fabric. For instance we could build our CORE network in a directory that hold it's own group_vars and hostvars, and the same thing for the DATA_CENTER, and CAMPUS?
Beta Was this translation helpful? Give feedback.
All reactions