fix(fabric): add leaf number variable (#11)

This commit is contained in:
D. Arnodo
2025-03-30 19:30:25 +02:00
committed by GitHub
parent 42a74ca61c
commit 0ab1815241
2 changed files with 17 additions and 3 deletions

View File

@@ -9,10 +9,24 @@
### Popule data in Netbox
Generate a Netbox token via webui and execute the python script
Generate a Netbox token via webui and execute the python script, and on utilities folder start population :
```bash
python import.py http://localhost:8080 YOUR_NETBOX_TOKEN device_model.yml subnets.yml
uv run import.py http://localhost:8080 YOUR_TOKEN Devices/devices_model.yml
```
## Create Fabric
```bash
uv run Create_Fabric/main.py
NetBox URL: http://localhost:8080
NetBox API Token:
Number of buildings (1-5): 4
Spine device type slug: ceos
Leaf device type slug: ceos
Access switch device type slug: ceos
Existing Sites:
1. Paris (slug=paris)
Choose site number or 'new': 1
```