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.418.tar.gz
(21.6 kB
view hashes)
Built Distribution
Close
Hashes for netbox_storage-0.0.0.0.418.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7eca42105e17acdfadcce5bb2fc9e3c2bd1c9ffac9d6aac01dae3fb49e5430d7 |
|
MD5 | 24eda5b118c600b54fb6855d5717bcac |
|
BLAKE2b-256 | 08708efaad8a7b7a2ace553700a40cd81e5041505c006332ba630e922c8a4441 |
Close
Hashes for netbox_storage-0.0.0.0.418-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db4801f5d87fd74103ca36ec13ae36a057d24f99a4812a27c0c816885a9ec447 |
|
MD5 | 73fe988e31c9447235a69e90b4c0fa91 |
|
BLAKE2b-256 | 2334a2bd72bcdd873ff256b3c5e47ba6c8f1871312a5a0642cfd1e519e97aa7a |