Connect to ATD Jump box using web interface. For more information ask to your local SE.
# Clone the Git repo on the ATD jumphost
$ git clone https://github.com/arista-netdevops-community/ansible-cvp-avd-toi.git
Move to repository folder
$ cd ansible-cvp-avd-toi
Run TOI in a python's virtual environment:
# Upgrade pip if needed
$ /usr/local/bin/python -m pip install --upgrade pip
# Install virtualenv if not part of your system
$ python -m pip install virtualenv
# Add the path
$ export PATH=/usr/local/bin:/usr/bin:/bin:/usr/games:/home/arista/.local/bin
# Verify path
$ echo $PATH
# Create a virtual env named .venv
$ virtualenv -p $(which python3) .venv
# Activate virtualenv
$ source .venv/bin/activate
$ pip install --requirement requirements.txt
# Check what has been installed
$ pip list
# Install sshpass
$ sudo apt-get install -y sshpass
# Create a folder for the Ansible collections
$ cd labs
$ mkdir collections
$ cd collections
# Install the Arista CVP collection
$ git clone https://github.com/aristanetworks/ansible-cvp.git
# Install the Arista AVD collection
$ git clone https://github.com/aristanetworks/ansible-avd.git
Inventory is pre-configured with internal CVP IP address, so it is not required to update this file.
Go to labs
folder:
$ cd ..
# Display inventory file
$ cat inventory.yml