This is a fork of the original AutoNetAPI developed by abdarafi.
Automate the Cisco CSR1000V Router using REST API with Django Framework
Just install it via pip
pip install -r Requirements.txt
Make sure the API services activated through CSR's
virtual-service
- Configure server for Elasticsearch, Kibana (optional), and Filebeat. The config files can be copied/modified from
etc
directory. - Configure Cisco devices used for Netflow collection. An example can be seen on
netflow_sample_config.txt
- Clone this repository
- Make migration of the database
- Create your Django superadmin
- Set the administrator roles under groups :
- superadmin
- admin
Run
python manage.py runserver
to start the project.
The attack detection logs can be viewed in "Logs" menu.
- Basic Network Configuration
- Add or Update IP Address
- Static Route
- Dynamic Route
- OSPF
- BGP
- Custom Configuration under the global configuration mode
- Validate your configuration through CLI under the exec mode
- Export syslog
- List all the registered Devices
- Administration via Django Admin
- Admin and Superadmin Role (editable in User Groups)
- Denial of Service Attack detection viewable via Logs. Uses Netflow data aggregation via Netflow and EFK stack (Elasticsearch + Filebeat + Kibana).
Tested running on AWS VPC to manage 3 CSR1000v routers in total.
Any question about network automation, drop your messages here