Display Cisco router interface list using Django. There is also a function to switch an individual interface on
or off
.
Here is an example display of the interface list for a Cisco router.
If you click the switch
button, the status of interface will turn on
or off
.
If you want to try this project, you can follow these instructions.
- Clone the repository git clone https://github.com/ArRosid/django-router-interface-list.git
- Create virtual environtment virtualenv -p python3 env
- Activate the virtual environtment source env/bin/activate
- Install the requirement package pip install -r requirements.txt
- Run the project
- cd django_network
- python manage.py migrate
- python manage.py createsuperuser
- python manage.py runserver
- Open browser and type localhost:8000/admin to add devices in the address bar
- Go to localhost:8000 to see the devices list