Arista AVD
The Arista AVD sandbox is a working example of building Arista data center fabrics with AVD, with Infrahub as the source of truth. You describe a fabric with its pods and racks, the number of switches in each and the address pools to use, and Generators create the switches, cabling, IP addresses and BGP settings. PyAVD then generates the structured configuration of each switch, and Infrahub renders its EOS configuration and documentation. It is set up for teams that run AVD from variable files and want a source of truth, a web interface and branch-based review around it.
What's in the sandbox​
The sandbox contains example Arista fabrics, including Fabric-L3LS-MultiPod-A, with their pods, racks and address pools. Its Service Catalog is a web form for day-2 changes: adding a network segment, adding a server or creating a tenant.
The design follows a two-phase pipeline: Infrahub Generators create the topology from the design, then PyAVD runs inside Infrahub to generate each switch's structured configuration. From that data, Infrahub renders EOS configurations, Markdown documentation for each switch and fabric, and a cabling plan as artifacts.
The sandbox does not include the Ansible and Semaphore deployment, the ANTA tests or Containerlab, because they need devices that the sandbox cannot reach. CloudVision validation does not run either.
What to try​
Open the sandbox to:
- Run the Generator for Fabric-L3LS-MultiPod-A on a branch and view the super spine, spine and leaf switches it creates
- Open a Proposed Change, Infrahub's equivalent of a pull request, and review the EOS configuration and documentation of each switch
- Add a network segment, a server or a tenant in the Service Catalog, which opens its own branch for review
Public sandbox describes each of these steps in the sandbox. Provision your first fabric explains them in more detail; skip its command-line alternative, because the sandbox has no shell.
Log in​
Log in as guest to explore, create a branch, change data on it and open a Proposed Change. Log in as admin-guest to also review and merge it. Both logins use the password infrahub.
A visit that uses both logins:
- Log in as
guest, create a branch, and change data on it. - Open a Proposed Change for the branch, then log out.
- Log in as
admin-guest, review the Proposed Change and merge it.
The sandbox is reset every night, so the changes you make are removed.
What each login can and cannot do
guest can read data, create a branch and write data on it, and open a Proposed Change. It cannot write data on the main branch, approve or merge a Proposed Change, merge a branch, load a schema, or change other accounts, groups, roles, permissions, repositories or webhooks.
admin-guest can do everything guest can, write data on the main branch, approve and merge Proposed Changes, and merge branches. It cannot approve its own Proposed Change, delete a branch that another login created, load a schema, or change other accounts, groups, roles, permissions, repositories or webhooks.
Next steps​
- Run the reference design yourself: clone the infrahub-arista-avd repository and follow the Quick start to run Infrahub and the Service Catalog in Docker on your machine. On your own copy, change the schema, the Generators and the designs, and deploy the configurations through the Ansible runner or CloudVision.
- Read more: the Arista AVD reference design documentation explains the pipeline, and the Infrahub documentation explains the features it uses: Generators, Proposed Changes and artifacts.
- Talk to OpsMill: book a meeting with OpsMill to discuss your use case, or ask questions in the OpsMill Discord.