Netbox Storage Plugin
Project description
Directory structure
+- api - The API type
+- filters - Filters of the models
+- forms - The ModelForm, ModelFilterForm, ModelImportForm, ModelBulkEditForm
+- migrations - DB Django Migration
+- tables - The ModelBaseTable, ModelTable, RelatedModelTable
+- templates
+- netbox_disk - The detail view of each model
+- disk - The template content box in the Virtual Machine Model
+- views - PhysicalvolumeListView, PhysicalvolumeView, PhysicalvolumeEditView, PhysicalvolumeDeleteView,
PhysicalvolumeBulkImportView, PhysicalvolumeBulkEditView, PhysicalvolumeBulkDeleteView
Models
ERM
Drive
The drive has 4 parameter:
Name | Example Value |
---|---|
Virtualmachine | test-vm (Link zu virtual machine) |
Identifer | Festplatte 1 |
Cluster | STOR2000000 (Link zu cluster) |
Size | 50GB |
System | No |
Filesystem
The filesystem has 1 parameter:
Name | Example Value |
---|---|
fs | EXT4 |
Linux Volume
The linux volume has 1 parameter:
Name | Example Value |
---|---|
vg_name | docker |
lv_name | docker |
Path | /var/lib/docker |
Filesystem | NTFS (Link zu Filesystem) |
Windows Volume
The linux volume has 1 parameter:
Name | Example Value |
---|---|
drive_name | (D, E, F) |
Filesystem | NTFS (Link zu Filesystem) |
Basis:
- pv:
- size
- Storage Cluster
- virtual_machine
Windows Form:
- drive_name (D, E, F)
- filesystem (ntfs)
Linux Form:
- vg name
- lv name
- path
- filesystem
Extra Filesystem Model & als ChoiceField ausgeben
Build
poetry publish --build docker-compose build --no-cache && docker-compose build --no-cache && docker-compose up -d
Add Physical Volumegit add . && git commit -m "0.0.0.0.272" && git push
[ [ Drive, Partition[] ], [ Drive, Partition[] ] ]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
netbox_storage-0.0.0.0.434.tar.gz
(21.8 kB
view hashes)
Built Distribution
Close
Hashes for netbox_storage-0.0.0.0.434.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa9b3bf2e79780b90e49a007926cc1aeb4829f9e6d67b90054231e23fa0eb206 |
|
MD5 | 4588ac311aa3b1f6696621380f793bb8 |
|
BLAKE2b-256 | d6424909c9f7acd0de0da6751ba61fb2ecebcd24376931b9057bbe53a77de187 |
Close
Hashes for netbox_storage-0.0.0.0.434-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e89f716b791a71a64c14716d428df67ae1574746f9a77ef468a68b884d23e75 |
|
MD5 | 09f096a7fb6dee13d0889c0fc0f0b91b |
|
BLAKE2b-256 | 10bb701978ef89ab832b5019058da6e8b5ba517c981bcb8e47c59e4a84eafde1 |