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
git add . && git commit -m "0.0.0.0.0.1" && git push
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
Built Distribution
Close
Hashes for netbox_storage-0.0.0.0.0.107.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | add6bbb28b76274a173357f6e747e3762a71b30ad8720264fe27c76b6a15397f |
|
MD5 | 12ab7e73d3ef6f7e79a15e498da589b5 |
|
BLAKE2b-256 | 34a33759f6dd588ec0926b4d46a67b09d3241e74a82e7dee4f49ce91bf751bc4 |
Close
Hashes for netbox_storage-0.0.0.0.0.107-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd93894b9d955526a1dfce33d4b9711a43e8236e3b5de7d938ea374d7cbcbe1 |
|
MD5 | 7b22798db10cd622b1e9250a9600bc8e |
|
BLAKE2b-256 | 59595cce265be5e576744ae3475e136abeaef54e5ffeaa44b2c87f15596038c5 |