I started this project in order to have solution for keeping an inventory over my various servers and other network equipment.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Andreas Zweili ad90e2f4d0 remove internal URL from the allowed hosts 1 week ago
docs remove unused imports 1 year ago
network_inventory remove internal URL from the allowed hosts 1 week ago
.gitignore change setup to docker 1 week ago
Dockerfile change setup to docker 1 week ago
LICENSE Initial commit 1 year ago
README.md change setup to docker 1 week ago
Vagrantfile correct the vagrant file 1 year ago
docker-compose.yml change setup to docker 1 week ago
requirements.txt change setup to docker 1 week ago
setup.sh change setup to docker 1 week ago

README.md

network_inventory

I started this project in order to have solution for keeping an inventory over my various servers and other network equipment.

Setup

  1. Clone the repository
  2. Run ./setup.sh to setup the docker container.
  3. Run docker-compose up to start the development server. You can access it at http://localhost:8000 . You’re now all set to start developing.

If you need to run migrations you can create and apply them with the following two commands.

docker-compose run web python manage.py makemigrations inventory
docker-compose run web python manage.py migrate

Todos

  • Create an Apache configuration
  • configure htaccess or something similar
  • extend the CSS
    • A more centered layout would be nice
    • Maybe some colours
  • include a RAID calculator
  • calculate the used space on a host Means calculate the size all the VMs would use if they were thick.
  • 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.
  • Add a Counter to the RAM Modules
  • Create an abstract company class
  • 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.
  • 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.
  • Create class DeviceInNet This class shows the relationship between the device and a NET. An attribute of a DeviceInNet should be an IP address.
  • 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.