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.385.tar.gz
(20.3 kB
view hashes)
Built Distribution
Close
Hashes for netbox_storage-0.0.0.0.385.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e115a32ae975c41b3630643c49f195d52ea1686e90a281f3fa8c175d2f894f76 |
|
MD5 | 024c8357e2dee0701c6ff3457123239e |
|
BLAKE2b-256 | 4d606c81ae440d2465b12baa757c7e2bed5ae2feaacae26aabfdd61edc5b859e |
Close
Hashes for netbox_storage-0.0.0.0.385-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88c74babefd761060eefe4814e3a95060c500b471bfbfe58a351a92afd75380e |
|
MD5 | b1479d5b226570f6f0a7dc8e6230b18d |
|
BLAKE2b-256 | a1eb624accc8bf544f1802dd9e4931c49e6855111337a526f2de1b51ab84c606 |