2.5 KiB
- network_inventory
- Setup
- Todos
- Setup an Ansible role
- NEXT extend the CSS
- NEXT include a RAID calculator
- NEXT calculate the used space on a host
- NEXT Move the lists to their own page
- NEXT Add a Counter to the RAM Modules
- NEXT Create an abstract company class
- NEXT Create Customer and a Manufacturer sub class
- NEXT Create a NET category where a device can live in.
- NEXT Create class DeviceInNet
- NEXT Recreate the RM in draw.io
- Developemenet
network_inventory
I started this project in order to have solution for keeping an inventory over my various servers and other network equipment.
Setup
- Clone the repository
- Create a virtual environment inside of the repository for example with:
python3 -m venv /path/to/repository
- Cd into the repository and execute the setup.sh script. It will do
some clean up tasks, install some python dependencies into the
virtual environment, setup the database and a default user with the
login
admin
and the passwordpassword
. - Afterwards you can run:
./manage.py runserver
In order to run the developmenent server and access the application at http://localhost:8000
Todos
TODO Setup an Ansible role
NEXT Create an Apache configuration
CANCELED move the database to mariadb
CLOSED: [2017-12-28 Thu 16:15]
- I had massive problems with mysqlclient and python3.5 and therefore dropped this. SQLite seems to work reasonably well.
NEXT setup a server
NEXT configure htaccess or something similar
NEXT extend the CSS
- A more centered layout would be nice
- Maybe some colours
NEXT include a RAID calculator
I would like to use this to show the usable space in a RAID system.
NEXT calculate the used space on a host
Means calculate the size all the VMs would use if they were thick.
NEXT Move the lists to their own page
- Since I have more devices than I thought it would provide a better overview than one big list.
NEXT Add a Counter to the RAM Modules
NEXT Create an abstract company class
NEXT Create Customer and a Manufacturer sub class
Those two would be based on the company class. I'm currently not sure how I should handle the case where a company is both a customer and a manufacturer.
NEXT Create a NET category where a device can live in.
This NET Category should display it's IP range, Subnet mask and show it's DHCP range if one is configured.
NEXT Create class DeviceInNet
This class shows the relationship between the device and a NET. An attribute of a DeviceInNet should be an IP address.
NEXT Recreate the RM in draw.io
The Dia RM is okay but not really that great. Draw.io would give a better result.
Developemenet
For a detailed documentation of the source have a look at the documentation.