This README is created for MacOS or Linux. On Windows install WSL first.
- Clone this repository.
- Review
config.yaml
. Normally there is no need to adjust it, but you may check number of workers running at once. - Check
defaults.yaml
. Generally, nothing to do here. Login and password are commented as get-snapshot.py will prompt for them during execution. - Review
groups.yaml
. For a basic case it can be used as is. But adjusting groups and parameters may be required if not covering your specific case. - Edit the inventory in the
hosts.yaml
. - Review and change snapshot command list in
snapshot_commands.txt
. Every line must represent a single command. - Create Python3 virtual environment with
python3 -m venv .venv
. Activate it if not activated by IDE automatically:source .venv/bin/activate
- Upgrade pip:
pip install --upgrade pip
- Install requirements:
pip install -r requirements.txt
- Run
./get-snapshot.py
- Enter login and password.
- Check
configs
andshow-commands
directories after execution.
You can also use
get-tech-support.py
to collect show tech from every device quickly.
If you prefer Ansible, take a look at Ansible-AVD eos_snapshot role.