Python script that generates Cisco routers' startup-config files according to network intents described in a JSON file.
- BGP, OSPFv3, RIPng
- Auto IP generation following an autonomous system (AS) IP prefix
- Local preference configuration according to relationships (customer, peer or provider) with the adjacent AS
- OSPF metric configuration
python3 conf.py <intentFile> <outputDir>
Example :
python3 conf.py intent.json ./output
python3 deploy.py <confFilesDir> <projectName>
Example :
python3 deploy.py output my-gns-project
Rules for the intent file :
lp-prefix
must be 112 bits (7 blocks of 16 bits)- For each autonomous system
ip-prefix
must be 48 bits :: is forbidden!
- telnet